Search found 7 matches

by Smjork
12 Jul 2017, 12:39
Forum: General Discussion (csf)
Topic: Prevent domain from being blocked
Replies: 2
Views: 3479

Re: Prevent domain from being blocked

Put the specific domain in your csf.dyndns file, it might just do the trick
Also make sure you read the comments in that file before adding the domain :-)
by Smjork
12 Jul 2017, 12:34
Forum: General Discussion (csf)
Topic: Stopping Most Basic Hack Attempts (SSH,WHM,Wordpress)
Replies: 3
Views: 5174

Re: Stopping Most Basic Hack Attempts (SSH,WHM,Wordpress)

[...] Sometimes I roam [...] Your best solution is to switch to SSH with key-pairs . It won't matter which IP you get at a certain location. See this tutorial, for example: https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server Yet, if you re...
by Smjork
12 Jul 2017, 12:16
Forum: General Discussion (csf)
Topic: CSF help for WordPress /wp-login.php and /xmlrpc.php DDOS
Replies: 1
Views: 4344

Re: CSF help for WordPress /wp-login.php and /xmlrpc.php DDOS

If all those Wordpress sites belong to you then you may very well use .htaccess to restrict acces to xml-rpc.php and wp-login ONLY from a specified list of IP addresses (your home, your office, etc) See the example below: <Files "xmlrpc.php"> order deny,allow deny from all allow from 123.4...
by Smjork
11 Jul 2017, 17:32
Forum: General Discussion (csf)
Topic: Question: CC_ALLOW="<few_countries>" + CC_DENY="<any other countries>" is possible ?
Replies: 1
Views: 2665

Question: CC_ALLOW="<few_countries>" + CC_DENY="<any other countries>" is possible ?

Say I have a server which only needs to be available to a very short set of countries. Do we have to set csf.conf to explicitly specify EACH country in CC_DENY and CC_ALLOW ? [...] CC_DENY="<FULL, explicit list of countries to be denied>" CC_ALLOW="US,GB,IE" [...] ... or is there...
by Smjork
11 Jul 2017, 16:21
Forum: General Discussion (csf)
Topic: CC_DENY match-set is not created anymore (Sets cannot be swapped)
Replies: 1
Views: 2637

CC_DENY match-set is not created anymore (Sets cannot be swapped)

Hello I have a very weird problem on a server which has CSF/LFD installed. For long CSF/LFD just worked very fine. But today, while watching some logs, I noticed that countries which are in CC_DENY were not blocked anymore. Trying to understand this problem, I 1st blamed GeoIP. but no, GeoIP data is...
by Smjork
10 Feb 2014, 09:08
Forum: General Discussion (cxs)
Topic: HELP required: specific regexp for "<anypath>/filename.*"
Replies: 1
Views: 3659

HELP required: specific regexp for "<anypath>/filename.*"

I just need to put some files in the cxs.ignore file but I'm a noob at regexp so please, help me build the specific regexp for the following: a. Needed "pfile:" regexp#1: (specific filename WITH specific extension, REGARDLESS of path) <any-path>/untgz.php b. Needed "pfile:" regex...
by Smjork
10 Feb 2014, 08:45
Forum: General Discussion (cxs)
Topic: How to ignore a resource
Replies: 8
Views: 15831

Re: How to ignore a resource

Take a look at the documentation on how to ignore specific things. Also take a look at cxs.ignore.sample file, specifically this: # hfile: - ignore file relative to a users homedir Most probably you need to put this in your cxs.ignore file: hfile:/public_html/mobile_version/error_log