Re: [tcpdump-workers] port range

2005-02-11 Thread Nicolao Renè
Guy Harris wrote: Nicolao Renè wrote: Hi, I've a problem with tcpdump when I try to specify a port range if I use a filter expr like: tcpdump -i eth0 '(tcp and (tcp[0:2] >=1) and (tcp[0:2] <= 2))' which means, capture all tcp packets with source port between 1 and 2, I get no result

Re: [tcpdump-workers] port range

2005-02-11 Thread Guy Harris
Nicolao Renè wrote: Hi, I've a problem with tcpdump when I try to specify a port range if I use a filter expr like: tcpdump -i eth0 '(tcp and (tcp[0:2] >=1) and (tcp[0:2] <= 2))' which means, capture all tcp packets with source port between 1 and 2, I get no result from tcpdump. The

[tcpdump-workers] port range

2005-02-11 Thread Nicolao Renè
Hi, I've a problem with tcpdump when I try to specify a port range if I use a filter expr like: tcpdump -i eth0 '(tcp and (tcp[0:2] >=1) and (tcp[0:2] <= 2))' which means, capture all tcp packets with source port between 1 and 2, I get no result from tcpdump. When I use a filter lik