Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
fail2ban
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
webarch
fail2ban
Commits
19499b26
Verified
Commit
19499b26
authored
1 year ago
by
Chris Croome
Browse files
Options
Downloads
Patches
Plain Diff
Defaults updated to be more generic
parent
487f3c67
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#26812
passed
1 year ago
Stage: lint
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
defaults/main.yml
+1
-16
1 addition, 16 deletions
defaults/main.yml
with
1 addition
and
16 deletions
defaults/main.yml
+
1
−
16
View file @
19499b26
...
...
@@ -19,26 +19,12 @@ fail2ban_config_files:
conf
:
DEFAULT
:
ignoreip
:
"
{%
for
fail2ban_ip
in
fail2ban_whitelist
%}{{
fail2ban_ip
}}{%
if
not
loop.last
%}
{%
endif
%}{%
endfor
%}"
bantime
:
36
00
bantime
:
864
00
banaction
:
iptables-multiport
logpath
:
/var/log/auth.log
sshd
:
enabled
:
true
bantime
:
86400
wordpress-hard
:
enabled
:
true
filter
:
wordpress-hard
logpath
:
/var/log/auth.log
maxretry
:
1
port
:
http,https
wordpress-soft
:
enabled
:
true
filter
:
wordpress-soft
logpath
:
/var/log/auth.log
maxretry
:
3
port
:
http,https
phpmyadmin-syslog
:
enabled
:
true
fail2ban_pkgs
:
-
fail2ban
-
iptables
...
...
@@ -49,6 +35,5 @@ fail2ban_pkgs:
-
whois
fail2ban_whitelist
:
-
"
127.0.0.1"
-
"
81.95.52.0/24"
fail2ban_validate
:
true
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment