[Bug 1012] Trouble creating remote port forwarding to ssh.com 2.4.0 server.

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Apr 19 02:29:12 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=1012





------- Additional Comments From daveroth at acm.org  2005-04-19 02:29 -------
(In reply to comment #2)
> (From update of attachment 870 [edit])
> >diff -Naur openssh-4.0p1-1/channels.c openssh-4.0p1-2/channels.c
> >--- openssh-4.0p1-1/channels.c	2005-03-01 02:24:33.000000000 -0800
> >+++ openssh-4.0p1-2/channels.c	2005-04-04 17:27:44.230250000 -0700
> >@@ -2370,9 +2370,15 @@
> > 	if (compat20) {
> > 		const char *address_to_bind;
> > 		if (listen_host == NULL)
> >-			address_to_bind = "localhost";
> >+			if (datafellows & SSH_BUG_NUMERICRFWDADDR)
> >+				address_to_bind = "0.0.0.0";
> 
> I think that should be "127.0.0.1", not "0.0.0.0". Or did you have a 
> specific reason for changing this?

I did have 127.0.0.1 at first, but I changed it for two reasons. One was that I
think 0.0.0.0 was the old pre-4.0 behavior. The second was that I think
127.0.0.1 will only work for IPv4. I'm no expert here, and I'm not even sure
ssh.com 2.4 works with IPv6.

I have no problem with changing this to 127.0.0.1 if the above reasons make no
sense. 



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




More information about the openssh-bugs mailing list