tcpdump filter maximum number?

Omer Faruk Sen omerfsen at
Tue Jun 1 15:44:10 UTC 2010

Just want to find out the limit of bpf filters that i can write on
tcpdump or on my special packet capture program that uses bpf
subsystem. Openfile limits is acceptable of course if that is the only
limit there is no problem i can raise it

On Mon, May 31, 2010 at 7:45 PM, Robert Bonomi <bonomi at> wrote:
>> From owner-freebsd-questions at  Mon May 31 04:19:25 2010
>> Date: Mon, 31 May 2010 12:17:32 +0300
>> From: Omer Faruk Sen <omerfsen at>
>> To: FreeBSD <freebsd-questions at>
>> Subject: tcpdump filter maximum number?
>> Hi,
>> Is there any limit on writing filters on tcpdump? Or is there any? I
>> use FreeBSD as the operating system. Maybe this limit is not on
>> tcpdump but on bpf on FreeBSD that is why I have stated FreeBSD
> There are _always_ limits to anything.  <grin>
> If nothing else, your filters are going to be limited by the number of
> open file descriptors.
> Not terribly helpful, I know, but if you explain more/better what you're
> trying to do, something more helpful may emerge.
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list