]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Allow remote-to-local forwardings to use IPv6.
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 18 Sep 2012 21:50:47 +0000 (21:50 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 18 Sep 2012 21:50:47 +0000 (21:50 +0000)
commitbc8f2193f69eba9b0cfb597eef9c9362167c6787
treebbe29ff95d294abc82850519cab0fd96282250b6
parentd5836982e23d8a6176114e1073469950c4eaae37
Allow remote-to-local forwardings to use IPv6.

RFC 4245 section 7.1 specifies the meaning of the "address to bind"
parameter in a "tcpip-forward" request.  "0.0.0.0" and "127.0.0.1" are
specified to be all interfaces and the loopback interface respectively
in IPv4, while "" and "localhost" are the address-family-agnostic
equivalents.  Switch PuTTY to using the latter, since it doesn't seem
right to force IPv4.

There's an argument that PuTTY should provide a means of configuring the
address family used for remote forwardings like it does for local ones.

[originally from svn r9668]
ssh.c