1
1
Граф коммитов

2231 Коммитов

Автор SHA1 Сообщение Дата
Aris Adamantiadis
f159b5d817 moved ssh drafts elsewhere (for packaging reasons)
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@95 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-10 23:13:29 +00:00
Jean-Philippe Garcia Ballester
1298817046 debian/libssh-dev.doc-base: New file. Add doc-base file for libssh
documentation in debian devel package.



git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@94 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-06 17:04:43 +00:00
Jean-Philippe Garcia Ballester
acd0fc13ed debian/libssh-dev.examples: New file. Install sample.c and samplesshd.c as
examples in debian devel package.



git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@93 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-06 17:03:42 +00:00
Jean-Philippe Garcia Ballester
b3fecb1a25 debian/rules, debian/libssh-dev.docs: Use doc and install-doc Makefile target.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@92 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-06 17:01:31 +00:00
Jean-Philippe Garcia Ballester
9682f5acf4 debian/rules: Use the real configure switch (this comment doesn't make
much sense, does it?)



git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@91 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-06 16:28:02 +00:00
Jean-Philippe Garcia Ballester
4f498a1ce7 debian/watch: Remove useless comments.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@90 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-06 16:19:42 +00:00
Jean-Philippe Garcia Ballester
2cb594277f Add Homepage pseudo-field.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@89 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-06 16:17:52 +00:00
Jean-Philippe Garcia Ballester
928c668776 Add doc (respectively install-doc) target to generate (respectively
install) the documentation (html and man generated by doxygen, and
sample.c and samplesshd.c)



git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@88 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-06 16:17:20 +00:00
Jean-Philippe Garcia Ballester
d284f7ad7b Copy Doxyfile in dist target.
Should it call doxygen and copy the generated documentation ?



git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@87 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-06 16:11:45 +00:00
Jean-Philippe Garcia Ballester
cd6af56227 Upgrade config.guess and config.sub from autotools-20060920.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@86 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-11-24 08:18:52 +00:00
Aris Adamantiadis
65659ac1ba Debian packaging ! and adding of the packager into authors
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@85 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-11-16 23:27:25 +00:00
Aris Adamantiadis
ce4f72352c fixed doxygen ouput and input path
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@84 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-11-16 21:43:43 +00:00
Aris Adamantiadis
3d346fdebc fixed makefiles for debian packaging
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@83 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-11-16 20:58:01 +00:00
Aris Adamantiadis
a5774a32e8 changed LIBSSH_CURRENT to 1 to make a difference from libssh 0.11
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@82 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-11-16 19:21:51 +00:00
Aris Adamantiadis
ff273b26b3 oops, forgot to verify that it compiled fine
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
2006-11-12 00:57:48 +00:00
Aris Adamantiadis
4442e0e262 good work tonight. Made documentation for authentication, channels, buffers, errors
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@80 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-11-12 00:14:55 +00:00
Aris Adamantiadis
d101fb4329 more doxygen documentation
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@79 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-11-07 01:45:13 +00:00
Aris Adamantiadis
24aeed5d1f doxygen documentation for option module
added ssh_finalize() into libssh.h


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@78 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-11-06 23:57:50 +00:00
Aris Adamantiadis
44b5470443 at least I get a working doxygen documentation.
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
2006-11-06 22:58:58 +00:00
Aris Adamantiadis
ea215fdecc Added doxygen documentation file. Now need to document it..
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
2006-11-06 20:44:24 +00:00
Jean-Philippe Garcia Ballester
b2d0d13a2d Add ssh_finalize to handle finalization of libssh and underlying cryptographic
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
2006-07-09 10:36:44 +00:00
Jean-Philippe Garcia Ballester
9bb0be2dbb Correct file header
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@74 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-07-09 10:32:47 +00:00
Jean-Philippe Garcia Ballester
f10e8874b2 libssh/keyfiles.c: Fix bug when reading private keys with libgcrypt
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@73 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-05-12 12:15:37 +00:00
Jean-Philippe Garcia Ballester
49f537bdbe configure.in: Now exit when crypto library not available and minor fixes
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@72 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-05-08 08:45:00 +00:00
Jean-Philippe Garcia Ballester
1c08838ce8 Makefile.in: Update dist target to copy libssh.vers, needed for compilation with symbol versioning
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@71 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-04-30 00:29:29 +00:00
Jean-Philippe Garcia Ballester
770e73d8b7 keyfiles.c and wrapper.c: Remove useless secure memory flag (for libgcrypt)
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-01 16:32:22 +00:00
Jean-Philippe Garcia Ballester
10b1a631e8 Remove the file "plop", which was added some time ago by mistake (oops,
sorry...)



git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@69 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-03-01 14:11:38 +00:00
Aris Adamantiadis
c5287c543e removed mercurius from trunk
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@66 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-12-12 12:21:09 +00:00
Aris Adamantiadis
4fd1df0586 git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@53 7dcaeef0-15fb-0310-b436-a5af3365683c 2005-12-06 18:10:30 +00:00
Aris Adamantiadis
3edfd105b3 nonblocking support in dh_handshake() from client.c
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-30 21:23:12 +00:00
Jean-Philippe Garcia Ballester
ac4fd09177 Added support for known_hosts format version 1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@51 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-11-25 09:31:33 +00:00
Aris Adamantiadis
d923851664 same changes, SSH1 (reading only).
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@50 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-11-23 14:38:49 +00:00
Aris Adamantiadis
1847fb2373 added bases for nonblocking packet sending and receiving. packet_send
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-11-22 23:15:31 +00:00
Aris Adamantiadis
cddc5d6889 norbert's Makefile.in and crypt.c patches
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@48 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-26 21:46:48 +00:00
Aris Adamantiadis
7b416e5c52 resolved the channel hangs on exit issue (moved EOF to read events and 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-26 19:13:57 +00:00
Aris Adamantiadis
c53b6b907c resolved the infinite loop on exit (thanks giga for the hint).
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-26 16:59:16 +00:00
Aris Adamantiadis
bef09f8848 Phillip Vandry has seen another bug into r42 :
-    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-26 15:29:17 +00:00
Aris Adamantiadis
b719cc0d13 Libgcrypt was still used by default. Now it really compiles with openssl by default.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@44 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-26 13:11:37 +00:00
Aris Adamantiadis
5e02c25291 good, now it compiles (removed the -Wl-O1 thing as Giga said.)
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-26 12:56:52 +00:00
Aris Adamantiadis
b753dae37e Almost forgot the most important :) a patch for AUTHORS file
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@42 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-26 12:20:31 +00:00
Aris Adamantiadis
0f67ff89d9 patches from Norbert merged in. I have made some little changes here and there.
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-26 12:06:11 +00:00
Aris Adamantiadis
9a2683f183 added Jean-Philippe's patch for libtools. it doesn't compile on my computer.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@40 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-25 23:11:41 +00:00
Aris Adamantiadis
d86f001754 channel_select(). this function rocks !
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-25 23:02:25 +00:00
Aris Adamantiadis
5f7c84f900 added the gcrypt patch (without gcrypt as default library).
still needs tests.


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@38 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-04 22:11:19 +00:00
Aris Adamantiadis
c0525750fd ssh-1 small modulus server keys patch
acl bases in mercurius


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@37 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-09-20 14:26:04 +00:00
Aris Adamantiadis
0c1ca983ed 2 macosx patches
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@36 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-31 10:40:52 +00:00
Aris Adamantiadis
1b20b8df85 fixed bug in sample that made the client running in infinite loop.
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-31 02:20:36 +00:00
Aris Adamantiadis
c7a059f0d3 pam include path patch.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@34 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-31 01:54:02 +00:00
Aris Adamantiadis
c83b993af9 PATH_MAX patch
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@33 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-31 01:39:30 +00:00
Aris Adamantiadis
9a4a7da811 cfmakeraw patch for configure.in
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@32 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-31 01:29:22 +00:00