1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 22:03:12 +02:00

Replace match-type 'posix' with 'regex' in example spamfilter.conf.

Note that I should probably check if they still work now.. ;)
This commit is contained in:
Bram Matthys
2019-04-02 21:04:40 +02:00
parent 83372cc2c8
commit 05c4cb5e8f
+26 -26
View File
@@ -14,7 +14,7 @@
*/
spamfilter {
match-type posix;
match-type regex;
match "\x01DCC (SEND|RESUME)[ ]+\"(.+ ){20}";
target { private; channel; };
action kill;
@@ -22,7 +22,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "\x01DCC (SEND|RESUME).{225}";
target { private; channel; };
action kill;
@@ -30,7 +30,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "Come watch me on my webcam and chat /w me :-\) http://.+:\d+/me\.mpg";
target private;
action gline;
@@ -38,7 +38,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "Speed up your mIRC DCC Transfer by up to 75%.*www\.freewebs\.com/mircupdate/mircspeedup\.exe";
target private;
action gline;
@@ -46,7 +46,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "^http://www\.angelfire\.com/[a-z0-9]+/[a-z0-9]+/[a-z_]+\.jpg <- .*!";
target private;
action block;
@@ -54,7 +54,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "^FREE PORN: http://free:porn@([0-9]{1,3}\.){3}[0-9]{1,3}:8180$";
target private;
action gline;
@@ -62,7 +62,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "^!login Wasszup!$";
target channel;
action gline;
@@ -70,7 +70,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "^!login grrrr yeah baby!$";
target channel;
action gline;
@@ -78,7 +78,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "^!packet ([0-9]{1,3}\.){3}[0-9]{1,3} [0-9]{1,15}";
target channel;
action gline;
@@ -86,7 +86,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "^!icqpagebomb ([0-9]{1,15} ){2}.+";
target channel;
action gline;
@@ -94,7 +94,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "^!pfast [0-9]{1,15} ([0-9]{1,3}\.){3}[0-9]{1,3} [0-9]{1,5}$";
target channel;
action gline;
@@ -102,7 +102,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "^!portscan ([0-9]{1,3}\.){3}[0-9]{1,3} [0-9]{1,5} [0-9]{1,5}$";
target channel;
action gline;
@@ -110,7 +110,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "^.u(dp)? ([0-9]{1,3}\.){3}[0-9]{1,3} [0-9]{1,15} [0-9]{1,15} [0-9]{1,15}( [0-9])*$";
target channel;
action gline;
@@ -118,7 +118,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "^.syn ((([0-9]{1,3}\.){3}[0-9]{1,3})|([a-zA-Z0-9_-]+\.[a-zA-Z0-9_-]+\.[a-zA-Z0-9_.-]+)) [0-9]{1,5} [0-9]{1,15} [0-9]{1,15}";
target { channel; private; };
action gline;
@@ -126,7 +126,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "^porn! porno! http://.+\/sexo\.exe";
target private;
action gline;
@@ -134,7 +134,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "(^wait a minute plz\. i am updating my site|.*my erotic video).*http://.+/erotic(a)?/myvideo\.exe$";
target private;
action gline;
@@ -142,7 +142,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "^STOP SPAM, USE THIS COMMAND: //write nospam \$decode\(.+\) \| \.load -rs nospam \| //mode \$me \+R$";
target private;
action gline;
@@ -150,7 +150,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "^FOR MATRIX 2 DOWNLOAD, USE THIS COMMAND: //write Matrix2 \$decode\(.+=,m\) \| \.load -rs Matrix2 \| //mode \$me \+R$";
target private;
action gline;
@@ -158,7 +158,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "^hey .* to get OPs use this hack in the chan but SHH! //\$decode\(.*,m\) \| \$decode\(.*,m\)$";
target private;
action gline;
@@ -166,7 +166,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match ".*(http://jokes\.clubdepeche\.com|http://horny\.69sexy\.net|http://private\.a123sdsdssddddgfg\.com).*";
target private;
action gline;
@@ -175,7 +175,7 @@ spamfilter {
/* This is a 'general sig' which might have a tad more false positives, hence just 'block' is used */
spamfilter {
match-type posix;
match-type regex;
match "C:\\WINNT\\system32\\[][0-9a-z_-{|}`]+\.zip";
target dcc;
action block;
@@ -183,7 +183,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "C:\\WINNT\\system32\\(notes|videos|xxx|ManualSeduccion|postal|hechizos|images|sex|avril)\.zip";
target dcc;
action dccblock;
@@ -191,7 +191,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "http://.+\.lycos\..+/[iy]server[0-9]/[a-z]{4,11}\.(gif|jpg|avi|txt)";
target { private; quit; };
action block;
@@ -199,7 +199,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "^Free porn pic.? and movies (www\.sexymovies\.da\.ru|www\.girlporn\.org)";
target private;
action block;
@@ -207,7 +207,7 @@ spamfilter {
};
spamfilter {
match-type posix;
match-type regex;
match "^LOL! //echo -a \$\(\$decode\(.+,m\),[0-9]\)$";
target channel;
action block;
@@ -224,7 +224,7 @@ spamfilter {
*/
spamfilter {
match-type posix;
match-type regex;
match "^Want To Be An IRCOp\? Try This New Bug Type: //write \$decode\(.+=.?,m\) \| \.load -rs \$decode\(.+=.?,m\)$";
target private;
action block;