nicoletje
27-12-09, 08:32
Ik gebruik zelf persoonlijk DenyHosts en het werkt ook goed tegen deze ssh botjes
[DEFAULT] # "ignoreip" can be an IP address, a CIDR mask or a DNS host ignoreip = 127.0.0.1 mijn.host.nl 1.2.3.0/24 #bantime <0 is forever, otherwise in seconds bantime = -1 maxretry = 1 # "backend" specifies the backend used to get files modification. Available # options are "gamin", "polling" and "auto". # yoh: For some reason Debian shipped python-gamin didn't work as expected # This issue left ToDo, so polling is default backend for now backend = polling # # Destination email address used solely for the interpolations in # jail.{conf,local} configuration files. destemail = mijn.email@domein.tld # Default action to take: ban only action = iptables[name=%(__name__)s, port=%(port)s] [ssh] enabled = true port = ssh filter = sshd logpath = /var/log/auth.log maxretry = 2