Add ban management features and update documentation
- Implement ban model, service, and router endpoints in backend - Add ban table component and dashboard integration in frontend - Update ban-related types and API endpoints - Add comprehensive tests for ban service and dashboard router - Update documentation (Features, Tasks, Architecture, Web-Design) - Clean up old fail2ban configuration files - Update Makefile with new commands
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
# ──────────────────────────────────────────────────────────────
|
||||
# BanGUI — Simulated HTTP access scan failure filter
|
||||
#
|
||||
# Matches lines written by Docker/simulate_accesses.sh.
|
||||
# Format:
|
||||
# YYYY-MM-DD HH:MM:SS bangui-access: http scan from <IP> "<METHOD> <path> HTTP/1.1" <STATUS>
|
||||
# ──────────────────────────────────────────────────────────────
|
||||
|
||||
[Definition]
|
||||
|
||||
failregex = ^.* bangui-access: http scan from <HOST> ".*" [45]\d\d\s*$
|
||||
|
||||
ignoreregex =
|
||||
@@ -1,20 +0,0 @@
|
||||
# ──────────────────────────────────────────────────────────────
|
||||
# BanGUI — Simulated HTTP access scan jail
|
||||
#
|
||||
# Watches Docker/logs/access.log (mounted at /remotelogs/bangui)
|
||||
# for lines produced by Docker/simulate_accesses.sh.
|
||||
# ──────────────────────────────────────────────────────────────
|
||||
|
||||
[bangui-access]
|
||||
|
||||
enabled = true
|
||||
filter = bangui-access
|
||||
logpath = /remotelogs/bangui/access.log
|
||||
backend = polling
|
||||
maxretry = 3
|
||||
findtime = 120
|
||||
bantime = 60
|
||||
banaction = iptables-allports
|
||||
|
||||
# Never ban localhost, the Docker bridge network, or the host machine.
|
||||
ignoreip = 127.0.0.0/8 ::1 172.16.0.0/12
|
||||
Reference in New Issue
Block a user