Page 1 of 1

Block nicks

Posted: Thu Oct 20, 2005 4:56 pm
by Guest
Hi there...

This one is a new type of flood i have seen

the person that connects hes bots to my server are:

aa_anyword_aa
bb_anyword_ww
ge_anyword_cc

where (anyword) changes every time his trying to flood like:

as_master_js
lp_champ_wk
cc_freak_aq

I tried to catch tham like ??\_\*\_?? but its not working properly

My question is, how can i block a nickname that starts with 2 letters than _ than a word _ again two letters

Thx in advens!!!

Posted: Thu Oct 20, 2005 6:56 pm
by pak

Code: Select all

[a-z]{2}_[a-z]+_[a-z]{2}
should work for you

Block nick

Posted: Fri Nov 11, 2005 12:53 pm
by guesti
Thx for the code PAK

Posted: Thu Dec 01, 2005 2:31 pm
by Guest
or, you can use services.

/os sqline add ??_*_?? Reason

Need some help

Posted: Thu Dec 29, 2005 7:55 pm
by guesti
| 20:49:17 | -irc.whatever.com- [Spamfilter] [email protected] matches filter '[a-z]{2}_[a-z]+_[a-z]{2}': [user: '[email protected]:op'] [ Possible Botnet - Not Allowed here! ]

It is catching also nicks that have only one _ or maybe it catched the identd Loti_I_Ve

Does some one know the code for spamfilter to gline only thos users with nicks like:

aa_whatever_aa, bb_whatever_cc, es_whatever_qa etc.

Thx in advance

Posted: Fri Dec 30, 2005 2:34 am
by Stealth
pak wrote:

Code: Select all

[a-z]{2}_[a-z]+_[a-z]{2}
People forget that regex will match anything that is not defined in the regex. You should use:

Code: Select all

^[a-z]{2}_[a-z]+_[a-z]{2}!
Notice I added an ^ at the beginning, and an ! at the end. These will make it only match the nick.

Works fine

Posted: Sun Jan 15, 2006 12:57 pm
by guesti
Thank you Stealth this one works fine :D