Skip to content
Discussion options

You must be logged in to vote

In Malcolm's environment variables there's a PCAP_FILTER variable.

This filter will be used to limit what traffic the PCAP service (netsniff-ng or tcpdump) and the traffic analysis services (zeek and suricata) will see. Capture filters are specified using Berkeley Packet Filter (BPF) syntax. For example, to ignore the ports Hedgehog Linux uses to communicate with Malcolm, users could specify not port 5044 and not port 5045 and not port 8005 and not port 8006 and not port 9200.

So it really just depends on what traffic you want to filter out. Identify the traffic you don't want to generate PCAP for, and create a filter in PCAP_FILTER to exclude it. Normally you'd not be capturing on the sa…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mmguero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
capture Relating to pcap-capture container
2 participants