X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=flowspec-xdp;a=blobdiff_plain;f=README.md;h=5f6e917d0f9115450f4ee311f1a12b217788dda1;hp=64371974b316aaabca515327f2b28a610c92f576;hb=81e2215518fa76a2dc0dc88105550bf26c86c27b;hpb=80e92801d22e22493f9f0505a8ed06e6ca95716d diff --git a/README.md b/README.md index 6437197..5f6e917 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,9 @@ encoding in that the last 4 octets are the floating-point rate limit. Instead of AS/ignored value, the third octet is the maximum number of source IPs tracked (plus one, times 4096) and the fourth octet is a prefix length mask, which is applied to the source IP before rate-limiting. +See `collision_prob.py` for collision probabilities in the hash table to estimate the size you +should use. + `install.sh` provides a simple example script which will compile and install a generated XDP program from the rules in bird's `flowspec4` and `flowspec6` routing tables. It will drop any packets which match any flowspec filter.