I have this range of IPS 197.192.x.x that is brute force attacking my pop/imap/smtp servers day after day.
I have this ipset in place that is blocking every IP that tries to hack on my server.
I would like to block access for pop/smtp/imap for all IPs starting with 197.192
To do this, I have typed this command:
ipset -A myIpset 197.192.0.0/24
but this added 65536 IPs to my ipset, making it huge and now I cannot add more IPs to it.
Is there another way to do this in a more elegant way?
Asked by Duck
(4794 rep)
Apr 30, 2013, 07:58 PM
Last activity: May 9, 2022, 10:46 PM
Last activity: May 9, 2022, 10:46 PM