Skip to content

Commit e5bff62

Browse files
authored
Change Address_Scan suppression
1 parent f3c2f31 commit e5bff62

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/scan-sampling.bro

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
# Seth Hall
55
# All the authors of the old scan.bro
66

7-
# Modified by Jon Zeolla to add destination sampling
7+
# 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.
810

911
@load base/frameworks/notice
1012
@load base/frameworks/sumstats
@@ -86,7 +88,7 @@ event bro_init() &priority=5
8688
$p=to_port(key$str),
8789
$sub=sub_msg,
8890
$msg=message,
89-
$identifier=cat(key$host)]);
91+
$identifier=cat(key$host,key$str)]);
9092
}]);
9193

9294
# Note: port scans are tracked similar to: table[src_ip, dst_ip] of set(port);

0 commit comments

Comments
 (0)