Page 1 of 1

Deny IP address

Posted: 03 Nov 2016, 21:26
by whm-expert
hi every one

i add the IP address in /etc/csf/csf.deny same as below

37.0.0.0/8 # (do not delete) Manually denied by admin

but when i type the command below in SSH i still see some IP connected to the server

[root@alsco cse]# netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
109 37.190.224.5
214 37.170.213.4
312 37.170.104.55

is there any way to deny the any IP start with 37?

regards

Re: Deny IP address

Posted: 04 Nov 2016, 01:59
by sawbuck
And you've restarted CSF/LFD?

Re: Deny IP address

Posted: 06 Nov 2016, 22:23
by kz007
Even I'm having the same problem. Added IP to CSF but and restarted CSF multiple times, still shows IP connected.

What am I missing here?

The only other issue I get when restarting CSF is this:

Nov 06 22:16:52 systemd[1]: Starting ConfigServer Firewall & Security - lfd...
Nov 06 22:16:53 systemd[1]: PID file /var/run/lfd.pid not readable (yet?) after start.
Nov 06 22:16:53 systemd[1]: Started ConfigServer Firewall & Security - lfd.