Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Created Issue: Inconsistent dealing with empty hostname and zero 0 in ForwardedPort* [2566]

$
0
0
We currently do not deal with a zero-length hostname and / or zero port in a consistent way in our ForwardedPort implementations.

ForwardedPortLocal:
* we do not bind to all local IP addresses when BoundHost is zero-length string.
* we update BoundPort with the actual port that has been assigned after starting the forwarded port.
* we do not update BoundHost

ForwardedPortDynamic:
* we do bind to all local IP addresses when BoundHost is zero-length string.
* we do not update BoundPort with the actual port that has been assigned after starting the forwarded port.
* we do not update BoundHost

By updating BoundPort (and not retaining the original value), we'll use the assigned port number as is if we'd stop and restart the forwarded port.

We should perhaps introduce a LocalEndpoint property which reflects the assigned value when the forwarded port is started, and which returns the original IPEndPoint when the port is stopped.

Still need to check ForwardedPortRemote.

Viewing all articles
Browse latest Browse all 1026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>