-
Notifications
You must be signed in to change notification settings - Fork 168
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
[BUG] GEOIP ACL #257
Comments
Source of geoip database is this: And the code for updating the database can be found here: There is nothing I can do as this is part of the CI/CD process of automatically update the build in IPv4 and IPv6 mapping of the country code (which changes all the time). I guess if you already know your IP address, you should use IP whitelist instead. |
Ok i check the file download from script : download file is : and after lookup most ip range is not present in this file... why you don't use the maxmind to download the file ? with API Maxmind indicate in site : Url : https://support.maxmind.com/hc/en-us/articles/4408216129947-Download-and-Update-Databases I found this for GO and maxmind : https://pkg.go.dev/github.com/oschwald/maxminddb-golang?utm_source=godoc I don't know if this could help you because I'm not a developer :( I guess if you already know your IP address, you should use IP whitelist instead.: |
@barto95100 Maxmind dataset license is not compatible with Zoraxy in some of the use cases.
Your ISP should have been assigned a fixed IP address range. You can look up on the internet regarding what possible IPs your ISP is using and use that CIDR as whitelist target. I guess we can switch to the db one if the daily one is not too accurate, as I can see your IP address is correctly reported in the other csv file from the list. DB-IP Lite Country CC BY 4.0 by DB-IP dbip-country-ipv4.csv |
YEs possible to move to dbip all my test indicate the dbip is more update to jsdeliver... or maybe used the maxmind to update 1 time per day |
@barto95100 Well as mention earlier, we cannot use Maxmind database due to license issue. But for the user update-able ip table, I will think about it and see how it can be implemented. |
instead of downloading a file to make API requests, but probably too heavy at the level of zoraxy maybe? response time or CPU/RAM usage |
Describe the bug
Problem with ACL and geoip country
To Reproduce
country selected is FRANCE and test to access url with this ACL not work (403 Forbidden)
I verify the ip lookup and the ip used is in maxmind FRANCE Country
If i add manuelly the ip in ACL thé connections work
What's the source of geoip database use by zoraxy ?
The text was updated successfully, but these errors were encountered: