Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoIP ignore support #3467

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
9f37670
added geolocation check to filter.py and geolocation functions to ser…
Wicwik Feb 10, 2023
6c446eb
added geolocation function calls to transmitter.py
Wicwik Feb 10, 2023
0466e9e
added addignoregeo to manpage and protocol.py
Wicwik Feb 16, 2023
0b21d7c
added ignoregeo to jailreader
Wicwik Feb 16, 2023
41dbb82
added ignoregeo commands to client and manpages
Wicwik Feb 16, 2023
6513bc2
added getignoregeo to transmitter.py
Wicwik Feb 16, 2023
777da5d
added ignoregeo to client/beautifier.py
Wicwik Feb 16, 2023
7e71383
fixed bug with response.getcode()
Wicwik Feb 16, 2023
2c7120a
added setters and getters for geoip api to server, filter and transmi…
Wicwik Feb 16, 2023
d3c1854
added ignoregeoapi to jaireader
Wicwik Feb 16, 2023
01a8436
Revert "fixed bug with response.getcode()"
Wicwik Feb 16, 2023
32934ce
Revert "added ignoregeoapi to jaireader"
Wicwik Feb 16, 2023
4296f0e
Revert "added setters and getters for geoip api to server, filter and…
Wicwik Feb 16, 2023
15f5194
replace API with geoiplookup
Wicwik Feb 16, 2023
aadae7c
updated manual page
Wicwik Feb 23, 2023
73ee9f7
added warning if geoiplookup is not present
Wicwik Feb 23, 2023
c25e809
added geoiplookup as optional to readme
Wicwik Feb 23, 2023
5876032
added mmdblookup since geoiplookup DB is retired
Wicwik Feb 23, 2023
f0bb798
added geoip2 country file check
Wicwik Feb 23, 2023
8b609ff
added logs for geoiplookup
Wicwik Feb 23, 2023
87e21b3
fixed typo
Wicwik Feb 23, 2023
a439821
revert a mistake commit after 2to3
Wicwik Feb 23, 2023
eef7492
Merge branch 'geolocation_ignore' of github.com:Wicwik/fail2ban into …
Wicwik Feb 23, 2023
25f7a8a
Revert "added logs for geoiplookup"
Wicwik Feb 23, 2023
56dec6f
Revert "fixed typo"
Wicwik Feb 23, 2023
18308e0
fixed typo
Wicwik Feb 23, 2023
1e68fae
fixed merge
Wicwik Feb 23, 2023
41d7e81
removed diff
Wicwik Feb 23, 2023
6e3fa53
reworked the mmdblookup section to work properly
Wicwik Feb 23, 2023
821b754
added mmdblookup to readme and jai.conf manpage
Wicwik Feb 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
added ignoregeoapi to jaireader
  • Loading branch information
Wicwik committed Feb 16, 2023
commit d3c18540ade543f8bb9cfb12751c145cb268c2ea
1 change: 1 addition & 0 deletions fail2ban/client/jailreader.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def _glob(path):
"ignorecommand": ["string", None],
"ignoreself": ["bool", None],
"ignoreip": ["string", None],
"ignoregeoapi": ["string", None],
"ignoregeo": ["string", None],
"ignorecache": ["string", None],
"filter": ["string", ""],
Expand Down