Bug 1297 - No feedback when remote forward is localhost-only due to GatewayPorts
Summary: No feedback when remote forward is localhost-only due to GatewayPorts
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 4.3p2
Hardware: ix86 Linux
: P3 minor
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_6_5
  Show dependency treegraph
 
Reported: 2007-03-14 01:03 AEDT by Ted Percival
Modified: 2015-08-11 23:03 AEST (History)
2 users (show)

See Also:


Attachments
Server debug output (4.08 KB, application/x-gzip)
2007-03-14 01:04 AEDT, Ted Percival
no flags Details
Client debug output (3.59 KB, application/x-gzip)
2007-03-14 01:05 AEDT, Ted Percival
no flags Details
send notification in debug message (968 bytes, patch)
2008-06-12 18:18 AEST, Damien Miller
dtucker: ok+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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