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

2344 Коммитов

Автор SHA1 Сообщение Дата
Aris Adamantiadis
91e5416a3e VMiklos from frugalware.org patch for the permissions of the installed
headers (these should not have been a problem for debian packages)


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@111 7dcaeef0-15fb-0310-b436-a5af3365683c
2007-02-07 12:55:54 +00:00
Aris Adamantiadis
c3def94648 VMiklos from frugalware.org patch for -j2 compilation that was broken
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@110 7dcaeef0-15fb-0310-b436-a5af3365683c
2007-02-07 12:53:02 +00:00
Jean-Philippe Garcia Ballester
6a655edebd include/libssh/server.h: Remove struct definitions
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
2007-02-07 12:32:45 +00:00
Jean-Philippe Garcia Ballester
28eaaa537b libssh/server.c: Include netinet/in.h in order to compile under OpenBSD.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@108 7dcaeef0-15fb-0310-b436-a5af3365683c
2007-01-04 16:46:37 +00:00
Laurent Bigonville
fdce3776eb * debian/changelog: New release (0.2) :)
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@105 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-29 06:45:11 +00:00
Aris Adamantiadis
94d6f39386 trunk to 0.2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@104 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-26 21:18:15 +00:00
Jean-Philippe Garcia Ballester
0465d85ab4 debian/libssh-2.lintian-overrides: New file. Overrides lintian warning about package
name not matching soname.
debian/control: Change debhelper build-dep version from 5.0.0 to 5
		Add Priority: extra to libssh-2-dbg
debian/changelog: Change package version to 0.2~rc-1
debian/rules: Install lintian overrides



git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@103 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-21 11:25:44 +00:00
Jean-Philippe Garcia Ballester
9102155d3d Use libssh-SONAME instead of libsshSONAME for debian package name to avoid name clash
with libssh2 package.



git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@102 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-20 16:16:13 +00:00
Aris Adamantiadis
1ba22125e2 debian/rules en executable
packages edgy/amd64


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@100 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-16 00:58:24 +00:00
Aris Adamantiadis
ef5113cc57 -rc release
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
2006-12-15 12:02:05 +00:00
Aris Adamantiadis
1c1e5de2c6 forgot a line from norbert's patch
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@98 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-12 19:51:22 +00:00
Aris Adamantiadis
4479b4aded norbert's patches + strange typo in packet_nonblocking_flush()
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@97 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-12 16:32:34 +00:00
Jean-Philippe Garcia Ballester
77db3bba37 Change to debian debug package to contain SONAME.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@96 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-11 18:22:22 +00:00
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