Bekijk Volledige Versie : Bruteforce preventie op FTP en POP
Ik heb APF + BFD op mijn Centos server met Directadmin geïnstalleerd (standaard install).
Op een of ander manier blockt het de bruteforce aanvallen op POP3 en op PROFTP niet. Is er een manier hoe ik dit kan oplossen?
Dank jullie wel!
Aug 14 01:48:16 localhost proftpd[7841]: 95.211.63.X20 (::ffff:200.0.230.X46[::ffff:200.0.230.X46]) - USER test: no such user found from ::ffff:200.0.230.X46 [::ffff:200.0.230.X46] to ::ffff:95.211.63.XX0:21
dreamhost_nl
14/08/11, 19:59
Je zult zelf moeten instellen na hoeveel pogingen het IP-adres wordt geblocked. Is alweer een tijd geleden dat ik dit heb hoeven instellen op een nieuwe server, maar standaard staat dit zeker niet aan.
################################################## #############################
# 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 = Default: 0 [0-20]
# If LF_TRIGGER is > "0" then LF_TRIGGER_PERM can be set to "1" to permanently
# block the IP address, or LF_TRIGGER_PERM can be set to a value greater than
# "1" and the IP address will be blocked temporarily for that value in seconds.
# For example:
# LF_TRIGGER_PERM = "1" => the IP is blocked permanently
# LF_TRIGGER_PERM = "3600" => the IP is blocked temporarily for 1 hour
#
# If LF_TRIGGER is "0", then the application LF_[application]_PERM value works
# in the same way as above and LF_TRIGGER_PERM serves no function
LF_TRIGGER_PERM = Default: 1 [0-604800]
Wijzig in (bijvoorbeeld) :
LF_TRIGGER=20
LF_TRIGGER_PERM=1
Je kunt beter CSF + LFD installeren. Daar kun je dat via directadmin zelf configgen. En die ruimt ook alle blocks na verloop van tijd weer op ;)
dreamhost_nl
15/08/11, 19:54
Oeps, blijkbaar verkeerd gelezen; ik las dat je dat al geïnstalleerd had. Als je het (CSF/LFD) daadwerkelijk installeert, kun je in mijn post in ieder geval vinden wat de te gebruiken instelling is.