#83 Fixed DDoS Hashes

Samengevoegd
carlos.garcia heeft 1 commits samengevoegd van stefan.schmidt/ddos_test_fix naar SPIN/master 6 jaren geleden

This fixes all DDoS hashes.

This is required because ID2T generated an incorrect statistics database before commit 42e3688c5c: Because the loop scanning through the pcap counted in steps of 10 packets, the last timestamp was chosen incorrectly for pcaps with a packet count not divisible by 10. This slightly altered the statistics, which seems to only affect DDoS.

This was not noticed during testing, because our test runs reused the pre-existing databases (I didn't expect that change to alter the content of the database, so I didn't update the database version number).

This fixes all DDoS hashes. This is required because ID2T generated an incorrect statistics database before commit 42e3688c5c: Because the loop scanning through the pcap counted in steps of 10 packets, the last timestamp was chosen incorrectly for pcaps with a packet count not divisible by 10. This slightly altered the statistics, which seems to only affect DDoS. This was not noticed during testing, because our test runs reused the pre-existing databases (I didn't expect that change to alter the content of the database, so I didn't update the database version number).
Dit pull-request is samengevoegd!
Sign in to join this conversation.
Geen mijlpaal
Geen verantwoordelijke
1 deelnemers
Laden...
Annuleren
Opslaan
Er is nog geen inhoud.