Skip to content

Commit 59a4682

Browse files
author
fantu
committed
Add detail about fail2ban working also with ipv6
1 parent cd14965 commit 59a4682

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

docs/INSTALL_DEBIAN_6.0_courier_mydns.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,18 @@ then pureftpd is not able to resolve the hostname. Name resolving can be disable
380380
echo 'yes' > /etc/pure-ftpd/conf/DontResolve
381381
/etc/init.d/pure-ftpd-mysql restart
382382

383+
-----------------------------------------------------------------------------------------------------------
384+
Fail2ban also working with ipv6:
385+
# Download here and install the package: http://homes.dcc.ufba.br/~rogeriobastos/files/fail2ban/
386+
# Set banaction = route in jail.conf
387+
# Create or modify route.conf in /etc/fail2ban/action.d
388+
[Definition]
389+
actionban = ip route add unreachable <ip>
390+
actionunban = ip route del unreachable <ip>
391+
action6ban = ip route add unreachable <ip>
392+
action6unban = ip route del unreachable <ip>
393+
-----------------------------------------------------------------------------------------------------------
394+
383395

384396

385397

docs/INSTALL_DEBIAN_6.0_dovecot_bind.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,17 @@ echo 'yes' > /etc/pure-ftpd/conf/DontResolve
262262
/etc/init.d/pure-ftpd-mysql restart
263263

264264

265+
-----------------------------------------------------------------------------------------------------------
266+
Fail2ban also working with ipv6:
267+
# Download here and install the package: http://homes.dcc.ufba.br/~rogeriobastos/files/fail2ban/
268+
# Set banaction = route in jail.conf
269+
# Create or modify route.conf in /etc/fail2ban/action.d
270+
[Definition]
271+
actionban = ip route add unreachable <ip>
272+
actionunban = ip route del unreachable <ip>
273+
action6ban = ip route add unreachable <ip>
274+
action6unban = ip route del unreachable <ip>
275+
-----------------------------------------------------------------------------------------------------------
265276

266277

267278

0 commit comments

Comments
 (0)