[Case 59895] Host Access Control for FTP

planetcaravan

Member
Feb 6, 2014
8
0
1
cPanel Access Level
Root Administrator
I'm using: CentOS release 6.5 (Final) (64bit) with WHM 11.40.1 (build 11)
I've set a rule on » Security Center » Host Access Control for an IP. There is an image in the attachment.

After I put in the rule, I'm getting again this event on /var/log/messages.

Feb 6 22:40:19 myhost pure-ftpd: ([email protected]) [INFO] New connection from xx.37.xxx.163
Feb 6 22:40:25 myhost pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [[email protected]]

What's my fault?
 

Attachments

vanessa

Well-Known Member
PartnerNOC
Sep 26, 2006
833
28
178
Virginia Beach, VA
cPanel Access Level
DataCenter Provider
If I understand correctly, your intention is to block this IP from accessing FTP. If so, you may wish to know that the feature you used is for cPanel services only (Ie cPanel, WHM) and does not apply to FTP, mail, or web services:

Host Access Control

If you don't have a firewall like CSF or APF installed (which will block these easily), just dump it directly to iptables:

Code:
iptables -I INPUT -s $ip -j DROP
service iptables save
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

The ability to block IP addresses for ProFTPd and Pure-Ftpd is not currently supported in the Host Access Control option of WHM. There is an internal case (59895) open to address this issue. I suggest blocking the IP address with a firewall management tool such as CSF as a workaround.

Thank you.