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

Re: Access to ssh_message->channel_request.command

Ok, I've only checked the 0.3.3 source archive. If it has been added
since, perfect.  ;-)

I've currently to stay with 0.2 for a number of reasons, that's why I
used the latest svn; to get the accept bug fixed and others.


Am Mo, 24.08.2009, 09:11, schrieb Aris Adamantiadis:
> 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

Access to ssh_message->channel_request.commandPeter Pramberger <peter@xxxxxxxxxxxxx>
Re: Access to ssh_message->channel_request.commandAris Adamantiadis <aris@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org