port forwarding trouble
Darren Tucker
dtucker at zip.com.au
Tue Aug 9 23:19:10 EST 2005
On Thu, Aug 04, 2005 at 03:35:49PM +0200, Sergio Gelato wrote:
> I'm not sure about URLs, but various tools simply require square
> brackets around the IPv6 address, as in
> [0:1:2:3:4:5:6:7]:port
> For example, this (minus the port number) is what you are supposed to
> do in /etc/hosts.allow. Implementations differ as to whether one needs
> [fe80::]/10 or [fe80::/10] for network prefixes, but I think the former
> is winning.
Alright, I've made an attempt to implement this and attached it to
the bug. Please let us know how reviewing and testing the patch goes.
Better wording for the man page would also be appreciated.
http://bugzilla.mindrot.org/show_bug.cgi?id=910
Brief overview from patch description:
Implement port spec as per sshd(8) ListenAddress
The following are valid hostname entries:
localhost
127.0.0.1
::1
localhost:222
127.0.0.1:222
[::1]:222
The first 3 should remain backward compatible with older versions and
are still written if possible. The syntax is compatible with the sshd(8)
ListenAddress option (uses the same parser).
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list