summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Add x11 forwarding support for ssh clientVic Lee2009-07-311-0/+3
| | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Andreas Schneider <mail@cynapses.org>
* Fix build with MSVC.Andreas Schneider2009-07-302-4/+29
|
* Move channel_write_stderr to server.c.Andreas Schneider2009-07-293-1/+4
|
* Add channel_write_stderr prototype to the right header file.Andreas Schneider2009-07-292-2/+1
| | | | Signed-off-by: Andreas Schneider <mail@cynapses.org>
* Fleshed out server interfacePreston A. Elder2009-07-291-8/+27
| | | | | | | | | | | | - 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 Schneider2009-07-281-0/+34
|
* Add support to read and store sftp extensions.Andreas Schneider2009-07-281-0/+3
|
* Check for OpenSSH and implement sftp_symlink correct.Andreas Schneider2009-07-282-0/+2
| | | | | | | | 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 typo orignator_port -> originator_portmilo2009-07-271-1/+1
|
* Remove double SSH2_MSG_USERAUTH_PK_OK.Andreas Schneider2009-07-271-1/+0
|
* Public key authentication server sidemilo2009-07-273-0/+8
|
* Switch completly to stdint types.Andreas Schneider2009-07-251-52/+46
|
* Fix conflicting declarations of ssh_session and ssh_kbdint.Andreas Schneider2009-07-253-16/+16
|
* Fix return value of sftp_tell64().Andreas Schneider2009-07-251-1/+1
|
* Add a sftp_tel64() function.Andreas Schneider2009-07-251-0/+11
|
* Add ssh_clean_pubkey_hash() which is needed on Windows.Andreas Schneider2009-07-251-0/+1
|
* Add sftp_readlink function.Andreas Schneider2009-07-251-0/+11
|
* Add sftp_symlink function.Andreas Schneider2009-07-251-0/+13
|
* move all u32,u16,u8 and u64 declarations in priv.hAris Adamantiadis2009-07-244-47/+47
| | | | And fix all headers which need u32,u8,u64
* Make the SSH_SAFE_NAMESPACE flag activeAris Adamantiadis2009-07-241-1/+1
|
* Change refs from AGENT * to ssh_agentAris Adamantiadis2009-07-242-4/+3
| | | | Fixes also a typo in ssh_agent declaration
* Changes all CHANNEL * to ssh_channelAris Adamantiadis2009-07-244-43/+43
|
* Change PRIVATE_KEY * to ssh_private_keyAris Adamantiadis2009-07-242-13/+13
|
* Changed all PUBLIC_KEY * to ssh_public_keyAris Adamantiadis2009-07-242-10/+10
|
* Changed all occurences of BUFFER * to ssh_bufferAris Adamantiadis2009-07-243-47/+47
|
* Change all occurences of STRING * to ssh_stringAris Adamantiadis2009-07-243-53/+68
|
* moved try_publickey_from_file in priv.hAris Adamantiadis2009-07-242-4/+3
| | | | | | Had nothing to do in libssh.h. 100% sure nobody used it since one of the structure declaration was not public.
* replacing keys_struct with ssh_keys_structAris Adamantiadis2009-07-242-3/+3
|
* Fixed namespace problem in public structuresAris Adamantiadis2009-07-242-22/+22
| | | | | | | | | 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
* Make the ssh_userauth_kbdint functions to get the prompts const.Andreas Schneider2009-07-211-3/+3
| | | | They shouldn't be modified or free'd by a user.
* Fix sol8 + ss11 compile errors.Andreas Schneider2009-07-201-1/+11
| | | | Thanks to tysonite@gmail.com.
* Fixed copyright noticesAris Adamantiadis2009-07-132-2/+2
|
* Added return code SSH_SERVER_FILE_NOT_FOUNDAris Adamantiadis2009-07-121-0/+1
| | | | | 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 addressAris Adamantiadis2009-07-121-0/+3
| | | | | | | | 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_POLLAris Adamantiadis2009-07-041-1/+1
|
* Temporary move of ssh_poll_* back to priv.hAris Adamantiadis2009-07-042-36/+33
| | | | | We'll see later what needs to be put back in public functions
* Move doxygen tags into C filesAris Adamantiadis2009-07-041-122/+1
|
* Put back the poll declarations into priv.hAris Adamantiadis2009-07-042-7/+9
| | | | That are, poll constants.
* Add a generic way to handle sockets asynchronously.Aleksandar Kanchev2009-07-032-8/+163
| | | | | | | | | | | | | | 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>
* Verify memory return codes in ssh_list functionsAris Adamantiadis2009-06-191-1/+1
|
* added ssh_message_callback support.Aris Adamantiadis2009-06-182-3/+8
| | | | Not fully working yet. User can set his ssh_message_callback, and the function ssh_execute_message_callbacks will call them when appropriate. Messages are correctly stacked (in packet_parse) but no call to ssh_execute_callbacks exists yet.
* Created general singlelinked list implementationAris Adamantiadis2009-06-181-0/+35
|
* Begin of asynchronous SSH message parsingAris Adamantiadis2009-06-171-0/+4
|
* ssh_message_retrieve + memoryleak fixed in ssh_message_freeAris Adamantiadis2009-06-172-0/+11
| | | | | ssh_message_retrieve parses a specific SSH message and returns a pointer to it. Hacked ssh_message_get to use it. This is the first step to have asynchronous ssh messages callbacks.
* ssh_init()Aris Adamantiadis2009-06-151-0/+1
| | | | | | | fixes in client.c and server.c for this git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@778 7dcaeef0-15fb-0310-b436-a5af3365683c
* Make use of poll() and add a poll-emulation for win32.Andreas Schneider2009-06-041-0/+25
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@772 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix the vim modeline and place it at the end of the file.Andreas Schneider2009-05-126-10/+6
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@763 7dcaeef0-15fb-0310-b436-a5af3365683c
* Document the ssh server bind functions.Andreas Schneider2009-05-111-1/+74
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@756 7dcaeef0-15fb-0310-b436-a5af3365683c
* Added a ssh_bind_set_fd() function.Andreas Schneider2009-05-111-1/+12
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@754 7dcaeef0-15fb-0310-b436-a5af3365683c
* Change variable names of the keys_struct to avoid conflicts.Andreas Schneider2009-05-111-2/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@753 7dcaeef0-15fb-0310-b436-a5af3365683c