PuTTY bug vista-ipv6

This is a mirror. Follow this link to find the primary PuTTY web site.

Home | FAQ | Feedback | Licence | Updates | Mirrors | Keys | Links | Team
Download: Stable · Snapshot | Docs | Changes | Wishlist

summary: IPv6 support doesn't work in Windows Vista
class: bug: This is clearly an actual problem we want fixed.
difficulty: taxing: Needs external things we don't have (standards, users etc)
priority: medium: This should be fixed one day.
fixed-in: 2006-12-24 r7007 d86e01e8362019ca2845f56878e299c84e77d177 (0.59)

We've had a report that PuTTY's IPv6 support doesn't work in Windows Vista (x86 RTM version from MSDN), and it always falls back to IPv4:

As far as I can see, connections via IPv4 work exactly as they should. With IPv6, however, it would appear that regardless of the mode I specify (either Auto or IPv6 on the Connection section of the configuration, that PuTTY always connects to the relevant IPv4 socket at the remote end, and never the IPv6 socket. This is also repeatable using the command line: i.e. putty -6 -ssh my.host.name also connects via IPv4.

It is also not possible, using Vista, to connect to an IPv6 address literal either via the PuTTY user interface itself or the command line. In my case I was trying to connect to my server 2001:8b0:127::2 but this was refused with the error message 'Unable to open connection to server 2001:8b0:127::2 gethostbyname: unknown error'

(I understand that Microsoft have changed the Winsock interface in Vista so this may have some bearing on the problem.)

SGT, 2006-12-24: Jeroen Massar, the original author of PuTTY's IPv6 code, has supplied a patch which fixes this. Users experiencing this bug might like to download a post-r7007 snapshot and make sure the problem has gone away.


If you want to comment on this web site, see the Feedback page.
Audit trail for this bug.
(last revision of this bug record was at 2016-12-27 11:40:21 +0000)