Quote Originally Posted by Ni3ls View Post
A lot of servers in COD2 1.0 are filled now... Some russian kid is doing this. Max 5 bots are added now, so its already a big improvement
I guess that there is no need for connect rate limiter.

This might limit the fake clients a little better. It will allow ~5 challenge packets per second.
PHP Code:
int hook_SV_GetChallenge(netadr_t from)
{
    
// Prevent using getchallenge as an amplifier
    
if ( SVC_RateLimitAddressfrom51000 ) ) { 
The limiter stores the burst of the packets. The challenge limiter is also affected by other packets like getinfo, getstatus, rcon.
For example, 2x getinfo, 2x getstatus, 1x rcon and 1x getchallenge in one second. With the above code the challenge will be dropped, because it is packet #6.