[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Access to ssh_message->channel_request.command
[Thread Prev] | [Thread Next]
- Subject: Re: Access to ssh_message->channel_request.command
- From: Aris Adamantiadis <aris@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 24 Aug 2009 09:11:29 +0200
- To: libssh@xxxxxxxxxx
- Cc: peter@xxxxxxxxxxxxx
Peter, Thank you for your patch. However, a little road was made since 0.2 and this function (ssh_message_channel_request_command) is already in the git. The fact you mention svn let me think you tried to update to the latest svn which is not maintained anymore. Have a look at http://www.libssh.org/get-it/ for ways of getting recent releases. If using the last git is not possible (not stable enough), I suggest going with libssh 0.3.3 which is rock solid as far as we know. Feel free to report us your remarks and comments. Best regards, Aris Peter Pramberger a écrit : > Hi all, > > in order to get SSH support in Nepenthes (a honeypot, which uses libssh for > the server-side implementation) working, I'd to update to the latest 0.2.1-svn > version. Unfortunately Nepenthes now does not longer compile, because it tries > to access ssh_message->channel_request.command directly, and all struct > definitions have been moved to priv.h. > > Short version: libssh does not provide a direct way to access > ssh_message->channel_request.command, which get set for > SSH_CHANNEL_REQUEST_EXEC requests and contains the requested command to execute. > > The attached patch adds ssh_message_channel_request_command(). While valid for > 0.2.1, it should also apply to 0.3 with small modifications. > > PS: Please keep me CC on replies, I'm not subscribed to the list. > > > Br, > Peter > > >
Re: Access to ssh_message->channel_request.command | "Peter Pramberger" <peter@xxxxxxxxxxxxx> |
Access to ssh_message->channel_request.command | Peter Pramberger <peter@xxxxxxxxxxxxx> |