AnansiCapture is a powerful cross-platform Network Traffic Analysis (NTA) tool written in Rust. It provides both CLI and GUI interfaces for capturing, analyzing, and displaying network traffic in real-time. The tool is designed to be user-friendly while offering detailed packet inspection.
sudo pacman -S libpcap npm
2. **Clone the repository**:
```bash
git clone https://github.com/Definazu/AnansiCapture.git
cd AnansiCapture
cargo build --release
# Show help
./target/release/anansi help
# Capture traffic on specific interface
./target/release/anansi capture -i wlan0
# Capture with specific filter (BPF syntax)
./target/release/anansi capture -i eth0 -f "port 80"
cd gui
npm install
npm run tauri dev
-i, --interface
: Specify network interface-f, --filter
: Apply BPF filter-d, --debug
: Enable debug mode-h, --help
: Show help messageThe tool displays captured packets in the following format:
Time Source -> Destination Protocol Length Info
12:15:25.637 192.168.0.103 -> 10.1.1.80 DNS 74 Standard query 0x45d8 api2.app.sh A
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.