Spamfilter for irc......com/info/org ....

These are old archives. They are kept for historic purposes only.
Post Reply
Talustus
Posts: 13
Joined: Tue Dec 05, 2006 3:00 pm

Spamfilter for irc......com/info/org ....

Post by Talustus » Sat Feb 24, 2007 4:41 pm

is that rigth to gline users are using some addreses

like irc.bla.com or irc.blub.org

but not to gline some like irc.nameofnetwork.de

Code: Select all

/spamfilter add cpnNqt gline +0 NetworkSpam irc\..+\com
/spamfilter add cpnNqt gline +0 NetworkSpam irc\..+\org
/spamfilter add cpnNqt gline +0 NetworkSpam irc\..+\info
/spamfilter add cpnNqt gline +0 NetworkSpam irc\..+\eu
?

Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason » Sat Feb 24, 2007 5:48 pm

The spamfilters you pasted are strange. Why are you escaping the c in com, o in org, i in info, and e in eu? Also, why isn't there a period required before them?

Those filters would match this:
I love IRC. I want some more info on it though.
All hail IRC. AIM is completely horrible. (com in completely)

You probably want this filter:

irc\.[^ ]+\.(com|org|info|eu)

Though why not .net, or others, I duno.


In addition, +0 is wrong. Use only 0. A + should never be before any duration in any unrealircd command or configuration entry. Also, why not say "Network Spam" instead of "NetworkSpam" You can add a space to the reason by putting in an _. Network_Spam would be "Network Spam"
Why the hell can't my signature be empty?
"Your message contains too few characters."

Talustus
Posts: 13
Joined: Tue Dec 05, 2006 3:00 pm

Post by Talustus » Mon Feb 26, 2007 10:18 am

thx Jason it works nice thanks again but there is a second thing i need

how to block nicks like ^1907^ or ^1891^

Jobe1986
Official supporter
Posts: 1177
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post by Jobe1986 » Mon Feb 26, 2007 1:33 pm

^\^[0-9]{4}\^!.*

As a "user" type spamfilter should do the trick.

coxy
Posts: 17
Joined: Fri Jun 30, 2006 2:51 pm
Location: myanmar
Contact:

Post by coxy » Mon Feb 26, 2007 4:33 pm

/spamfilter + u block 0 go_away ^\^\d{4}\^!~*@*

Jobe1986
Official supporter
Posts: 1177
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post by Jobe1986 » Mon Feb 26, 2007 6:14 pm

coxy, in your regex the * modified the ~ and @ to mean 0 or more ~'s followed by 0 or more @'s

I think you meant:
/spamfilter + u block 0 go_away ^\^\d{4}\^!~.*@.*

In which case all a user would have to do is use ident responses to avoid it since the ~ only occours when an ident response isnt givern or when the IRCd has ident checking off.

Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason » Fri Mar 02, 2007 5:03 pm

Jobe: ^ doesn't need to be escaped in your regex. It is only a special char if it is the first char, or the first in a []
Why the hell can't my signature be empty?
"Your message contains too few characters."

Jobe1986
Official supporter
Posts: 1177
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post by Jobe1986 » Fri Mar 02, 2007 5:23 pm

Ahhh ok. Thanks for the tip.

:)

HitMan69
Posts: 14
Joined: Sat Sep 06, 2008 3:46 am
Location: Australia
Contact:

Re: Spamfilter for irc......com/info/org ....

Post by HitMan69 » Mon Dec 13, 2010 7:21 pm

Can u set time duration for a gline if you add the regex on spamfilter.conf?

akin
Posts: 33
Joined: Wed Jun 22, 2005 8:41 am

Re:

Post by akin » Mon Dec 27, 2010 12:43 pm

Jobe1986 wrote:coxy, in your regex the * modified the ~ and @ to mean 0 or more ~'s followed by 0 or more @'s

I think you meant:
/spamfilter + u block 0 go_away ^\^\d{4}\^!~.*@.*

In which case all a user would have to do is use ident responses to avoid it since the ~ only occours when an ident response isnt givern or when the IRCd has ident checking off.
Thanks..

DragonRyder
Posts: 51
Joined: Tue Feb 21, 2006 5:02 am
Location: USA, OH
Contact:

Re: Spamfilter for irc......com/info/org ....

Post by DragonRyder » Sat Mar 26, 2011 1:09 pm

i noticed earlier in this post about the irc spamfilter, so i wondered if i did this would it work?

Code: Select all

//spamfilter add cpnNPqdat block 0 Network/Spam_Advertising *irc.101-freedom.(com|net|org|info|de|tk|eu|uk)*
if i need to place it a different way can someone please show me how i should set it. thanks

Post Reply