[Devel] rand function in config file

Hendrik Scholz hscholz at raisdorf.net
Wed Mar 21 17:26:43 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Klaus Darilion wrote:
> For the SER ratelimit module we have RED (random early detection).
> In a nutshell it samples the number of messages and for the next
> timeframe drops every n-th message in order to get the total number
> 
>> drop (causes retransmissions) or reject?

It's up to the user to opt for drop or reject. Personally I had
quite good results rejecting messages with a 500-class error
including a Retry-After header.
The Retry-After value should differ between replies though.
That's where the randomize function comes into play.

Hendrik

- --
Hendrik Scholz - <hscholz at raisdorf.net> - http://www.wormulon.net/
drag me, drop me - treat me like an object
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGAVzD4Wmz+z2IPqARAo3pAKChqGuz1cKkKxLsHfpStMtCEnln/gCgzJpc
rRQ1+JfTXpcc5qaRyTnsid8=
=JRYJ
-----END PGP SIGNATURE-----



More information about the Devel mailing list