[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IPv6



Hello,

I am not really familiar with IPv6 (just playing around), but so what
is wrong here?

dewey:~# /usr/lib/heimdal-servers/telnetd -debug  8024
ftpd: bind: Address already in use

socket(PF_INET6, SOCK_STREAM, 6)        = 3
setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(3, {sin_family=AF_INET6, sin6_port=htons(8024), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=htonl(0)}}, 24) = 0
listen(3, 128)                          = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 4
setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(4, {sin_family=AF_INET, sin_port=htons(8024), sin_addr=inet_addr("0.0.0.0")}}, 16) = -1 EADDRINUSE (Address already in use)
write(2, "telnetd: ", 9telnetd: )                = 9
write(2, "bind", 4bind)                     = 4
write(2, ": ", 2: )                       = 2
write(2, "Address already in use\n", 23Address already in use
) = 23
_exit(1)                                = ?

The IPv6 bind works, but the IPv4 doesn't. 

Just enabling IPv6 on the computer seems to break a lot Heimdal IPv4
stuff that use to work, but this is the only problem that I have
isolated.

telnet IPv4 --> IPv6, using IPv4, I get errors:

[ Trying mutual KERBEROS5 (host/dewey.chocbit.org.au@CHOCBIT.ORG.AU)... ]
[ Kerberos V5 refuses authentication because krb5_sock_to_principal failed ]
[ Trying KERBEROS5 (host/dewey.chocbit.org.au@CHOCBIT.ORG.AU)... ]
[ Kerberos V5 refuses authentication because krb5_sock_to_principal failed ]

telnet IPv6 --> IPv6, using IPv4, I get errors:

[ Trying mutual KERBEROS5 ... ]
Kerberos V5: mk_req failed (Cannot determine realm for host)
[ Trying KERBEROS5 ... ]
Kerberos V5: mk_req failed (Cannot determine realm for host)

telnet IPv6 --> IPv4, using IPv4 works. Amazing ;-)


As for testing IPv6, I don't think any of my daemons support that yet
(including inetd), so that will have to wait.
-- 
Brian May <bam@snoopy.apana.org.au>