Subject: bin/7381: netstat -r produces wrong results
To: None <gnats-bugs@gnats.netbsd.org>
From: Peter Simons <simons@peti.cys.de>
List: netbsd-bugs
Date: 04/14/1999 02:51:39
>Number: 7381
>Category: bin
>Synopsis: netstat -r produces wrong results
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 14 02:50:01 1999
>Last-Modified:
>Originator: Peter Simons
>Organization:
>Release: NetBSD/i386 1.3.2
>Environment:
System: NetBSD peti.cys.de 1.3.2 NetBSD 1.3.2 (PETI) #0: Thu Mar 18 17:33:05 CET 1999 simons@peti.cys.de:/usr/src/sys/arch/i386/compile/PETI i386
>Description:
On one of our machines, the output of 'netstat -r' produces fancy
characters in the resolved name list:
| simons@atlas:~$ netstat -r
| Routing tables
|
| Internet:
| Destination Gateway Flags Refs Use Mtu Interface
| default thangorodrim UGS 63 14689532 - de0
| localhost localhost UH 16 609191 - lo0
| [...]
| www.vision360.de localhost UGHS 0 10 - lo0 =>
| G@Q@h@/32 link#1 UC 0 0 - de0
When calling 'netstat -rn', the output is correct, though:
| simons@atlas:~$ netstat -rn
| Routing tables
|
| Internet:
| Destination Gateway Flags Refs Use Mtu Interface
| default 194.97.154.30 UGS 45 14694785 - de0
| 127.0.0.1 127.0.0.1 UH 14 609197 - lo0
| [...]
| 194.97.154.111 127.0.0.1 UGHS 0 10 - lo0 =>
| 194.97.154.111/32 link#1 UC 0 0 - de0
I can't find any mistake in the name server either:
| simons@atlas:~$ nslookup 194.97.154.111
| Server: cys.de
| Address: 194.97.154.1
|
| Name: www.vision360.de
| Address: 194.97.154.111
Is this a bug in netstat (maybe caused by the numerics in the domain
name)? I checked all other possible errors I could come up with but
couldn't find any other explanation.
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted: