git: e80f2a1087a3 - main - pf.conf.5: document received-on
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Sep 2024 13:05:24 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=e80f2a1087a38ad09f89263bc925f5580c556f26
commit e80f2a1087a38ad09f89263bc925f5580c556f26
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2024-08-29 09:23:51 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2024-09-16 11:48:40 +0000
pf.conf.5: document received-on
Reviewed by: zlei
Obtained from: OpenBSD, dlg <dlg@openbsd.org>, 456093dddc
Obtained from: OpenBSD, jmc <jmc@openbsd.org>, 2bf0158fa8
Obtained from: OpenBSD, deraadt <deraadt@openbsd.org>, be785dc6e2
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D46579
---
share/man/man5/pf.conf.5 | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index 733b00cc6732..bfa79b928b69 100644
--- a/share/man/man5/pf.conf.5
+++ b/share/man/man5/pf.conf.5
@@ -27,7 +27,7 @@
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd September 4, 2024
+.Dd September 6, 2024
.Dt PF.CONF 5
.Os
.Sh NAME
@@ -2118,6 +2118,11 @@ For example:
pass in proto tcp to port 25 set prio 2
pass in proto tcp to port 22 set prio (2, 5)
.Ed
+.It Ar received-on Aq Ar interface
+Only match packets which were received on the specified
+.Ar interface
+(or interface group).
+.Ed
.It Ar tag Aq Ar string
Packets matching this rule will be tagged with the
specified string.
@@ -3231,7 +3236,8 @@ filteropt = user | group | flags | icmp-type | icmp6-type | "tos" tos |
"rtable" number | "probability" number"%" | "prio" number |
"dnpipe" ( number | "(" number "," number ")" ) |
"dnqueue" ( number | "(" number "," number ")" ) |
- "ridentifier" number
+ "ridentifier" number |
+ "received-on" ( interface-name | interface-group )
nat-rule = [ "no" ] "nat" [ "pass" [ "log" [ "(" logopts ")" ] ] ]
[ "on" ifspec ] [ af ]