Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
7351a4f0
Commit
7351a4f0
authored
Mar 26, 2014
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add nginx rules for fail2ban
parent
fa4656da
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
70 additions
and
0 deletions
+70
-0
nginx-admin.conf
fail2ban/filter.d/nginx-admin.conf
+23
-0
nginx-excess-admlim.conf
fail2ban/filter.d/nginx-excess-admlim.conf
+23
-0
nginx-excess.conf
fail2ban/filter.d/nginx-excess.conf
+23
-0
nginx-excess-admlim
fail2ban/test.d/nginx-excess-admlim
+1
-0
No files found.
fail2ban/filter.d/nginx-admin.conf
0 → 100644
View file @
7351a4f0
# Fail2Ban configuration file
#
# Author: Vitaly Lipatov
#
# $Revision: 728 $
#
[
Definition
]
# Option: failregex
# Notes.: regex to match the password failures messages in the logfile. The
# host must be matched by a group named "host". The tag "<HOST>" can
# be used for standard IP/hostname matching and is only an alias for
# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
# Values: TEXT
#
failregex
= ^<
HOST
> - -.*
POST
.*$
# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.
# Values: TEXT
#
#ignoreregex =
fail2ban/filter.d/nginx-excess-admlim.conf
0 → 100644
View file @
7351a4f0
# Fail2Ban configuration file
#
# Author: Vitaly Lipatov
#
# $Revision: 728 $
#
[
Definition
]
# Option: failregex
# Notes.: regex to match the password failures messages in the logfile. The
# host must be matched by a group named "host". The tag "<HOST>" can
# be used for standard IP/hostname matching and is only an alias for
# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
# Values: TEXT
#
failregex
= .*
limiting
requests
,
excess
: .*
by
zone
"admlim"
,
client
: <
HOST
>,
server
:
# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.
# Values: TEXT
#
ignoreregex
=
fail2ban/filter.d/nginx-excess.conf
0 → 100644
View file @
7351a4f0
# Fail2Ban configuration file
#
# Author: Vitaly Lipatov
#
# $Revision: 728 $
#
[
Definition
]
# Option: failregex
# Notes.: regex to match the password failures messages in the logfile. The
# host must be matched by a group named "host". The tag "<HOST>" can
# be used for standard IP/hostname matching and is only an alias for
# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
# Values: TEXT
#
failregex
= .*
limiting
requests
,
excess
: .*
by
zone
".*lim"
,
client
: <
HOST
>,
server
:
# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.
# Values: TEXT
#
#ignoreregex =
fail2ban/test.d/nginx-excess-admlim
0 → 100644
View file @
7351a4f0
2014/03/09 07:13:59 [error] 477887#0: *15917125 limiting requests, excess: 3.304 by zone "admlim", client: 108.160.152.93, server: borbazaveru.info, request: "GET /administrator/index.php HTTP/1.0", host: "borbazaveru.com"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment