Skip to content
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

IPv6 support in backend #895

Closed
jengelh opened this issue Mar 23, 2015 · 5 comments
Closed

IPv6 support in backend #895

jengelh opened this issue Mar 23, 2015 · 5 comments
Labels
Backend Things regarding the OBS backend Feature

Comments

@jengelh
Copy link
Contributor

jengelh commented Mar 23, 2015

The backend is lacking IPv6 support.

./BSRPC.pm:    socket(S, PF_INET, SOCK_STREAM, $tcpproto) || die("socket: $!\n");
./BSServer.pm:      socket($s , PF_INET, SOCK_STREAM, $tcpproto) || die "socket: $!\n";
./BSWatcher.pm:  socket($fd, PF_INET, SOCK_STREAM, $tcpproto) || die("socket: $!\n");

By switching this to PF_INET6, and some sockaddr_in calls to pack_sockaddr_in6, it should be possible to offer both (as IPv4 connections get mapped onto v6 by way of ::ffff:x.y.z.a).

@laf0rge
Copy link

laf0rge commented May 10, 2022

This is really surprising in 2022, particularly as the communication is based on HTTP. I have an untested patch in https://github.com/laf0rge/open-build-service/tree/ipv6 but currently don't have a development setup with a "playground" OBS instance to test it. Maybe it can serve a s a basis if somebody wants to pick this up?

@laf0rge
Copy link

laf0rge commented May 10, 2022

pinging @mlschroe as he covered that topic in #12550

@mlschroe
Copy link
Member

I've got it already mostly running, it just needs some polishing.

@laf0rge
Copy link

laf0rge commented Jul 6, 2022

I think this can also be closed now that 6436640 is merged?

@mlschroe
Copy link
Member

mlschroe commented Jul 6, 2022

Yes, right. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Things regarding the OBS backend Feature
Projects
None yet
Development

No branches or pull requests

4 participants