Date: Wed, 25 Sep 2019 16:46:57 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Andriy Gapon <avg@FreeBSD.org>, freebsd-net <freebsd-net@FreeBSD.org> Subject: Re: dummynet: bandwidth is limited to 2 Gbit/s ? Message-ID: <9126bcb5-8a67-7157-c420-db34f0522708@yandex.ru> In-Reply-To: <a1c0ac18-1290-a109-1c46-c8d6047cd8c1@FreeBSD.org> References: <a1c0ac18-1290-a109-1c46-c8d6047cd8c1@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Zdk8sDghNkT95qyS1Npc3rAYQeMZ3RDfa Content-Type: multipart/mixed; boundary="3FxBSEBfLHcVIWK97Tmr3ldkljizco0rO"; protected-headers="v1" From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Andriy Gapon <avg@FreeBSD.org>, freebsd-net <freebsd-net@FreeBSD.org> Message-ID: <9126bcb5-8a67-7157-c420-db34f0522708@yandex.ru> Subject: Re: dummynet: bandwidth is limited to 2 Gbit/s ? References: <a1c0ac18-1290-a109-1c46-c8d6047cd8c1@FreeBSD.org> In-Reply-To: <a1c0ac18-1290-a109-1c46-c8d6047cd8c1@FreeBSD.org> --3FxBSEBfLHcVIWK97Tmr3ldkljizco0rO Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 24.09.2019 08:42, Andriy Gapon wrote: >=20 > It seems that the userland component of ipfw/dummynet uses int for the = bandwidth > represented in bit/s. Also, int is used for passing that value from th= e > userland to the kernel. >=20 > What would be the best way to extend this? > Just use a larger type? > Or maybe add another field to try to preserve KBI backward compatibilit= y? There is yet another problem, that you need to keep in mind. Some people may use old ipfw(8) binaries inside jails, that can be executed on modern host system. So, if you will break KBI, then such jails will stop work. --=20 WBR, Andrey V. Elsukov --3FxBSEBfLHcVIWK97Tmr3ldkljizco0rO-- --Zdk8sDghNkT95qyS1Npc3rAYQeMZ3RDfa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAl2Lb9IACgkQAcXqBBDI oXrK7gf9HKkLuzmn6uHqDA4S0YoqPZXD4/NTH09Q5RLLeXBhUto+ECREwrT+BqQ8 8NMlQTNzaVi+TqwbiTy8PSK3UUzaUzXUTI/dpYf128jYegS+U3NbkweAHt+v0BLV JJw9oT0UG8/uyaHczrsEd+NalEN6NFPmK/0YbkFAu5S03I5AdEdVCewcCFYP9hcj kk40jffBJpe9bGeYq+Siy+w2oXeeW7BSchJ71GgRA1jRAoqLfK9J5tHE5Ne+mY8x AfXDRTD0/eBBGvlIysBHSJatPHWB4ngD3u5PBeMtemPRcObPSkuCoESGu+TyQu5b wgBx6bNtG4PmUgyxTdAtpQof8jFgMw== =y8cz -----END PGP SIGNATURE----- --Zdk8sDghNkT95qyS1Npc3rAYQeMZ3RDfa--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9126bcb5-8a67-7157-c420-db34f0522708>