]> git.bitcoin.ninja Git - flowspec-xdp/commit
Rewrite per-source ratelimiting rules to use a custom hashtable
authorMatt Corallo <git@bluematt.me>
Thu, 10 Jun 2021 03:43:02 +0000 (03:43 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 10 Jun 2021 19:23:54 +0000 (19:23 +0000)
commit14f8186f33558b42201be806e9725acd3d445182
treed0791ffdd8e7f0a2004d696afc595bcb09f23773
parentcbe79e63ce2093b39e68ee7abd7d7362dd3a82e0
Rewrite per-source ratelimiting rules to use a custom hashtable

The in-kernel hashtable isn't at all fancy, and we can just use a
custom one to get basically the same outcomes, with much less
overhead due to the per-CPU stuff we have to do to get sensible
multicore access rules.
genrules.py
install.sh
xdp.c