Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Brute force via FTP

Discussion in 'General Discussion' started by bunciscakep, Feb 5, 2009.

  1. bunciscakep

    bunciscakep Registered

    Joined:
    May 8, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    Hi All,

    This is my first post here.
    every night someone Brute force my box via FTP. i'm using pure-ftpd and when i contact cpanel support he said that pure-ftpd not support PAM module so it is not blocked in cphulkd and not blocked.

    is there any solution to stop it?
    i already use bfd but it seems not work i think it has wrong rule here the code :
    Code:
    # failed logins from a single address before ban
    # uncomment to override conf.bfd trig value
    # TRIG="10"
    
    # file must exist for rule to be active
    REQ="/usr/sbin/pure-ftpd"
    
    if [ -f "$REQ" ]; then
     LP="$KERNEL_LOG_PATHQ"
     TLOG_TF="pure-ftpd"
    
     ## PURE-FTPD
     ARG_VAL=`$TLOG_PATH $LP $TLOG_TF | sed -e 's/::ffff://' | grep -E '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | tr -d ':' | sed -n -e '/proftpd/s/.*USER \(.*\) no such user found from \([^ ]*\).*/\2:\1/p'`
    fi
    
    thanks for your response:)
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,517
    Likes Received:
    425
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice