Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/private-stub/hiera/hosts/web2.yaml

Issue 29370944: NoIssue - Write fail2ban configuration for CVE-2013-0235 on web2 (Closed)
Patch Set: For comments 9 to 11 Created Jan. 12, 2017, 3:40 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/private-stub/hiera/hosts/web2.yaml
===================================================================
new file mode 100644
--- /dev/null
+++ b/modules/private-stub/hiera/hosts/web2.yaml
@@ -0,0 +1,15 @@
+classes:
+ fail2ban:
+ package:
+ ensure: present
+ jails:
+ CVE20130235:
+ filter: CVE20130235
+ logpath: '/var/log/nginx/access.log'
+ banaction: 'iptables-multiport'
+ port: 'http,https'
+ filters:
+ CVE20130235:
+ regexes:
+ - '^<HOST>.*\"WordPress\/.*'
+
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld