Aris Adamantiadis
4fa2e4dde1
Added compression options and allow "yes/no" setting
...
SSH_OPTION_COMPRESSION and SSH_OPTION_COMPRESSION_LEVEL options have been added. Now, end-level apps may simply choose to enable compression without knowing the relevant algorithms behind it.
2010-12-27 23:28:39 +01:00
Andreas Schneider
b4c62ac9ea
server: Replace gethostbyname() with getaddrinfo().
...
Fixes rlo#13.
2010-12-27 21:51:55 +01:00
Andreas Schneider
a0e98f585a
misc: Fixed a possible memory leak.
2010-12-27 18:08:30 +01:00
Andreas Schneider
7c728acd12
sftp: Fixed a memory leak in sftp_xstat.
...
Thanks to dsc for the bug report.
2010-12-27 17:52:24 +01:00
Andreas Schneider
38b87aab08
channels: Fixed a build warning.
2010-12-23 10:18:09 +01:00
Andreas Schneider
936c65f03e
options: Remove unused variable.
2010-12-21 21:29:22 +01:00
Andreas Schneider
825581d0dc
packet1: Fixed dead assignments.
...
Found by http://test.libssh.org/scan-build/
2010-12-21 16:29:08 +01:00
Andreas Schneider
d5df18a14f
build: Fixed build warning on FreeBSD.
2010-12-20 15:49:29 +01:00
Andreas Schneider
bffaa86664
build: Fixed some build warnings on FreeBSD.
2010-12-20 15:45:49 +01:00
Aris Adamantiadis
47d11734e1
Fix free() on uninitialized data on some cases.
2010-12-19 12:33:31 +01:00
Andreas Schneider
48e4df4ac0
TODO server: Fixed server support.
2010-12-18 14:02:53 +01:00
Andreas Schneider
751f202f56
doc: Follow the current naming convention.
2010-12-10 20:28:59 +01:00
Andreas Schneider
57d752a1c3
include: Only require LIBSSH_STATIC on Windows.
2010-12-10 20:02:15 +01:00
Andreas Schneider
ef1cfbea70
build: Use the same name for static and shared library.
2010-12-10 20:00:23 +01:00
Andreas Schneider
038c764055
server: Remove channel_write_stderr.
2010-12-08 10:52:15 +01:00
Andreas Schneider
1758c172a2
doc: Fixed pki doc group.
2010-12-07 21:28:50 +01:00
Aris Adamantiadis
2dba4839ad
Fix from Oleksandr Shneyder
...
http://www.libssh.org/archive/libssh/2010-11/0000005.html
2010-12-07 16:13:40 +01:00
Aris Adamantiadis
0e82cdeadc
Moved includes from priv.h to bind.h
2010-10-27 23:06:38 +02:00
Aris Adamantiadis
ea4aa26dbb
Split ssh_bind functions in a new .c file
2010-10-20 16:54:22 +02:00
Aris Adamantiadis
98221f4e36
Fixed a bunch of smallish bugs
...
http://linuxtesting.org/upstream-tracker/test_results/libssh/current/test_results.html
for a whole list
2010-10-20 14:47:11 +02:00
Aris Adamantiadis
8e2699e161
start of work to have callbackbased ssh_bind
2010-10-19 23:51:32 +02:00
Aris Adamantiadis
b129181809
Adapt comments in options to give parameters types
2010-10-15 16:53:18 +02:00
Aris Adamantiadis
4f8907a524
Removed the global poll ctx in fav. of /session ctx
2010-10-12 17:57:15 +02:00
Aris Adamantiadis
7b1359042c
Add zlib@openssh.com on the list of compression
2010-10-04 16:23:43 +02:00
Aris Adamantiadis
da9cd2e64d
Implemented zlib@openssh.com compression
2010-10-04 16:19:20 +02:00
Aris Adamantiadis
5d1636985b
Resolved the server blocked bug
2010-10-03 21:36:03 +02:00
Aris Adamantiadis
088b86d4fe
Fix doxygen warnings
2010-10-03 16:16:30 +02:00
Aris Adamantiadis
9a89fba332
resolve memory consumption bug
2010-10-03 13:31:02 +02:00
Aris Adamantiadis
0bc032726d
Fix prepend bug
2010-10-03 13:01:21 +02:00
Aris Adamantiadis
338a3d9b05
Removed references to ssh_buffer_get_begin
2010-10-03 12:07:00 +02:00
Aris Adamantiadis
5f69d494ad
Fix documentation of ssh_set_message_callback
2010-10-02 23:24:19 +02:00
milo
3d8cfa9973
Don't grow window if there is no space in the buffer
2010-10-02 22:55:53 +02:00
Aris Adamantiadis
0d5cc01f1c
Fix the window not growing problem
...
Fix conflict with patch from milo
Conflicts:
src/channels.c
2010-10-02 22:54:59 +02:00
milo
524302ca7e
Added ssh_channel_write_stderr() for the server
2010-10-02 22:52:06 +02:00
milo
2617024136
Added channel features on the server
...
- ssh_channel_request_send_exit_status()
- ssh_channel_request_send_exit_signal()
- enhanced these features client-side
2010-10-02 22:51:49 +02:00
milo
26d40b5354
Handle global requests and reverse forwarding
2010-10-02 22:51:35 +02:00
milo
c4356531f7
Add new callbacks in session and channels
2010-10-02 22:51:14 +02:00
Aris Adamantiadis
873e02fc6a
First step getting rid of ssh_buffer_get_begin
2010-10-01 23:41:04 +02:00
Aris Adamantiadis
985db35173
Rewrote channel_read_buffer to use ssh_channel_read
2010-10-01 23:03:08 +02:00
Aris Adamantiadis
c4e67730a3
Convert sftp.c to ssh_channel_read
2010-10-01 21:41:56 +02:00
Aris Adamantiadis
9f7e2c3252
Update the window *after* effective read
2010-10-01 18:56:57 +02:00
Aris Adamantiadis
5675fbe73e
Fix the behaviour of channel window handling
2010-10-01 18:38:08 +02:00
Aris Adamantiadis
5b1c985a0e
Changed the threads cbks from struct to publ func
2010-09-30 11:10:08 +02:00
Aris Adamantiadis
bedc65313f
Removed the extern char *environ
2010-09-30 10:42:55 +02:00
Aris Adamantiadis
9f53906209
Remove extern environ from the requirements
2010-09-29 17:06:54 +02:00
Andreas Schneider
be837cdbc2
misc: Fixed a typo.
2010-09-29 14:19:07 +02:00
Andreas Schneider
38359672a5
misc: Make sure ssh_analyze_banner has proper length checks.
2010-09-29 12:12:14 +02:00
Andreas Schneider
1b471256d4
misc: Differentiate between client and server in ssh_analyze_banner.
2010-09-29 12:11:43 +02:00
Andreas Schneider
30e22fed6e
misc: Fixed a possible data overread and crash bug.
2010-09-29 11:29:37 +02:00
Andreas Schneider
8b719e51cf
misc: Move ssh_analyze_banner to a common location.
...
Don't duplicate functions!
2010-09-29 11:26:35 +02:00