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
28b2bf28
Commit
28b2bf28
authored
Feb 17, 2014
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add vsftpd filter to fail2ban
parent
5bd6cbf7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
vsftpd.conf
fail2ban/filter.d/vsftpd.conf
+26
-0
vsftpd
fail2ban/test.d/vsftpd
+2
-0
No files found.
fail2ban/filter.d/vsftpd.conf
0 → 100644
View file @
28b2bf28
# Fail2Ban configuration file
#
# Author: Cyril Jaquier
#
# $Revision$
#
[
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
=
vsftpd
(?:\(
pam_unix
\))?(?:\[\
d
+\])?:.*
authentication
failure
; .*
rhost
=<
HOST
>(?:\
s
+
user
=\
S
*)?\
s
*$
\[.+\]
FAIL
LOGIN
:
Client
"<HOST>"
\
s
*$
FTP
response
:
Client
"<HOST>"
,
"
530
# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.
# Values: TEXT
#
ignoreregex
=
fail2ban/test.d/vsftpd
View file @
28b2bf28
Wed Oct 9 12:14:45 2013 [pid 16470] [ftpkoochy] FAIL LOGIN: Client "95.32.141.118"
Fri Dec 20 14:00:29 2013 [pid 25595] [changeme] FTP response: Client "190.81.24.243", "530 Permission denied."
Fri Dec 20 13:27:17 2013 [pid 29637] [azbyka] FTP response: Client "190.81.24.243", "530 Login incorrect."
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