Spamfilter

These are old archives. They are kept for historic purposes only.
Post Reply
GouroB
Posts: 182
Joined: Thu Oct 28, 2004 7:42 pm
Location: London
Contact:

Spamfilter

Post by GouroB »

Stealth said
^Guest(\d+)?!
....

i follow the way he said ... but still no result ... i mean ... we r having some clone flood problem those bots use these sorta nick's

[dOpEbOt]-11 , [dOpEpiG]-42 , [pr0n] , [dOpEeDubOt] etc ....

so i tryed like " /spamfilter add u kill - BOT ^[dOpEpiG]\d* "

didnt work ... what should be the correct regex ?
:?
-=GouroB=-
https://www.shunno.info
Your complete web Solution
Irc.BanglaCafe.com
LargesT Chat server in BanglaDesH
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

/spamfilter add u kill - BOT ^[dOpEpiG]\d*
'[' and ']' are characters that have a special mening in regex, so if you want a literal '[' and ']' you need to escape them ('\[' and '\]'), so:

Code: Select all

/spamfilter add u kill - BOT ^\[dOpEpiG\]\d*
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

[dOpEbOt]-11 , [dOpEpiG]-42
You need that - in your regexp too!

Code: Select all

^\[dOpEpiG\]-\d*
-- codemastr
GouroB
Posts: 182
Joined: Thu Oct 28, 2004 7:42 pm
Location: London
Contact:

Thx

Post by GouroB »

Thx :D
-=GouroB=-
https://www.shunno.info
Your complete web Solution
Irc.BanglaCafe.com
LargesT Chat server in BanglaDesH
GouroB
Posts: 182
Joined: Thu Oct 28, 2004 7:42 pm
Location: London
Contact:

Post by GouroB »

codemastr or sYzoP ... thx for that nick regex ... actually there is not enough info or instruction about how to use regex ... like the use of .* , \* etc .

even in helpop it shows just ..
Use: /spamfilter [add|del|remove|+|-] [type] [action] [tkltime] [reason] [regex]
[type] specifies the target type, you can specify multiple targets:
'c' channel msg, 'p' private msg, 'n' private notice,
'N' channel notice, 'P' part msg, 'q' quit msg, 'd' dcc,
'a' away, 'u' user (nick!user@host:realname ban)
[action] specifies the action to be taken (only 1 action can be specified):
'kill', 'tempshun' (only shun current session), 'shun',
'kline', 'gline', 'zline', 'gzline', 'block' (blocks the msg),
'dccblock' (unable to send any dccs), 'viruschan' (part all channels
and join the virus help chan).
[regex] this is the actual regex where we should block on
[tkltime] the duration of the *LINEs placed by action (use '-' to use the default
set::spamfilter::ban-time, this value is ignored for block/tempshun');
[reason] the reason for the *LINE or blockmsg, CANNOT CONTAIN SPACES,
'_' will be translated to spaces. Again, if you use '-' for this
the default (set::spamfilter::ban-reason) is used.
so it would be a great help if any one of u or any one could do anything ...
-=GouroB=-
https://www.shunno.info
Your complete web Solution
Irc.BanglaCafe.com
LargesT Chat server in BanglaDesH
DeadNotBuried
Posts: 44
Joined: Wed Mar 10, 2004 5:30 am
Location: irc.majestic-liaisons.com
Contact:

Post by DeadNotBuried »

i'd suggest doing a search on google etc for "regex" , there are thousands of sites out there explaining how to use regex's.
Majestic Liaisons Adult Chat - [url=irc://irc.majestic-liaisons.com:6667]IRC[/url] , Java
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Also, regex is documented - in the docs.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Darklord
Posts: 3
Joined: Wed Dec 14, 2005 10:14 pm

bots

Post by Darklord »

can u pls type me what to put in spamfilter for this under:

[22:53] * Joins: b_kurrrr_b (~[email protected])
[22:53] * Joins: h_kurrrr_h (~[email protected])
[22:53] * Joins: a_kurrrr_a ([email protected])
[22:53] * Joins: q_kurrrr_q (~[email protected])
[22:53] * Joins: z_kurrrr_z (~[email protected])
[22:53] * Joins: ee_kurrrr_ee ([email protected])
[22:53] * Joins: m_kurrrr_m (~[email protected])
[22:53] * Joins: gg_kurrrr_gg (~[email protected])
[22:53] * Joins: x_kurrrr_x (~[email protected])
[22:53] * Joins: rr_kurrrr_rr (~[email protected])
[22:53] * Joins: u_kurrrr_u (~[email protected])
[22:53] * Joins: kk_kurrrr_kk (~[email protected])
[22:53] * Joins: g_kurrrr_g ([email protected])
[22:53] * Joins: yy_kurrrr_yy (~[email protected])
[22:53] * Joins: p_kurrrr_p (~[email protected])
[22:53] * Joins: v_kurrrr_v (~[email protected])
[22:53] * Joins: ww_kurrrr_ww ([email protected])
[22:53] * Joins: dd_kurrrr_dd (~[email protected])
[22:53] * Joins: tt_kurrrr_tt (~[email protected])
[22:53] * Joins: hi_kurrrr_hi (~[email protected])
[22:53] * Joins: zz_kurrrr_zz (~[email protected])
[22:53] * Joins: uu_kurrrr_uu (~[email protected])
[22:53] * Joins: r_kurrrr_r (~[email protected])
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

Code: Select all

^([a-z]{1,2})_kurrrr_\1!
Why the hell can't my signature be empty?
"Your message contains too few characters."
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

eh...

just spamfiltering kurrrr would be enough. How many real people have a name like kurrrr ?!
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

Even one is too many.
Why the hell can't my signature be empty?
"Your message contains too few characters."
Post Reply