making SCTP loadable and removing it from GENERIC

Eugene Grosbein eugen at grosbein.net
Thu Jul 9 16:37:01 UTC 2020


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.
 



More information about the freebsd-net mailing list