Flood protection patch
2005-05-19 18:25I've posted my rate limiting patch to the exim-users mailing list. You can see it at:
http://www.cus.cam.ac.uk/~fanf2/hermes/doc/antiforgery/exim-ratelimit.patch
http://www.cus.cam.ac.uk/~fanf2/hermes/doc/antiforgery/exim-ratelimit.patch
no subject
Date: 2005-05-20 07:10 (UTC)no subject
Date: 2005-05-20 13:21 (UTC)if (rc == FAIL || !leaky)
dbfn_write(dbm, key, dbd, sizeof(dbdata_ratelimit));
i.e. if the rate is low, or if we are strict, update the persistent state.
no subject
Date: 2005-05-27 14:40 (UTC)no subject
Date: 2005-05-27 15:02 (UTC)no subject
Date: 2005-05-27 15:08 (UTC)no subject
Date: 2005-05-27 15:14 (UTC)no subject
Date: 2005-05-27 15:45 (UTC)no subject
Date: 2005-05-31 13:44 (UTC)Any known gotchas? :)
no subject
Date: 2005-05-31 14:12 (UTC)So long as you understand the options (especially the difference between strict and leaky) it should be straight-forward. One thing that's slightly poorly documented is exactly how the key is treated: it actually includes the all of the ratelimit options (m/p/opt/key), so if you tweak the configuration it effectively forgets the client's saved rate. Perhaps it shouldn't include m in the database key...
no subject
Date: 2005-05-31 17:27 (UTC)