Traffic filter state recreation experiment
To use the suricata branch testing:
- Run the topology (sudo python topo.py)
- Once it has started and both instances of suricata are running, run the following command: r1 tcpreplay-edit -i r1-eth1 --enet-dmac 00:00:00:00:01:02 -C --mtu-trunc --mbps 1000 pcaps/2017-X.pcap"
- Change the chosen pcap day to monday to thursday, depending on the chosen CICID2017 dataset you're testing
- When the stream is complete, tear down the mininet with "exit"
- Run the total jq map for overall numbered results (./jq-sum.sh)
- Run the jq maps individually for specific alerts (jq -s -f map.jq log/suriX/eve.json) changing the suri number to 1 or 2 for the primary or redundant respectively
- Delete both sets of logs to ensure clean results when finished (sudio rm log/suriX/*)
- Run the failure command to initiate network failures (./network.sh X) with up or down respectively