Hello, I’m new to zeek so my apologies if I’m asking a nonsense question.
I’ve installed Zeek as a network monitoring tool in a network which is not under my administration.
The port mirroring in the interface zeek is listening to was configured erroneously and it is sending algo the local traffic, which I do not want to analyze.
My filter looks like this in /opt/zeek/share/zeek/site/local.zeek
redef restrict_filters = {
["avoid local traffic"] = "not (dst net 172.16.0.0/12 or dst net 192.168.0.0/16 or dst net 10.0.0.0/8) and not (src net 172.16.0.0/12 or src net 192.168.0.0/16 or src net 10.0.0.0/8)",
};
But still is capturing local traffic
What Am I doing wrong?
Thank you!