Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eterban
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eterban
Commits
ead056a4
Commit
ead056a4
authored
Jul 21, 2026
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: clarify centralized ban lifetime
parent
72944400
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
README.md
README.md
+3
-1
eterban.conf
prod-server/etc/fail2ban/action.d/eterban.conf
+3
-2
jail.conf
prod-server/etc/fail2ban/jail.d/jail.conf
+4
-1
No files found.
README.md
View file @
ead056a4
...
...
@@ -34,7 +34,9 @@ logpath = %(sshd_log)s
backend = %(sshd_backend)s
maxretry = 3
findtime = 1200
bantime = 5
# This is only Fail2Ban's local cooldown. The gateway [AutoUnban] policy
# determines the actual centralized ban duration.
bantime = 1
```
Важно: в графе action выставлять значение eterban. Желательно в name указывать причину блокировки.
...
...
prod-server/etc/fail2ban/action.d/eterban.conf
View file @
ead056a4
[
Definition
]
actionban
= /
usr
/
share
/
eterban
/
ban
.
py
<
ip
> <
name
>
\ No newline at end of file
# The gateway owns unban timing through AutoUnban. An actionunban command here
# would prematurely remove the central ban when Fail2Ban's local bantime ends.
actionban
= /
usr
/
share
/
eterban
/
ban
.
py
<
ip
> <
name
>
prod-server/etc/fail2ban/jail.d/jail.conf
View file @
ead056a4
...
...
@@ -22,7 +22,10 @@
# defined using space separator.
ignoreip
=
127
.
0
.
0
.
1
/
8
87
.
249
.
47
.
42
/
29
89
.
104
.
102
.
10
/
28
212
.
176
.
200
.
18
/
28
62
.
16
.
105
.
243
/
28
10
.
20
.
30
.
10
/
24
91
.
232
.
225
.
0
/
24
# "bantime" is the number of seconds that a host is banned.
# Eterban publishes the ban to the gateway; the gateway AutoUnban policy owns
# the actual ban lifetime. Keep this short only to release Fail2Ban's local
# state after actionban has run. Do not add actionunban for the eterban action.
# "bantime" is the number of seconds that a host is banned locally by Fail2Ban.
#bantime = 600
bantime
=
1
# A host is banned if it has generated "maxretry" during the last "findtime"
...
...
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