Date: Sun, 11 Aug 2024 15:00:55 +0100 From: void <void@f-m.fm> To: freebsd-net@freebsd.org Subject: Re: drop synfin Message-ID: <ZrjEF9gjTdiojk60@int21h> In-Reply-To: <CAHu1Y71GY3_wWDCL9G-iDzhBwJPy7MEVFTZz4i0oceEnE5x%2Bdg@mail.gmail.com> References: <Zri7fNZMIwwjWQbM@int21h> <CAHu1Y71GY3_wWDCL9G-iDzhBwJPy7MEVFTZz4i0oceEnE5x%2Bdg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, thank you for your response On Sun, Aug 11, 2024 at 09:47:28AM -0400, Michael Sierchio wrote: >sysrc is for editing rc files, and that's not what you want to do. > >you may manually set the MIB with sysctl net.inet.tcp.drop_synfin=1 or you >can put this line in /etc/sysctl.conf > >net.inet.tcp.drop_synfin=1 Yes. The reason I'm asking is because I've found instructions to do one or the other. The sysctl method is what I'd prefer. in a similar case - there are instructions for LOG_IN_VAIN=YES for /etc/rc.conf but there are also the sysctls which can be set in /etc/sysctl.conf for net.inet.tcp.log_in_vain and net.inet.udp.log_in_vain I just wondered if having two methods is by design, as that way one can have one value for tcp and another for udp if one goes the sysctl route. I think LOG_IN_VAIN=YES sets both these MIBs to 1. --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZrjEF9gjTdiojk60>