Page MenuHomeFreeBSD

pf.4/pfsync.4: Separate sysctl/tunables >> SYNOPSIS
ClosedPublic

Authored by ziaee on Jun 14 2025, 6:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 9, 10:06 AM
Unknown Object (File)
Mon, Jul 7, 2:35 PM
Unknown Object (File)
Mon, Jul 7, 2:46 AM
Unknown Object (File)
Mon, Jul 7, 2:37 AM
Unknown Object (File)
Sun, Jul 6, 7:21 AM
Unknown Object (File)
Sun, Jul 6, 3:45 AM
Unknown Object (File)
Sat, Jul 5, 2:01 PM
Unknown Object (File)
Fri, Jul 4, 10:23 PM
Subscribers

Diff Detail

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

Event Timeline

ziaee requested review of this revision.Jun 14 2025, 6:01 PM
share/man/man4/pf.4
46

filter_local is not a tunable, it can be changed at runtime. As is request_maxcount.

rdr_srcport_rewrite_tries isn't user configurable at all.

share/man/man4/pfsync.4
39

pfsync_buckets is a tunable, so sysctl.conf is the wrong place for it.

ziaee retitled this revision from pf.4/pfsync.4: Add sysctls to SYNOPSIS to pf.4/pfsync.4: Separate sysctl/tunables >> SYNOPSIS.Jun 14 2025, 6:57 PM

thanks! i separated them out into the sections we usually use. maybe adds a lot of bloat?

update per discussion with kp@

mention sysctl.conf, might as well be precise

share/man/man4/pf.4
91

tunable*s*?

92

This is the wrong way around. filter_local and request_maxcount are sysctl runtime tunable, the others (states_hashsize, source_nodes_hashsize, ...) are tunables and can only be set through the loader.

106–107

net.pf.rdr_srcport_rewrite_tries is listed in pf.conf.5 as well. We should probably delete that one as part of this patch (or in a separate patch to delete both mentions) too.

(For reference, this was introduced in 339a1977c32414f3d23733504955245ca6f3802d, but without the actual sysctl.)

Spun off the removal into a parent commit.

This revision is now accepted and ready to land.Mon, Jun 16, 11:44 AM