Difference between revisions of "FloodProtection"
m (→+f overview: wiki code typo) |
m |
||
Line 81: | Line 81: | ||
A useful feature for the more "forgetting types" is the auto remove, for instance: | A useful feature for the more "forgetting types" is the auto remove, for instance: | ||
/mode #channel +f [20m#M10]:15 | /mode #channel +f [20m#M10]:15 | ||
− | the message flood gets triggered | + | the message flood gets triggered by a total of 20 messages (of any user) within the trigger period. The channel mode +M will be set for 10 minutes, as indicated by the number right after the mode. |
A last example to get the hang of it : | A last example to get the hang of it : |
Revision as of 22:29, 23 October 2009
Contents
Flood Protection
Getting tired of those endless fights against floodbots or annoying users who like to flood your channel with nonsense or dangerous links? Chat4All provides 2 different ways to fight those spam/virus/floodbots on your own. Of course, if they are a long term issue, you can also contact the Network Staff.
The first protection is in the form of Watcher, a Chat4All Service which is operated by us. It should passively protect your channel against the worst attacks. However, you can also defend your channel yourself using the server-side flood protection that is described in this article.
Non-standard channel modes
Our server supports non-standard channel modes, a brief explanation:
K : block /knock invite requests. N : block nick changes for users on this channel. C : block all CTCPs on the channel. M : only registered (+r) users can talk. f : flood settings. This is the one we are going to discuss.
Server-side Channel Flood protection settings
This mode helps you protect your channel against floods, it's much faster and more advanced than any personal channel bot you can run. You can enable it with the following command:
/mode #channel +f [action type[#counter action, (more)]:seconds
+f overview
Code | Effective against: | Default action taken |
---|---|---|
c | CTCPs | +C (m,M) |
j | Joins | +i (R) |
k | Knocks | +K |
m | Messages/Notices | +m (M) |
n | Nick changes | +N |
t | Text | kick or +b (ban) |
Examples
What follows are several examples of the several +f flood protections that are available.
ChanOp sets mode: +f [20j,50m,7n]:15 Join flood example Evil1 (~fdsdsfddf@Clk-17B4D84B.blah.net) has joined #test Evil2 (~jcvibhcih@Clk-3472A942.xx.someispcom) has joined #test Evil3 (~toijhlihs@Clk-38D374A3.aol.com) has joined #test Evil4 (~eihjifihi@Clk-5387B42F.dfdfd.blablalba.be) has joined #test -- snip XX lines -- Evil21 (~jiovoihew@Clk-48D826C3.e.something.org) has joined #test -irc.chat4all.net:#test *** Channel joinflood detected (limit is 20 per 15 seconds), setting +i irc.chat4all.net sets mode: +i Message flood example <Evil2> fsdjfdshfdkjfdkjfdsgdskjgsdjgsdsdfsfdujsflkhsfdl <Evil12> fsdjfdshfdkjfdkjfdsgdskjgsdjgsdsdfsfdujsflkhsfdl <Evil15> fsdjfdshfdkjfdkjfdsgdskjgsdjgsdsdfsfdujsflkhsfdl <Evil10> fsdjfdshfdkjfdkjfdsgdskjgsdjgsdsdfsfdujsflkhsfdl <Evil8> fsdjfdshfdkjfdkjfdsgdskjgsdjgsdsdfsfdujsflkhsfdl -- snip XX lines -- -irc.chat4all.net:#test *** Channel msg/noticeflood detected (limit is 50 per 15 seconds), putting +m irc.chat4all.net sets mode: +m Nick change flood example Evil1 is now known as Hmmm1 Evil2 is now known as Hmmm2 Evil3 is now known as Hmmm3 Evil4 is now known as Hmmm4 Evil5 is now known as Hmmm5 Evil6 is now known as Hmmm6 Evil7 is now known as Hmmm7 Evil8 is now known as Hmmm8 -irc.chat4all.net:#test *** Channel nickflood detected (limit is 7 per 15 seconds), putting +N irc.chat4all.net sets mode: +N
If you like to specify other counter action than the default ones, you have to modify the command, for instance:
/mode #channel +f [20j#R,50m#M]15
means, after 20 joins in 15 seconds, the channel mode is set to +R (whereas the default would have been +i) and after 50 messages within 15 seconds, the channel will be set to +M (whereas the default would have been +m).
A useful feature for the more "forgetting types" is the auto remove, for instance:
/mode #channel +f [20m#M10]:15
the message flood gets triggered by a total of 20 messages (of any user) within the trigger period. The channel mode +M will be set for 10 minutes, as indicated by the number right after the mode.
A last example to get the hang of it :
/mode #channel +f [10j#i20,50m#M11,10c#C35,5n#N5,3k#K20]:15
- All have a trigger time span of 15 seconds!
- After 10 joins (within the 15 seconds trigger time span), #channel will get channel mode +i set for a period of 20 minutes.
- After 50 messages (within the trigger time span), +M will become a channel mode on #channel and till it is removed by the server after 11 minutes
- A maximum of 10 channel CTCP's are allowed within the trigger period of 15 seconds, before channel mode +C is set for 35 minutes.
- A maximum of 5 nickchanges is allowed within the trigger period, before channel mode +N becomes effective for 5 minutes.
- Limit to 3 /knock commands within 15 second, or +K channel mode gets set for a duration of 20 minutes.
Use the flood command wisely! If there is no operator (@,%,& or ~) in the channel, your channel could be locked for quite some time!
We hope this will help you protect your channel more effectively.
Started by Jay at 18:33 on 3 Dec 2004 (CET)
Edited by FiXato 23:14, 16 March 2006 (CET)
Edited by FiXato 20:34, 23 October 2009 (UTC)