"viruschan" rule crash my unrealIRC deamon

These are old archives. They are kept for historic purposes only.
Post Reply
JIVXor
Posts: 134
Joined: Fri Sep 09, 2005 10:53 pm
Location: Cuba

"viruschan" rule crash my unrealIRC deamon

Post by JIVXor » Sat Dec 24, 2005 6:58 am

When I set :

Code: Select all

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

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!ident@huracan.red.sld.cu matches filter '[0-9]!.*@.*:.*': [user: 'bla123!ident@huracan.red.sld.cu:realname'] [bla bla reason]
That is the last line. Nothing more, nothing about crash.

Syzop
UnrealIRCd head coder
Posts: 1881
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop » Sat Dec 24, 2005 2:54 pm

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.

JIVXor
Posts: 134
Joined: Fri Sep 09, 2005 10:53 pm
Location: Cuba

Post by JIVXor » Sat Dec 24, 2005 4:53 pm

No problem :)

Post Reply