aboutsummaryrefslogtreecommitdiff
path: root/sbin/ipfw/ipfw.8
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2022-08-17 15:24:11 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2022-08-17 15:24:11 +0000
commit05b9737f106447117fa38644221e19530b326911 (patch)
treeab652f21132f34f10e02aca9e196e7ef9ce5c10a /sbin/ipfw/ipfw.8
parente7abb897018be34f039ad957562fdc2f38aa3562 (diff)
downloadsrc-05b9737f106447117fa38644221e19530b326911.tar.gz
src-05b9737f106447117fa38644221e19530b326911.zip
ipfw: make it possible to specify MTU for "unreach needfrag" action
Reviewed by: ae, pauamma Differential revision: https://reviews.freebsd.org/D36140
Diffstat (limited to 'sbin/ipfw/ipfw.8')
-rw-r--r--sbin/ipfw/ipfw.810
1 files changed, 8 insertions, 2 deletions
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8
index db8a11525b4d..dbc551042859 100644
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -1,7 +1,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 4, 2022
+.Dd August 17, 2022
.Dt IPFW 8
.Os
.Sh NAME
@@ -1080,7 +1080,7 @@ Send a copy of packets matching this rule to the
socket bound to port
.Ar port .
The search continues with the next rule.
-.It Cm unreach Ar code
+.It Cm unreach Ar code Op mtu
Discard packets that match this rule, and try to send an ICMP
unreachable notice with code
.Ar code ,
@@ -1093,6 +1093,12 @@ is a number from 0 to 255, or one of these aliases:
.Cm toshost , filter-prohib , host-precedence
or
.Cm precedence-cutoff .
+The
+.Cm needfrag
+code may have an optional
+.Ar mtu
+parameter.
+If specified, the MTU value will be put into generated ICMP packet.
The search terminates.
.It Cm unreach6 Ar code
Discard packets that match this rule, and try to send an ICMPv6