port forwarding trouble

Darren Tucker dtucker at zip.com.au
Thu Aug 11 00:35:10 EST 2005


Darren Tucker wrote:
> 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).

It occurrs to me that since it doesn't actually need *parse* the
host:port identifiers then factoring out that code is a waste of time,
so this diff is much simpler :-)

(I can't connect to bugzilla right now but I will attach it to bug #910
when I can.)

Testing still appreciated.

-- 
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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: openssh-bug910.patch
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20050811/11f1e401/attachment.ksh 


More information about the openssh-unix-dev mailing list