Deny IP address

Post Reply
whm-expert
Junior Member
Posts: 3
Joined: 20 Jun 2013, 07:52

Deny IP address

Post 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
sawbuck
Junior Member
Posts: 366
Joined: 10 Dec 2006, 16:20

Re: Deny IP address

Post by sawbuck »

And you've restarted CSF/LFD?
kz007
Junior Member
Posts: 2
Joined: 06 Nov 2016, 22:20

Re: Deny IP address

Post 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.
Post Reply