[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
> 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
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,