Mikhail Gusarov
dc446eff08
Debug output slightly fixed
2005-06-24 11:18:20 +00:00
Mikhail Gusarov
2e097c7760
Memory leak liquidated - free the SSH_MSG_CHANNEL_REQUEST packet data
...
after processing 'exit-status' message
2005-06-23 08:22:04 +00:00
Mikhail Gusarov
77bd3c1215
'exit-status' information packet handling added
2005-06-23 05:55:01 +00:00
Sara Golemon
6de7ed8a7b
Drop these old references to initial window size, they were a mistake
2005-05-18 17:12:40 +00:00
Sara Golemon
cc7703092f
Save up multiple small refunds in order to cut down on unnecessary WINDOW_ADJUST packets
2005-05-18 17:08:29 +00:00
Sara Golemon
e9b0710b4b
Fix format specifiers
2005-05-11 05:26:12 +00:00
Sara Golemon
ebfbd22e59
Add debugging hooks for development diagnostics
2005-05-11 05:11:31 +00:00
Sara Golemon
cba673de6f
Make blocking_read's polling loop less arbitrary
2005-05-04 18:48:47 +00:00
Sara Golemon
ba420fc7bf
Block means block.
2005-04-05 23:08:41 +00:00
Sara Golemon
ae9ad1ef6f
break; fallthroughs in win32 code
2005-04-02 05:43:17 +00:00
Sara Golemon
5d9c0d50f3
Another typo
2005-04-01 15:34:14 +00:00
Sara Golemon
15b8489046
Phase 1 of the Great Timeout Cleanup
2005-04-01 06:11:34 +00:00
Sara Golemon
dce388e9c5
Nix unused variable
2005-03-28 23:03:41 +00:00
Sara Golemon
d6039f39e4
Nix the memset loop
...
Speaking of which: Why wasn't it JUST a memset() call?
The encrypted version of packet_write fills in this data with OpenSSL
RAND_bytes() data, and as far as the unencrypted version goes?
Well, it's unencrypted, randomness doesn't help at that point.
2005-03-26 05:31:31 +00:00
Sara Golemon
141ac5b856
Add sys/uio.h for FBSD builds and remove old stdio references
2005-03-21 21:26:08 +00:00
Sara Golemon
ef7496b29a
Update copyright year
2005-02-18 16:32:02 +00:00
Sara Golemon
c6bbe0d42f
Added libssh2_session_flag() and LIBSSH2_FLAG_SIGPIPE with hooks
2005-02-03 05:57:43 +00:00
Sara Golemon
a05bf84ecf
Collapse state flags into single bitmask attribute
2005-02-03 05:41:35 +00:00
Sara Golemon
5f7470700e
Handle Client-To-Server channel windowing.
2005-01-20 21:33:30 +00:00
Sara Golemon
a119685410
Add X11 forwarding support
2005-01-06 00:51:30 +00:00
Wez Furlong
dc4bb1af96
Add support for win32.
...
Edit win32/config.mk to set the paths to your openssl and zlib headers and
libraries.
Then, from the root of the tree:
nmake -f NMakefile
voila.
2005-01-03 22:46:15 +00:00
Sara Golemon
2e02ad041a
Add remote tcp/ip forwarding.
2004-12-29 19:26:28 +00:00
Sara Golemon
596b62c027
use actual random data with KEX_INIT cookie and packet padding
2004-12-27 20:38:44 +00:00
Sara Golemon
f11c657a10
Make libssh2_packet_read() use a static buffer to avoid unnecessary
...
alloc and free calls.
Since the cipher and mac layers aren't runtime extensible (yet)
and we know neither of these works in sizes greater than 32,
we can safely set aside a 64 byte block of data on the stack
for crypting and hashing.
This will make a big difference during quasi-non-blocking reads
where libssh2_packet_read() is polled repeatedly.
2004-12-23 00:42:20 +00:00
Sara Golemon
aa8b8afe4f
Update contact info with new domain
2004-12-22 20:56:06 +00:00
Sara Golemon
66f913e53a
A broken decrypt (or false packet) could cause an unreasonably large
...
block of memory to be allocated leading to indeterminate results.
SSH-TRANS only requires implementations to handle about about 32k
compressed length per packet. Allow 40k to be safe, but no more.
2004-12-18 07:14:51 +00:00
Sara Golemon
7a153310f7
Change extended data ignore to allow merging extended data into the primary stream
2004-12-08 18:14:46 +00:00
Sara Golemon
82e9e2ba0f
Add "ignore extended data" option to avoid having stderr data fill up
...
the receive window and leaving no room for stdio data.
2004-12-08 03:39:29 +00:00
Sara Golemon
7a5ffc8cee
Initial revision
2004-12-07 21:17:20 +00:00