"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 »

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] [email protected] matches filter '[0-9]!.*@.*:.*': [user: '[email protected]:realname'] [bla bla reason]
That is the last line. Nothing more, nothing about crash.
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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.
JIVXor
Posts: 134
Joined: Fri Sep 09, 2005 10:53 pm
Location: Cuba

Post by JIVXor »

No problem :)
Post Reply