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
F133146258: D50856.id157048.diff
Thu, Oct 23, 9:31 AM
Unknown Object (File)
Thu, Oct 23, 12:23 AM
Unknown Object (File)
Wed, Oct 22, 12:38 AM
Unknown Object (File)
Tue, Oct 21, 5:01 PM
Unknown Object (File)
Sun, Oct 19, 1:39 PM
Unknown Object (File)
Sat, Oct 18, 1:19 PM
Unknown Object (File)
Fri, Oct 17, 12:00 AM
Unknown Object (File)
Thu, Oct 16, 1:13 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 64874
Build 61757: 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.

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.Jun 16 2025, 11:44 AM