Fail2ban: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
{{Box Code|Zu installierende Pakete| | {{Box Code|Zu installierende Pakete| | ||
<pre> | <pre> | ||
[ebuild N ] net-firewall/iptables-1.3. | [ebuild N ] net-firewall/iptables-1.3.7 USE="ipv6 -extensions -imq -l7filter -static" 192 kB | ||
[ebuild N ] net-analyzer/fail2ban-0. | [ebuild N ] net-analyzer/fail2ban-0.7.8 54 kB | ||
</pre> | </pre> | ||
}} | }} | ||
Revision as of 16:13, 17 April 2007
fail2ban installieren
# emerge fail2ban
# /etc/init.d/iptables save
# rc-update add iptables default
# rc-update add fail2ban default
# touch /var/log/auth.log
# chmod 600 /var/log/auth.log
# /etc/init.d/syslog-ng restart
fail2ban installieren
# emerge fail2ban
# /etc/init.d/iptables save
# rc-update add iptables default
# rc-update add fail2ban default
# touch /var/log/sshd.log
# chmod 600 /var/log/sshd.log
# /etc/init.d/syslog-ng restart
# /etc/init.d/fail2ban start