Crates.io | tcp-stream-capture |
lib.rs | tcp-stream-capture |
version | 0.2.0 |
source | src |
created_at | 2024-05-26 15:36:46.370922 |
updated_at | 2024-05-27 19:31:14.258826 |
description | Capture TCP packets from libpcap and reassemble them into TCP streams. |
homepage | https://github.com/IzumiRaine/tcp-stream-capture |
repository | https://github.com/IzumiRaine/tcp-stream-capture |
max_upload_size | |
id | 1252644 |
size | 56,620 |
Capture TCP packets from libpcap and reassemble them into TCP streams.
To run example 1 (list available capture devices):
cargo run --example list_devices
To run example 2 (capture from first available device):
cargo build --example cap_live
sudo setcap cap_net_raw,cap_net_admin=ep target/debug/examples/cap_live
RUST_LOG=debug target/debug/examples/cap_live
References: