Rename GET/PUT /api/config/actions/{name} to /actions/{name}/raw in
file_config.py to eliminate the route-shadowing conflict with config.py,
which registers its own GET /actions/{name} returning ActionConfig.
Add configActionRaw endpoint helper in endpoints.ts and update
fetchActionFile/updateActionFile in config.ts to use it. Add
TestGetActionFileRaw and TestUpdateActionFileRaw test classes.
20 lines
837 B
Plaintext
20 lines
837 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.
|
|
# ──────────────────────────────────────────────────────────────
|
|
|
|
[bangui-sim]
|
|
|
|
enabled = true
|
|
filter = bangui-sim
|
|
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
|