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: Remove unrelated change from codereview Created Jan. 11, 2017, 4:41 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_hg'
f.nicolaisen 2017/01/12 14:28:14 vagrant@web2:~$ less /var/log/nginx/access_log_hg
+ 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