[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is there way to accept connections from reverse tunnel asynchronously?


Hello

A pity server callback for ssh_channel_open_request_session_callback
<http://api.libssh.org/master/group__libssh__callbacks.html#gac63a4cc91d8c2a1465770ca5f6c0a436>
has
filter that blocks "forwarded-tcpip" type of requests and I can't use it.

When I try to use select with session fd and :

if(FD_ISSET(fd,&fds)){

 channel = ssh_channel_accept_forward(...);

}

It tries to accept on every incoming message and spam logs.

So is there any correct and clear way to accept connections from reverse tunnel?

Thanks in advance

Anton Ornatskyi

Archive administrator: postmaster@lists.cynapses.org