summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2005-08-21 15:09:07 +0000
committerandre <andre@FreeBSD.org>2005-08-21 15:09:07 +0000
commit11e9c09778f14d8940ca3e370836b6bb52af63de (patch)
treed666bfcdd8518e198cf7e0dbf28cdd3927115253 /share
parentba9d3582e31d21e3e6ca4cfc9b138aa3868fb080 (diff)
downloadFreeBSD-src-11e9c09778f14d8940ca3e370836b6bb52af63de.zip
FreeBSD-src-11e9c09778f14d8940ca3e370836b6bb52af63de.tar.gz
Add a sysctl to change to length of the quotation of the original
packet in an ICMP reply. The minimum of 8 bytes is internally enforced. The maximum quotation is the remaining space in the reply mbuf. This option is added in response to the issues raised in I-D draft-gont-icmp-payload-00.txt. MFC after: 2 weeks Spnsored by: TCP/IP Optimizations Fundraise 2005
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/icmp.45
1 files changed, 5 insertions, 0 deletions
diff --git a/share/man/man4/icmp.4 b/share/man/man4/icmp.4
index 335ac73..3d60787 100644
--- a/share/man/man4/icmp.4
+++ b/share/man/man4/icmp.4
@@ -146,6 +146,11 @@ By default continue with normal source selection.
Enabling this option is particularly useful on routers because it
makes external traceroutes show the actual path a packet has taken
instead of the possibly different return path.
+.It Va quotelen
+.Pq Vt integer
+Number of bytes from original packet to quote in ICMP reply.
+This number is internally enforced to be at least 8 bytes (per RFC792)
+and at most the maximal space left in the ICMP reply mbuf.
.El
.Sh ERRORS
A socket operation may fail with one of the following errors returned:
OpenPOWER on IntegriCloud