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)
Fri, Aug 14, 8:19 PM
Unknown Object (File)
Fri, Aug 14, 3:29 AM
Unknown Object (File)
Mon, Aug 10, 4:22 PM
Unknown Object (File)
Mon, Aug 10, 12:57 PM
Unknown Object (File)
Mon, Aug 10, 12:54 PM
Unknown Object (File)
Mon, Aug 10, 12:53 PM
Unknown Object (File)
Sat, Aug 8, 12:08 PM
Unknown Object (File)
Fri, Aug 7, 9:46 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.