Re: Compiling MOD_CC into kernel (TCP congestion control)?
On Sat, 25 Apr 2020 22:13:08 +0200 Michael Tuexen wrote: > > On 25. Apr 2020, at 19:28, Hartmann, O. > > wrote: > > > > On a firewall/router project of ours I try to experiment with > > several options/algorithms for mod_cc(4). The kernel is compiled > > statically, so that no kernel module can be loaded at runtime, > > therefor I need to compile the different modules mod_cc into the > > kernel. > > > > The manpage mod_cc(4) states: " ... Algorithm modules can be > > compiled into the kernel or loaded as kernel modules ..." > > > > Trying to figure out which manpage could hold the necessary > > information how to proceed with compiling those modules statically > > into the kernel, I tried tcp(4), mod_cc(4) and tried to get some > > informations from /usr/src/sys/conf/NOTES - without any succes. > > > > Can someone point me to the correct manpage to perform the desired > > task? > Hi, > > I can't point you to a man page, but do you get what you want if you > add lines like the existing one > netinet/cc/cc_newreno.c optional inet | inet6 > to sys/conf/files for the CC modules you would like to get compiled > in your kernel? > > Best regards > Michael > > > > Thanks in advance, > > kind regards > > > > O. Hartmann > Hello. Thank you very much for the hint. Doing like suggested make me feel back in the times of "config" for BSD kernel configurations ;-) Well, as I stated in the original question, the subject is a littel project where we'd like to compile those modules into the kernel. That is a requirement given by higher order (no modules available, everything needed needs to be static in the kernel, no loading/unloading of modules allowed for security purposes). oh pgpAzP0j2iJYM.pgp Description: OpenPGP digital signature
Re: Compiling MOD_CC into kernel (TCP congestion control)?
On Sat, Apr 25, 2020 at 07:28:54PM +0200, Hartmann, O. wrote: > On a firewall/router project of ours I try to experiment with several > options/algorithms for mod_cc(4). I don't mean to sidetrack this thread but can you elaborate a bit? If it's a firewall/router then the TCP congestion control algorithm shouldn't really matter given that connections don't terminate on this device. Regards, Navdeep ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Compiling MOD_CC into kernel (TCP congestion control)?
> On 25. Apr 2020, at 19:28, Hartmann, O. wrote: > > On a firewall/router project of ours I try to experiment with several > options/algorithms for mod_cc(4). The kernel is compiled statically, so > that no kernel module can be loaded at runtime, therefor I need to > compile the different modules mod_cc into the kernel. > > The manpage mod_cc(4) states: " ... Algorithm modules can be compiled > into the kernel or loaded as kernel modules ..." > > Trying to figure out which manpage could hold the necessary information > how to proceed with compiling those modules statically into the kernel, > I tried tcp(4), mod_cc(4) and tried to get some informations from > /usr/src/sys/conf/NOTES - without any succes. > > Can someone point me to the correct manpage to perform the desired task? Hi, I can't point you to a man page, but do you get what you want if you add lines like the existing one netinet/cc/cc_newreno.c optional inet | inet6 to sys/conf/files for the CC modules you would like to get compiled in your kernel? Best regards Michael > > Thanks in advance, > kind regards > > O. Hartmann ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Compiling MOD_CC into kernel (TCP congestion control)?
On a firewall/router project of ours I try to experiment with several options/algorithms for mod_cc(4). The kernel is compiled statically, so that no kernel module can be loaded at runtime, therefor I need to compile the different modules mod_cc into the kernel. The manpage mod_cc(4) states: " ... Algorithm modules can be compiled into the kernel or loaded as kernel modules ..." Trying to figure out which manpage could hold the necessary information how to proceed with compiling those modules statically into the kernel, I tried tcp(4), mod_cc(4) and tried to get some informations from /usr/src/sys/conf/NOTES - without any succes. Can someone point me to the correct manpage to perform the desired task? Thanks in advance, kind regards O. Hartmann pgpsWs5uCiAPE.pgp Description: OpenPGP digital signature