git: 6bcc3ae6d61d - stable/13 - icmp.4: improve icmplim and add icmplim_jitter description
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Feb 2025 18:42:03 UTC
The branch stable/13 has been updated by tuexen:
URL: https://cgit.FreeBSD.org/src/commit/?id=6bcc3ae6d61d2a4d972bbd839016ab63c6394935
commit 6bcc3ae6d61d2a4d972bbd839016ab63c6394935
Author: Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2024-12-11 18:47:11 +0000
Commit: Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2025-02-05 18:41:44 +0000
icmp.4: improve icmplim and add icmplim_jitter description
Reviewed by: cc, bcr
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D48025
(cherry picked from commit eba715c544ea89c6b402c55e03b388b77030b997)
---
share/man/man4/icmp.4 | 27 ++++++++++++++++++++++++---
1 file changed, 24 insertions(+), 3 deletions(-)
diff --git a/share/man/man4/icmp.4 b/share/man/man4/icmp.4
index 6889a71f0dc2..caac0ee5d032 100644
--- a/share/man/man4/icmp.4
+++ b/share/man/man4/icmp.4
@@ -27,7 +27,7 @@
.\"
.\" @(#)icmp.4 8.1 (Berkeley) 6/5/93
.\"
-.Dd March 26, 2015
+.Dd December 11, 2024
.Dt ICMP 4
.Os
.Sh NAME
@@ -174,10 +174,31 @@ it will be used instead of the real address mask when
the system replies to an ICMP Address Mask Request packet.
Defaults to 0.
.It Va icmplim
-.Pq Vt integer
-Bandwidth limit for ICMP replies in packets/second.
+.Pq Vt unsigned integer
+Mean rate limit for replies in packets/second.
+The actual limit is
+.Va icmplim
+plus a random jitter limited by
+.Va icmplim_jitter .
If set to zero, no limiting will occur.
Defaults to 200.
+.It Va icmplim_jitter
+.Pq Vt unsigned integer
+A random jitter between the negative of
+.Va icmplim_jitter
+and
+.Va icmplim_jitter
+is applied to
+.Va icmplim
+for limiting the sending rate of replies.
+.Va icmplim_jitter
+must be smaller than
+.Va icmplim ,
+if
+.Va icmplim
+is not zero.
+If set to zero, no jitter will be applied.
+Defaults to 16.
.It Va icmplim_output
.Pq Vt boolean
Enable/disable logging of ICMP replies bandwidth limiting.