summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fixed doxygen ouput and input pathAris Adamantiadis2006-11-161-3/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@84 7dcaeef0-15fb-0310-b436-a5af3365683c
* fixed makefiles for debian packagingAris Adamantiadis2006-11-163-13/+13
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@83 7dcaeef0-15fb-0310-b436-a5af3365683c
* changed LIBSSH_CURRENT to 1 to make a difference from libssh 0.11Aris Adamantiadis2006-11-162-292/+590
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@82 7dcaeef0-15fb-0310-b436-a5af3365683c
* oops, forgot to verify that it compiled fineAris Adamantiadis2006-11-126-25/+66
| | | | | | | 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-062-15/+135
| | | | | | | 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-064-51/+38
| | | | | | | 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-062-24/+33
| | | | | | | 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-096-2/+62
| | | | | | | | | 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
* configure.in: Now exit when crypto library not available and minor fixesJean-Philippe Garcia Ballester2006-05-081-14/+21
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@72 7dcaeef0-15fb-0310-b436-a5af3365683c
* Makefile.in: Update dist target to copy libssh.vers, needed for compilation ↵Jean-Philippe Garcia Ballester2006-04-301-0/+1
| | | | | | with symbol versioning git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@71 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
* Remove the file "plop", which was added some time ago by mistake (oops,Jean-Philippe Garcia Ballester2006-03-011-1/+0
| | | | | | | | sorry...) git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@69 7dcaeef0-15fb-0310-b436-a5af3365683c
* removed mercurius from trunkAris Adamantiadis2005-12-1275-29739/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@66 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-304-72/+133
| | | | | | | | 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-255-17/+207
| | | | 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-225-118/+217
| | | | | | | | | | | | | | | | | 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-262-18/+37
| | | | 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-264-10/+35
| | | | | | | | 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
* Libgcrypt was still used by default. Now it really compiles with openssl by ↵Aris Adamantiadis2005-10-262-54/+2
| | | | | | default. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@44 7dcaeef0-15fb-0310-b436-a5af3365683c
* good, now it compiles (removed the -Wl-O1 thing as Giga said.)Aris Adamantiadis2005-10-262-22898/+3
| | | | | | | removed the configure file from the svn (just do autoconf next time). git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@43 7dcaeef0-15fb-0310-b436-a5af3365683c
* Almost forgot the most important :) a patch for AUTHORS fileAris Adamantiadis2005-10-261-1/+5
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@42 7dcaeef0-15fb-0310-b436-a5af3365683c
* patches from Norbert merged in. I have made some little changes here and there.Aris Adamantiadis2005-10-2610-101/+328
| | | | | | | 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-2515-397/+30404
| | | | 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-255-32/+218
| | | | | | | | | 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-0429-188/+1339
| | | | | | | 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-205-8/+105
| | | | | | | acl bases in mercurius git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@37 7dcaeef0-15fb-0310-b436-a5af3365683c
* 2 macosx patchesAris Adamantiadis2005-08-312-1/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@36 7dcaeef0-15fb-0310-b436-a5af3365683c
* fixed bug in sample that made the client running in infinite loop.Aris Adamantiadis2005-08-313-3/+10
| | | | | | | 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
* pam include path patch.Aris Adamantiadis2005-08-314-15/+29
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@34 7dcaeef0-15fb-0310-b436-a5af3365683c
* PATH_MAX patchAris Adamantiadis2005-08-311-0/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@33 7dcaeef0-15fb-0310-b436-a5af3365683c
* cfmakeraw patch for configure.inAris Adamantiadis2005-08-314-3/+6
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@32 7dcaeef0-15fb-0310-b436-a5af3365683c
* server goes into backgroupAris Adamantiadis2005-08-313-19/+75
| | | | | | | | | server accepts command line arguments server write comments into the configuration file. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@31 7dcaeef0-15fb-0310-b436-a5af3365683c
* write supportAris Adamantiadis2005-08-293-1/+40
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@30 7dcaeef0-15fb-0310-b436-a5af3365683c
* Readme of courseAris Adamantiadis2005-08-291-0/+56
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@29 7dcaeef0-15fb-0310-b436-a5af3365683c
* changed config file name, take rsa,dsa and port into accountAris Adamantiadis2005-08-297-14/+39
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@28 7dcaeef0-15fb-0310-b436-a5af3365683c
* some compilation fixAris Adamantiadis2005-08-291-5/+9
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@27 7dcaeef0-15fb-0310-b436-a5af3365683c
* removed obsolete debugging info, split main.c in 3, and now mercurius links ↵Aris Adamantiadis2005-08-298-549/+620
| | | | | | with a statical libssh git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@26 7dcaeef0-15fb-0310-b436-a5af3365683c
* the server now does the chroot and change uid.Aris Adamantiadis2005-08-294-5/+136
| | | | | | | There is also an option "nopassword" for ftp users. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@25 7dcaeef0-15fb-0310-b436-a5af3365683c
* now the libconfig will be staticaly linked and will be autoconfigurated ↵Aris Adamantiadis2005-08-293-14/+20
| | | | | | during make. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@24 7dcaeef0-15fb-0310-b436-a5af3365683c
* pam samples files to put into /etc/pam.dAris Adamantiadis2005-08-298-5/+49
| | | | | | | | 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
* more ACL on directories. Not already enabled.Aris Adamantiadis2005-08-288-27/+189
| | | | | | | | First Pam code. looks like it works more or less. it needs a file in /etc/pam.d to be activated git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@22 7dcaeef0-15fb-0310-b436-a5af3365683c
* youhou it works :)Aris Adamantiadis2005-08-284-2/+121
| | | | | | | | | to compile libconfig, configure it, then the makefile will work. to run, either make install make config or add its path to LD_LIBRARY_PATH. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@21 7dcaeef0-15fb-0310-b436-a5af3365683c