Page 1 of 1

"viruschan" rule crash my unrealIRC deamon

Posted: Sat Dec 24, 2005 6:58 am
by JIVXor
When I set :

Code: Select all

 set { spamfilter 
 virushelp-channel "#quarantine"; 
 virus-help-channel-deny yes;
 }; };

Code: Select all

spamfilter {
        regex [0-9]!.*@.*:.*;
        target user;
        action viruschan;    
        reason "bla bla reason";

viruschan part all channels, join set::spamfilter::virus-help-channel, disables all commands except PONG, ADMIN, and msg/notices to set::spamfilter::virus-help-channel

Well when I connect a client with nick : Bla123
UnrealIRC deamon crash. Did I miss something in my configuration?
I checked my ircd.log and shows me this :

Code: Select all

jiv@hall ~/Unreal3.2 $ cat ircd.log
[Sat Dec 24 01:52:25 2005] - [Spamfilter] bla123! matches filter '[0-9]!.*@.*:.*': [user: 'bla123!'] [bla bla reason]
That is the last line. Nothing more, nothing about crash.

Posted: Sat Dec 24, 2005 2:54 pm
by Syzop
Yes, the 'user' target is incompatible with the 'viruschan' action (this bug has been reported to me some time ago). The current workaround in CVS is to simply disable this combination, until a proper fix has been implemented.

So I'm afraid you just have to not use this combination for now.

Posted: Sat Dec 24, 2005 4:53 pm
by JIVXor
No problem :)