aboutsummaryrefslogtreecommitdiff
path: root/libssh/channels1.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-06misc: Rename libssh/ to src/Andreas Schneider1-298/+0
2010-07-23Continue removing old flushing codeAris Adamantiadis1-5/+5
2010-05-14Sanitize libssh namespace + legacy wrappersAris Adamantiadis1-10/+10
2010-03-25Fixed build warnings on Windows.Andreas Schneider1-0/+3
2010-01-24Correctly handle channel failures and chan statesAris Adamantiadis1-2/+2
2010-01-24Removed last calls to packet_readAris Adamantiadis1-19/+21
2010-01-24Made parts of SSH asynchronous (inc kex1)Aris Adamantiadis1-61/+40
2010-01-06Fixed typos from a* to error.cAris Adamantiadis1-3/+3
2009-09-23Moved lots of declaration out of priv.hAris Adamantiadis1-1/+5
2009-09-23get rid of SSH_SESSIONAris Adamantiadis1-9/+9
2009-08-29Fix "void * ptr used in pointer arithmetic" warngAris Adamantiadis1-3/+3
2009-07-29Fleshed out server interfacePreston A. Elder1-0/+5
- Enables channel_request_open types of DIRECT_TCPIP, FORWARDED_TCPIP and X11 (ie. implemented the handling of those channel_request_open types). - Adds functions to retrieve the extra information relating to channel_request_open messages and channel_request messages. - Adds a channel_write_stderr method (obviously for writing to the STDERR channel from server side) - well, technically just converted the exiting channel_write to take an extra argument and created two wrapper functions. - Actually does the invoking of message_handle() from channel_recv_request. - Implemented the handling of the window-change and env channel_requests. - Implemented a few functions in server.h that were declared but not defined (eg. ssh_message_channel_request_channel). Signed-off-by: Preston A. Elder <prez@neuromancy.net> Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-07-27Fix SSH1 compilation.Andreas Schneider1-2/+2
2009-07-25Switch completly to stdint types.Andreas Schneider1-1/+1
2009-07-24Changes all CHANNEL * to ssh_channelAris Adamantiadis1-8/+8
2009-07-24You always forget SSH1 ...Aris Adamantiadis1-3/+3
2009-05-12Fix the vim modeline and place it at the end of the file.Andreas Schneider1-2/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@763 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-05-05Improve channel_write1().Andreas Schneider1-4/+2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@734 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-05-05Improve channel_request_exec1().Andreas Schneider1-5/+2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@733 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-05-05Improve channel_change_pty_size1().Andreas Schneider1-14/+6
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@732 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-05-05Improve channel_request_pty_size1().Andreas Schneider1-25/+10
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@731 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-05-05Format channel_open_session1().Andreas Schneider1-19/+26
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@730 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-14Use consistend return values for packet_wait() functions.Andreas Schneider1-1/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@462 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-08Fix build error in SSHv1 channel code.Andreas Schneider1-3/+3
Thanks to Norbert Kiesel <nkiesel@tbdnetworks.com> for the patch. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@435 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-08Fix header functions and add return value checks.Andreas Schneider1-1/+3
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@430 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-08Add return values and error checking to SSHv1 channel functions.Andreas Schneider1-130/+232
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@428 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-08Fix SSHv1 channel window problems.Andreas Schneider1-1/+3
Thanks to Norbert Kiesel <nkiesel@tbdnetworks.com> for the patch. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@425 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-03-29Normalize the license in all files and add vim tab instructions.Andreas Schneider1-20/+23
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@305 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-03-11Replace ssh_say with ssh_log.Andreas Schneider1-14/+15
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@266 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-10-29fixed a bug where channel_poll could wait forever for a packet already in ↵Aris Adamantiadis1-4/+4
socket buffer. Inc'ed libtool numbers git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@184 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-16Big changes :Aris Adamantiadis1-6/+0
refactoring of the socket class. Now the buffering happens in the socket class. enhanced the logging system. Cleaned up some debugging messages. Verified the working with ssh-1. If this cleanup introduced bugs (it did but corrected the found ones) at least, they will be easier to find also added the (c) and fixed dates for updated files git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@169 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-12fixed the netdb problem ?Aris Adamantiadis1-1/+0
i don't understand, removing the #include <netdb.h> didn't add misses for ntohl. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@148 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-07first part of win32 patchesAris Adamantiadis1-2/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@141 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-18ssh-1 experimental supportAris Adamantiadis1-0/+225
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@10 7dcaeef0-15fb-0310-b436-a5af3365683c