Aris Adamantiadis
d9832d1190
correct O_RDONLY sftp bug with windows systems
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@181 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-10-20 16:14:35 +00:00
Aris Adamantiadis
d477025000
fix bug 0000015 about memory leak in server path
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@180 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-30 22:28:11 +00:00
Aris Adamantiadis
5758188467
fix channel performance by changing the window len.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@179 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-30 13:10:26 +00:00
Aris Adamantiadis
b8dac18d0e
fixed a problem when a channel blocking read was bigger than size of buffer
...
+ window
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@178 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-27 16:56:24 +00:00
Aris Adamantiadis
0d1e22f5f8
Resolved the unitialized data_except member variable in socket.c, thanks
...
Norbert
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@177 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-21 12:15:27 +00:00
Aris Adamantiadis
372d1e727b
fixed a bug in the channel windows.
...
Fixed the window growing on packet receive
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@175 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-17 01:52:11 +00:00
Aris Adamantiadis
ff515b5528
gcrypt + SSH1 bug resolved
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@174 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-17 01:06:53 +00:00
Aris Adamantiadis
507ea1e90f
oops missed a line in the fix
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@173 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-17 00:14:40 +00:00
Aris Adamantiadis
af637c9e8e
bug #00006 fix
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@172 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-17 00:08:38 +00:00
Aris Adamantiadis
8ce42c279e
displaced the data_to_* into socket
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@171 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-16 23:55:12 +00:00
Aris Adamantiadis
1fce8c72e7
more efficient allocation algorithm for buffer.c
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@170 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-16 23:19:29 +00:00
Aris Adamantiadis
77603dbc5a
Big changes :
...
refactoring of the socket class. Now the buffering happens in the socket class.
enhanced the logging system. Cleaned up some debugging messages.
Verified the working with ssh-1.
If this cleanup introduced bugs (it did but corrected the found ones) at least, they will be easier to find
also added the (c) and fixed dates for updated files
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@169 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-16 23:02:49 +00:00
Aris Adamantiadis
da3d665a13
begin fixing the ssh_say everywhere
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@167 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-12 20:40:43 +00:00
Aris Adamantiadis
fe51f9c766
big changes :
...
Some documentation, and a new logging system.
some work must be done to get rid of the infamous ssh_say()
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@166 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-12 20:14:17 +00:00
Aris Adamantiadis
b94422ef10
fix doxygen
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@165 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-11 19:01:06 +00:00
Aris Adamantiadis
9aa8df7cd3
sftp asynchronous read
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@164 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-11 18:52:16 +00:00
Aris Adamantiadis
41475a2a1f
workaround for the bug #14
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@162 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-26 20:14:59 +00:00
Aris Adamantiadis
c2f151ab56
libssh.h now can be included from visual studio
...
revert the wsapi wont-fix
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@161 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-22 13:57:27 +00:00
Aris Adamantiadis
7278a9df95
fix #ifdef win32 bug
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@160 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-22 13:01:22 +00:00
Aris Adamantiadis
58f28617b8
some changes so it compiles better under windows
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@159 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-22 12:42:09 +00:00
Aris Adamantiadis
8b9841dd57
doxygen documentation for public key authentication
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@158 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-13 23:09:41 +00:00
Aris Adamantiadis
2cf6369113
Doxygen changes
...
Modified the makefile so the ln -s never fails.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@157 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-12 21:51:13 +00:00
Aris Adamantiadis
6a80f1a049
Resolved the string_free issue by coding it. I also made some
...
documentations of the string module.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@156 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-12 21:20:00 +00:00
Aris Adamantiadis
f084f6e67c
fixed a bug in channel_poll where channel_poll() would return 0 even
...
when data was available.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@155 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-08 22:12:21 +00:00
Aris Adamantiadis
ebbca06b04
last win32 changes from keisial
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@152 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-12 19:42:40 +00:00
Aris Adamantiadis
68a1a4cc21
fixed the netdb problem ?
...
i don't understand, removing the #include <netdb.h> didn't add misses
for ntohl.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@148 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-12 01:27:21 +00:00
Aris Adamantiadis
77a88811f1
change doxygen doc for channel_poll
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@145 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-07 03:07:39 +00:00
Aris Adamantiadis
c284eb4e38
second part of win32 changes
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@143 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-07 02:11:40 +00:00
Aris Adamantiadis
0d6e3c1790
shrinked the default_get_password function. I hope nobody used it, it
...
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
2008-03-07 01:49:58 +00:00
Aris Adamantiadis
29997022c8
first part of win32 patches
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@141 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-07 01:45:05 +00:00
Aris Adamantiadis
5029fe9d74
Merged Keisial bugfix (crash when available protocols mismatch)
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@140 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-06 21:46:23 +00:00
Aris Adamantiadis
8e04bf0ef1
fixed a load of ssh_set_error(NULL,...)
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@139 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-04 04:40:01 +00:00
Aris Adamantiadis
77743b75f4
fixed null pointer into options and ssh_set_error()
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@138 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-04 04:25:48 +00:00
Aris Adamantiadis
077dd81fcc
added the socket class and created wrappers
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@137 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-04 00:44:02 +00:00
Aris Adamantiadis
9b5f893513
fixed the #0000003 bug
...
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
2008-03-03 21:11:30 +00:00
Aris Adamantiadis
21c547689a
Rodolphe Rocca fixes
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@135 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-03 15:42:25 +00:00
Aris Adamantiadis
01470097c6
fix bug #0000002 : in_socket_buffer and out_socket_buffer memleak +
...
"g" and "p" O(1) memleak.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@134 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-03 14:51:35 +00:00
Laurent Bigonville
860f859580
* libssh/Makefile.am: use top_srcdir instead of srcdir
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@131 7dcaeef0-15fb-0310-b436-a5af3365683c
2007-07-31 19:48:05 +00:00
Laurent Bigonville
ca32b0aa14
* Add autogen.sh to generate autotools files
...
* 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
2007-07-27 03:54:32 +00:00
Aris Adamantiadis
0c3ead7392
found the nasty server bug ("ssh_accept: ")
...
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
2007-03-17 22:35:59 +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
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
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
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