Displaying 3 results from an estimated 3 matches for "set_remote_ipaddr".
Did you mean:
  get_remote_ipaddr
  
2014 Jul 16
1
ssh - Connection closed by UNKNOWN
...other call of this function
yet so canonical_host_ip from canohost.c is still NULL and the function
returns "UNKNOWN". I think that it could be workarounded by calling get_remote_ipaddr() right
after packet_set_connection(), e.g. using another debug message, see bellow, or
there could be set_remote_ipaddr() in canonhost.c for that.
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -62,6 +62,7 @@
 #include "monitor_fdpass.h"
 #include "ssh2.h"
 #include "version.h"
+#include "canohost.h"
 
 char *client_version_string = NULL;
 char *server_version_string = NULL;
@@ -17...
2014 Jul 18
2
[Bug 2256] New: ssh - Connection closed by UNKNOWN
...ux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: plautrba at redhat.com
Created attachment 2456
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2456&action=edit
add set_remote_ipaddr()
ssh clients shows "closed by UNKNOWN" message when a socket is closed
by a
remote side while ssh is waiting for user's password:
$ ssh user at localhost
user at localhost's password:
Connection closed by UNKNOWN
When the packet_read_seqnr() calls get_remote_ipaddr(), a connec...
2014 Jul 18
6
[Bug 2257] New: ssh - Connection closed by UNKNOWN
...not been any other call of this
function
yet so canonical_host_ip from canohost.c is still NULL and the function
returns "UNKNOWN". I think that it could be workarounded by calling
get_remote_ipaddr() right
after packet_set_connection(), e.g. using another debug message, or
there could be set_remote_ipaddr() in canonhost.c for that.
-- 
You are receiving this mail because:
You are watching the assignee of the bug.