From owner-freebsd-current@freebsd.org Sun Apr 26 20:06:15 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7474B2BAFCE for ; Sun, 26 Apr 2020 20:06:15 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 499Jnd3dd2z3QbH; Sun, 26 Apr 2020 20:06:13 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1587931570; bh=4fL5pRQSXM8KwgeJN+Q5PBinQOKtrn7kFW2OZdVGyS8=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References; b=fx9iK88ywA+8kfJ8wBAY2+MeJXQkiGe/pYhg3MeRvVgi4PFrVQ8ytZNxnMnHW4Grj wQUk0AZOeOni9syyMGVhB5x/sLGeq5lhgbupKw/GhEKA5q6judKVbHAnQFmDkcL8Lp AjUgg4zJtR/W3kJZbPCwBJpEC+NjKWOtrDBFH3c4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from hermann.fritz.box ([78.54.18.20]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MJVDW-1jmWHi2dNg-00JppA; Sun, 26 Apr 2020 22:06:10 +0200 Date: Sun, 26 Apr 2020 22:06:01 +0200 From: "Hartmann, O." To: Michael Tuexen Cc: "Hartmann, O." , FreeBSD CURRENT Subject: Re: Compiling MOD_CC into kernel (TCP congestion control)? Message-ID: <20200426220601.3045ad76@hermann.fritz.box> In-Reply-To: References: <20200425192854.14dc5cbf@hermann.fritz.box> Organization: walstatt.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/UPxiVXHDuQ=H4GZxRfm/LOT"; protocol="application/pgp-signature" X-Provags-ID: V03:K1:FTUDZp8jMc3i0Targi1MC+eF2Jq4NlNQoZabHJAXGJovCe9NPUn WUPU8JPd/1MVHCg1PJ4dbn2RywEb49lV3A5FgJ9jR1AEXbyOzsogWpE7ogGZ+yPSMVOHDe0 WQe7at3NMLUrJ1HKKKsU35d6Lk4gCZKW18FRnMxQX7pCwnDbnhS7pSMX2ZJhMBf8VwMsZm/ 44A4AgQD39eEqoOX8j1GA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:d5aHEtBZY5E=:9tHaQJnV5MbRD4p03Z0DQb sMJXknvMzBaQwV9xHrKdutgRlzevF/t0ad0TaKRr2mG44/OfI5GEohDbI9jZkyzWP92tMBA/r 0DTQ5mMACZht7aSKFJAFmlmMpLdpHVn8mZA0zbP3TGrcg+f5Sp+ixoeXp4MOUUGZbqdrS21Lz 3Om+mkRfxIo4Op39JaKTxOcOZUdo8B3//sI24IaSlAyGJXuXzwvGQ0nruknf2DE3RRoulT5Fb S9zX0jXEzeugO3oL+mPGQoAHEWnbVs0y9Nwf2CxsFzLOCvisNvorB+M9E9yYL+iYmCu2jLN+k wRrYv+KMx4UaWISIzf6totK4sG53zP2s2W5dT4FrG3svVCEc1TTmT1xQXwzAn1WzuMGDPjexx n3F6nbR8TsHUIiGBMe/IFSmhj6BQyiq5YHZn7daIX51uuxpAnRIqEdGxe2HXDD+8zmDR0qE34 P08DbfYJm3gTlYMdyYhpQkciO6nh6clqkGE+nhrzkkclfjrsMlSxwbYNkgQr54VJ37gIS2Y07 k2yWTtzqTdeDeqSzgHNFei8VEVtgbeljQ04AsbPudoA1Hq43i5zh66h6OyYXhKafk2fzJ98zB cuT3r5CgYfMvQe89uu5LN+L5tJfKMp3Jvuw4sBhGUQdAezXN+Tt9IhcixIzrNrPyT2D9H7kEd 2xKEyZyfhPHVPBMn1wbyVur//qaiJQ8I7yey530mn7+NoWD8d0AypAkE3wzzPMrwsMnUjECFn TMp+JXJV02LokGSifsndlayoyOduCGQI771v3RNrFCDFWK52zRC+jD3w9jDLWptMqXGFadOyq xs5E512V3E8MXHsk2WHFgPH1eyLtNtaVnrBAvbnH4U1/YXfqOTOFDShcd5JFqPXGO0lgF8Ha5 tNInTxlKJzEnzZrmdv458rGS+4M1j6wO0BS9/zzziwt+oNcKYcQcSTCuQPLZSF8kRXA32NNad 6Ztp9OoR4dueCJ3T5iy5dJ6YbdAWu99IqTM5XS1tM2zwQ5dejvU6u6MkU9j1ivqMAd5XhsE+S gLo6O2mhhMl0T+V57EJyOKsI9SGPyj66oH0oTYRo22aL6fEIXdeZRUDYT5EpAfXdADkPlahA+ m3XUq87zEoEgfsgTehX9uICWfZPu3dHutt+an9K1viOvFdnpVJkmWC0gE1PXOD6DV+pbO3sfr PA1ysfoe9wVQHVWtNOnalXEMiLCcw/2F0BTPLIV5mGTgb382hsaO4emeFNMZ8FlVAawkVuUgH 4M4Wwc67SkVC269fO X-Rspamd-Queue-Id: 499Jnd3dd2z3QbH X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=fx9iK88y; dmarc=none; spf=none (mx1.freebsd.org: domain of o.hartmann@walstatt.org has no SPF policy when checking 212.227.15.19) smtp.mailfrom=o.hartmann@walstatt.org X-Spamd-Result: default: False [-4.80 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; RECEIVED_SPAMHAUS_PBL(0.00)[20.18.54.78.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; IP_SCORE(-1.31)[ip: (-7.35), ipnet: 212.227.0.0/16(-1.22), asn: 8560(2.06), country: DE(-0.02)]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[walstatt.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; HAS_ORG_HEADER(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; R_SPF_NA(0.00)[]; SIGNED_PGP(-2.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[19.15.227.212.list.dnswl.org : 127.0.3.1]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Apr 2020 20:06:15 -0000 --Sig_/UPxiVXHDuQ=H4GZxRfm/LOT Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 25 Apr 2020 22:13:08 +0200 Michael Tuexen wrote: > > On 25. Apr 2020, at 19:28, Hartmann, O. > > wrote: > >=20 > > 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. > >=20 > > The manpage mod_cc(4) states: " ... Algorithm modules can be > > compiled into the kernel or loaded as kernel modules ..." > >=20 > > 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. > >=20 > > Can someone point me to the correct manpage to perform the desired > > task? =20 > Hi, >=20 > 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? >=20 > Best regards > Michael > >=20 > > Thanks in advance, > > kind regards > >=20 > > O. Hartmann =20 >=20 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 --Sig_/UPxiVXHDuQ=H4GZxRfm/LOT Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCXqXpqQAKCRA4N1ZZPba5 RyZkAP9+70IiXSEwVQ/xisl2nMaawebIg2yE3BQkjaUvMU4xIQD/Q1kZlCB7GAO0 x67io0tcefVBS/8m0fNaU6qwKdWBMgs= =08o+ -----END PGP SIGNATURE----- --Sig_/UPxiVXHDuQ=H4GZxRfm/LOT--