The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Host Access Control no longer working

Discussion in 'Security' started by kpmedia, Mar 3, 2016.

  1. kpmedia

    kpmedia Well-Known Member

    Joined:
    Feb 13, 2011
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    USA, Europe
    cPanel Access Level:
    Root Administrator
    This used to work:
    pop3 daemon
    ALL EXCEPT 5. 12. 14. 23. 27. 37. 41. 46. 58. 59. 60. 61. 78. 80. 85. 88. 91. 92. 95. 99. 103. 105. 109. 110. 112. 113. 115. 116. 117. 118. 119. 120. 121. 122. 123. 124. 125. 175. 177. 178. 183. 186. 187. 188. 189. 194. 197. 210. 211. 213. 217. 218. 219. 220. 221. 222. 223.
    allow

    It quit at some recent point.

    Now all the BS crap login attempts from China et al (113., etc, the not allowed IPs) are getting through. They're supposed to not be able to connect to the service at all. They're getting firewalled, and making CSF pull double duty. I want to block them (again) so the firewall doesn't have to do anything.

    What happened?
     
    #1 kpmedia, Mar 3, 2016
    Last edited: Mar 3, 2016
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    I think you have not correctly setup your host access list. Please check following URL and try to setup it.

    Host Access Control - Documentation - cPanel Documentation

     
  3. kpmedia

    kpmedia Well-Known Member

    Joined:
    Feb 13, 2011
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    USA, Europe
    cPanel Access Level:
    Root Administrator
    I realize the documentation says "You can also enter ALL EXCEPT IP address in the Access List text box. When you enter allow", but it does not suggest or state that the inverse DENY is disallowed.

    And "5." is a wildcard for anything 5.0.0.0/8

    In fact, if I'm not mistaken, the reason it's now in the docs is because of me asking this years ago. It wasn't in there at the time. And it was cPanel personnel that gave me the syntax that I'm using now. And DENY was that conversation, not ALLOW.

    And it used to work.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,696
    Likes Received:
    656
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The "Host Access Control" option in Web Host Manager is essentially a user interface for the /etc/hosts.allow file that's provided by your operating system. Could you let us know which operating system and version is installed on your server?

    Thank you.
     
Loading...

Share This Page