A light-weight network traffic analysis tool.
- Real-time packet capture and analysis
- TLS/SSL traffic inspection
- Connection tracking and monitoring
- Integration with nftables for
- Optional debug HTTP server for monitoring
- 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)
-
Clone the repository:
git clone https://github.com/glebziz/traffic_parser cd traffic_parser -
Build the project:
cargo build --release -
The compiled binary will be available at
target/release/traffic_parser
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.
Run the application with the default configuration:
sudo ./traffic_parsersudo ./traffic_parser --config /path/to/config.yamlsudo ./traffic_parser --debugThis starts a debug HTTP server (default port: 55555) that provides information about tracked connections.