-
Notifications
You must be signed in to change notification settings - Fork 38
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 dual stack IPv6 support. #864
Conversation
Completely forgot about that one. I'd suggest merging this one first. They are independent for the most part, but there are a few things in #808 which I now think are not right to do (changing “localhost” to “::”, switching the whole server to The changes in #808 should allow the access via IP address together with this PR. |
For my Windows 10 laptop, this fails to allow connections. It looks like |
What does the |
Here's the result:
|
That problem should be fixed (but there might be more). |
:) Here's the new error:
|
But |
Hm, this seems to be a known Python bug? |
Does the socket module have |
The magic value to add is 41. (I suppose it's not 42 because we start counting at 0? 😉 ) |
Should be fixed. |
THat's now working for me in Windows 10 (py27, py35, py36)... I'm going to try it on a Windows 8 machine tonight.... |
This also works fine on Windows 8... :) However, Travis-CI seems upset by something about this... is this a problem with Travis-CI or with this PR? |
I can try rebasing to master (and force-pushing) and seeing if that helps.... |
Probably travis... I think the tests have been broken for a while? Can't verify right now ...
…On October 30, 2017 7:11:34 PM EDT, tcstewar ***@***.***> wrote:
This also works fine on Windows 8... :)
However, Travis-CI seems upset by something about this... is this a
problem with Travis-CI or with this PR?
--
You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub:
#864 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
I'll do the rebase and see if that helps... |
(er, never mind, you're still assigned to it so I shouldn't do a force-push on it.... especially since I just asked you about that today! :) ) |
Sorry, forgot to unassign myself after adding the last fix. The tests are failing on the same way on master and the last succesful “build” has been 7 months ago ... |
Related PR #839. |
There might still be some issues with the WebSocket origin checking.
I'm all set with this.. thank you for your patience on this one.... :) |
This implements support for IPv6 with a dual stack solution supporting IPv4 and IPv6 at the same time. In theory this also allows to listen on multiple ports or network interfaces at the same time. But this is not exposed within
main.py
, so thenengo
command only allows to listen on alllocalhost
addresses (no password protection) or all interfaces (with password protection). I assume this to be fine in almost all cases and do not intend to change this as long as there are no such requests because it would complicate the interface without need.Due to the current implementation of the WebSocket origin checking the GUI does not support access by IP address (e.g.
127.0.0.1
or[::]
), except when started with a password.Addresses #21.