Bug 123465 - [ip6] route(8): route add -inet6 <ipv6_addr> -interface gif0 -proxy mangle ipv6 address
Summary: [ip6] route(8): route add -inet6 <ipv6_addr> -interface gif0 -proxy mangle ip...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 7.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2008-05-06 16:10 UTC by Henri Hennebert
Modified: 2021-06-22 08:51 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Henri Hennebert 2008-05-06 16:10:03 UTC
If you try to add a ipv6 proxy address like:

route add -inet6 2001:41d0:1:2ad2:1::/80 -interface gif0 -proxy

at line 734 of /usr/src/sbin/route/route.c

    if (proxy) {
-->     so_dst.sinarp.sin_other = SIN_PROXY;                                                                            
        flags |= RTF_ANNOUNCE;

`so_dst.sinarp.sin_other = SIN_PROXY;'

mangles the ipv6 address!



For inet6, remove the offending line...
How-To-Repeat: route add -inet6 2001:41d0:1:2ad2:1::/80 -interface gif0 -proxy
Comment 1 Volker Werth freebsd_committer 2008-05-11 22:58:44 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:30 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped