-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(fail2ban): more compact output (closes #141)
- Loading branch information
Showing
9 changed files
with
129 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Server replied: pong |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Status | ||
|- Number of jail: 3 | ||
`- Jail list: apache-dos, portscan, sshd |
9 changes: 9 additions & 0 deletions
9
check-plugins/fail2ban/unit-test/stdout/EXAMPLE02-status-apache-dos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Status for the jail: apache-dos | ||
|- Filter | ||
| |- Currently failed: 14 | ||
| |- Total failed: 2187665 | ||
| `- File list: /var/log/httpd/domain.ch-access.log /var/log/httpd/domain/log/httpd/domain.log /var/log/httpd/domain-access.log /var/log/httpd/domain.log /var/log/httpd/domain.log /var/log/httpd/domain.log /var/log/httpd/domain-access.log /var/log/httpd/domain-access.log /var/log/httpd/domain.log /var/log/httpd/domain.log /var/log/httpd/domain.log /var/log/httpd/domain-access.log /var/log/httpd/domain-access.log /var/log/httpd/domain.log /var/log/httpd/domain-access.log /var/log/httpd/domain.log /var/log/httpd/domain.log /var/log/httpd/domain.log /var/log/httpd/domain /var/log/httpd/domain /var/log/httpd/domain.log /var/log/httpd/domain-access.log /var/log/httpd/domain-access.log | ||
`- Actions | ||
|- Currently banned: 0 | ||
|- Total banned: 518 | ||
`- Banned IP list: |
9 changes: 9 additions & 0 deletions
9
check-plugins/fail2ban/unit-test/stdout/EXAMPLE02-status-portscan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Status for the jail: portscan | ||
|- Filter | ||
| |- Currently failed: 0 | ||
| |- Total failed: 0 | ||
| `- Journal matches: _TRANSPORT=kernel | ||
`- Actions | ||
|- Currently banned: 0 | ||
|- Total banned: 0 | ||
`- Banned IP list: |
9 changes: 9 additions & 0 deletions
9
check-plugins/fail2ban/unit-test/stdout/EXAMPLE02-status-sshd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Status for the jail: sshd | ||
|- Filter | ||
| |- Currently failed: 0 | ||
| |- Total failed: 0 | ||
| `- Journal matches: _TRANSPORT=kernel | ||
`- Actions | ||
|- Currently banned: 0 | ||
|- Total banned: 0 | ||
`- Banned IP list: |