Displaying 7 results from an estimated 7 matches for "packet_set_nonblocking".
2003 Jun 04
1
[Bug 556] TCP_NODELAY not set completely for port forwarding
...----------------------------
Status|REOPENED |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From djm at mindrot.org 2003-06-04 19:54 -------
This is incorrect. We already set nonblock on the main socket, grep for
packet_set_nonblocking a little further down the same function.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2015 May 23
5
Name based SSH proxy
...4-01-10 00:58:53.000000000 +0100
+++ openssh-6.6p1/roaming_client.c 2015-05-23 12:58:12.193450191 +0200
@@ -147,7 +147,7 @@ roaming_resume(void)
resume_in_progress = 1;
/* Exchange banners */
- ssh_exchange_identification(timeout_ms);
+ ssh_exchange_identification(timeout_ms, "");
packet_set_nonblocking();
/* Send a kexinit message with resume at appgate.com as only kex algo */
diff -up openssh-6.6p1/sshconnect.c.original openssh-6.6p1/sshconnect.c
--- openssh-6.6p1/sshconnect.c.original 2015-05-23 11:56:55.235217137 +0200
+++ openssh-6.6p1/sshconnect.c 2015-05-23 13:43:41.426983727 +0200
@@ -...
2008 Sep 15
0
No subject
...r packet_set_connection
?before select
?after get_remote_portremote_port=57218
?after get_remote_ipaddr=192.168.131.254
Connection from 192.168.131.254 port 57218
?before signal
?before sshd_exchange_identificationsock_in=6, sock_out=6
?after sshd_exchange_identificationsock_in=6, sock_out=6
?after packet_set_nonblocking
in buffer_init
?after buffer_init
?before use_privsep=0',use_privsep
before privsep_preauth
in authctxt_new
in buffer_init
?authenticate user and start session
?in do_ssh2_kex
?compat_cipher_proposal
?compat_cipher_proposal
?in list_hostkey_types
in buffer_init
in buffer_len
?in key_ssh_name
?i...
2008 Sep 18
2
SSHD_PROBLEM
...r packet_set_connection
before select
after get_remote_portremote_port=57218
after get_remote_ipaddr=192.168.131.254
Connection from 192.168.131.254 port 57218
before signal
before sshd_exchange_identificationsock_in=6, sock_out=6
after sshd_exchange_identificationsock_in=6, sock_out=6
after packet_set_nonblocking
in buffer_init
after buffer_init
before use_privsep=0',use_privsep
before privsep_preauth
in authctxt_new
in buffer_init
authenticate user and start session
in do_ssh2_kex
compat_cipher_proposal
compat_cipher_proposal
in list_hostkey_types
in buffer_init
in buffer_len
in key_ssh_name
i...
2003 Jul 05
0
[PATCH] Replace AIX loginmsg with generic Buffer loginmsg
...1,9 @@
int use_privsep;
struct monitor *pmonitor;
+/* message to be displayed after login */
+Buffer loginmsg;
+
/* Prototypes for various functions defined later in this file. */
void destroy_sensitive_data(void);
void demote_sensitive_data(void);
@@ -1500,6 +1503,9 @@
#endif /* AFS */
packet_set_nonblocking();
+
+ /* prepare buffers to collect authentication messages */
+ buffer_init(&loginmsg);
if (use_privsep)
if ((authctxt = privsep_preauth()) != NULL)
Index: openbsd-compat/port-aix.c
===================================================================
RCS file: /usr/local/src/secu...
2018 Dec 10
2
[PATCH] cleanup of global variables server/client_version_string in sshconnect.c
...ighost,
lowercase(host);
/* Exchange protocol version identification strings with the server. */
- ssh_exchange_identification(timeout_ms);
+ ssh_exchange_identification(timeout_ms, &client_version_string, &server_version_string);
/* Put the connection into non-blocking mode. */
packet_set_nonblocking();
@@ -1423,9 +1423,12 @@ ssh_login(Sensitive *sensitive, const char *orighost,
/* key exchange */
/* authenticate user */
debug("Authenticating to %s:%d as '%s'", host, port, server_user);
- ssh_kex2(host, hostaddr, port);
+ ssh_kex2(host, hostaddr, port, client_version_str...
2007 Mar 14
1
sshd gets stuck: select() in packet_read_seqnr waits indefinitely
Dear OpenSSH Portable sshd developers,
I'm having a problem where sshd login sessions are occasionally
(as often as once a day) getting stuck indefinitely. I enabled debug
messages and got a backtrace of a stuck sshd, and I think I've found
the bug. I wanted to run it by the list once before filing.
sshd version:
OpenSSH_4.2p1 FreeBSD-20050903, OpenSSL 0.9.7e-p1 25 Oct 2004