csf.ignore for country
Posted: 22 Feb 2017, 13:15
Hi,
I'm looking for a solution/workaround NOT to block ip addresses from country ABC when hit by lfd (fx login failures, etc.)
Are there any easy way?
I have been looking at https://www.countryipblocks.net/country_selection.php
Which can generate a list (not sure if it's complete, but that's ok) of CIDR for Whole country. But the list will naturally be QUITE long. So I fear that it will have performance influence when putting list of 100000s CIDRs to csf.ignore file
Any hints?
I'm looking for a solution/workaround NOT to block ip addresses from country ABC when hit by lfd (fx login failures, etc.)
Are there any easy way?
I have been looking at https://www.countryipblocks.net/country_selection.php
Which can generate a list (not sure if it's complete, but that's ok) of CIDR for Whole country. But the list will naturally be QUITE long. So I fear that it will have performance influence when putting list of 100000s CIDRs to csf.ignore file
Any hints?