Re: [tcpdump-workers] PCAP Port range filtering

2005-04-02 Thread Gabriel
I've upgraded to -current and now it works without the -O. Thanks again for your help. --- Guy Harris <[EMAIL PROTECTED]> wrote: > > On Apr 1, 2005, at 2:56 AM, Gabriel wrote: > > > Yes, it works when I use the -O option. Thanks. > > So it's probably an op

Re: [tcpdump-workers] PCAP Port range filtering

2005-04-01 Thread Gabriel
--- Guy Harris <[EMAIL PROTECTED]> wrote: > > On Mar 31, 2005, at 7:20 AM, Gabriel wrote: > > > Hello, I tried using tcpdump -xs 1500 -i eth0 > > "tcp[2:2]>=1000 and tcp[2:2]<=2000" but it doesn't > > capture anything. When I tried tcpdump

Re: [tcpdump-workers] PCAP Port range filtering

2005-03-31 Thread Gabriel
At 04:42 PM 12/11/2001 +0100, [EMAIL PROTECTED] wrote: > > I would like to know if it is possible to filter with PCAP on a range of > > ports by using "pcap_compile" function. > > > > I tried several filter expressions but each one was rejected by the > > function : > > > > Examples of expression