[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
callbacks and ssh_handle_key_exchange() dead lock
[Thread Prev] | [Thread Next]
- Subject: callbacks and ssh_handle_key_exchange() dead lock
- From: anne.haurrack@xxxxxxxxxxx
- Reply-to: anne.haurrack@xxxxxxxxxxx
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 15 Jul 2013 13:53:36 +0200
- To: libssh@xxxxxxxxxx
Hey,
First thanks for all the work you put in this lib, it's great!
I'm currently trying to build a server with it.
I want this server to handle ssh -D.
Here is my problem:
I'm trying with the last commit from Git but the program get stuck in ssh_handle_key_exchange() here :
while (session->session_state != SSH_SESSION_STATE_ERROR &&
session->session_state != SSH_SESSION_STATE_AUTHENTICATING &&
session->session_state != SSH_SESSION_STATE_DISCONNECTED) {
/*
* loop until SSH_SESSION_STATE_BANNER_RECEIVED or
* SSH_SESSION_STATE_ERROR
*/
ssh_handle_packets(session,-1);
ssh_log(session,SSH_LOG_PACKET, "ssh_handle_key_exchange: Actual state : %d",
session->session_state);
}
The same main (based on samplesshd-tty.c) works fine with version 0.5.4, but i'm unable to do anything with callbacks in this version. Was hoping to get lucky with ssh_event.
Thanks in advance,
Anne
Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net
| Re: callbacks and ssh_handle_key_exchange() dead lock | Aris Adamantiadis <aris@xxxxxxxxxxxx> |