[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

system/1437: netstat




>Number:         1437
>Category:       system
>Synopsis:       netstat -rn segfaults with specific routing table
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct  9 05:30:01 MDT 2000
>Last-Modified:
>Originator:     Jakub Mleczko
>Organization:
net
>Release:        
>Environment:
	System      : OpenBSD 2.7
	Architecture: OpenBSD.i386
	Machine     : i386
>Description:
	netstat -rn segfaults whith specific route table
	if inet6 is compiled into kernel
>How-To-Repeat:
	bash-2.04# /sbin/route add -inet6 fe80::0%fxp0 fe80::1%fxp0
	add net fe80::0%fxp0: gateway fe80::1%fxp0
	bash-2.04# /usr/bin/netstat -rn
	blah blah... some normal output about inet4..
	Internet6:
Destination                        Gateway                        Flags     Refs     Use    Mtu  Interface
::/104                             ::1                            UGRS        0        0  32972  lo0 =>
::/96                              ::1                            UGRS        0        0  32972  lo0 =>
default                            3ffe:b00:c18:1fff::327         UGS         0       71   1280  gif0
::1                                ::1                            UH         12        0  32972  lo0
::127.0.0.0/104                    ::1                            UGRS        0        0  32972  lo0
::224.0.0.0/100                    ::1                            UGRS        0        0  32972  lo0
::255.0.0.0/104                    ::1                            UGRS        0        0  32972  lo0
::ffff:0.0.0.0/96                  ::1                            UGRS        0        0  32972  lo0
2002::/24                          ::1                            UGRS        0        0  32972  lo0
2002:7f00::/24                     ::1                            UGRS        0        0  32972  lo0
2002:e000::/20                     ::1                            UGRS        0        0  32972  lo0
2002:ff00::/24                     ::1                            UGRS        0        0  32972  lo0
3ffe:b00:c18:1fff::326             3ffe:b00:c18:1fff::327         UH          0        0   1280  gif0
3ffe:b00:c18:1fff::327             ::1                            UH          2        0  32972  lo0
fe80::/10                          ::1                            UGS         0        0  32972  lo0
Segmentation fault


>Fix:
	For now chmod -s /usr/bin/netstat :)

>Audit-Trail:
>Unformatted: