Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2023 15:43:38 +0100
From:      Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
To:        void@f-m.fm
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: the RATELIMIT kernel option
Message-ID:  <f61cba1f-092b-4352-a266-2f349c1c0097@plan-b.pwste.edu.pl>
In-Reply-To: <ZVtjM6XzKfCf5Q1A@int21h>
References:  <ZVtjM6XzKfCf5Q1A@int21h>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello void

W dniu 20.11.2023 o 14:46, void pisze:
> Hello hackers@,
>
> I've been looking at adding the RACK tcp kernel option, and reading 
> the instructions on 
> https://klarasystems.com/articles/using-the-freebsd-rack-tcp-stack/
>
> They mention the RATELIMIT option for some network cards but I can find
> no option of that name in LINT/NOTES so am not sure if it works with
> just some or all network interfaces or what the tradeoffs are. Can 
> anyone here clarify please? or just point me to whatever I need to 
> look at, thanks 
I am not a hacker, but I have also sought a couple of times what FreeBSD 
hackers have done with the code. There are a few or even a bunch of 
undocumented options. Number one for me is still "options RSS". From my 
experience, the best way to read about them is by digging FreeBSD 
mailing lists[1], searching on FreeBSD's Phabricator[2] and ... using 
grep inside /usr/src.

If you want to build stabe/1{3,4} with TCP RACK stack then mentioned 
article published on Klara Systems website provides still right 
guidance, then both:
options         TCPHPTS
options         RATELIMIT
are required.


1. https://lists.freebsd.org/

2. https://reviews.freebsd.org/

Cheers

-- 
Marek Zarychta




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f61cba1f-092b-4352-a266-2f349c1c0097>