Aris Adamantiadis
dd68bae776
Fix underflow when leave_function() are unbalanced
2010-01-29 18:54:48 +01:00
Vic Lee
4768cf3e85
In handle_channel_request_open(), variable type is freed too early and cause memory corruptions.
...
Signed-off-by: Vic Lee <llyzs@163.com >
Signed-off-by: Andreas Schneider <mail@cynapses.org >
2010-01-29 18:51:50 +01:00
Vic Lee
5a95681f01
File handle need to be closed in case of errors in privatekey_from_file
...
Signed-off-by: Vic Lee <llyzs@163.com >
Signed-off-by: Andreas Schneider <mail@cynapses.org >
2009-12-23 09:37:59 +01:00
Andreas Schneider
13a3619102
Added an example for exec.
2009-12-22 18:33:16 +01:00
Vic Lee
c7636edf84
Added private key type detection feature in privatekey_from_file
...
Signed-off-by: Vic Lee <llyzs@163.com >
Signed-off-by: Andreas Schneider <mail@cynapses.org >
2009-12-22 08:58:05 +01:00
Andreas Schneider
27e332b623
Fixed ssh_get_user_home_dir() to be thread safe.
2009-12-21 12:33:44 +01:00
Andreas Schneider
ebc8544c56
Improved doxygen output of ssh_options_set().
2009-12-19 00:11:37 +01:00
Andreas Schneider
0f8e9b839c
Disabled caller graphs as they are only of internal interest.
2009-12-18 23:55:17 +01:00
Andreas Schneider
0c02d6effe
Updated the doxygen file.
2009-12-18 23:49:56 +01:00
Andreas Schneider
7199b196b0
Fixed documentation of buffer struct.
2009-12-18 23:45:34 +01:00
Andreas Schneider
ca83b66066
Fixed documentation of ssh_options_copy().
2009-12-18 23:45:24 +01:00
Andreas Schneider
d978f9b58a
Moved the doxygen mainpage to doc/mainpage.dox
2009-12-18 23:45:09 +01:00
Andreas Schneider
e539eaf9e0
Added a mainpage to doxygen.
2009-12-18 23:11:25 +01:00
Andreas Schneider
b728f44ce9
Fixed the doxygen documentation.
2009-12-18 23:05:03 +01:00
Andreas Schneider
2f0b671a61
Update version to 0.4.0.
release-0-4-0
2009-12-10 14:15:04 +01:00
Andreas Schneider
1fadec37d6
Don't install crypto.h which is an internal header file.
2009-12-10 13:55:07 +01:00
Andreas Schneider
2aabbd6245
Remove socklen_t definition.
...
Tthe problem is that winsock2.h defines socklen_t as a typedef, not as a
define, so depending on the order of includes you can get errors in
ws2tcpip.h with msvc.
2009-12-09 13:04:26 +01:00
Aris Adamantiadis
fd6823691b
Fix stupid bug which stops log_verbosity working
2009-12-02 14:19:42 +01:00
Andreas Schneider
b174ad8ae4
Fixed indent.
2009-12-02 00:23:27 +01:00
Andreas Schneider
176778bb1c
Added gettimeofday for Windows.
...
Thanks to Patrick Spendrin.
2009-12-02 00:23:20 +01:00
Andreas Schneider
e5bf645010
Fixed uint* to work on Windows.
...
Thanks to Patrick Spendrin.
2009-12-02 00:23:00 +01:00
Andreas Schneider
d1c6fa9261
Build the pcap source only if enabled.
2009-11-19 09:33:06 +01:00
Aris Adamantiadis
b00e2ad40e
Fix compile bug introduced by another bugfix
2009-11-18 20:54:39 +01:00
Aris Adamantiadis
ca9f42a20f
Fix another memleak
...
Use buffer_free instead of SAFE_FREE
2009-11-18 20:53:06 +01:00
Andreas Schneider
e939786836
Fixed possible doulbe free problem found by Bernhard R. Link.
2009-11-18 15:35:15 +01:00
Andreas Schneider
11cc5f5815
Added more error messages and checking to handle_channel_request.
2009-11-18 14:56:12 +01:00
Andreas Schneider
d60b1ec1a2
Fixed a memory leak in channel_new() if we have an error.
2009-11-18 10:30:01 +01:00
Aris Adamantiadis
ae11589205
Pcap: more cleanup and minimalist API
2009-11-16 23:20:16 +01:00
Aris Adamantiadis
70b9475449
Pcap: Fix bug with non-encrypted incoming packets
2009-11-16 22:53:22 +01:00
Aris Adamantiadis
02aecc1278
Improved pcap dumping support
2009-11-16 22:36:31 +01:00
Andreas Schneider
3e90a11599
Improve standard logging.
2009-11-12 12:52:05 +01:00
Andreas Schneider
b4095189d7
Fixed setting the timeout and ssh2 and ssh1 option.
2009-11-12 12:50:31 +01:00
Andreas Schneider
c0b4c4d60c
Fixed setting the log verbosity.
2009-11-12 11:44:36 +01:00
Andreas Schneider
12da24c056
Added an option to set log verbosity as string.
2009-11-10 09:12:07 +01:00
Andreas Schneider
d821117033
Always use the poll-emulation on Windows.
...
Until we we have a solution to use WSAPoll only on Vista and newer.
2009-11-09 20:13:27 +01:00
Aris Adamantiadis
30266f7627
Added explanation in ssh_silent_disconnect doxygen
2009-11-09 13:24:47 +01:00
Aris Adamantiadis
10b625e180
First lines of experimental pcap output support
...
This will serve to debug packets right under wireshark !
2009-11-08 23:42:41 +01:00
Aris Adamantiadis
10f27457d3
Add an other (simplier ?) polling method to sample
2009-11-08 20:00:23 +01:00
Aris Adamantiadis
af1f431364
change buffer size in sample.c
2009-11-07 17:35:24 +01:00
Aris Adamantiadis
272a4d1e45
Refactorize sample.c
2009-11-07 17:23:06 +01:00
Aris Adamantiadis
3a95ecfe74
move authentication out of sampe.c
2009-11-07 03:45:27 +01:00
Aris Adamantiadis
14ae9a7f0c
Moved sftp parts into a new example
2009-11-06 19:21:18 +01:00
Aris Adamantiadis
51f1918109
Update structures name to new convention
...
SSH_POLL* -> ssh_poll_handle,
SSH_POLL_CTX* -> ssh_poll_ctx
2009-11-06 18:52:49 +01:00
Andreas Schneider
fa27956daf
Improve MSVC support. Better binary compatibility.
...
Patch by Patrick Spendrin from KDE.
2009-11-06 09:57:09 +01:00
Aris Adamantiadis
ab0d8a3828
A few test cases for benchmarks
2009-11-05 18:18:35 +01:00
Andreas Schneider
efded18724
Fixed compilation of samplesshd.
2009-11-05 16:38:05 +01:00
Andreas Schneider
f52bc064e9
Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh
2009-11-05 16:08:49 +01:00
Aris Adamantiadis
75f066dfcd
channel_read() won't block until count b. are read
2009-11-05 16:00:05 +01:00
Aris Adamantiadis
535ff07f0f
Forgot to update config.h.cmake
2009-11-05 13:09:42 +01:00
Aris Adamantiadis
5e002635fc
Fix compilation on freebsd 6.0 which lacks argp.h
2009-11-03 21:04:36 +01:00