Ctcp flood protection options

Protecting against CTCP flood
Here you can setup your CTCP flood protection system.
The CTCP engine in irc clients may be subjected to an external attack called "ctcp flood".
Basically, the attackers (usually there is more than one offending client) send a stream of CTCP requests to the victim's client; the victim attempts to satisfy all the requests by sending a stream of replies to the server; the server soon fills the (limited in size!) input buffer for the victim and thus disconnects him for "excess flood" (yes...this is the IRC protocol).
Many user defined scripts choose to completly ignore all the CTCP requests, in order to prevent such attacks.
KVIrc offers an alternative method that allows you to take advantage from the CTCP protocol and by the same time prevent the "ctcp flood" attack.
The method is really simple: we're going to satisfy only a limited number of CTCP requests in a defined time interval.
The "Use flood protection" option enables this protection method.
In the "Allow max" field you should place the maximum number of CTCP requests that KVIrc should satisfy in the interval of time defined in the second field (the interval is specified in seconds).
A strong protection against flood would be replying to 4 requests every 20 seconds , for example.
The minimum setting that can still protect you is sth around 3 messages every 6 seconds.
Please note that 3 messages in 6 seconds is NOT the same as 10 messages in 20 seconds: the first setting would allow 3 requests even in one second but then the client would ignore all the requests for the next 5 seconds, the second setting would allow 10 messages in one second and then ignore everything for the next 19 secs. 3/6 is a safer setting.
The maximum protection you can set is 0 messages in any number of seconds: KVIrc will consider any ctcp request as flood.


You can also eventually decide to ignore specific ctcp requests: if you don't want to be PING'ed , just enable the "Ignore PING requests" option.... in my opinion, it is not a great choice: it kills some of the IRC fun :)


Some specific protection options can be set also in other ctcp options sections: see ctcp avatar protocol options and ctcp dcc protocol options.

Main index, Interface help index
KVirc 3.0.0 documentation
Generated by diego at Sat Jul 13 15:37:55 2002