I come to share another script that may be of help, the purpose of this script is to help detect evaders.
The script works with the "bans.txt" file that is inside the dist folder.
#Detects when an ip contains 3 octets equal to the banned ip (message = Ban Evader Detected)
#Detects when an ip contains 2 octets equal to the banned ip (message = Possible Ban Evader Detected)
IP's contain 4 pairs of numbers (octets) = a.b.c.d
example: 104.166.78.57 (104 is a, 166 is b, 78 is c, 57 is d).
suppose that a banned IP is 192.168.120.89 and the IP of the player who has just entered your server is 192.168.120.50 (here would be "Ban Evader Detected" since both IP's contain 3 equal octets 192.168.120).
Now let's suppose that another banned IP is 120.233.45.100 and the IP of the player that has just entered your server is 120.233.80.20 (here would be "Possible Ban Evader Detected" since both IP's contain 2 equal octets 120.233).
The script will alert you with a message in the IRC when it detects an evader, as well as sending a message to the administrators who are inside the server.
Example of a "Ban Evader Detected":
Example of a "Possible Ban Evader Detected":
Thanks.
detectip.py (3.43 KB)