Page 2 of 2

Posted: Thu Jun 08, 2006 3:41 pm
by Dukat
Except ban only affects klines - glines, zlines, shun etc. are in another block (except tkl), and there is no kill protection in Unreal anyway...

Posted: Thu Jun 08, 2006 4:10 pm
by Franko
Jason wrote:Ok.

Heres the answer. (God how I hate writing negated spamfilters!)

Code: Select all

/spamfilter add u kill - You_must_enable_identd_to_use_this_server .*!~.*@.*\.(([^f].|.[^r])|.{3,}|.)$
*** Spamfilter added: '.*!~.*@.*\.(([^f].|.[^r])|.{3,}|.)$' [target: u] [action: kill] [reason: You must enable identd to use this server]

Other client:
[IRC VERSION]
-
Closing Link: ffdsfds[xxx.some.host.fr] (You must enable identd to use this server)

Not working :roll:

Posted: Thu Jun 08, 2006 5:50 pm
by Jason
WTF!

Arg.

Like I said. Negative spamfilters are rediculously difficult.

Code: Select all

!~.*@.*\.(.|([^f].|.[^r])|.{3,}):
Aparently my regex was good for nick!user@host. Forgot it matched on nick!user@host:realname. This one should work.

Posted: Wed Jun 14, 2006 4:16 pm
by aquanight

Code: Select all

!~[^@]*@[^:]*\.([^:]|[^:f][^:]|f[^:r]|[^:]{3,}):
That should definately work. :)

(Of course, you can only get : in your hostname with ipv6 but this keeps people from doing something like setting their realname to .fr: to fool the filter, for example.

Posted: Wed Jun 14, 2006 6:08 pm
by Jason
Agreed, but I'm lazy