Re: the RATELIMIT kernel option

From: Marek Zarychta <zarychtam_at_plan-b.pwste.edu.pl>
Date: Mon, 20 Nov 2023 14:43:38 UTC
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