Snort mailing list archives

bpf filter file size limitation


From: Daniel Rieille via Snort-users <snort-users () lists snort org>
Date: Tue, 5 Feb 2019 11:02:22 +0100

Hi guys,

I just wanted to know what is the size limit of a bpf filter file.

Currently, I'm using one with about 125 lines (meaning 125 simple
expressions like !(src host xxx && dst host yyyy)) and addind one more line
(expression) makes snort fail although the rules are ok:

pfring DAQ configured to passive.
Acquiring network traffic from "eth2".
ERROR: Can't set DAQ BPF filter to '

I didnt find any clear information about what could impact bpf file size.
Some buffer allocation ?

Any help would be greatly appreciated.

Thanks

Dan
_______________________________________________
Snort-users mailing list
Snort-users () lists snort org
Go to this URL to change user options or unsubscribe:
https://lists.snort.org/mailman/listinfo/snort-users

        To unsubscribe, send an email to:
        snort-users-leave () lists snort org

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Please follow these rules: https://snort.org/faq/what-is-the-mailing-list-etiquette

Current thread: