Rename fail2ban-dev-config jail.d/bangui-sim.conf and filter.d/bangui-sim.conf to manual-Jail.conf. Update section header, filter reference, and comments in both files. Update JAIL constant and header comment in check_ban_status.sh. Update comments in simulate_failed_logins.sh. Replace all bangui-sim occurrences in fail2ban-dev-config/README.md.
20 lines
839 B
Plaintext
20 lines
839 B
Plaintext
# ──────────────────────────────────────────────────────────────
|
|
# BanGUI — Simulated authentication failure jail
|
|
#
|
|
# Watches Docker/logs/auth.log (mounted at /remotelogs/bangui)
|
|
# for lines produced by Docker/simulate_failed_logins.sh.
|
|
# ──────────────────────────────────────────────────────────────
|
|
|
|
[manual-Jail]
|
|
|
|
enabled = true
|
|
filter = manual-Jail
|
|
logpath = /remotelogs/bangui/auth.log
|
|
backend = polling
|
|
maxretry = 3
|
|
findtime = 120
|
|
bantime = 60
|
|
|
|
# Never ban localhost, the Docker bridge network, or the host machine.
|
|
ignoreip = 127.0.0.0/8 ::1 172.16.0.0/12
|