mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 18:13:12 +02:00
- spamfilter.conf: fixed mIRC exploit sigs
- Fixed all spamfilters in configfile not working due to configrewrite (post-3.2.2).
This commit is contained in:
@@ -497,3 +497,5 @@
|
||||
- OperOverride INVITE notices are now also global (if you have the eyes snomask set) (#2212).
|
||||
- Module coders: New function: sendto_snomask_global().
|
||||
- Speedup sendto_snomask/sendto_connectnotice/sendto_fconnectnotice code.
|
||||
- spamfilter.conf: fixed mIRC exploit sigs
|
||||
- Fixed all spamfilters in configfile not working due to configrewrite (post-3.2.2).
|
||||
|
||||
+6
-6
@@ -14,17 +14,17 @@
|
||||
*/
|
||||
|
||||
spamfilter {
|
||||
regex "(.+ ){20}";
|
||||
target dcc;
|
||||
regex "\x01DCC (SEND|RESUME)[ ]+\"(.+ ){20}";
|
||||
target { private; channel; };
|
||||
reason "mIRC 6.0-6.11 exploit attempt";
|
||||
action kill;
|
||||
};
|
||||
|
||||
spamfilter {
|
||||
regex ".{225}";
|
||||
target dcc;
|
||||
reason "mIRC 6.12 exploit attempt";
|
||||
action block;
|
||||
regex "\x01DCC (SEND|RESUME).{225}";
|
||||
target { private; channel; };
|
||||
reason "Possible mIRC 6.12 exploit attempt";
|
||||
action kill;
|
||||
};
|
||||
|
||||
spamfilter {
|
||||
|
||||
+1
-1
@@ -5380,7 +5380,7 @@ int _conf_spamfilter(ConfigFile *conf, ConfigEntry *ce)
|
||||
else
|
||||
{
|
||||
for (cepp = cep->ce_entries; cepp; cepp = cepp->ce_next)
|
||||
target |= spamfilter_getconftargets(cep->ce_varname);
|
||||
target |= spamfilter_getconftargets(cepp->ce_varname);
|
||||
}
|
||||
}
|
||||
else if (!strcmp(cep->ce_varname, "action"))
|
||||
|
||||
Reference in New Issue
Block a user