Package: putty-tools
Version: 0.58-5
Severity: important
Tags: upstream
Hello,
plink -L does not work for me, because it listens only to the v6 socket on the
localhost interface. I.e. the v4 socket is not bound, regular v4 programs
cannot use it.
I strace'd it, and it only does once:
2755 bind(7, {sa_family=AF_INET6, sin6_port=htons(1742), inet_pton(AF_INET6,
"::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
2755 listen(7, 128) = 0
A quick walk through the code suggests the idea (not sure yet) that it tries to
emulate openssh's behaviour (listening to localhost interface only instead of
any interface). There are two possible explanations:
a) It gets a list of socket descriptors for "localhost" via getaddrinfo but
picks up only the first one in its list.
b) It adds IPv6_ONLY hint to the hints of getaddrinfo (when compiled with ipv6,
there is a lot of conditional code around that which is bad style, IMHO), thus
it only returns the IPv6 specific description. Either way, it should be fixed
ASAP.
Regards,
Eduard.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages putty-tools depends on:
ii libc6 2.3.6.ds1-13etch5 GNU C Library: Shared libraries
putty-tools recommends no packages.
-- no debconf information
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]