matrix-org / matrix-user-verification-service

Service to verify details of a user based on a Open ID token.
Other
22 stars 21 forks source link

Something is wrong with UVS_DISABLE_IP_BLACKLIST=true #30

Closed rwjack closed 1 year ago

rwjack commented 1 year ago

Code diving didn't do me much good, I just went on and:

diff --git a/src/utils.js b/src/utils.js
index fa18820..f657e5a 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -92,7 +92,6 @@ function requestLogger(req) {

 const ip4RangeBlacklist = [
     '127.0.0.0/8',
-    '10.0.0.0/8',
     '172.16.0.0/12',
     '192.168.0.0/16',
     '100.64.0.0/10',

And voila, I didn't get the host is blacklisted error anymore. This is obviously not a solution, but someone with more experience on this code should give it a look.

rwjack commented 1 year ago

Never mind, this was just a warn, not a fatal error