[Bug 240969] [netinet6] neighbour reachability detection broken when using multiple FIB

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 1 13:21:24 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240969

            Bug ID: 240969
           Summary: [netinet6] neighbour reachability detection broken
                    when using multiple FIB
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: topical at gmx.net

If you define multiple FIB and set "net.add_addr_allfibs=0", ND reachability
packets are sent via wrong interface, containing wrong data.

Effectively:
  * reachability detection only works in FIB 0
  * neighbour routers/firewalls may barf about strange ND packets for other
FIBs (this is what happens to me)

Still, network connectivity recovers automatically as standard ND multicasts
are sent out automatically after reachability detection fails.

After some investigation, I found the source of the problem: review D1998
introduced FIB-aware nd6_ns_output_fib() and a legacy wrapper nd6_ns_output()
passing RT_DEFAULT_FIB unconditionally. So, all calls to nd6_ns_output() must
be enhanced by FIB and replaced by calls to nd6_ns_output_fib(). 

As nd6_ns_output() is enclosed by "#ifndef BURN_BRIDGES", this seems to be the
original intention, but work has never been finished.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list