[Bug 297979] if_bridge(4) floods reserved MACs to all member interfaces

[email protected]
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297979

            Bug ID: 297979
           Summary: if_bridge(4) floods reserved MACs to all member
                    interfaces
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

The use case is an attempt to send a L2 Precision Time Protocol packet using a
reserved MAC addr 01-80-C2-00-00-0E. Even though bpf's BIOCSETIF was used, the
interface is a member of a bridge, which causes the packet to be sent out to
all member interfaces instead of just the intended. AFAICT this is not an issue
in Linux since opening an interface directly will provide a direct path to that
interface regardless of bridge membership.

Since if_bridge(4) man reads "Multicast and broadcast packets are always
forwarded to all interfaces that are part of the bridge" is this intended to
include the reserved addresses? Or since the 802.1Q address reservation
mentions only forwarding should this only be checked on RX (as implemented)?

Either way the goal is to send this packet directly out of the intended
interface.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.