Page 1 of 1

anti clones ips

Posted: Wed Dec 24, 2014 2:41 am
by manuti
that exists the options anti clones ips in the unreal.conf
but I would like a regex that is anti clone of ip (maximum clones ip admitted 3 users for ip)
I will be very grateful that correct me I am not sure if it will work


spamfilter {
regex "(.+)!~\1![^:]";
target user;
reason "in this network there do not afford clones (maximum clones ip admitted 3 users for ip)";
action kill;
};

Re: anti clones ips

Posted: Wed Dec 24, 2014 5:16 pm
by katsklaw
the spamfilter is not designed for that. It's the exact reason there is the max-per-ip option in the allow block.

Re: anti clones ips

Posted: Fri Dec 26, 2014 4:21 am
by Stealth

Code: Select all

allow {
   ...
   maxperip 3;
   ...
};

Re: anti clones ips

Posted: Sun Dec 28, 2014 4:40 am
by manuti
thanks katsklaw & Stealth

Stealth ?? it is possible to modify that he recognizes alone nickname and identd ??? and not so the realname
baba was [email protected] * baba
/spamfilter add u gline 1d Possible_clone._Please_change_ident_and_realname_to_be_different_from_your_nick. (.+)!~\1![^:]+:\1$