[mosh-devel] IPv6 server bind issue?

john hood cgull at glup.org
Fri Apr 15 22:12:05 EDT 2016


v4 and v6 multihoming work fine on my dual-stack server with a more
complex network setup.

Anyway, the error message you're getting is from getaddrinfo(), not
socket-related calls.  We use getaddrinfo() in numeric-only mode, not
for name lookup.  This maybe suggests an issue with glibc rather than
kernel interactions.  Try strace.  Also try invoking mosh-server with
::1 and 127.0.0.1 which should, of course, work.

regards,

  --jh


On 4/15/16 2:04 PM, Raj Kunjithapadam wrote:
> Has anyone tested this with IPv6 multihoming?
> 
> ssn at lime2:~$ mosh-server new -i fdbc:a8bd:13da:1993:213:5002:a6:ff00
> mosh-server: Bad IP address (fdbc:a8bd:13da:1993:213:5002:a6:ff00)
> Usage: mosh-server new [-s] [-v] [-i LOCALADDR] [-p PORT[:PORT2]] [-c COLORS] [-l NAME=VALUE] [-- COMMAND…]
> 
> ssn at lime2:~$ ifconfig
> b4        Link encap:UNSPEC  HWaddr FD-BC-A8-BD-13-DA-19-93-00-00-00-00-00-00-00-00
>           inet addr:192.0.0.2  P-t-P:192.0.0.1  Mask:255.255.255.255
>           inet6 addr: fe80::213:50ff:fe50:4/64 Scope:Link
>           UP POINTOPOINT RUNNING NOARP  MTU:1440  Metric:1
>           RX packets:21387 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:44452 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:21656071 (21.6 MB)  TX bytes:27710126 (27.7 MB)
> 
> eth0      Link encap:Ethernet  HWaddr 00:13:50:50:00:04
>           inet addr:10.16.8.1  Bcast:10.16.8.15  Mask:255.255.255.240
>           inet6 addr: fe80::213:50ff:fe50:4/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:49589 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:22357 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:26868317 (26.8 MB)  TX bytes:1937397 (1.9 MB)
>           Interrupt:117
> 
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:10349 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:10349 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:961725 (961.7 KB)  TX bytes:961725 (961.7 KB)
> 
> tun6      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>           inet6 addr: fdbc:a8bd:13da:1993:213:5002:a6:ff00/64 Scope:Global
>           inet6 addr: fdbc:a8bd:13da:1469:213:5002:a6:ff00/64 Scope:Global
>           inet6 addr: fe80::213:5002:a6:ff00/64 Scope:Link
>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>           RX packets:24920 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:47174 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:22871355 (22.8 MB)  TX bytes:28125162 (28.1 MB)
> 
> _______________________________________________
> mosh-devel mailing list
> mosh-devel at mit.edu
> http://mailman.mit.edu/mailman/listinfo/mosh-devel
> 




More information about the mosh-devel mailing list