Bug 84108 - hostname lookup problems with route --inet6
hostname lookup problems with route --inet6
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: net-tools (Show other bugs)
8.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Phil Knirsch
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-12 05:55 EST by John van Krieken
Modified: 2015-03-04 20:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-05-21 09:29:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
diff -c for inet6 portion of net-tools (3.86 KB, patch)
2003-02-12 05:58 EST, John van Krieken
no flags Details | Diff

  None (edit)
Description John van Krieken 2003-02-12 05:55:16 EST
Description of problem:
The gateway in an IPv6 route add must be numeric
netstat -r output is always numeric
(more) potential security problems with strcpy(..., *argv)

Version-Release number of selected component (if applicable):
1.60

How reproducible:
route -A inet6 add fec0::/48 gw "valid IPv6 hostname"
"valid IPv6 hostname": Resolver Error 0 (no error)

Steps to Reproduce:
1. route -A inet6 add fec0::/48 gw "..."
2. netstat -r -A inet6
3.
    
Actual results:
fec0::/48                                  
fec0::a00:20ff:fe1c:5b22                UG    1      0        0 eth1      

Expected results:
fec0::/48                                   "..."                UG    1     
0        0 eth1      

Additional info:
patch available.
Comment 1 John van Krieken 2003-02-12 05:58:07 EST
Created attachment 90030 [details]
diff -c for inet6 portion of net-tools

fixes all 3 aspects of the bug.
diff is against plain 1.60 and rawhides 1.60-10
Comment 2 Phil Knirsch 2003-05-21 09:29:56 EDT
Added patch (made a unified diff out of it, but code looked sane).

Will be in net-tools-1.60-14, available via rawhide real soon. :-)

Read ya, Phil

Note You need to log in before you can comment on or make changes to this bug.