summaryrefslogtreecommitdiffstats
path: root/libssh
Commit message (Collapse)AuthorAgeFilesLines
...
* change doxygen doc for channel_pollAris Adamantiadis2008-03-071-2/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@145 7dcaeef0-15fb-0310-b436-a5af3365683c
* second part of win32 changesAris Adamantiadis2008-03-076-3/+59
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@143 7dcaeef0-15fb-0310-b436-a5af3365683c
* shrinked the default_get_password function. I hope nobody used it, it Aris Adamantiadis2008-03-071-9/+4
| | | | | | | has nothing to do in a ssh library. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@142 7dcaeef0-15fb-0310-b436-a5af3365683c
* first part of win32 patchesAris Adamantiadis2008-03-0715-41/+85
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@141 7dcaeef0-15fb-0310-b436-a5af3365683c
* Merged Keisial bugfix (crash when available protocols mismatch)Aris Adamantiadis2008-03-061-12/+21
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@140 7dcaeef0-15fb-0310-b436-a5af3365683c
* fixed a load of ssh_set_error(NULL,...)Aris Adamantiadis2008-03-046-29/+29
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@139 7dcaeef0-15fb-0310-b436-a5af3365683c
* fixed null pointer into options and ssh_set_error()Aris Adamantiadis2008-03-041-6/+6
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@138 7dcaeef0-15fb-0310-b436-a5af3365683c
* added the socket class and created wrappersAris Adamantiadis2008-03-048-97/+227
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@137 7dcaeef0-15fb-0310-b436-a5af3365683c
* fixed the #0000003 bugAris Adamantiadis2008-03-031-3/+4
| | | | | | | | | was only a misplaced #include. I hate C git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@136 7dcaeef0-15fb-0310-b436-a5af3365683c
* Rodolphe Rocca fixesAris Adamantiadis2008-03-031-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@135 7dcaeef0-15fb-0310-b436-a5af3365683c
* fix bug #0000002 : in_socket_buffer and out_socket_buffer memleak +Aris Adamantiadis2008-03-033-3/+17
| | | | | | | "g" and "p" O(1) memleak. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@134 7dcaeef0-15fb-0310-b436-a5af3365683c
* * libssh/Makefile.am: use top_srcdir instead of srcdirLaurent Bigonville2007-07-311-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@131 7dcaeef0-15fb-0310-b436-a5af3365683c
* * Add autogen.sh to generate autotools filesLaurent Bigonville2007-07-272-52/+13
| | | | | | | * Rewrite the makefiles to use more automake git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@125 7dcaeef0-15fb-0310-b436-a5af3365683c
* found the nasty server bug ("ssh_accept: ")Aris Adamantiadis2007-03-172-1/+3
| | | | | | | | it was the session->alive which was null. I wonder how this bug survived my initial development ... git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@115 7dcaeef0-15fb-0310-b436-a5af3365683c
* include/libssh/server.h: Remove struct definitionsJean-Philippe Garcia Ballester2007-02-071-0/+1
| | | | | | | | | include/libssh/priv.h: Add struct definitions that previously were in include/libssh/server.h libssh/server.c: Include libssh/priv.h git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@109 7dcaeef0-15fb-0310-b436-a5af3365683c
* libssh/server.c: Include netinet/in.h in order to compile under OpenBSD.Jean-Philippe Garcia Ballester2007-01-041-0/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@108 7dcaeef0-15fb-0310-b436-a5af3365683c
* -rc releaseAris Adamantiadis2006-12-151-33/+49
| | | | | | | | | | | Ipv6 patch from Laurent Bigonville. When the ipv6 targets are unreachable, it tries all possible targets from the getaddrinfo list. Norbert: does it break anything ? it works for me but I didn't test it extensively git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@99 7dcaeef0-15fb-0310-b436-a5af3365683c
* forgot a line from norbert's patchAris Adamantiadis2006-12-121-0/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@98 7dcaeef0-15fb-0310-b436-a5af3365683c
* norbert's patches + strange typo in packet_nonblocking_flush()Aris Adamantiadis2006-12-122-3/+9
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@97 7dcaeef0-15fb-0310-b436-a5af3365683c
* fixed makefiles for debian packagingAris Adamantiadis2006-11-161-3/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@83 7dcaeef0-15fb-0310-b436-a5af3365683c
* oops, forgot to verify that it compiled fineAris Adamantiadis2006-11-124-16/+60
| | | | | | | also, published changes from Norbert including lots of session->fd checks git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@81 7dcaeef0-15fb-0310-b436-a5af3365683c
* good work tonight. Made documentation for authentication, channels, buffers, ↵Aris Adamantiadis2006-11-124-11/+417
| | | | | | errors git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@80 7dcaeef0-15fb-0310-b436-a5af3365683c
* more doxygen documentationAris Adamantiadis2006-11-075-6/+146
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@79 7dcaeef0-15fb-0310-b436-a5af3365683c
* doxygen documentation for option moduleAris Adamantiadis2006-11-061-15/+132
| | | | | | | added ssh_finalize() into libssh.h git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@78 7dcaeef0-15fb-0310-b436-a5af3365683c
* at least I get a working doxygen documentation.Aris Adamantiadis2006-11-061-1/+20
| | | | | | | I am going to make the whole documentation as doxygen files. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@77 7dcaeef0-15fb-0310-b436-a5af3365683c
* Added doxygen documentation file. Now need to document it..Aris Adamantiadis2006-11-061-1/+1
| | | | | | | added const keyword into ssh_connect_host git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@76 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add ssh_finalize to handle finalization of libssh and underlying cryptographicJean-Philippe Garcia Ballester2006-07-093-2/+36
| | | | | | | | | library. Add corresponding paragraph in API draft. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@75 7dcaeef0-15fb-0310-b436-a5af3365683c
* Correct file headerJean-Philippe Garcia Ballester2006-07-091-4/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@74 7dcaeef0-15fb-0310-b436-a5af3365683c
* libssh/keyfiles.c: Fix bug when reading private keys with libgcryptJean-Philippe Garcia Ballester2006-05-121-2/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@73 7dcaeef0-15fb-0310-b436-a5af3365683c
* keyfiles.c and wrapper.c: Remove useless secure memory flag (for libgcrypt)Jean-Philippe Garcia Ballester2006-03-015-36/+23
| | | | | | | | | | dh.c: Initialize libgcrypt only if not done before client.c: Remove cleanup of cryptograhpic library. This needs to be put somewhere, like in a crypto_finish function or something. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@70 7dcaeef0-15fb-0310-b436-a5af3365683c
* git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@53 ↵Aris Adamantiadis2005-12-061-34/+40
| | | | 7dcaeef0-15fb-0310-b436-a5af3365683c
* nonblocking support in dh_handshake() from client.cAris Adamantiadis2005-11-302-69/+123
| | | | | | | | some packet nonblocking fixes. reenable sftp from the sample client. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@52 7dcaeef0-15fb-0310-b436-a5af3365683c
* Added support for known_hosts format version 1Jean-Philippe Garcia Ballester2005-11-254-17/+197
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@51 7dcaeef0-15fb-0310-b436-a5af3365683c
* same changes, SSH1 (reading only).Aris Adamantiadis2005-11-231-96/+90
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@50 7dcaeef0-15fb-0310-b436-a5af3365683c
* added bases for nonblocking packet sending and receiving. packet_send Aris Adamantiadis2005-11-223-117/+204
| | | | | | | | | | | | | | | | | and packet_read may return SSH_AGAIN if the session is nonblocking and there is not enough data to be read. I also added a socket buffering through session->in_socket_buffer. It is more low-level than the packet buffer. I should rename in_buffer with in_packet_buffer. There is still work to do with the socket status, (opened, error, closed, ...) and much more work to extend the nonblocking to session opening, messages sending and such. I find the switch(session->packet_state) solution very nice (especially when the nonblocking function may have 10 differents states, like in a connection.) git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@49 7dcaeef0-15fb-0310-b436-a5af3365683c
* norbert's Makefile.in and crypt.c patchesAris Adamantiadis2005-10-261-4/+4
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@48 7dcaeef0-15fb-0310-b436-a5af3365683c
* resolved the channel hangs on exit issue (moved EOF to read events and ↵Aris Adamantiadis2005-10-263-3/+8
| | | | | | | | | | removed it from exceptions). resolved stupid cute & paste error in init_md5() git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@47 7dcaeef0-15fb-0310-b436-a5af3365683c
* resolved the infinite loop on exit (thanks giga for the hint).Aris Adamantiadis2005-10-263-10/+30
| | | | | | | | I resolved a memory alloc problem into hmac_init (same kind that the one of md5_init). It's still saying there is a memory corruption. Since the memory corruption happens before it is found (in malloc()), I'll have to run valgrind to locate it. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@46 7dcaeef0-15fb-0310-b436-a5af3365683c
* Phillip Vandry has seen another bug into r42 :Aris Adamantiadis2005-10-261-1/+1
| | | | | | | | | - MD5CTX c=malloc(sizeof(MD5CTX)); + MD5CTX c=malloc(sizeof(*c)); git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@45 7dcaeef0-15fb-0310-b436-a5af3365683c
* patches from Norbert merged in. I have made some little changes here and there.Aris Adamantiadis2005-10-266-66/+81
| | | | | | | It still doesn't compile because of the O1 thing passed to ld. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@41 7dcaeef0-15fb-0310-b436-a5af3365683c
* added Jean-Philippe's patch for libtools. it doesn't compile on my computer.Aris Adamantiadis2005-10-253-14/+93
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@40 7dcaeef0-15fb-0310-b436-a5af3365683c
* channel_select(). this function rocks !Aris Adamantiadis2005-10-251-11/+143
| | | | | | | | | I adapted the sample.c file. the select_loop function is bloated and fails to demonstrate how libssh is simple to handle... it looks to run at first try. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@39 7dcaeef0-15fb-0310-b436-a5af3365683c
* added the gcrypt patch (without gcrypt as default library).Aris Adamantiadis2005-10-0421-141/+1213
| | | | | | | still needs tests. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@38 7dcaeef0-15fb-0310-b436-a5af3365683c
* ssh-1 small modulus server keys patchAris Adamantiadis2005-09-201-6/+29
| | | | | | | acl bases in mercurius git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@37 7dcaeef0-15fb-0310-b436-a5af3365683c
* fixed bug in sample that made the client running in infinite loop.Aris Adamantiadis2005-08-312-0/+3
| | | | | | | hunted a bug in channel_poll that returned 0 when EOF. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@35 7dcaeef0-15fb-0310-b436-a5af3365683c
* write supportAris Adamantiadis2005-08-291-0/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@30 7dcaeef0-15fb-0310-b436-a5af3365683c
* changed config file name, take rsa,dsa and port into accountAris Adamantiadis2005-08-291-1/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@28 7dcaeef0-15fb-0310-b436-a5af3365683c
* removed obsolete debugging info, split main.c in 3, and now mercurius links ↵Aris Adamantiadis2005-08-291-1/+1
| | | | | | with a statical libssh git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@26 7dcaeef0-15fb-0310-b436-a5af3365683c
* pam samples files to put into /etc/pam.dAris Adamantiadis2005-08-292-0/+14
| | | | | | | | ssh_silent_disconnect() and server forking. I still have to add a -D command line to avoid the forking. password auth works, but there is no uid change yet. I'll have to make the configuration stuff really being respected by the server. (like keys, ports, users, ...) git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@23 7dcaeef0-15fb-0310-b436-a5af3365683c
* file opening/reading works :).Aris Adamantiadis2005-08-262-4/+22
| | | | | | | | I fixed the "longname" part of a stat (which makes the output for ls into openssh's sftp) it's possible to browse and open abritrary files. but no ACL yet git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@19 7dcaeef0-15fb-0310-b436-a5af3365683c