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
F170995102: D54847.id170291.diff
Tue, Sep 8, 2:05 AM
F170955291: D54847.id170519.diff
Mon, Sep 7, 8:31 PM
Unknown Object (File)
Sat, Sep 5, 12:51 PM
Unknown Object (File)
Fri, Sep 4, 8:49 PM
Unknown Object (File)
Fri, Sep 4, 4:36 PM
Unknown Object (File)
Thu, Sep 3, 9:16 PM
Unknown Object (File)
Thu, Sep 3, 9:16 AM
Unknown Object (File)
Wed, Sep 2, 8:59 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 70086
Build 66969: 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.