-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Implemented block list using the github.com/porfirion/trie library
Added command line option -blockedList where blockedIPs is a path to a list of IP addresses delimited by newlines ‘\n’
Builds the trie when constructing main routine in init_params
Checks each packet for destination address and if the address/prefix is in the blocked trie
Optimized the trie to not include subaddresses if prefix is already in the trie
Metadata
Metadata
Assignees
Labels
No labels