Date: Sun, 11 Mar 2001 23:03:50 +0100 (CET) From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/25712: sockstat truncates field Message-ID: <200103112203.f2BM3oQ47060@critter.freebsd.dk>
next in thread | raw e-mail | index | archive | help
>Number: 25712 >Category: bin >Synopsis: sockstat truncates field >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 11 14:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Poul-Henning Kamp >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD critter.freebsd.dk 5.0-CURRENT FreeBSD 5.0-CURRENT #9: Thu Jan 4 10:12:17 CET 2001 root@critter.freebsd.dk:/freebsd/src/sys/compile/FLUTTER i386 >Description: Portnumbers may get truncated, which can confuse the heck out of people. Example where "1141" gets truncated to "114" femmer:/home/jail/nsx/etc/namedb# sockstat | grep 212.242.86.173 bind named 1103 3 udp4 212.242.86.173:114 *:* bind named 1103 20 udp4 212.242.86.173:53 *:* bind named 1103 21 tcp4 212.242.86.173:53 *:* root ntpd 248 10 udp4 212.242.86.173:123 *:* femmer:/home/jail/nsx/etc/namedb# netstat -an | grep 212.242.86.173 tcp4 0 0 212.242.86.173.53 *.* LISTEN udp4 0 0 212.242.86.173.1141 *.* udp4 0 0 212.242.86.173.53 *.* udp4 0 0 212.242.86.173.123 *.* >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103112203.f2BM3oQ47060>