Search found 25 matches

by Karel
10 Mar 2014, 18:41
Forum: General Discussion (csf)
Topic: Custom REGEX rules for CSF.
Replies: 93
Views: 2029964

Re: Custom REGEX rules for CSF.

Added OS info and hosting panel info. I think hosting panel info is also important because cpanel, webmin, DA all use different locations and names for files. Added a #3 regex to my first post in this thread based upon your idea about blocking bots searching for mail addresses. Tip! I use the excell...
by Karel
10 Mar 2014, 14:43
Forum: General Discussion (csf)
Topic: Custom REGEX rules for CSF.
Replies: 93
Views: 2029964

Re: Custom REGEX rules for CSF.

Excellent idea Sergio! I got 2 working rules for custom regex and working on some other rules but they don't do what I want. When they are finished I will post them too. My OS: CentOS 6.5 with Direct Admin Working rule #1: # Bottrap if (($config{LF_HTACCESS}) and ($lgfile eq $config{HTACCESS_LOG}) a...
by Karel
10 Mar 2014, 13:47
Forum: Suggestions (csf)
Topic: [Idea] Enter custom iptable rules in CSF UI
Replies: 1
Views: 3565

[Idea] Enter custom iptable rules in CSF UI

Create a field in CSF UI where you can input custom ip rules. Ideal would be to click some options as connection limit, rate limit, inbound, outbound, ports, etc. I came to this idea after searching for a way to limit 1 ip address which is hammering my server. But I don't want to block this IP nor d...
by Karel
10 Mar 2014, 13:30
Forum: General Discussion (csf)
Topic: VPS unreachable after csf install.
Replies: 1
Views: 2776

VPS unreachable after csf install.

I have several VPS's and even a dedicated server all working fine with CSF. Some with Webmin, some with DA. I have one VPS though without CSF. In the past I installed CSF on it but it was'nt working. After working with CSF for some time now I decided to try again. Unfortunately after disabling testi...
by Karel
17 Feb 2014, 22:43
Forum: Report Bugs (csf)
Topic: regex.custom.pm example
Replies: 3
Views: 4375

Re: regex.custom.pm example

Wouldn't that overwrite custom made rules?
by Karel
08 Feb 2014, 11:40
Forum: General Discussion (csf)
Topic: CSF block Domain WHOIS Lookup in WHMCS(solved)
Replies: 7
Views: 11948

Re: CSF block Domain WHOIS Lookup in WHMCS

Was it working before?
Anyway try this. Add port 43 to TCP_OUT in section IPv4 Port Settings
Example:
Allow outgoing TCP ports

Code: Select all

TCP_OUT = 20,21,22,25,53,80,110,113,443,43
by Karel
06 Feb 2014, 16:54
Forum: General Discussion (csf)
Topic: DirectAdmin virtual domain error logs not included.
Replies: 12
Views: 12241

Re: DirectAdmin virtual domain error logs not included.

I agree. Otherwise it would break compatibility with DA or Virtualmin. But with the latest CSF version you can leave the httpd.conf files per user unchanged. I think that is why globbing for *_LOG files was granted as a feature and so quickly implemented. This is great software with a responsive dev...
by Karel
06 Feb 2014, 15:35
Forum: General Discussion (csf)
Topic: DirectAdmin virtual domain error logs not included.
Replies: 12
Views: 12241

Re: DirectAdmin virtual domain error logs not included.

Thanks for file globbing! Had to actually use a translator to find out it is something like a wildcard. Didn't expected such a quick implementation, great. :) It seems the format for multiple files of "HTACCESS_LOG =" is important. My suggested HTACCESS_LOG = /var/log/httpd/error_log, /var...
by Karel
03 Feb 2014, 08:57
Forum: General Discussion (csf)
Topic: DirectAdmin virtual domain error logs not included.
Replies: 12
Views: 12241

Re: DirectAdmin virtual domain error logs not included.

For DirectAdmin I found a temporarily solution. I hope temporarily because I hope CSF will fix this in a future version. For DA (centos 6.5): Go to /usr/local/directadmin/data/users/xyz xyz are the users controlled by DA. Enter a xyz directory and edit httpd.conf Place a # before every ErrorLog /var...