-
Notifications
You must be signed in to change notification settings - Fork 17
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
Warn if Cloudflare is in use #149
Comments
In one particular case, an HS operator claimed to not be using Cloudflare, which turned out to be true for the host hosting |
It is worth noting that |
I can federate with matrix.org. I suspect it's a difference in Cloudflare configuration, but I've never personally used Cloudflare, so I have no idea. When I do get blocked by Cloudflare, it usually looks like this:
|
I see. Given it's perfectly possible to use Cloudflare without it breaking everything, there's an argument here that warning about it might be a bit like overkill. That said, I take your point - if people are going to use Cloudflare, they better be careful which options they set. Perhaps we could show some sort of informational note about that in the UI. |
I'm not very familiar with cloudflare. Is it possible to detect whether it's configured in the "throw up a challenge page" mode versus the "just proxy and cache things" mode externally? |
My HS fails to federate with a lot of homeservers that are hosted behind Cloudflare. My HS is hosted on AWS EC2, and so I guess Cloudflare denies requests from our HS because Cloudflare thinks we must be using automation in a harmful way.
As a result, I think it would be good if the federation tester could detect the use of Cloudflare and display a warning about how incoming federation requests from some other homeservers may be blocked by Cloudflare, causing federation with those homeservers to not work.
I think this could probably be implemented by checking for e.g.
server: cloudflare
orcf-ray: ...
in response headers.The text was updated successfully, but these errors were encountered: