confused

These are old archives. They are kept for historic purposes only.
Post Reply
shahrul
Posts: 10
Joined: Sun Feb 20, 2005 5:38 am
Location: ShahAlam,Malaysia
Contact:

confused

Post by shahrul » Sun May 22, 2005 11:30 pm

Hi, can i ask, how can i add spamfilter if someone advertise irc network. like -> server irc.anydomainhost.com/net/org/my/ <- and i try type
-> /server irc.anydomainhost.com/net/org/my<- then hit CTRL on mirc. mean u didn't disconnect. any one got ideas to add that on spamfilter?
thx

w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t » Mon May 23, 2005 12:21 am

I assume you're trying to spamfilter something like the following:

irc.blah.com
irc.blah.net
irc.blah.org

Try something like:

irc\.blah\..*

(basic, but shouldn't have false matches. dunno how efficient it is.)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]

Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth » Mon May 23, 2005 2:20 am

Code: Select all

irc\.blah\.(com|net|org|my)
You can add all the TLD's you want in the ( and ) as long as they are all separated with a |

w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t » Mon May 23, 2005 3:34 am

aha, was wondering how you did that ;) still, mine won't need to be changed...
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]

shahrul
Posts: 10
Joined: Sun Feb 20, 2005 5:38 am
Location: ShahAlam,Malaysia
Contact:

Post by shahrul » Mon May 23, 2005 1:03 pm

hmm..if spammer type like -> server irc.anydomainhost.com/net/org <- will effect too with that regex ?

TigerKatziTatzi
Posts: 36
Joined: Fri Apr 08, 2005 12:10 pm

Post by TigerKatziTatzi » Mon May 23, 2005 2:06 pm

shahrul wrote:hmm..if spammer type like -> server irc.anydomainhost.com/net/org <- will effect too with that regex ?
it wouldn't, u may use like as posted before:

irc\.blah\.(com|net|org|my| ......... all possible domains.)
or just use *irc\.blah*

blah = the posted network name.

u may starting with learning regex. its pretty important to know regex on using spamfilter.
therefore u may check this page: http://www.regular-expressions.info/

w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t » Sun May 29, 2005 10:53 am

You missed a "." ;)

irc\.blah\..*

hm. I wonder if:
irc\.blah.* is any more efficient.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]

Post Reply