Displaying 2 results from an estimated 2 matches for "ssh_msg_request_success".
Did you mean:
ssh2_msg_request_success
2006 Apr 19
1
tcpip-forward with port 0 and 'want reply'
...ward" request message:
Section 7.1
...
If a client passes 0 as port number to bind and has 'want reply' as
TRUE, then the server allocates the next available unprivileged port
number and replies with the following message; otherwise, there is
no response-specific data.
byte SSH_MSG_REQUEST_SUCCESS
uint32 port that was bound on the server
However, it doesn't seem like OpenSSH supports this. If you request a port
of zero, the code never 1) returns or 2) listens for the allocated port,
even though 'want reply' is _always_ TRUE.
So I'm left wondering, what happens if you reque...
2015 Nov 27
2
[Bug 2509] New: Unexpected change in tcpip-forward reply message in OpenSSH 6.8
...According to the OpenSSH spec:
If a client passes 0 as port number to bind and has 'want reply' as
TRUE, then the server allocates the next available unprivileged port
number and replies with the following message; otherwise, there is
no
response-specific data.
byte SSH_MSG_REQUEST_SUCCESS
uint32 port that was bound on the server
OpenSSH 6.7 honors this, with there being no response-specific data in
the case where a non-zero port number is requested. The associated code
for this in server_input_global_request() in server loop.c is:
if (want_reply) {...