[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
system/1437: netstat
- To: gnats@openbsd.org
- Subject: system/1437: netstat
- From: Jakub Mleczko <mleko@iif.pl>
- Date: Mon, 9 Oct 2000 13:32:28 +0200 (CEST)
- Resent-Date: Mon, 9 Oct 2000 05:30:01 -0600 (MDT)
- Resent-From: gnats@cvs.openbsd.org (GNATS Management)
- Resent-Message-Id: <200010091130.e99BU1j26101@cvs.openbsd.org>
- Resent-Reply-To: gnats@cvs.openbsd.org,Received: "from openbsd.cs.colorado.edu (openbsd.cs.colorado.edu [128.138.192.83]) by cvs.openbsd.org (8.10.1/8.10.1) with ESMTP id e99BTQD22783 for" <gnats@cvs.openbsd.org>;,Mon@naughty.monkey.org, 9@naughty.monkey.org, Oct@naughty.monkey.org,2000@naughty.monkey.org, 05:29:26.-0600@cvs.openbsd.org (MDT)
- Resent-Sender: owner-bugs@openbsd.org
- Resent-To: bugs@cvs.openbsd.org
>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: