-
Notifications
You must be signed in to change notification settings - Fork 53
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
[v0.20.13.1] Crippled Via header when using X-Forwarded-For/Via #393
Comments
Hi @kekkc, The |
Thx for the explanation for the protocol. One problematic example I found is: http://animedao.com/ , the DDoS check is always reloaded and started from the beginning. BTW: didn't find my original source, but there's some info that Via is only used for debugging: https://stackoverflow.com/questions/15248785/the-difference-between-the-x-forwarded-for-header-and-the-via-header |
@kekkc Thanks for the link. That's an interesting debug case. EDIT: I was able to replicate this issue. If the |
Thanks for chasing this. I sent you another example link using the same Cloudfare protection via your web contact form. |
Removing the |
Disabling header IP spoofing for certain Cloudflare requests seems to resolve this issue. v0.20.14 will be released later today. |
It worked, many many thanks ;) |
Unfortunately it seems that Cloudflare changed it's implementation again. Since the above test site is no longer working, I recognized it e.g. on the following site: Would be great if there would be a workaround. BTW: wish you all happy holidays ;) |
Hi all,
realized the following strange behavior since the latest version updates:
if X-Forwarded-For/Via IP range is used a wrong Via header is inserted. Instead of using the specified range a 1.1 is put in front of it, resulting in "Via: 1.1 93.192.98.94". This seems to result that all Cloudfare DDoS protected websites fail to load.
Although, I googled some references some years back where it was mentioned that Via is no longer used by webservers, while X-Forwarded-For is the de-facto standard. Generally liked it more when it was possible to select only one.
Was there any reason why this was changed?
Relevant settings
X-Forwarded-For/Via Custom = from 93.192.0.0 to 93.192.255.255
Context (Environment)
FF77.0.1
The text was updated successfully, but these errors were encountered: