Results 1 to 9 of 9
  1. #1

    CSF block IPs connection when error password = 10 times, How change to 50 times?

    CSF block IPs connection when error password = 10 times.

    How change to 50 times?

    Some idea to ignore errors to X ip ?
    How config "ignore errors" from X IP ?

    Thanks

  2. #2
    Join Date
    Sep 2010
    Location
    home
    Posts
    515
    you may check
    in /etc/csf/csf.conf for following line
    LF_POP3D
    LF_SMTPAUTH
    LF_FTPD
    LF_SSHD
    LF_CPANEL

    you can set corresponding limits there also other values near it you may want to check (restart csf after changing the conf file)

    to ignore ip from getting blocked add the ip in a new line in teh file

    /etc/csf/csf.allow

  3. #3
    Join Date
    Mar 2009
    Location
    LAX, DAL, MIA, ATL, ORD
    Posts
    8,982
    Quote Originally Posted by jjsanchez View Post
    CSF block IPs connection when error password = 10 times.

    How change to 50 times?

    Some idea to ignore errors to X ip ?
    How config "ignore errors" from X IP ?

    Thanks
    Just disable csf.... it seems you don't want it doing its job.

  4. #4
    THAnks

    Ouch...

    I can't disable CSF...
    each day china attack my server...

    But I no like change from 10 connections to 200 conections in ALL SERVER...

    I like this option ONLY TO MY IP [x.x.x.x], no ALL IPs

    Some idea?

  5. #5
    Join Date
    Nov 2010
    Posts
    87
    Why don't you just whitelist your IP address and leave the settings alone. That way CSF can do it's job and you won't have to worry about being banned.
    cPanel HelpNet - cPanel, Linux, Virtualization tutorials, guides and more

  6. #6
    When I add the IP x.x
    to the file [csf.allow]
    csf say:

    # Note: IP addressess listed in this file will NOT be ignored by lfd, so they
    # can still be blocked. If you do not want lfd to block an IP address you must
    # add it to csf.ignore

    But I no need ignore.
    I need change try of acces from 10 to 99 or 200 ONLY in port FTP
    and ONLY to this IP

    THANKS

  7. #7
    Join Date
    Nov 2010
    Posts
    87
    Why don't you just limit your simultaneous FTP connections? I doubt you really need 50 simultaneous connections. I usually use 7-8 and they're more than enough.
    cPanel HelpNet - cPanel, Linux, Virtualization tutorials, guides and more

  8. #8
    Thanks.

    Is a group of students...

    Into 120 / 200 rooms connect to same SERVER...

    Then if 30 or 50 students have wrong the password CSF block the IP of school...

    And if I am in SCHOOL I can't remove the IP from CSF and ALL STUDENTS = no can work

    By thi I need CSF no lock X IP

  9. #9
    Join Date
    Jul 2009
    Posts
    221
    Quote Originally Posted by jjsanchez View Post
    Thanks.

    Is a group of students...

    Into 120 / 200 rooms connect to same SERVER...

    Then if 30 or 50 students have wrong the password CSF block the IP of school...

    And if I am in SCHOOL I can't remove the IP from CSF and ALL STUDENTS = no can work

    By thi I need CSF no lock X IP
    Hi, well this is a late reply but I am just studying csf and from what you are saying it appears this is the relevant section in csf.conf:

    Code:
    ###############################################################################
    # SECTION:Login Failure Blocking and Alerts
    ###############################################################################
    # The following[*] triggers are application specific. If you set LF_TRIGGER to
    # "0" the value of each trigger is the number of failures against that
    # application that will trigger lfd to block the IP address
    #
    # If you set LF_TRIGGER to a value greater than "0" then the following[*]
    # application triggers are simply on or off ("0" or "1") and the value of
    # LF_TRIGGER is the total cumulative number of failures that will trigger lfd
    # to block the IP address
    #
    # Setting the application trigger to "0" disables it
    LF_TRIGGER = "0"
    Assuming you don't want individual application triggers, I believe you would set:

    LF_TRIGGER = "50"

    Someone please correct me if I am wrong. If this is no use to the one who originally asked the question it may be helpful to someone else.

Similar Threads

  1. How many times do you change your web host?
    By Kriz in forum Web Hosting
    Replies: 60
    Last Post: 08-21-2008, 04:18 PM
  2. Connection to MySQL hangs 2-3 times/hour
    By 2007 in forum Hosting Security and Technology
    Replies: 1
    Last Post: 01-10-2007, 04:56 PM
  3. Steady leadership for times of change
    By Acroplex in forum Web Hosting Lounge
    Replies: 7
    Last Post: 02-16-2004, 11:54 AM
  4. What if your internet connection was 6,000 times faster?
    By hostpath.com in forum Web Hosting Lounge
    Replies: 5
    Last Post: 06-05-2003, 02:58 PM
  5. Connection Times Out
    By Tom in forum Dedicated Server
    Replies: 4
    Last Post: 05-04-2001, 06:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •