-
-
Notifications
You must be signed in to change notification settings - Fork 361
listen on both ipv4 and ipv6 #179
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
base: master
Are you sure you want to change the base?
Conversation
I am a bot, here are the test results for this PR:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this going to suddenly break a bunch of users who've explicitly disabled IPv6?
No idea. It needs to be tested. I'm surprised that even though we're telling it to listen on ipv6, it also listens on ipv4 but I couldn't find any documentation. Just github issue discussions. |
Well that's just weird:
And both
And
Work. They also work inside the container so it's not just the docker NAT layer doing something odd. |
TIL https://www.rfc-editor.org/rfc/rfc3493#section-3.7
Also https://www.rfc-editor.org/rfc/rfc3493#section-5.3
But that will still break with IPv4-only network stacks for obvious reasons. |
@thespad It will break on users who have disabled IPv6 on the kernel level, others will have no issues. Those who have will aware of the issues with messing with the default kernel values. As IPv6 only servers are becoming common, having a middle ground is the better option. It will be better to have a DISABLE IPv6 option for such users, as it done on the kasmvnc image. |
hopefully, maybe it'll teach them to stop doing silly things left over from 2004 |
I am a bot, here are the test results for this PR:
|
I am a bot, here are the test results for this PR:
|
I am a bot, here are the test results for this PR:
|
I am a bot, here are the test results for this PR:
|
This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
This feature would help me. I'm embracing v6 everywhere on my network and would love to have Code Server along for the ride. |
Sorry for the dumb question, but how can I help test this updated image? Do I just point my docker compose file to this version? I still have a few v4-only hosts in my network. Curious to see what breaks. |
Yes, that's the image tag for the PR build |
This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
Let's keep this open :) |
This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale :) |
This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
lol, no. we are not going to yolo merge something without thorough testing.. |
Apologies for the delay reporting back. From my testing, I am fairly confident this won't break the core functionality of code server, even for those on v4-only hosts. Here's a screenshot of my test - a fresh instance of codeserver on a Debian 12 VM. |
@drizuid I created two VMs for testing. You can access them with username "ubuntu" via SSH: code-server is installed on both VMs, while both of them are started on "[::]:80". I hope this helps :) |
@thespad #179 (comment) thoughts? |
Maybe he is on vacation :) |
@aptalca I was wondering if you could maybe resolve the conflicts? Would be awesome :) |
This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
This pull request is locked due to inactivity |
reopened; pending conflict resolution from Aptalca, re-approval by spad, and then I will merge, barring any complaints from the rest of the team (none thus far from internal discussion https://discord.com/channels/354974912613449730/512708069709316137/1400482192538210335 ) |
I am a bot, here are the test results for this PR:
|
closes #178