Some fucker is trying to hack one of my servers...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sixxxthsense
    Confirmed User
    • Aug 2004
    • 2419

    #1

    Some fucker is trying to hack one of my servers...

    Does anyone know how to block an ip using the WebHost Manager?

    I blocked his ip (209.152.169.143) with cPanel (but thats only for a single domain)

    is there anyway I can block'm using a UNIX command or something?

    sorry bout the noob question!
  • xenophobic
    Confirmed User
    • Mar 2004
    • 874

    #2
    Originally posted by sixxxthsense
    Does anyone know how to block an ip using the WebHost Manager?

    I blocked his ip (209.152.169.143) with cPanel (but thats only for a single domain)

    is there anyway I can block'm using a UNIX command or something?

    sorry bout the noob question!
    route add -host 209.152.169.143 127.0.0.1

    on a BSD based system.

    Comment

    • sixxxthsense
      Confirmed User
      • Aug 2004
      • 2419

      #3
      Originally posted by xenophobic
      route add -host 209.152.169.143 127.0.0.1

      on a BSD based system.
      I see that command redirects him to localhost , thanks!!!


      Can it be used with an ASTERISK(*)?

      Comment

      • xenophobic
        Confirmed User
        • Mar 2004
        • 874

        #4
        Originally posted by sixxxthsense
        I see that command redirects him to localhost , thanks!!!


        Can it be used with an ASTERISK(*)?
        might want to be careful using wildcards like that, you can substitute it with
        -net 209.152.169.0 which should route the whole class C to 127.0.0.1

        if you know your Operating System name and the firewall type, you would be better using a firewall rule to filter it than the route command to redirect, just route works without knowing the firewall type.

        Comment

        Working...