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

Issue 29364214: Issue 2487 - Introduce fail2ban module (Closed)

Created:
Nov. 24, 2016, 3:09 p.m. by f.lopez
Modified:
Dec. 5, 2016, 9:37 a.m.
Reviewers:
mathias, f.nicolaisen
Visibility:
Public.

Description

Issue 2487 - Introduce fail2ban module

Patch Set 1 #

Total comments: 36

Patch Set 2 : Issue 2487 - Introduce fail2ban module #

Total comments: 9

Patch Set 3 : #

Total comments: 26

Patch Set 4 : Issue 2487 - Introduce fail2ban module #

Total comments: 2

Patch Set 5 : Issue 2487 - Introduce fail2ban module #

Patch Set 6 : Issue 2487 - Introduce fail2ban module #

Total comments: 26

Patch Set 7 : Issue 2487 - Introduce fail2ban module #

Total comments: 8

Patch Set 8 : For comments 18 and 19 #

Total comments: 2

Patch Set 9 : For comment 22 and 23 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -0 lines) Patch
A modules/fail2ban/manifests/filter.pp View 1 2 3 4 5 6 7 1 chunk +47 lines, -0 lines 0 comments Download
A modules/fail2ban/manifests/init.pp View 1 2 3 4 5 6 7 8 1 chunk +101 lines, -0 lines 0 comments Download
A modules/fail2ban/templates/filter.erb View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
A modules/fail2ban/templates/jail.erb View 1 2 3 4 5 6 7 8 1 chunk +15 lines, -0 lines 0 comments Download
M modules/private-stub/hiera/base.yaml View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 26
f.lopez
Nov. 24, 2016, 3:10 p.m. (2016-11-24 15:10:04 UTC) #1
mathias
Very promising ;-) https://codereview.adblockplus.org/29364214/diff/29364215/modules/fail2ban/manifests/filter.pp File modules/fail2ban/manifests/filter.pp (right): https://codereview.adblockplus.org/29364214/diff/29364215/modules/fail2ban/manifests/filter.pp#newcode3 modules/fail2ban/manifests/filter.pp:3: # Manage filter information and files ...
Nov. 24, 2016, 4:08 p.m. (2016-11-24 16:08:49 UTC) #2
f.nicolaisen
I found white spaces! https://codereview.adblockplus.org/29364214/diff/29364215/modules/fail2ban/manifests/init.pp File modules/fail2ban/manifests/init.pp (right): https://codereview.adblockplus.org/29364214/diff/29364215/modules/fail2ban/manifests/init.pp#newcode8 modules/fail2ban/manifests/init.pp:8: # Adds jail.local to the ...
Nov. 25, 2016, 3:09 p.m. (2016-11-25 15:09:10 UTC) #3
f.lopez
https://codereview.adblockplus.org/29364214/diff/29364215/modules/fail2ban/manifests/filter.pp File modules/fail2ban/manifests/filter.pp (right): https://codereview.adblockplus.org/29364214/diff/29364215/modules/fail2ban/manifests/filter.pp#newcode3 modules/fail2ban/manifests/filter.pp:3: # Manage filter information and files for any custom ...
Nov. 25, 2016, 3:13 p.m. (2016-11-25 15:13:50 UTC) #4
f.nicolaisen
Unless one specifies a specific port to ban, the iptables operation will fail. Example configuration ...
Nov. 25, 2016, 4:23 p.m. (2016-11-25 16:23:32 UTC) #5
f.lopez
For you r comment about `all` not being a valid argument, there is this example ...
Nov. 25, 2016, 5:41 p.m. (2016-11-25 17:41:10 UTC) #6
f.nicolaisen
> For you r comment about `all` not being a valid argument, there is this ...
Nov. 26, 2016, 12:05 a.m. (2016-11-26 00:05:54 UTC) #7
f.nicolaisen
On 2016/11/26 00:05:54, f.nicolaisen wrote: > I guess we have to trust that the puppet-users ...
Nov. 26, 2016, 12:11 a.m. (2016-11-26 00:11:10 UTC) #8
f.nicolaisen
It (still) works! I still found some documentation things to pick on, but LGTM functionality-wise ...
Nov. 29, 2016, 12:38 a.m. (2016-11-29 00:38:55 UTC) #9
f.lopez
https://codereview.adblockplus.org/29364214/diff/29365536/modules/fail2ban/manifests/init.pp File modules/fail2ban/manifests/init.pp (right): https://codereview.adblockplus.org/29364214/diff/29365536/modules/fail2ban/manifests/init.pp#newcode8 modules/fail2ban/manifests/init.pp:8: # Adds jail.local to the default configuration of fail2ban. ...
Nov. 29, 2016, 10:46 a.m. (2016-11-29 10:46:58 UTC) #10
f.lopez
Nov. 29, 2016, 10:48 a.m. (2016-11-29 10:48:38 UTC) #11
f.lopez
Nov. 29, 2016, 10:58 a.m. (2016-11-29 10:58:41 UTC) #12
f.nicolaisen
Just a couple of more nitpicks :) https://codereview.adblockplus.org/29364214/diff/29365564/modules/fail2ban/manifests/init.pp File modules/fail2ban/manifests/init.pp (right): https://codereview.adblockplus.org/29364214/diff/29365564/modules/fail2ban/manifests/init.pp#newcode39 modules/fail2ban/manifests/init.pp:39: # 'port' ...
Nov. 29, 2016, 11:01 a.m. (2016-11-29 11:01:06 UTC) #13
f.lopez
Nov. 29, 2016, 12:44 p.m. (2016-11-29 12:44:50 UTC) #14
mathias
https://codereview.adblockplus.org/29364214/diff/29365577/modules/fail2ban/manifests/filter.pp File modules/fail2ban/manifests/filter.pp (right): https://codereview.adblockplus.org/29364214/diff/29365577/modules/fail2ban/manifests/filter.pp#newcode7 modules/fail2ban/manifests/filter.pp:7: # [*failregex*] Either we allow for passing a single ...
Nov. 29, 2016, 1:21 p.m. (2016-11-29 13:21:27 UTC) #15
f.lopez
https://codereview.adblockplus.org/29364214/diff/29365577/modules/fail2ban/manifests/filter.pp File modules/fail2ban/manifests/filter.pp (right): https://codereview.adblockplus.org/29364214/diff/29365577/modules/fail2ban/manifests/filter.pp#newcode7 modules/fail2ban/manifests/filter.pp:7: # [*failregex*] On 2016/11/29 13:21:24, mathias wrote: > Either ...
Dec. 1, 2016, 9:13 a.m. (2016-12-01 09:13:51 UTC) #16
f.lopez
Dec. 1, 2016, 9:14 a.m. (2016-12-01 09:14:39 UTC) #17
mathias
Almost there ;-) https://codereview.adblockplus.org/29364214/diff/29365873/modules/fail2ban/manifests/filter.pp File modules/fail2ban/manifests/filter.pp (right): https://codereview.adblockplus.org/29364214/diff/29365873/modules/fail2ban/manifests/filter.pp#newcode34 modules/fail2ban/manifests/filter.pp:34: "to create a filter file.") Please ...
Dec. 1, 2016, 9:28 a.m. (2016-12-01 09:28:31 UTC) #18
mathias
Forgot one point.. https://codereview.adblockplus.org/29364214/diff/29365873/modules/fail2ban/manifests/init.pp File modules/fail2ban/manifests/init.pp (right): https://codereview.adblockplus.org/29364214/diff/29365873/modules/fail2ban/manifests/init.pp#newcode53 modules/fail2ban/manifests/init.pp:53: $package = {}, Please consistently use ...
Dec. 1, 2016, 9:32 a.m. (2016-12-01 09:32:44 UTC) #19
f.lopez
https://codereview.adblockplus.org/29364214/diff/29365873/modules/fail2ban/manifests/filter.pp File modules/fail2ban/manifests/filter.pp (right): https://codereview.adblockplus.org/29364214/diff/29365873/modules/fail2ban/manifests/filter.pp#newcode34 modules/fail2ban/manifests/filter.pp:34: "to create a filter file.") On 2016/12/01 09:28:30, mathias ...
Dec. 1, 2016, 10:16 a.m. (2016-12-01 10:16:06 UTC) #20
f.lopez
Dec. 1, 2016, 10:16 a.m. (2016-12-01 10:16:59 UTC) #21
mathias
https://codereview.adblockplus.org/29364214/diff/29366529/modules/fail2ban/manifests/init.pp File modules/fail2ban/manifests/init.pp (right): https://codereview.adblockplus.org/29364214/diff/29366529/modules/fail2ban/manifests/init.pp#newcode7 modules/fail2ban/manifests/init.pp:7: # [*jail_config*] One last point: I'd like to rename ...
Dec. 2, 2016, 1:16 p.m. (2016-12-02 13:16:21 UTC) #22
f.nicolaisen
On 2016/12/02 13:16:21, mathias wrote: > https://codereview.adblockplus.org/29364214/diff/29366529/modules/fail2ban/manifests/init.pp > File modules/fail2ban/manifests/init.pp (right): > > https://codereview.adblockplus.org/29364214/diff/29366529/modules/fail2ban/manifests/init.pp#newcode7 > ...
Dec. 2, 2016, 1:31 p.m. (2016-12-02 13:31:07 UTC) #23
f.lopez
https://codereview.adblockplus.org/29364214/diff/29366529/modules/fail2ban/manifests/init.pp File modules/fail2ban/manifests/init.pp (right): https://codereview.adblockplus.org/29364214/diff/29366529/modules/fail2ban/manifests/init.pp#newcode7 modules/fail2ban/manifests/init.pp:7: # [*jail_config*] On 2016/12/02 13:16:21, mathias wrote: > One ...
Dec. 2, 2016, 2:16 p.m. (2016-12-02 14:16:13 UTC) #24
f.lopez
Dec. 2, 2016, 2:22 p.m. (2016-12-02 14:22:44 UTC) #25
mathias
Dec. 2, 2016, 2:28 p.m. (2016-12-02 14:28:48 UTC) #26
LGTM.

Powered by Google App Engine
This is Rietveld