Mailing List Archive

[Bug 413] Port forwarding: [localhost:]localport:remotehost:remoteport
http://bugzilla.mindrot.org/show_bug.cgi?id=413

dtucker@zip.com.au changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #229 is|0 |1
obsolete| |



------- Additional Comments From dtucker@zip.com.au 2003-06-04 21:37 -------
Created an attachment (id=321)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=321&action=view)
Implement optional address binding for port forwards (update 3)

Updated to current tree. Have compiled it but have done no further testing.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 413] Port forwarding: [localhost:]localport:remotehost:remoteport [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=413





------- Additional Comments From djm@mindrot.org 2003-06-04 21:50 -------
> if (compat20) {
> - const char *address_to_bind = "0.0.0.0";
> + const char *address_to_bind;
> + if (listen_host == NULL)
> + address_to_bind = "127.0.0.1";

maybe this should be "localhost" as the server will do name resolution on this
and we don't want to limit ourselves to ipv4. alternately we could send two
requests, one for INADDR_LOOPBACK, the other for IN6ADDR_LOOPBACK_INIT



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.