mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-27 19:50:56 +00:00
Per-client IP limit only enforces where fail2ban is installed, so the panel now reports enforceability and disables the field otherwise: - Add GET /panel/api/server/fail2banStatus (enabled/installed/usable/windows), cached 30s. - ClientFormModal and ClientBulkAddModal disable the IP Limit input when not usable and show a hover tooltip; Windows gets a platform-specific message instead of the bash-menu hint. - One-time migration ResetIpLimitNoFail2ban zeroes existing client limitIp (inbound settings JSON + clients table) on hosts without fail2ban, where the limit never applied. - Drop the recurring '[LimitIP] Fail2Ban is not installed' warning. - Add limitIpFail2banMissing/limitIpFail2banWindows/limitIpDisabled across all 13 locales. |
||
|---|---|---|
| .. | ||
| model | ||
| db.go | ||
| db_seed_test.go | ||
| dialect.go | ||
| dump_sqlite.go | ||
| dump_sqlite_test.go | ||
| host_migration_test.go | ||
| host_test.go | ||
| index_tags_test.go | ||
| migrate_data.go | ||
| migrate_data_test.go | ||
| settings_index_test.go | ||