Package: putty
Version: 0.60+2010-02-20-1
Severity: important
Tags: squeeze

I'm using putty for the forwarding of local ports. If I disable IPv6 support on
a computer, for example by issuing  echo "1" >
/proc/sys/net/ipv6/conf/all/disable_ipv6   or including
net.ipv6.conf.all.disable_ipv6=1  in /etc/sysctl.conf, thus turning of IPv6
support, then start putty and connect to a remote host, putty does not forward
connections on configured ports. If I enable IPv6 and use IPv4 mode in putty,
it will listen on both IPv6 and IPv4 ports and forward connections on both. If
the first case mentioned (IPv6 disabled on the machine), doing an strace on
putty reveals the following:  socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = 5
bind(5, {sa_family=AF_INET6, sin6_port=htons(6667), inet_pton(AF_INET6, "::1",
&sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 EADDRNOTAVAIL (Cannot
assign requested address) close(5)                                = 0
socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = 5 bind(5, {sa_family=AF_INET6,
sin6_port=htons(20000), inet_pton(AF_INET6, "::1", &sin6_addr),
sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 EADDRNOTAVAIL (Cannot assign
requested address) close(5)                                = 0  Obviously,
putty is trying to bind to an IPv6 address, fails and silently ignores the
configured port forward. I would expect at least a warning message! Using lsof
-i shows that putty is not actively listening on the configured ports.
Workaround: Currently none, putty is not usable for port forwards on ipv6
disabled machines.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL 
set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages putty depends on:
ii  libatk1.0-0            1.28.0-1          The ATK accessibility toolkit
ii  libc6                  2.10.2-6          Embedded GNU C Library: Shared lib
ii  libcairo2              1.8.10-3          The Cairo 2D vector graphics libra
ii  libfontconfig1         2.8.0-2           generic font configuration library
ii  libfreetype6           2.3.11-1          FreeType 2 font engine, shared lib
ii  libglib2.0-0           2.22.4-1          The GLib library of C routines
ii  libgtk2.0-0            2.18.9-2          The GTK+ graphical user interface 
ii  libpango1.0-0          1.26.2-2          Layout and rendering of internatio
ii  libx11-6               2:1.3.3-2         X11 client-side library
ii  putty-tools            0.60+2010-02-20-1 command-line tools for SSH, SCP, a

putty recommends no packages.

Versions of packages putty suggests:
pn  putty-doc                     <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to