bugzilla-daemon at mindrot.org
2005-Mar-15 11:31 UTC
[Bug 1000] LocalForward, RemoteForward directives failed with bind_address
http://bugzilla.mindrot.org/show_bug.cgi?id=1000 Summary: LocalForward,RemoteForward directives failed with bind_address Product: Portable OpenSSH Version: 4.0p1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: openssh-bugs at mindrot.org ReportedBy: tryponraj at gmail.com It seams there is a problem in "LocalForward,RemoteForward directives with bind_address". ssh expects the argument and source details as follows. -o "LocalForward port [bind_address:]host:hostport ". But in the coding bindaddress and port are interchanged in the assignment the file readconf.c 1111 fwd->listen_host = xstrdup(cleanhostname(fwdarg[0])); 1112 fwd->listen_port = a2port(fwdarg[1]); Sample run : ssh -N -vvv -o "LocalForward 2000 172.16.1.182:172.16.1.165:22" localhost Where fwdarg[0]= 2000 fwdarg[1]= 172.16.1.182 fwdarg[2]= 172.16.1.165 fwdarg[3]= 22. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Mar-15 11:34 UTC
[Bug 1000] LocalForward, RemoteForward directives failed with bind_address
http://bugzilla.mindrot.org/show_bug.cgi?id=1000 ------- Additional Comments From tryponraj at gmail.com 2005-03-15 22:34 ------- Created an attachment (id=855) --> (http://bugzilla.mindrot.org/attachment.cgi?id=855&action=view) Patch for LocalForward,RemoteForward directives with bind_address option Attched patch fixes above problem. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Mar-15 11:38 UTC
[Bug 1000] LocalForward, RemoteForward directives failed with bind_address
http://bugzilla.mindrot.org/show_bug.cgi?id=1000 senthilkumar_sen at hotpop.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |senthilkumar_sen at hotpop.com ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Mar-15 11:42 UTC
[Bug 1000] LocalForward, RemoteForward directives failed with bind_address
http://bugzilla.mindrot.org/show_bug.cgi?id=1000 ------- Additional Comments From dtucker at zip.com.au 2005-03-15 22:42 ------- (In reply to comment #0)> Sample run : > ssh -N -vvv -o "LocalForward 2000 172.16.1.182:172.16.1.165:22" localhostThe bind address is optional before the port, same as -L/-R. That should be: LocalForward 172.16.1.182:2000 172.16.1.165:22 I see that ssh_config(5) says that the first argument must be a port, though, so it ought to be fixed. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Mar-15 11:44 UTC
[Bug 1000] LocalForward, RemoteForward directives failed with bind_address
http://bugzilla.mindrot.org/show_bug.cgi?id=1000 ------- Additional Comments From markus at openbsd.org 2005-03-15 22:44 ------- yes, the manpage is wrong. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.