fail2ban/fail2ban
Carter McKay c3f3aeb851 Add GeoIP support for banning IPs
Fixes #3790

This should be a good fix for issue #3790, ip-api is a pretty nice API but I haven't had a ton of time to play with it so I might be missing something. I would greatly appreciate any review on this if someone wanted to help.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/fail2ban/fail2ban/issues/3790?shareId=XXXX-XXXX-XXXX-XXXX).
2024-10-29 16:20:36 -05:00
..
client new jail option skip_if_nologs to ignore jail if no logpath matches found, fail2ban continue to start with warnings/errors, thus other jails become running; 2024-08-23 12:16:08 +02:00
compat bundling async modules removed in python 3.12 into f2b (fallback to local libraries if import would miss them); 2023-12-12 15:16:05 +01:00
server Add GeoIP support for banning IPs 2024-10-29 16:20:36 -05:00
tests manually added attempts inform the observer module (take the known ban-count of bad IPs into account); 2024-10-08 13:34:19 +02:00
__init__.py fixed dependency issue if setup invoked using python 3.x: invocation of 2to3 takes place after setup (and __init__.py) loaded; 2018-10-10 12:25:53 +02:00
exceptions.py Fix PEP8 E302 expected 2 blank lines, found X 2015-07-04 13:47:40 -04:00
helpers.py improve fix with fallback to local async libraries - add path to compat folder (pyinotify module may have dependency to asyncore module, see https://github.com/fail2ban/fail2ban/issues/3487#issuecomment-2133529081); 2024-05-27 16:18:26 +02:00
protocol.py implemented fail2ban-client stats (or alias fail2ban-client statistic[s]) for tabulated output of fail2ban stats 2024-04-24 18:49:59 +02:00
setup.py easy-fix: reset fail2ban link to python, if it targeted unavailable file 2016-08-12 21:32:18 +02:00
version.py version bump 2024-04-26 02:06:09 +02:00