Ban version
Ban version
right Ive had some troublewith idiots coming in on a warscript that readily ids itself on ctcp so I added a ban version to my .conf
Unreal is now scanning the scripts on connect yet it does nothing to the script when it connects. I got hold of the script myself and have checked the ctcp and this is how it comes up when it connects
-
[IRC VERSION]
-
Status Window (Version Request by;IRC)
-
-> -IRC- (InfecteD v¹; Toxic by v0rt3x nd CryptikS)
my ban block is
};
ban version {
mask "(InfecteD v¹; Toxic by v0rt3x nd CryptikS)";
reason "warscript"
action gzline
};
Im positive the ban block is correct but unreal does not seem to react to the script.
Unreal is now scanning the scripts on connect yet it does nothing to the script when it connects. I got hold of the script myself and have checked the ctcp and this is how it comes up when it connects
-
[IRC VERSION]
-
Status Window (Version Request by;IRC)
-
-> -IRC- (InfecteD v¹; Toxic by v0rt3x nd CryptikS)
my ban block is
};
ban version {
mask "(InfecteD v¹; Toxic by v0rt3x nd CryptikS)";
reason "warscript"
action gzline
};
Im positive the ban block is correct but unreal does not seem to react to the script.
Ive looked at it and looked at it and tried diff ways of masking it yet it wont do jack . I really need to get this working . If you ctcp the script it replies so I presume the server isnt reading the reply or misinterprets it . Could this be because the reply has colours in it? . Any help appreciated guys . Im really confused as this should work ok.
ok I put the codes in as well as below into the ban block an yet again nada
5(14Infecte4D14 4v14¹; 4T14oxic by 4v140rt34x14 nd 4C14ryptik4S5)
Thx for helpin me out with this guys . If we cant get it to do it this way . Does anyone know another way I can kill selected scripts off at connect . got to work on win32 tho .
5(14Infecte4D14 4v14¹; 4T14oxic by 4v140rt34x14 nd 4C14ryptik4S5)
Thx for helpin me out with this guys . If we cant get it to do it this way . Does anyone know another way I can kill selected scripts off at connect . got to work on win32 tho .
In that case, you should be able to...
NOTE: Since CTCPREPLY VERSION is sent as a private notice, this will have the (wanted) side-effect of GZ-Lining any script that sends the reply as a true-blue VERSION reply, instead of a notice.
Code: Select all
spamfilter {
regex "(InfecteD v¹; Toxic by v0rt3x nd CryptikS)";
target { private-notice; channel-notice; };
action gzline;
reason "warscript";
ban-time 3h; // Change this as appropriate.
};
Last edited by aquanight on Sun Apr 25, 2004 7:26 pm, edited 1 time in total.
Okay. (In .NET regex's they're used for grouping, and since Unreal's regex language was similar, I'd half-assumed they'd be necessary.) But hopefully it doesn't matter whether they're in there or not .codemastr wrote:No, the \ is not necessary.
Well, with that, they may get past the IRC version check, but if some ordinary user then later CTCP VERSION the script, it will get GZLine'd then.Syzop wrote:And msgs/notices to 'irc' (and 'ircd') are not catched by spamfilter
It probably won't help this issue, but I think something can/should be added to put a tkl ban on users that don't send a version reply. Something like:
Code: Select all
ban version {
timelimit 10s;
action kill /* or tempshun/shun/kline/zline/gline/gzline */ ;
reason "Network rules require your client to respond normally to a VERSION request.";
};