-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR does three things: 1. Removes the nested if loops and makes that part readable by adding more functions. 2. Adds some tests (this needs more work to add an exact tcp packet like unit test. Also introduces a stop mechanism to the observer for the tests primarily. 3. Make the hashmap ttl-like so abandoned SYN packets are not stored forever.
- Loading branch information
1 parent
05bc0d6
commit a5d1539
Showing
3 changed files
with
204 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters