Search found 25 matches

by Karel
29 Jan 2014, 21:45
Forum: General Discussion (csf)
Topic: DirectAdmin virtual domain error logs not included.
Replies: 12
Views: 12190

DirectAdmin virtual domain error logs not included.

I have a setup with DirectAdmin and CSF. Default HTACCESS_LOG = /var/log/httpd/error_log is set. BUT this monitors only a site configured at /var/www DA puts an error.log file for every virtual domain in /var/log/httpd/domains/domain.tld.subdomain.error.log If I am not mistaken these log files in /v...
by Karel
30 Dec 2013, 17:16
Forum: General Discussion (csf)
Topic: Blocking unwanted login attempts to SMTP
Replies: 2
Views: 3199

Re: Blocking unwanted login attempts to SMTP

Ok, thanks. Will have to trust the login failure detection then.
I suspected my setup was faulty, thanks for confirming.
by Karel
30 Dec 2013, 13:51
Forum: General Discussion (csf)
Topic: Blocking unwanted login attempts to SMTP
Replies: 2
Views: 3199

Blocking unwanted login attempts to SMTP

I have some rules set up in CSF to block unwanted login attempts to SMTP. But apparently my setup blocks also the reception/delivery of mail from GB. CC_DENY_PORTS = GB, plus a lot more of country codes CC_DENY_PORTS_TCP = 25,465,587 CC_DENY_PORTS_UDP = 20,21,53 Perhaps my understanding of how a ser...
by Karel
13 Jul 2013, 13:29
Forum: General Discussion (csf)
Topic: TOR Blocklist
Replies: 14
Views: 16109

Re: TOR Blocklist

Same here. For what it's worth. 2 VPS's, with Webmin, TOR url was not updated. 1 dedicated server, with DirectAdmin, TOR url was updated. All servers have CentOS 6.4 O.S. The dedicated server is only a week or so old. First installed version was 6.21. That might explain why it went OK on the ds and ...
by Karel
11 Jul 2013, 20:44
Forum: General Discussion (csf)
Topic: execute usr/sbin/csf -d within a php script
Replies: 5
Views: 7098

execute usr/sbin/csf -d within a php script

I'm trying to figure out a way to add ip addresses to the csf.deny list by means of a php script. My first approach was to directly write to csf.deny from my php script. But figured that it was better to use usr/sbin/csf -d x.x.x.x because the ip is then directly blocked. <?php // some code to retri...