Created
November 25, 2013 18:39
-
-
Save kraigu/7646342 to your computer and use it in GitHub Desktop.
bro packet filter
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
event bro_init() &priority=-12 | |
{ | |
restrict_filters["ignore tor node"] = "not (net 192.16.0.0/16)"; | |
PacketFilter::install(); | |
} | |
[BroControl] > print PacketFilter::current_filter
manager PacketFilter::current_filter = (ip or not ip) and (not (net 192.168.0.0/16))
proxy-1 PacketFilter::current_filter = (ip or not ip) and (not (net 192.168.0.0/16))
worker-1 PacketFilter::current_filter = (ip or not ip) and (not (net 192.168.0.0/16))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
slam this bad boy into local.bro for packet filtering. example for #bro IRC channel