Page MenuHomeFreeBSD

D50856.1791774067.diff
No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None

D50856.1791774067.diff

diff --git a/share/man/man4/pf.4 b/share/man/man4/pf.4
--- a/share/man/man4/pf.4
+++ b/share/man/man4/pf.4
@@ -35,6 +35,20 @@
.Sh SYNOPSIS
.Cd "device pf"
.Cd "options PF_DEFAULT_TO_DROP"
+.Pp
+In
+.Xr loader.conf 5 :
+.Cd net.pf.states_hashsize
+.Cd net.pf.source_nodes_hashsize
+.Cd net.pf.rule_tag_hashsize
+.Cd net.pf.udpendpoint_hashsize
+.Cd net.pf.default_to_drop
+.Cd net.pf.request_maxcount
+.Cd net.pf.rdr_srcport_rewrite_tries
+.Pp
+In
+.Xr sysctl.conf 5 :
+.Cd net.pf.filter_local
.Sh DESCRIPTION
Packet filtering takes place in the kernel.
A pseudo-device,
@@ -74,10 +88,13 @@
characters, similar to how file system hierarchies are laid out.
The final component of the anchor path is the anchor under which
operations will be performed.
-.Sh SYSCTL VARIABLES AND LOADER TUNABLES
-The following
+.Sh SYSCTL VARIABLES
+The following variables can be entered at the
.Xr loader 8
-tunables are available.
+prompt, set in
+.Xr loader.conf 5 ,
+or changed at runtime with
+.Xr sysctl 8 :
.Bl -tag -width indent
.It Va net.pf.states_hashsize
Size of hash table that stores states.
@@ -97,11 +114,6 @@
This value overrides
.Cd "options PF_DEFAULT_TO_DROP"
from kernel configuration file.
-.It Va net.pf.filter_local
-This tells
-.Nm
-to also filter on the loopback output hook.
-This is typically used to allow redirect rules to adjust the source address.
.It Va net.pf.request_maxcount
The maximum number of items in a single ioctl call.
.It Va net.pf.rdr_srcport_rewrite_tries
@@ -110,6 +122,19 @@
Such rules are typically applied to external traffic, so an exhaustive search
may be too expensive.
.El
+.Sh LOADER TUNABLES
+The following tunable may be set in
+.Xr loader.conf 5
+or at the
+.Xr loader 8
+prompt:
+.Bl -tag -width indent
+.It Va net.pf.filter_local
+This tells
+.Nm
+to also filter on the loopback output hook.
+This is typically used to allow redirect rules to adjust the source address.
+.El
.Pp
Read only
.Xr sysctl 8
diff --git a/share/man/man4/pfsync.4 b/share/man/man4/pfsync.4
--- a/share/man/man4/pfsync.4
+++ b/share/man/man4/pfsync.4
@@ -32,6 +32,14 @@
.Nd packet filter state table synchronisation interface
.Sh SYNOPSIS
.Cd "device pfsync"
+.Pp
+In
+.Xr loader.conf 5 :
+.Cd net.pfsync.pfsync_buckets
+.Pp
+In
+.Xr sysctl.conf 5 :
+.Cd net.pfsync.carp_demotion_factor
.Sh DESCRIPTION
The
.Nm
@@ -155,12 +163,14 @@
.It Cm 1400
FreeBSD release 14.0.
.El
-.Pp
-.Nm
-has the following
-.Xr sysctl 8
-tunables:
-.Bl -tag -width ".Va net.pfsync"
+.Sh SYSCTL VARIABLES
+The following variables can be entered at the
+.Xr loader 8
+prompt, set in
+.Xr loader.conf 5 ,
+or changed at runtime with
+.Xr sysctl 8 :
+.Bl -tag -width indent
.It Va net.pfsync.carp_demotion_factor
Value added to
.Va net.inet.carp.demotion
@@ -171,6 +181,14 @@
.Xr carp 4
for more information.
Default value is 240.
+.El
+.Sh LOADER TUNABLES
+The following tunable may be set in
+.Xr loader.conf 5
+or at the
+.Xr loader 8
+prompt:
+.Bl -tag -width indent
.It Va net.pfsync.pfsync_buckets
The number of
.Nm

File Metadata

Mime Type
text/plain
Expires
Mon, Oct 12, 3:01 AM (6 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30320454
Default Alt Text
D50856.1791774067.diff (2 KB)

Event Timeline