diff --git a/docs/INSTALL_DEBIAN_6.0_courier_mydns.txt b/docs/INSTALL_DEBIAN_6.0_courier_mydns.txt index 7816eadd7300d4861f71ca871494ee95de1d1b30..31083a959ca6cbc98a15b6a69016422a0c03d6f0 100644 --- a/docs/INSTALL_DEBIAN_6.0_courier_mydns.txt +++ b/docs/INSTALL_DEBIAN_6.0_courier_mydns.txt @@ -380,6 +380,18 @@ then pureftpd is not able to resolve the hostname. Name resolving can be disable 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> +----------------------------------------------------------------------------------------------------------- + diff --git a/docs/INSTALL_DEBIAN_6.0_dovecot_bind.txt b/docs/INSTALL_DEBIAN_6.0_dovecot_bind.txt index 263d4c841bd039e53d900b83a56c749ed33cac27..3fbdffe01da26ddd35b963e9ab6109b74a291ecc 100644 --- a/docs/INSTALL_DEBIAN_6.0_dovecot_bind.txt +++ b/docs/INSTALL_DEBIAN_6.0_dovecot_bind.txt @@ -262,6 +262,17 @@ 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> +-----------------------------------------------------------------------------------------------------------