Re: [tcpdump-workers] Size limit on the filter string to libpcap?

2004-05-14 Thread Jefferson Ogata
[EMAIL PROTECTED] wrote: Is there a limit on how big the string can be for specifying the filter to pcap in pcap_compile. My filter needs to exclude a bunch of ip addresses (eg: tcpdump host not 1.1.1.1 and host not 2.2.2.2 ...upto 50 addresses) There are definitely limits for the operating systems

Re: [tcpdump-workers] Size limit on the filter string to libpcap?

2004-05-14 Thread sthaug
> Is there a limit on how big the string can be for specifying the filter to > pcap in pcap_compile. My filter needs to exclude a bunch of ip addresses > (eg: tcpdump host not 1.1.1.1 and host not 2.2.2.2 ...upto 50 addresses) There are definitely limits for the operating systems which do in-kerne

[tcpdump-workers] Size limit on the filter string to libpcap?

2004-05-14 Thread FZS
Hi all, Is there a limit on how big the string can be for specifying the filter to pcap in pcap_compile. My filter needs to exclude a bunch of ip addresses (eg: tcpdump host not 1.1.1.1 and host not 2.2.2.2 ...upto 50 addresses) int pcap_compile(pcap_t *p, struct bpf_program *fp,