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.
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
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