does not work on ipv4 only machines

Bug #69307 reported by Chris Jones
6
Affects Status Importance Assigned to Milestone
obby
Fix Released
Unknown
sobby (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Starting sobby on a machine with ipv6 disabled causes it to print:

Sobby 0.4.1 starting up...
Address family not supported

and exit.

Upstream has the bug at: http://darcs.0x539.de/trac/obby/cgi-bin/trac.cgi/ticket/201

Revision history for this message
In , armin (armin-gobby-bugs) wrote :

I guess we could/should fallback to IPv4 if opening an IPv6 socket did not succeed even if obby is compiled with IPv6 support.

Revision history for this message
In , anonymous (anonymous-gobby-bugs) wrote :

yes it should definitely fall back, ipv6 is quite often explicitly disabled

Revision history for this message
In , phil (phil-gobby-bugs) wrote :

You know that IPv6 is conditionally compiled in? Just don't activate it on compile time, or activate IPv6 in the kernel. It does no harm and is one step further into the future.

Revision history for this message
Chris Jones (cmsj) wrote :

Starting sobby on a machine with ipv6 disabled causes it to print:

Sobby 0.4.1 starting up...
Address family not supported

and exit.

Upstream has the bug at: http://darcs.0x539.de/trac/obby/cgi-bin/trac.cgi/ticket/201

Revision history for this message
Philipp Kern (pkern) wrote :

Doesn't Ubuntu have IPv6 in the default kernel? Are custom kernel builds supported as such?

Revision history for this message
Chris Jones (cmsj) wrote :

ipv6 is available as a module, thus can be disabled (and indeed should be on machines that do not use ipv6). Custom kernels are irrelevant.

Revision history for this message
In , Chris (hris-gobby-bugs) wrote :

I didn't know that, I'm using 0.4.1-1 from edgy and i don't see an option. I tried --disable-ipv6 with the configure script, but it didn't seem to do anything.

Revision history for this message
In , phil (phil-gobby-bugs) wrote :

I stated it in the other bug report. You need to discard the `--enable-ipv6'. `--disable-ipv6' does enable IPv6, which is a known bug and, FWIW, fixed in obby 0.4.2.

Revision history for this message
Chris Jones (cmsj) wrote :

Sorry, that was a little terse and rude sounding.

The problem was noticed on a custom kernel, but I was able to replicate it by disabling the net-pf-10 alias in /etc/modprobe.d/, which I do think is a valid setup from a support point of view.

As it happens, this bug is as much for tracking as anything else because the same problem is already listed upstream and it would be of use to us.

Revision history for this message
Philipp Kern (pkern) wrote :

You know, "I was able to replicate it by disabling the net-pf-10 alias in /etc/modprobe.d/" sounds like "I intensively tried to break IPv6, and I succeeded". Yes it is listed upstream, and I am upstream in fact, and we will probably fix this issue in due course. It's just that I made this decision for Debian because we wanted pervasive IPv6 support and that I personally support the adoption of IPv6.

And I did not intend to deliberately break it, but instead I ensured that it is compliant to the default kernel in both Ubuntu and Debian. That's why I sound that rude.

Revision history for this message
In , phil (phil-gobby-bugs) wrote :

As soon as a workaround for this bug is implemented, I will create new tarballs.

Revision history for this message
In , armin (armin-gobby-bugs) wrote :

obby now falls back to IPv4 when it could not open the session with IPv6. However, I was not able to test the patch because I have IPv6 compiled into the kernel (i.e. non-modular).

Revision history for this message
In , tom (tom-gobby-bugs) wrote :

Replying to [comment:8 armin]:
> obby now falls back to IPv4 when it could not open the session with IPv6. However, I was not able to test the patch because I have IPv6 compiled into the kernel (i.e. non-modular).

Tested in Gentoo and it worked.

Revision history for this message
In , Mamading (mamading) wrote :

I'm running Gobby 0.4.1 on Wolvix (Slackware 11.0), when I try to create a session, and click on the Host button. I'm getting this error "Address family not supported". I have ipv6 blacklisted, because it causes slow DNS resolution with some routers.

Revision history for this message
In , armin (armin-gobby-bugs) wrote :

This is fixed only in the upcoming version 0.4.2 which will be released in the next few days, I hope.

Revision history for this message
In , CeeC (ee-gobby-bugs) wrote :

I've just installed 0.4.2 version (from source and with no error o warnings) and it gives me the same error: "Address family not supported". The failure not seems to be fixed.

Revision history for this message
In , armin (armin-gobby-bugs) wrote :

Did you also update both net6 and obby to the latest versions?

Revision history for this message
In , phil (phil-gobby-bugs) wrote :

Should be fixed now, please try the most current net6 (1.3.4).

Changed in obby:
status: Unknown → Fix Released
Revision history for this message
Philipp Kern (pkern) wrote :

Does the problem still persist with the Sobby in Gutsy?

Philipp Kern (pkern)
Changed in sobby:
status: New → Incomplete
Revision history for this message
Albert Damen (albrt) wrote :

The problem is solved in Gutsy.
I disabled IPv6 support, rebooted and verified IPv6 details were not shown anymore in ifconfig.

starting sobby showed:

albert@BTO:~$ sobby
Sobby 0.4.4 starting up...
Running server on port 6522 using obby 0.4.4

Revision history for this message
Albert Damen (albrt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - the Gutsy Gibbon.

If you need a fix for the bug in previous versions of Ubuntu, please follow the instructions for "How to request new packages" at https://help.ubuntu.com/community/UbuntuBackports#request-new-packages

Changed in sobby:
status: Incomplete → Fix Released
Revision history for this message
In , launchpad (launchpad-gobby-bugs) wrote :

Updating Launchpad bug reference

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.