Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Add compile flags and test for compiler options only if we use gcc. | Andreas Schneider | 2009-07-21 | 1 | -42/+41 | |
| | | ||||||
| * | Only add additional warnings if we have a GNU compiler. | Andreas Schneider | 2009-07-21 | 1 | -1/+3 | |
| | | ||||||
* | | Fix ssh_write_knownhost() which always returned -1. | Andreas Schneider | 2009-07-21 | 2 | -4/+6 | |
|/ | | | | | 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 | 3 | -7/+8 | |
| | | | | They shouldn't be modified or free'd by a user. | |||||
* | Fix sol8 + ss11 compile errors. | Andreas Schneider | 2009-07-20 | 2 | -2/+14 | |
| | | | | Thanks to tysonite@gmail.com. | |||||
* | Add missing changelog entries. | Andreas Schneider | 2009-07-14 | 1 | -0/+14 | |
| | ||||||
* | 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 | 3 | -2/+17 | |
| | ||||||
* | forgot init.c in copyright updates | Aris Adamantiadis | 2009-07-13 | 1 | -1/+1 | |
| | ||||||
* | Fixed copyright notices | Aris Adamantiadis | 2009-07-13 | 7 | -7/+8 | |
| | ||||||
* | typo in sample.c | Aris Adamantiadis | 2009-07-13 | 1 | -1/+1 | |
| | ||||||
* | Reflect the SSH_SERVER_NOT_KNOWN add-on in sample | Aris Adamantiadis | 2009-07-12 | 1 | -0/+4 | |
| | ||||||
* | Added return code SSH_SERVER_FILE_NOT_FOUND | Aris Adamantiadis | 2009-07-12 | 2 | -2/+3 | |
| | | | | | 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 | 3 | -4/+58 | |
| | | | | | | | | 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 | 2 | -2/+2 | |
| | ||||||
* | Temporary move of ssh_poll_* back to priv.h | Aris Adamantiadis | 2009-07-04 | 2 | -36/+33 | |
| | | | | | We'll see later what needs to be put back in public functions | |||||
* | Move doxygen tags into C files | Aris Adamantiadis | 2009-07-04 | 2 | -123/+115 | |
| | ||||||
* | Put back the poll declarations into priv.h | Aris Adamantiadis | 2009-07-04 | 2 | -7/+9 | |
| | | | | That are, poll constants. | |||||
* | Add a generic way to handle sockets asynchronously. | Aleksandar Kanchev | 2009-07-03 | 3 | -8/+389 | |
| | | | | | | | | | | | | | | 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. | |||||
* | Fixed Could not write as much data as expected msg | Aris Adamantiadis | 2009-06-30 | 1 | -1/+1 | |
| | | | | Bug caused by verifying the size of the buffer in the wrong place | |||||
* | Fixed make condition in build_make.sh. | Aleksandar Kanchev | 2009-06-25 | 1 | -1/+1 | |
| | | | | | Signed-off-by: Aleksandar Kanchev <aleksandar.kanchev@googlemail.com> Signed-off-by: Andreas Schneider <mail@cynapses.org> | |||||
* | Fixed memory leak in ssh_is_server_known() | Aris Adamantiadis | 2009-06-22 | 1 | -0/+2 | |
| | ||||||
* | Fixed yet another read-after-free bug | Aris Adamantiadis | 2009-06-21 | 1 | -2/+3 | |
| | | | | read of a buffer len after free in sftp_write() | |||||
* | Fixed a use-after-free in match_hashed_host() | Aris Adamantiadis | 2009-06-21 | 1 | -1/+1 | |
| | ||||||
* | fix stupid "use unallocated memory" code in sample | Aris Adamantiadis | 2009-06-21 | 1 | -1/+1 | |
| | | | | it confused valgrind and wasted 2 precious hours of my life | |||||
* | Added a macro to test buffer_struct integrity | Aris Adamantiadis | 2009-06-21 | 1 | -9/+50 | |
| | | | | Nothing yet in cmake and config.h.in for this | |||||
* | Modified the sftp test case so it creates 0700 fil | Aris Adamantiadis | 2009-06-21 | 1 | -1/+1 | |
| | ||||||
* | Fix doublefree bug found by Cyril | Aris Adamantiadis | 2009-06-21 | 1 | -10/+20 | |
| | ||||||
* | Remove unneeded printf. | Andreas Schneider | 2009-06-19 | 1 | -1/+0 | |
| | ||||||
* | Add a git ignore file. | Andreas Schneider | 2009-06-19 | 1 | -0/+6 | |
| | ||||||
* | Verify memory return codes in ssh_list functions | Aris Adamantiadis | 2009-06-19 | 2 | -3/+8 | |
| | ||||||
* | added ssh_message_callback support. | Aris Adamantiadis | 2009-06-18 | 5 | -14/+63 | |
| | | | | 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 implementation | Aris Adamantiadis | 2009-06-18 | 2 | -0/+115 | |
| | ||||||
* | Begin of asynchronous SSH message parsing | Aris Adamantiadis | 2009-06-17 | 4 | -1/+25 | |
| | ||||||
* | Fixed potential format string attacks | Aris Adamantiadis | 2009-06-17 | 1 | -4/+4 | |
| | | | | Potential format string attacks on error reporting in channels.c | |||||
* | ssh_message_retrieve + memoryleak fixed in ssh_message_free | Aris Adamantiadis | 2009-06-17 | 3 | -55/+86 | |
| | | | | | 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. | |||||
* | Url change in README | Aris Adamantiadis | 2009-06-16 | 1 | -1/+1 | |
| | ||||||
* | ssh_init() | Aris Adamantiadis | 2009-06-15 | 4 | -12/+21 | |
| | | | | | | | 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 | |||||
* | Simply leave the function, this should prevent a segfault. | Andreas Schneider | 2009-06-10 | 1 | -1/+2 | |
| | | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@777 7dcaeef0-15fb-0310-b436-a5af3365683c | |||||
* | Fix a infinite loop on error. | Andreas Schneider | 2009-06-10 | 1 | -1/+3 | |
| | | | | | | | Thanks to Milo for the pointer. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@776 7dcaeef0-15fb-0310-b436-a5af3365683c | |||||
* | Fix a possible crash bug. | Andreas Schneider | 2009-06-09 | 1 | -4/+4 | |
| | | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@775 7dcaeef0-15fb-0310-b436-a5af3365683c | |||||
* | Fix build warnings. | Andreas Schneider | 2009-06-09 | 15 | -2/+65 | |
| | | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@774 7dcaeef0-15fb-0310-b436-a5af3365683c | |||||
* | Fix cmake on BSD. | Andreas Schneider | 2009-06-09 | 1 | -3/+3 | |
| | | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@773 7dcaeef0-15fb-0310-b436-a5af3365683c | |||||
* | Make use of poll() and add a poll-emulation for win32. | Andreas Schneider | 2009-06-04 | 4 | -96/+233 | |
| | | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@772 7dcaeef0-15fb-0310-b436-a5af3365683c | |||||
* | Drop debian directory, new location: ↵ | Laurent Bigonville | 2009-06-01 | 14 | -201/+0 | |
| | | | | | | git://git.debian.org/collab-maint/libssh.git git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@771 7dcaeef0-15fb-0310-b436-a5af3365683c | |||||
* | Fix compilation of SSHv1. | Andreas Schneider | 2009-05-23 | 1 | -2/+2 | |
| | | | | | | | Patch by Norbert Kiesel. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@770 7dcaeef0-15fb-0310-b436-a5af3365683c | |||||
* | Set version to 0.3.0 and set release date.release-0-3-0 | Andreas Schneider | 2009-05-21 | 2 | -3/+3 | |
| | | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@768 7dcaeef0-15fb-0310-b436-a5af3365683c |