Dep Bro and enabled Zeek BPF

This commit is contained in:
Josh Brower
2020-01-30 09:45:02 -05:00
parent 960bb51218
commit 3fdc5fbef4
20 changed files with 137 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
/usr/bin/docker exec so-bro /opt/bro/bin/broctl netstats | awk '{print $(NF-2),$(NF-1),$NF}' | awk -F '[ =]' '{RCVD += $2;DRP += $4;TTL += $6} END { print "rcvd: " RCVD, "dropped: " DRP, "total: " TTL}' >> /nsm/bro/logs/packetloss.log