anti clones ips

These are old archives. They are kept for historic purposes only.
Post Reply
manuti
Posts: 5
Joined: Wed Dec 24, 2014 2:09 am

anti clones ips

Post by manuti » Wed Dec 24, 2014 2:41 am

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;
};

katsklaw
Official supporter
Posts: 1114
Joined: Sun Apr 18, 2004 5:06 pm

Re: anti clones ips

Post by katsklaw » Wed Dec 24, 2014 5:16 pm

the spamfilter is not designed for that. It's the exact reason there is the max-per-ip option in the allow block.

Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: anti clones ips

Post by Stealth » Fri Dec 26, 2014 4:21 am

Code: Select all

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

manuti
Posts: 5
Joined: Wed Dec 24, 2014 2:09 am

Re: anti clones ips

Post by manuti » Sun Dec 28, 2014 4:40 am

thanks katsklaw & Stealth

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

Post Reply