Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 84108

Summary: hostname lookup problems with route --inet6
Product: [Retired] Red Hat Linux Reporter: John van Krieken <john>
Component: net-toolsAssignee: Phil Knirsch <pknirsch>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-05-21 13:29:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
diff -c for inet6 portion of net-tools none

Description John van Krieken 2003-02-12 10:55:16 UTC
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 10:58:07 UTC
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 13:29:56 UTC
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