Page MenuHomeFreeBSD

D42235.id128852.diff
No OneTemporary

D42235.id128852.diff

diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -2886,6 +2886,11 @@
.It Fl defer
Do not defer the first packet in a state.
This is the default.
+.It Fl version Ar n
+Configure message format for compatibility with older versions of FreeBSD.
+Refer to
+.Xr pfsync 4
+for details.
.El
.Ss VLAN Parameters
The following parameters are specific to
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
@@ -113,6 +113,32 @@
or specify a peer address and protect the traffic with
.Xr ipsec 4 .
.Pp
+When new features are introduced to
+.Xr pf 4
+the format of messages used by
+.Nm
+might change.
+.Nm
+will by default use the latest format.
+If synchronization with a peer running an older version of FreeBSD is needed the
+.Ar version
+parameter can be used.
+E.g.:
+.Bd -literal -offset indent
+# ifconfig pfsync0 version 1301
+.Ed
+.Pp
+.Bd
+Currently the following versions are supported:
+.Bl -tag -width indent
+.It Cm 1301
+FreeBSD releases 13.2 and older.
+Compatibility with FreeBSD 13.1 has been verified.
+.It Cm 1400
+FreeBSD release 14.0.
+.El
+.Ed
+.Pp
.Nm
has the following
.Xr sysctl 8
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
--- a/share/man/man5/pf.conf.5
+++ b/share/man/man5/pf.conf.5
@@ -1494,8 +1494,8 @@
option is specified.
.It Ar match
Action is unaltered, the previously matched rule's action still matters.
-Match rules apply queue and rtable assignments for every matched packet,
-subsequent matching pass or match rules can overwrite the assignment,
+Match rules apply scrubbing (and queue and rtable assignments for every matched
+packet, subsequent matching pass or match rules can overwrite the assignment,
if they don't specify a queue or an rtable, respectively, the previously
set value remains.
Additionally, match rules can contain log statements; the is logging done

File Metadata

Mime Type
text/plain
Expires
Mon, Feb 9, 2:27 PM (7 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28589043
Default Alt Text
D42235.id128852.diff (1 KB)

Event Timeline