Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fleshed out server interface | Preston A. Elder | 2009-07-29 | 3 | -17/+246 | |
| | | | | | | | | | | | | - 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> | |||||
* | Add functions to get the extension count, name and data. | Andreas Schneider | 2009-07-28 | 1 | -0/+32 | |
| | ||||||
* | Add support to read and store sftp extensions. | Andreas Schneider | 2009-07-28 | 1 | -21/+117 | |
| | ||||||
* | Check for OpenSSH and implement sftp_symlink correct. | Andreas Schneider | 2009-07-28 | 2 | -5/+59 | |
| | | | | | | | | When OpenSSH's sftp-server was implemented, the order of the arguments to the SSH_FXP_SYMLINK method was inadvertently reversed. Unfortunately, the reversal was not noticed until the server was widely deployed. Since fixing this to follow the specification would cause incompatibility, the current order was retained. | |||||
* | Fix SSH1 compilation. | Andreas Schneider | 2009-07-27 | 6 | -26/+30 | |
| | ||||||
* | Fix stdint type. | Andreas Schneider | 2009-07-27 | 1 | -1/+1 | |
| | ||||||
* | Fix SSH1 and stdint in SSH1 code. | Andreas Schneider | 2009-07-27 | 1 | -11/+11 | |
| | ||||||
* | Fix potential memory corruption bug | milo | 2009-07-27 | 1 | -0/+5 | |
| | ||||||
* | Fix compile errors in keyfiles. | Andreas Schneider | 2009-07-27 | 1 | -8/+8 | |
| | ||||||
* | Public key authentication server side | milo | 2009-07-27 | 3 | -5/+157 | |
| | ||||||
* | Add ssh_file_readaccess_ok to check read access on a file. | Andreas Schneider | 2009-07-27 | 1 | -0/+9 | |
| | ||||||
* | Add a function to close the socket. | Andreas Schneider | 2009-07-27 | 1 | -5/+15 | |
| | | | | This fixes ssh_connect on Windows. | |||||
* | Fix a typo. | Andreas Schneider | 2009-07-27 | 1 | -1/+2 | |
| | ||||||
* | Switch completly to stdint types. | Andreas Schneider | 2009-07-25 | 15 | -189/+189 | |
| | ||||||
* | Fix conflicting declarations of ssh_session and ssh_kbdint. | Andreas Schneider | 2009-07-25 | 7 | -17/+17 | |
| | ||||||
* | Fix return value of sftp_tell64(). | Andreas Schneider | 2009-07-25 | 1 | -1/+1 | |
| | ||||||
* | Update map file for ssh_clean_pubkey_hash; | Andreas Schneider | 2009-07-25 | 1 | -1/+1 | |
| | ||||||
* | Add a sftp_tel64() function. | Andreas Schneider | 2009-07-25 | 2 | -1/+6 | |
| | ||||||
* | Add ssh_clean_pubkey_hash() which is needed on Windows. | Andreas Schneider | 2009-07-25 | 1 | -0/+16 | |
| | ||||||
* | Update map file. | Andreas Schneider | 2009-07-25 | 1 | -0/+1 | |
| | ||||||
* | Add sftp_readlink function. | Andreas Schneider | 2009-07-25 | 1 | -0/+74 | |
| | ||||||
* | Add sftp_symlink function. | Andreas Schneider | 2009-07-25 | 1 | -0/+83 | |
| | ||||||
* | Missed something in channel_select for CHANNEL | Aris Adamantiadis | 2009-07-24 | 1 | -1/+1 | |
| | ||||||
* | Change refs from AGENT * to ssh_agent | Aris Adamantiadis | 2009-07-24 | 1 | -4/+4 | |
| | | | | Fixes also a typo in ssh_agent declaration | |||||
* | Changes all CHANNEL * to ssh_channel | Aris Adamantiadis | 2009-07-24 | 5 | -69/+69 | |
| | ||||||
* | Change PRIVATE_KEY * to ssh_private_key | Aris Adamantiadis | 2009-07-24 | 5 | -17/+17 | |
| | ||||||
* | Changed all PUBLIC_KEY * to ssh_public_key | Aris Adamantiadis | 2009-07-24 | 6 | -24/+24 | |
| | ||||||
* | Changed all occurences of BUFFER * to ssh_buffer | Aris Adamantiadis | 2009-07-24 | 12 | -84/+84 | |
| | ||||||
* | You always forget SSH1 ... | Aris Adamantiadis | 2009-07-24 | 2 | -17/+17 | |
| | ||||||
* | Change all occurences of STRING * to ssh_string | Aris Adamantiadis | 2009-07-24 | 13 | -200/+200 | |
| | ||||||
* | replacing keys_struct with ssh_keys_struct | Aris Adamantiadis | 2009-07-24 | 2 | -2/+2 | |
| | ||||||
* | Fixed namespace problem in public structures | Aris Adamantiadis | 2009-07-24 | 6 | -60/+60 | |
| | | | | | | | | | changed struct string_struct to ssh_string_struct buffer_struct to ssh_buffer_struct and so on. Should not break apps using the caps version of these | |||||
* | Fix a possible segfault in sftp_canonicalize_path(). | Andreas Schneider | 2009-07-23 | 1 | -0/+4 | |
| | ||||||
* | Fix getaddrinfo and gethostbyname build problems on Solaris. | Andreas Schneider | 2009-07-23 | 1 | -0/+14 | |
| | ||||||
* | Fix a segfault if a NULL pointer is passed to ssh_disconnect(). | Andreas Schneider | 2009-07-22 | 1 | -3/+2 | |
| | ||||||
* | Don't segfault if the session or the answer is NULL. | Andreas Schneider | 2009-07-22 | 1 | -1/+1 | |
| | ||||||
* | Fix ssh_write_knownhost() which always returned -1. | Andreas Schneider | 2009-07-21 | 1 | -1/+1 | |
| | | | | | fwrite() return the the number of items written not the size of the buffer. | |||||
* | Make the ssh_userauth_kbdint functions to get the prompts const. | Andreas Schneider | 2009-07-21 | 1 | -3/+3 | |
| | | | | They shouldn't be modified or free'd by a user. | |||||
* | Fix doxygen to match SSH_SERVER_FILE_NOT_FOUND fix | Aris Adamantiadis | 2009-07-14 | 1 | -1/+4 | |
| | ||||||
* | Fix build on windows, missing include. | Andreas Schneider | 2009-07-13 | 1 | -0/+2 | |
| | ||||||
* | Put #ifdef around AI_NUMERICSERV which doesn't seem std | Aris Adamantiadis | 2009-07-13 | 1 | -0/+2 | |
| | ||||||
* | Enable conditional compiling for IP regex code. | Aris Adamantiadis | 2009-07-13 | 1 | -2/+13 | |
| | ||||||
* | forgot init.c in copyright updates | Aris Adamantiadis | 2009-07-13 | 1 | -1/+1 | |
| | ||||||
* | Fixed copyright notices | Aris Adamantiadis | 2009-07-13 | 4 | -4/+5 | |
| | ||||||
* | Added return code SSH_SERVER_FILE_NOT_FOUND | Aris Adamantiadis | 2009-07-12 | 1 | -2/+2 | |
| | | | | | This error is returned by ssh_is_server_known when known_hosts file does not exist and gives more action to the developer. | |||||
* | Set correct hint when connecting to an IP address | Aris Adamantiadis | 2009-07-12 | 2 | -4/+55 | |
| | | | | | | | | libssh now uses a regular expression against destination hostnames to match numerical IP addresses and set the appropriate hint. Patches also add init and finalize code to compile the regexp | |||||
* | fix int -> socket_t in SSH_POLL | Aris Adamantiadis | 2009-07-04 | 1 | -1/+1 | |
| | ||||||
* | Move doxygen tags into C files | Aris Adamantiadis | 2009-07-04 | 1 | -1/+114 | |
| | ||||||
* | Add a generic way to handle sockets asynchronously. | Aleksandar Kanchev | 2009-07-03 | 1 | -0/+226 | |
| | | | | | | | | | | | | | | It's based on poll objects, each of which store a socket, it's events and a callback, which gets called whenever an event is set. The poll objects are attached to a poll context, which should be allocated on per thread basis. Polling the poll context will poll all the attached poll objects and call their callbacks (handlers) if any of the socket events are set. This should be done within the main loop of an application. This is intended as a ground work for making libssh asynchronous. Signed-off-by: Aleksandar Kanchev <aleksandar.kanchev@googlemail.com> | |||||
* | Add logging of the sftp flags used to open a file | Aris Adamantiadis | 2009-06-30 | 1 | -1/+1 | |
| | | | | Should be used to debug weird behaviour when using libssh on windows with different compiler chains. |