Skip to content
Snippets Groups Projects
Commit 59a4682f authored by fantu's avatar fantu
Browse files

Add detail about fail2ban working also with ipv6

parent cd149652
No related branches found
No related tags found
No related merge requests found
...@@ -380,6 +380,18 @@ then pureftpd is not able to resolve the hostname. Name resolving can be disable ...@@ -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 echo 'yes' > /etc/pure-ftpd/conf/DontResolve
/etc/init.d/pure-ftpd-mysql restart /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>
-----------------------------------------------------------------------------------------------------------
......
...@@ -262,6 +262,17 @@ echo 'yes' > /etc/pure-ftpd/conf/DontResolve ...@@ -262,6 +262,17 @@ echo 'yes' > /etc/pure-ftpd/conf/DontResolve
/etc/init.d/pure-ftpd-mysql restart /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>
-----------------------------------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment