fantu
2011-05-28 59a4682f811584a36a1b745347a13fc136969ad6
Add detail about fail2ban working also with ipv6
2 files modified
23 ■■■■■ changed files
docs/INSTALL_DEBIAN_6.0_courier_mydns.txt 12 ●●●●● patch | view | raw | blame | history
docs/INSTALL_DEBIAN_6.0_dovecot_bind.txt 11 ●●●●● patch | view | raw | blame | history
docs/INSTALL_DEBIAN_6.0_courier_mydns.txt
@@ -380,6 +380,18 @@
echo 'yes' > /etc/pure-ftpd/conf/DontResolve
/etc/init.d/pure-ftpd-mysql restart
-----------------------------------------------------------------------------------------------------------
Fail2ban also working with ipv6:
# Download here and install the package: http://homes.dcc.ufba.br/~rogeriobastos/files/fail2ban/
# Set banaction = route in jail.conf
# Create or modify route.conf in /etc/fail2ban/action.d
[Definition]
actionban = ip route add unreachable <ip>
actionunban = ip route del unreachable <ip>
action6ban = ip route add unreachable <ip>
action6unban = ip route del unreachable <ip>
-----------------------------------------------------------------------------------------------------------
docs/INSTALL_DEBIAN_6.0_dovecot_bind.txt
@@ -262,6 +262,17 @@
/etc/init.d/pure-ftpd-mysql restart
-----------------------------------------------------------------------------------------------------------
Fail2ban also working with ipv6:
# Download here and install the package: http://homes.dcc.ufba.br/~rogeriobastos/files/fail2ban/
# Set banaction = route in jail.conf
# Create or modify route.conf in /etc/fail2ban/action.d
[Definition]
actionban = ip route add unreachable <ip>
actionunban = ip route del unreachable <ip>
action6ban = ip route add unreachable <ip>
action6unban = ip route del unreachable <ip>
-----------------------------------------------------------------------------------------------------------