[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: callbacks and ssh_handle_key_exchange() dead lock
[Thread Prev] | [Thread Next]
- Subject: Re: callbacks and ssh_handle_key_exchange() dead lock
- From: Aris Adamantiadis <aris@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 15 Jul 2013 14:14:40 +0200
- To: anne.haurrack@xxxxxxxxxxx
- Cc: libssh@xxxxxxxxxx
Hi,
If I understand well you can reproduce the problem with samplesshd-tty.c ?
If not a minimalistic sample would be welcome.
Thanks,
Aris
Le 15/07/13 13:53, anne.haurrack@xxxxxxxxxxx a écrit :
> 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 | anne.haurrack@xxxxxxxxxxx |
| callbacks and ssh_handle_key_exchange() dead lock | anne.haurrack@xxxxxxxxxxx |