Page MenuHomeFreeBSD

pf: Pass v6 packets to the divert socket
ClosedPublic

Authored by markj on Jan 23 2026, 8:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 15, 7:03 AM
Unknown Object (File)
Wed, Jul 15, 7:03 AM
Unknown Object (File)
Thu, Jul 9, 9:26 AM
Unknown Object (File)
Sun, Jun 28, 12:01 AM
Unknown Object (File)
Wed, Jun 24, 8:45 AM
Unknown Object (File)
Tue, Jun 23, 8:25 PM
Unknown Object (File)
Tue, Jun 23, 12:04 AM
Unknown Object (File)
Sat, Jun 20, 12:48 PM

Details

Summary

There is no particular limitation of divert sockets with respect to
IPv6, and the pf.conf man page does not mention the restriction to IPv4.

Extend the divert-to regression tests to exercise the v6 case.

Diff Detail

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

Event Timeline

markj requested review of this revision.Jan 23 2026, 8:56 PM
This revision is now accepted and ready to land.Jan 23 2026, 9:12 PM

The test changes are incomplete, I will extend more of them.

Update the rest of the divert-to test cases to exercise v6.

This revision is now accepted and ready to land.Jan 27 2026, 11:05 AM
This revision was automatically updated to reflect the committed changes.