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

Side by Side Diff: modules/fail2ban/templates/jail.erb

Issue 29364214: Issue 2487 - Introduce fail2ban module (Closed)
Patch Set: Created Nov. 24, 2016, 3:09 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <% @jail_config.each do |name, config| -%>
2 <% if !config['logpath'].empty? -%>
3 [<%= name %>]
4
5 enabled = <%= config['enabled'] ||= true %>
6 port = <%= config['port'] ||= 'all' %>
7 filter = <%= name %>
8 logpath = <%= config['logpath'] %>
9 maxretry = <%= config['maxretry'] ||= 6 %>
10 bantime = <%= config['bantime']||= 3600 %>
mathias 2016/11/24 16:08:48 The key-by-key assignment is limiting the user/con
f.lopez 2016/11/25 15:13:49 I agree but I couldn't find a way to make this hap
11 <% end -%>
12 <% end -%>
OLDNEW

Powered by Google App Engine
This is Rietveld