aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-07-09Correct file headerJean-Philippe Garcia Ballester1-4/+2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@74 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-05-12libssh/keyfiles.c: Fix bug when reading private keys with libgcryptJean-Philippe Garcia Ballester1-2/+3
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@73 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-05-08configure.in: Now exit when crypto library not available and minor fixesJean-Philippe Garcia Ballester1-14/+21
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@72 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-04-30Makefile.in: Update dist target to copy libssh.vers, needed for compilation ↵Jean-Philippe Garcia Ballester1-0/+1
with symbol versioning git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@71 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-03-01keyfiles.c and wrapper.c: Remove useless secure memory flag (for libgcrypt)Jean-Philippe Garcia Ballester5-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
2006-03-01Remove the file "plop", which was added some time ago by mistake (oops,Jean-Philippe Garcia Ballester1-1/+0
sorry...) git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@69 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-12-12removed mercurius from trunkAris Adamantiadis75-29739/+3
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@66 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-12-06git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@53 ↵Aris Adamantiadis1-34/+40
7dcaeef0-15fb-0310-b436-a5af3365683c
2005-11-30nonblocking support in dh_handshake() from client.cAris Adamantiadis4-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
2005-11-25Added support for known_hosts format version 1Jean-Philippe Garcia Ballester5-17/+207
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@51 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-11-23same changes, SSH1 (reading only).Aris Adamantiadis1-96/+90
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@50 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-11-22added bases for nonblocking packet sending and receiving. packet_send Aris Adamantiadis5-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
2005-10-26norbert's Makefile.in and crypt.c patchesAris Adamantiadis2-18/+37
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@48 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-26resolved the channel hangs on exit issue (moved EOF to read events and ↵Aris Adamantiadis3-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
2005-10-26resolved the infinite loop on exit (thanks giga for the hint).Aris Adamantiadis4-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
2005-10-26Phillip Vandry has seen another bug into r42 :Aris Adamantiadis1-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
2005-10-26Libgcrypt was still used by default. Now it really compiles with openssl by ↵Aris Adamantiadis2-54/+2
default. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@44 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-26good, now it compiles (removed the -Wl-O1 thing as Giga said.)Aris Adamantiadis2-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
2005-10-26Almost forgot the most important :) a patch for AUTHORS fileAris Adamantiadis1-1/+5
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@42 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-26patches from Norbert merged in. I have made some little changes here and there.Aris Adamantiadis10-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
2005-10-25added Jean-Philippe's patch for libtools. it doesn't compile on my computer.Aris Adamantiadis15-397/+30404
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@40 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-25channel_select(). this function rocks !Aris Adamantiadis5-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
2005-10-04added the gcrypt patch (without gcrypt as default library).Aris Adamantiadis29-188/+1339
still needs tests. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@38 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-09-20ssh-1 small modulus server keys patchAris Adamantiadis5-8/+105
acl bases in mercurius git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@37 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-312 macosx patchesAris Adamantiadis2-1/+2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@36 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-31fixed bug in sample that made the client running in infinite loop.Aris Adamantiadis3-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
2005-08-31pam include path patch.Aris Adamantiadis4-15/+29
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@34 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-31PATH_MAX patchAris Adamantiadis1-0/+2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@33 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-31cfmakeraw patch for configure.inAris Adamantiadis4-3/+6
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@32 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-31server goes into backgroupAris Adamantiadis3-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
2005-08-29write supportAris Adamantiadis3-1/+40
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@30 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-29Readme of courseAris Adamantiadis1-0/+56
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@29 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-29changed config file name, take rsa,dsa and port into accountAris Adamantiadis7-14/+39
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@28 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-29some compilation fixAris Adamantiadis1-5/+9
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@27 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-29removed obsolete debugging info, split main.c in 3, and now mercurius links ↵Aris Adamantiadis8-549/+620
with a statical libssh git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@26 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-29the server now does the chroot and change uid.Aris Adamantiadis4-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
2005-08-29now the libconfig will be staticaly linked and will be autoconfigurated ↵Aris Adamantiadis3-14/+20
during make. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@24 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-29pam samples files to put into /etc/pam.dAris Adamantiadis8-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
2005-08-28more ACL on directories. Not already enabled.Aris Adamantiadis8-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
2005-08-28youhou it works :)Aris Adamantiadis4-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
2005-08-28the whole libconfig + my development tree for ACL/ configAris Adamantiadis67-14/+28427
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@20 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-26file opening/reading works :).Aris Adamantiadis4-9/+208
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
2005-08-26compile the sftp_server by defaultAris Adamantiadis1-1/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@18 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-26I've forgot about sftp_server/ :)Aris Adamantiadis3-0/+407
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@17 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-26sftp server implementation :)Aris Adamantiadis4-6/+310
at this time, basic support of opendir, readdir, lstat, etc. just enough to "sftp" in and type ls. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@16 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-25fixed server segfaults on exit (double frees)Aris Adamantiadis5-10/+52
sftp_server_init() git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@15 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-20some debugging things in ssh1 key exchangeAris Adamantiadis1-2/+2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@14 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-20yet other patches from NorbertAris Adamantiadis2-2/+2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@13 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-19stdint.patch, debug_output.patch, ssh_12_select.patch,Aris Adamantiadis7-50/+183
solaris_7.patch and args_in_decl.patch from Norbert. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@12 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-18oops, forgot to patch the Makefile.in for the ssh1 files. configure.in patch ↵Aris Adamantiadis4-1/+35
from Norbert kiesel to have a compile time ssh1 support. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@11 7dcaeef0-15fb-0310-b436-a5af3365683c