mirror of https://github.com/fail2ban/fail2ban
MRG: ufw changelog conflicts
commit
be382dae4d
|
@ -40,6 +40,7 @@ ver. 0.8.12 (2013/12/XX) - things-can-only-get-better
|
||||||
- updated check_fail2ban to return performance data for all jails.
|
- updated check_fail2ban to return performance data for all jails.
|
||||||
- filter apache-noscript now includes php cgi scripts.
|
- filter apache-noscript now includes php cgi scripts.
|
||||||
Thanks dani. Closes gh-503
|
Thanks dani. Closes gh-503
|
||||||
|
- added ufw action. Thanks Guilhem Lettron. lp-#701522
|
||||||
|
|
||||||
- New Features:
|
- New Features:
|
||||||
|
|
||||||
|
|
1
THANKS
1
THANKS
|
@ -35,6 +35,7 @@ ftoppi
|
||||||
François Boulogne
|
François Boulogne
|
||||||
Frédéric
|
Frédéric
|
||||||
Georgiy Mernov
|
Georgiy Mernov
|
||||||
|
Guilhem Lettron
|
||||||
Guillaume Delvit
|
Guillaume Delvit
|
||||||
Hanno 'Rince' Wagner
|
Hanno 'Rince' Wagner
|
||||||
Iain Lea
|
Iain Lea
|
||||||
|
|
|
@ -0,0 +1,40 @@
|
||||||
|
# Fail2Ban action configuration file for ufw
|
||||||
|
#
|
||||||
|
# You are required to run "ufw enable" before this will have an effect.
|
||||||
|
#
|
||||||
|
# The insert position should be approprate to block the required traffic.
|
||||||
|
# A number after an allow rule to the application won't be much use.
|
||||||
|
|
||||||
|
[Definition]
|
||||||
|
|
||||||
|
actionstart =
|
||||||
|
|
||||||
|
actionstop =
|
||||||
|
|
||||||
|
actioncheck =
|
||||||
|
|
||||||
|
actionban = [ -n "<application>" ] && app="app <application>" ; ufw insert <insertpos> <blocktype> from <ip> to <destination> $app
|
||||||
|
|
||||||
|
actionunban = [ -n "<application>" ] && app="app <application>" ; ufw delete <blocktype> from <ip> to <destination> $app
|
||||||
|
|
||||||
|
[Init]
|
||||||
|
# Option: insertpos
|
||||||
|
# Notes.: The postition number in the firewall list to insert the block rule
|
||||||
|
insertpos = 1
|
||||||
|
|
||||||
|
# Option: blocktype
|
||||||
|
# Notes.: reject or deny
|
||||||
|
blocktype = reject
|
||||||
|
|
||||||
|
# Option: destination
|
||||||
|
# Notes.: The destination address to block in the ufw rule
|
||||||
|
destination = any
|
||||||
|
|
||||||
|
# Option: application
|
||||||
|
# Notes.: application from sudo ufw app list
|
||||||
|
application =
|
||||||
|
|
||||||
|
# DEV NOTES:
|
||||||
|
#
|
||||||
|
# Author: Guilhem Lettron
|
||||||
|
# Enhancements: Daniel Black
|
Loading…
Reference in New Issue