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
F147790424: D54847.diff
Fri, Mar 13, 4:34 PM
Unknown Object (File)
Wed, Mar 11, 12:39 PM
Unknown Object (File)
Wed, Mar 11, 12:09 PM
Unknown Object (File)
Wed, Mar 11, 10:34 AM
Unknown Object (File)
Mon, Mar 9, 6:16 PM
Unknown Object (File)
Sun, Mar 8, 10:00 PM
Unknown Object (File)
Feb 2 2026, 8:29 PM
Unknown Object (File)
Feb 1 2026, 11:05 AM

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 Not Applicable
Unit
Tests Not Applicable

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.