Detect spoofing of IP packets in a PCAP file using heuristics such as variance in TTL values, global reachability of an IP address, and packet data.
The project can be built using the following command:
cargo build
To run the analysis, execute the following command passing as parameter the path to the PCAP file:
cargo run -- -f data/ddos_attack.pcap
Some basic tests are provided and can be run with the following command:
cargo test