Page 1 of 1

Blocking certain country only for specific services?

Posted: 09 Nov 2012, 17:03
by nospa
Hello

Is it possible to block certain country (for example China) for certain services (eg. FTP)? We see many hacking attempts from compromised servers from China using users FTP details, but we can't block China from all services because many of our users send emails to<>from China.... Any idea how to setup such rules? Maybe with csfpost.sh?

Re: Blocking certain country only for specific services?

Posted: 05 Feb 2013, 20:44
by JDStallings
We would like to know the same as we are getting huge hits from BR on FTP attempts. Really a lot in the last 2 weeks,

Re: Blocking certain country only for specific services?

Posted: 05 Feb 2013, 21:18
by ForumAdmin
We are already working on a CC option where you can specify ports to apply them on. It should appear in the next release, but I do not have a timescale.

Re: Blocking certain country only for specific services?

Posted: 06 Feb 2013, 06:01
by Sergio
That option will be a nice addition, great!

Re: Blocking certain country only for specific services?

Posted: 08 Feb 2013, 09:40
by ForumAdmin
This has now been included in v5.74:
http://blog.configserver.com/

Re: Blocking certain country only for specific services?

Posted: 08 Feb 2013, 12:52
by Sergio
Thank you, Jonathan.

Is it possible to have the opposite, CC_DENY_FILTER and CC_DENY_PORT, also?

It will be easier to block countries that we don't want access to our ports.

Sergio