IPFW In-Kernel NAT vs PF NAT Performance
Lev Serebryakov
lev at FreeBSD.org
Thu Mar 19 11:33:37 UTC 2020
On 19.03.2020 7:14, Neel Chauhan wrote:
> However, if you know, where in the code does libalias use only 4096
> buckets? I want to know incase I want/have to switch back to IPFW.
4096 is my mistake, it is 4001 and must be prime. It is here:
sys/netinet/libalias/alias_local.h:69-70:
#define LINK_TABLE_OUT_SIZE 4001
#define LINK_TABLE_IN_SIZE 4001
--
// Lev Serebryakov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20200319/5c730096/attachment.sig>
More information about the freebsd-net
mailing list