-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add Outline version to http fetch header for dynamic links #2061
Comments
I don't fully understand how an older Outline client can bring down a whole server. Could you give us some more insight in case there's something else we need to look into? In any case, as I mentioned in #2067, we can add this information to the |
Here are the key points regarding detection:
So that's the power a single client can have. Once the IP is detected, no prefix gets through it, even if I setup an nginx page on it, it won't open, heck it won't even respond to pings. This situation is in iran, it's not as severe with my two clients in mainland china. On a separate note, I hope to see websocket support added soon. |
Hi @cornzzy , Adding Our keys should be backward compatible, meaning older clients should connect. Neither client nor server should crash in this scenario. A server crashing due to an old key sounds like an issue that needs fixing separately. Can you provide server logs to help us troubleshoot? |
Sure, Outline has different client apps and there are many ss client apps out there. And the server doesn't crash. There seems to be a misunderstanding. All I'm saying is the dynamic link web service providing the ss credentials needs to know at least Outline Client version. The goal is to only return ss credentials if version is X even though http header can be set manually outside of outline but still this little header fixes 99% of the problem. I explained here a bit more. If version is going to be in the header across all Outline Client (GUI) builds that would be awesome and this issue can be closed. |
Thanks @cornzzy , we plan to add the |
Is there an existing issue that is already proposing this?
Application
Outline Client
What are you trying to do? What is your use case?
Dynamic link web service needs to know Outline version to decide to return credentials or not.
Is your feature request related to a problem? Please describe it.
A single client can bring the whole server down for everyone by connecting from an older version.
Describe the solution you'd like.
outline-apps/client/src/www/app/outline_server_repository/access_key_serialization.ts
Line 74 in dff8f19
Describe alternatives you've considered
Given the current conditions, there is no way to circumvent this issue. I hope it's clear how high a priority this matter is and the significant impact it has on Outline's geographic targets.
The text was updated successfully, but these errors were encountered: