Page MenuHomeFreeBSD

bridge: make 802.1ad (Q-in-Q) configurable
ClosedPublic

Authored by ivy on Jul 9 2025, 6:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 18, 11:17 PM
Unknown Object (File)
Fri, Aug 15, 6:28 AM
Unknown Object (File)
Fri, Aug 15, 3:07 AM
Unknown Object (File)
Thu, Aug 14, 11:12 AM
Unknown Object (File)
Sat, Aug 9, 4:45 PM
Unknown Object (File)
Tue, Aug 5, 7:33 PM
Unknown Object (File)
Thu, Jul 31, 12:10 PM
Unknown Object (File)
Jul 14 2025, 10:37 PM

Details

Summary

Allowing tag stacking by default can permit VLAN-hopping attacks in
certain configurations. To mitigate this, disallow sending Q-in-Q
frames by default unless the new "qinq" option is enabled on the
interface. The bridge flag "defqinq" can be used to restore the
previous behaviour of allowing Q-in-Q on all interfaces.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 65330
Build 62213: arc lint + arc unit

Event Timeline

ivy requested review of this revision.Jul 9 2025, 6:41 PM

With this typo fixed (either way) the manual page change appears consistent with the change summary.

share/man/man4/bridge.4
555

or maybe "not the interface receiving..."

This revision is now accepted and ready to land.Jul 10 2025, 12:42 AM
This revision now requires review to proceed.Jul 11 2025, 3:03 AM
share/man/man4/bridge.4
555

to keep plural agreement i changed this to "the interface", which i think is what i meant to write originally.

This revision is now accepted and ready to land.Thu, Jul 31, 2:34 PM
This revision was automatically updated to reflect the committed changes.