tcpdump port xx bug ?

Conrad J. Sabatier conrads at cox.net
Mon Dec 13 22:08:21 PST 2004


On Mon, 13 Dec 2004 23:02:50 -0600, Axel Gonzalez <loox at e-shell.net> wrote:

> 
> is anyone able to confirm or deny this (before a PR is filled)?
> 
> # tcpdump port xx
> 
> doesnt seem to work:
> 
> su-2.05b# tcpdump port http
> tcpdump: WARNING: rl0: no IPv4 address assigned
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on rl0, link-type EN10MB (Ethernet), capture size 68 bytes
> ^C
> 0 packets captured
> 503 packets received by filter
> 0 packets dropped by kernel
> 
> 
> if no port is specified, it works fine:
> 
> su-2.05b# tcpdump | grep freeb
> tcpdump: WARNING: rl0: no IPv4 address assigned
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on rl0, link-type EN10MB (Ethernet), capture size 68 bytes
> 22:57:30.768184 PPPoE  [ses 0xc744] IP xxxx.prod-infinitum.com.mx.55842 > 
> www.freebsd.org.http: S 564552288:564552288(0) win 65535 <mss 1440,nop,[|
> tcp]>
> 22:57:30.843127 PPPoE  [ses 0xc744] IP www.freebsd.org.http > 
> xxx.prod-infinitum.com.mx.55842: S 3276387435:3276387435(0) ack 564552289 win 
> 57344 <mss 1460,nop,[|tcp]>
> 
> [... tons of this]
> 
> 
> system:
> FreeBSD moonlight.e-shell.net 5.3-STABLE FreeBSD 5.3-STABLE #0: Sun Dec  5 
> 22:57:54 CST 2004     root at moonlight.e-shell.net:/usr/obj/usr/src/sys/LXAMD64  
> amd64

Works fine under CURRENT.  Perhaps you should try updating your sources and rebuilding.

-- 
Conrad J. Sabatier <conrads at cox.net> -- "In Unix veritas"


More information about the freebsd-amd64 mailing list