-
-
Notifications
You must be signed in to change notification settings - Fork 670
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
Nextcloud VM GeoBlock broken #2674
Comments
Hmm, this is a new one... I was trying to be cautious since we're downloading from an external source. I don't want the users to get any virus. :| Maybe if you can find a better source for the download which we can trust? Then I can make a new PR for this. |
This is what happens in the background:
So in other words, it works as expected, but maybe not for you? It's a new function to check for virus, so maybe it detecs another IP and blocks the attempt? Can you please post your full output? |
Please check the PR, should work. |
Sorry for the delay, will need to take a look this evening UK time. |
I'm in CEST, no worries. |
Steps To Reproduce
Expected Result
Geoblocking IPs stops people outside the country from connecting
Actual Result
Everyone on IPv4 (I think) is blocked with
Forbidden
You don't have permission to access this resource.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Screenshots, Videos, or Pastebins
Additional Context
This affects anyone using GeoBlock installed already or fresh install VMs.
2 issues:
On fresh install the install pops-up 2 error messages. These might not actually be a problem? I don't know.
The GeoIP configuration in apache.conf points to
/usr/share/GeoIP/GeoIPv4.dat
that does not exist./usr/share/GeoIP/GeoIP.dat
and/usr/share/GeoIPv6.dat
do exist however so I expect the apache.conf configuration needs changing for fresh installs, but also for people running update.sh?Build Version
29
Environment
By downloading the VM
Environment Details
No response
The text was updated successfully, but these errors were encountered: