Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 2020 23:36:34 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Michael Tuexen <tuexen@freebsd.org>, Mark Johnston <markj@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: making SCTP loadable and removing it from GENERIC
Message-ID:  <1a425cce-4905-1d2f-d5ee-cbeb1c300afc@grosbein.net>
In-Reply-To: <A8BC13AB-F2EC-4819-8920-17395A4DBE64@freebsd.org>
References:  <20200709151300.GC8947@raichu> <A8BC13AB-F2EC-4819-8920-17395A4DBE64@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
09.07.2020 22:41, Michael Tuexen wrote:

>> I am wondering if anyone has any objections to or concerns about this
>> proposal.  Any feedback is appreciated.

I'm for it.

> maybe it is acceptable to document user visible changes. This could include
> * parameter tunings in /etc/sysctl.conf are only applied if the SCTP module
>   is loaded from /etc/loader.conf.

You mean /boot/loader.conf.

This may be relaxed with "sctp_enable" knob for /etc/rc.conf and new startup script
/etc/rc.d/sctp that: a) REQUIRE: kld; b) checks if sctp.ko already loaded and load it as needed;
c) applies sctp sysctl tuning from /etc/sysctl.conf for values that differ.

> * If the module is not loaded yet, a user must have root privileges to run
>   a program using SCTP sockets.
 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1a425cce-4905-1d2f-d5ee-cbeb1c300afc>