Bug 1297

Summary: No feedback when remote forward is localhost-only due to GatewayPorts
Product: Portable OpenSSH Reporter: Ted Percival <ted>
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: minor CC: djm, dtucker
Priority: P3    
Version: 4.3p2   
Hardware: ix86   
OS: Linux   
Bug Depends on:    
Bug Blocks: 2130    
Attachments:
Description Flags
Server debug output
none
Client debug output
none
send notification in debug message dtucker: ok+

Description Ted Percival 2007-03-14 01:03:24 AEDT
Specifying a bind_address for the -R option does not seem to have any effect - the socket is always bound to 127.0.0.1 and [::1]. There is no such problem with local forwards (-L).

Using OpenSSH_4.3p2 Debian-9, OpenSSL 0.9.8e 23 Feb 2007 on both ends.
Comment 1 Ted Percival 2007-03-14 01:04:57 AEDT
Created attachment 1253 [details]
Server debug output
Comment 2 Ted Percival 2007-03-14 01:05:33 AEDT
Created attachment 1254 [details]
Client debug output
Comment 3 Ted Percival 2007-03-14 01:53:10 AEDT
That was bound to happen. Of course this behaviour is by design, I just didn't look hard enough. So now I'm requesting that there be some feedback to the client if the server quietly bumps the bind to onto localhost. (Sorry for my noise.)
Comment 4 Damien Miller 2008-06-12 18:18:50 AEST
Created attachment 1515 [details]
send notification in debug message

Unfortunately there isn't any clean way for the server to inform the client - the best we can do is a debug message (see attachment).

I'm not sure whether it is worth it...
Comment 5 Damien Miller 2013-09-19 11:25:08 AEST
patch applied; will be in openssh-6.4
Comment 6 Damien Miller 2015-08-11 23:03:47 AEST
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1