-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Enhancement] Make Invidious listen dual stack ipv4 and ipv6 #4705
Comments
Forcing I'm not sure how to tackle this improvement. Maybe we should have an if case for BSD distributions in order to not listen on |
It may be possible to just add a note to the documentation that mentions that invidious listens to a IPv6 address and you will need to either set the address manually or to enable the IPv4 address or set the IPv4, IPv6 translation on your operating system based on requirements. The main concern I have with this is breaking user's existing configurations. If any invidious instance maintainers rely on listening to IPv4 and the default changes without warning this could potentially be a problem. I know my configuration is currently susceptible to this. |
Listening on both is possible, the stdlib supports dual stack: require "http/server"
server = HTTP::Server.new { }
server.bind_tcp("127.0.0.1", 10080)
server.bind_tcp("::1", 10080)
server.each_address do |addr|
pp addr
end
But we need to open a pull request for kemal, as it only supports binding to a single IP: Edit: I realized that we could create our own |
Is your enhancement request related to a problem? Please describe.
By default, invidious does not listen on IPv6.
Describe the solution you'd like
I would like to have invidious listening on ipv4 and ipv6 at the same time.
Describe alternatives you've considered
Additional context
Related to #4693
The text was updated successfully, but these errors were encountered: