Hello guys, i need to block the IP´s 66.151.129.* how can i do that without add one per one.
Thanks
How block some IP´s
Re: How block some IP´s
At this time bulk IP blocking (or exemption) support is not supported. The core reason is that there are many ways to specify ranges (be it CIDR notation, netmasks, dash dot ranges...etc) and is very very easy for one to make a wrong entry that could cause damage / harm to production services.
This stated... there are several 'IP' address generator scripts available out there. You could use one of these scripts to generate a file with the individual IP's. From there, simply append the contents of said file to the MagicSpam control file which is handily stored in plain text for these exact purposes:
/etc/magic-spam/blocked_ips
This stated... there are several 'IP' address generator scripts available out there. You could use one of these scripts to generate a file with the individual IP's. From there, simply append the contents of said file to the MagicSpam control file which is handily stored in plain text for these exact purposes:
/etc/magic-spam/blocked_ips
-- MagicSpam Support Team --
Who is online
Users browsing this forum: No registered users and 11 guests