Skip to content

glebziz/traffic_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traffic Parser

Test Lint codecov

A light-weight network traffic analysis tool.

Features

  • Real-time packet capture and analysis
  • TLS/SSL traffic inspection
  • Connection tracking and monitoring
  • Integration with nftables for
  • Optional debug HTTP server for monitoring

Requirements

  • Rust 2024 edition or later
  • Linux environment with nftables support
  • Network interface with promiscuous mode capability
  • Root/sudo privileges (for packet capture and netfilter operations)

Installation

From Source

  1. Clone the repository:

    git clone https://github.com/glebziz/traffic_parser
    cd traffic_parser
    
  2. Build the project:

    cargo build --release
    
  3. The compiled binary will be available at target/release/traffic_parser

Configuration

The application uses a YAML configuration file (default: config.yaml in the current directory). You can specify a different configuration file using the -c or --config command-line option.

Usage

Basic Usage

Run the application with the default configuration:

sudo ./traffic_parser

Specify Configuration File

sudo ./traffic_parser --config /path/to/config.yaml

Enable Debug Mode

sudo ./traffic_parser --debug

This starts a debug HTTP server (default port: 55555) that provides information about tracked connections.

License

MIT

About

A light-weight network traffic analysis tool.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors