Implement geoIP and whois lookups directly from fail2ban-UI

This commit is contained in:
2025-12-15 21:50:19 +01:00
parent 3ad4821cb7
commit c57322e38d
19 changed files with 523 additions and 42 deletions

View File

@@ -138,6 +138,14 @@
"settings.default_max_retry": "Default Max Retry",
"settings.default_max_retry.description": "Number of failures before a host gets banned.",
"settings.default_max_retry_placeholder": "Enter maximum retries",
"settings.geoip_provider": "GeoIP Provider",
"settings.geoip_provider.description": "Choose the GeoIP lookup provider. MaxMind requires a local database file, while Built-in uses a free online API.",
"settings.geoip_provider.maxmind": "MaxMind (Local Database)",
"settings.geoip_provider.builtin": "Built-in (ip-api.com)",
"settings.geoip_database_path": "GeoIP Database Path",
"settings.geoip_database_path.description": "Path to the MaxMind GeoLite2-Country database file.",
"settings.max_log_lines": "Maximum Log Lines",
"settings.max_log_lines.description": "Maximum number of log lines to include in ban notifications. Most relevant lines are selected automatically.",
"settings.ignore_ips": "Ignore IPs",
"settings.ignore_ips.description": "Space separated list of IP addresses, CIDR masks or DNS hosts. Fail2ban will not ban a host which matches an address in this list.",
"settings.ignore_ips_placeholder": "IPs to ignore, separated by spaces",