Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2025 18:23:05 GMT
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: c8bd4684eb39 - stable/14 - icmp.4: improve icmplim and add icmplim_jitter description
Message-ID:  <202502051823.515IN5rs017780@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=c8bd4684eb39c170249d91a1e880569619f2b935

commit c8bd4684eb39c170249d91a1e880569619f2b935
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2024-12-11 18:47:11 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2025-02-05 07:37:10 +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 9417565eb48b..8c1dc9566170 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 August 1, 2022
+.Dd December 11, 2024
 .Dt ICMP 4
 .Os
 .Sh NAME
@@ -171,10 +171,31 @@ Defaults to false.
 Enable/disable dropping of ICMP Redirect packets.
 Defaults to false.
 .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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502051823.515IN5rs017780>