We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3c2f31 commit e5bff62Copy full SHA for e5bff62
scripts/scan-sampling.bro
@@ -4,7 +4,9 @@
4
# Seth Hall
5
# All the authors of the old scan.bro
6
7
-# Modified by Jon Zeolla to add destination sampling
+# Modified by Jon Zeolla to add destination sampling and suppression modifications
8
+# for Scan::Address_Scan based on both src IP and dst port to allow you to take action
9
+# via a notice hook only on scans of certain destination ports.
10
11
@load base/frameworks/notice
12
@load base/frameworks/sumstats
@@ -86,7 +88,7 @@ event bro_init() &priority=5
86
88
$p=to_port(key$str),
87
89
$sub=sub_msg,
90
$msg=message,
- $identifier=cat(key$host)]);
91
+ $identifier=cat(key$host,key$str)]);
92
}]);
93
94
# Note: port scans are tracked similar to: table[src_ip, dst_ip] of set(port);
0 commit comments