Search found 15 matches

by jimlongo
04 Sep 2018, 19:30
Forum: General Discussion (csf)
Topic: CIDR range not being blocked
Replies: 2
Views: 2506

Re: CIDR range not being blocked

Thanks, that is what I currently have. (54.36.0.0/15, and 54.38.0.0/16) A whois check returns that NetRange: 54.36.0.0 - 54.38.255.255 CIDR: 54.38.0.0/16, 54.36.0.0/15 But 600 hits from 54.36.148.n and 54.36.149.n in the last 2 hours. I don't know if this helps, but when I restart CSF, it spits out ...
by jimlongo
04 Sep 2018, 16:15
Forum: General Discussion (csf)
Topic: CIDR range not being blocked
Replies: 2
Views: 2506

CIDR range not being blocked

Hi, I've added 54.36.0.0/15 to the Deny file I still get all kinds of hits to my pages from IPs in these ranges. Is there some setting I'm missing? root@vps [~]# csf --grep 54.36.148.69 Table Chain num pkts bytes target prot opt in out source destination filter DENYIN 167 0 0 DROP all -- !lo * 54.36...
by jimlongo
06 Nov 2017, 01:53
Forum: General Discussion (csf)
Topic: FTP Passive issue
Replies: 8
Views: 21818

Re: FTP Passive issue

It looks like whitelisting the remote IP worked. Didn't need to use port 22.
Thanks for your help.
by jimlongo
05 Nov 2017, 23:17
Forum: General Discussion (csf)
Topic: FTP Passive issue
Replies: 8
Views: 21818

Re: FTP Passive issue

Yes both TCP_IN and TCP_OUT.
by jimlongo
05 Nov 2017, 02:47
Forum: General Discussion (csf)
Topic: FTP Passive issue
Replies: 8
Views: 21818

Re: FTP Passive issue

Thanks UWH-David, that doesn't seem to matter. My settings were as below.

The setting for ProFTP is PassivePortRange: 49152 65534

And in CSF, the last characters in TCP_IN are 49152:65534
by jimlongo
31 Oct 2017, 14:22
Forum: General Discussion (csf)
Topic: FTP Passive issue
Replies: 8
Views: 21818

FTP Passive issue

I just had a new server created CentOS7 / EA4 with Apache 2.4/PHP5.6 The previous server was CentOS6.9 / EA 3 Both with CSF of course, and settings copied from the old to new. I've run into a problem with some php backup scripts that send a mysql dump file offsite. The scripts (which have been runni...
by jimlongo
29 Oct 2017, 19:59
Forum: General Discussion (csf)
Topic: Security Check
Replies: 1
Views: 2094

Re: Security Check

Never mind, sorry for the trouble. Disabling lite speed modules disabled cli and php as well.

Sorry for the trouble.
by jimlongo
29 Oct 2017, 19:45
Forum: General Discussion (csf)
Topic: Security Check
Replies: 1
Views: 2094

Security Check

Hi, moved to a new server, using EA4.

Installed CSF and run security check gives this advice, which I don't understand. Can you advise?

Code: Select all

PHP Binary   PHP binary not found or not executable
by jimlongo
02 Nov 2014, 17:54
Forum: General Discussion (csf)
Topic: kill process of a single particular file
Replies: 1
Views: 2004

kill process of a single particular file

Hi, I have a lot of Wordpress sites. One of those attracts a lot of comment spam, which I can deal with okay. What happens though is that the commenters tie up resources - often I get a notice like the following Resource: Virtual Memory Size Exceeded: 300 > 300 (MB) Executable: /usr/bin/php Command ...
by jimlongo
21 Feb 2014, 21:12
Forum: General Discussion (csf)
Topic: SSH on non-standard port
Replies: 3
Views: 4198

Re: SSH on non-standard port

Edit the file /etc/ssh/sshd_config to change the port.

Enable that port in CSF config IPv4 Port Settings. Then you probably want to disable 22.

Recommended port? Something that doesn't clash with other existing ones like 20222.