Sara Golemon
2b414db02e
BFN
2005-01-20 21:35:24 +00:00
Sara Golemon
5f7470700e
Handle Client-To-Server channel windowing.
2005-01-20 21:33:30 +00:00
Bert Vermeulen
bfc2f5039e
Added a couple of comments to keep my last-error-not-set-o-meter from going off
2005-01-19 16:29:53 +00:00
Sara Golemon
a3735795dd
Can't remember why I did this, banner should always be sent before trying to receive
2005-01-18 19:17:29 +00:00
Sara Golemon
a891971a63
Simplify DSA signing process
2005-01-18 06:31:41 +00:00
Sara Golemon
d4677dba5b
Fix u64int ifdef statement
2005-01-18 06:30:02 +00:00
Sara Golemon
d1ae5a501f
Add MSVC6 build files
2005-01-11 19:10:53 +00:00
Sara Golemon
72c4c38e37
Finish making msvc6 happy
2005-01-11 19:05:47 +00:00
Sara Golemon
fe2513a18b
Bump for release (tardy)
2005-01-11 18:59:10 +00:00
Wez Furlong
ee03669517
be nice to msvc 6
2005-01-11 14:58:04 +00:00
Wez Furlong
22c105332d
Add release build for win32
2005-01-11 02:23:28 +00:00
Sara Golemon
c9e8f3a1a0
Allow alternate API prefix from CFLAGS or calling app
2005-01-10 23:56:09 +00:00
Sara Golemon
54b852dfc9
Add dist_nmake target
2005-01-10 19:58:23 +00:00
Sara Golemon
308d59910f
Fix setstat calls. libssh2_attr2bin was masking out flags
2005-01-07 23:51:46 +00:00
Sara Golemon
ecd83df6a7
Need to load the cipher definitions if we expect to use them...
2005-01-07 23:14:53 +00:00
Sara Golemon
4191a8c56c
Fix ssh-dss public key authentication
2005-01-07 21:07:53 +00:00
Sara Golemon
c5acc8a901
Ooops, this should have been hexits, not raw bytes
2005-01-06 17:32:17 +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
8fe47a609a
Ooops, forgot to add these
2005-01-01 23:39:15 +00:00
Sara Golemon
c070bdacc7
Move towards a working win32 build
2005-01-01 23:38:34 +00:00
Sara Golemon
a9af84c51d
Let ./configure populate VERSION in Makefile
2004-12-31 20:40:40 +00:00
Sara Golemon
dfb3b8f0fd
Additional install docs
2004-12-31 20:31:24 +00:00
Sara Golemon
c006dd4350
Added support for MAC methods: hmac-md5 and hmac-md5-96
...
key_len should not have been in KEX_METHOD,
it's dependent on MAC method, not KEX method.
This is why the MD5 MACs were borked initially,
md5 has a key_len of 16, not 20.
2004-12-31 00:55:52 +00:00
Sara Golemon
4324a1a1d1
APINO should have been bumped when session_methods() proto was changed
2004-12-31 00:45:53 +00:00
Sara Golemon
cf8ca63ea0
Add ./configure option '--disable-gex-new' to fallback on
...
older diffie-hellman-group-exchange-sha1 syntax.
i.e. Use SSH_MSG_KEX_DH_GEX_REQUEST_OLD
rather then SSH_MSG_KEX_DH_GEX_REQUEST
See draft-ietf-secsh-dh-group-exchange section 7 for details.
2004-12-31 00:15:18 +00:00
Sara Golemon
d1b33840bf
Note change to libssh2_session_methods()
2004-12-30 23:22:59 +00:00
Bert Vermeulen
eef99ca106
Changed libssh2_session_methods() to use method_type parameter
2004-12-30 22:19:53 +00:00
Sara Golemon
d86bcab2d2
Add error codes to session_method_pref()
2004-12-30 20:05:53 +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
143c6bf97f
Add DESTDIR support during 'make install' (Adam Go³êbiowski)
2004-12-26 21:54:19 +00:00
Sara Golemon
371f5de682
Bump for release
2004-12-24 23:23:09 +00:00
Sara Golemon
d2d8f8ad0b
Added libssh2_banner_set()
2004-12-24 23:10:15 +00:00
Sara Golemon
a1e649b507
Fixed leak in sftp_symlink_ex(),
...
result for READLINK and REALPATH not freed unless there was an error.
2004-12-24 20:19:42 +00:00
Sara Golemon
99795a165e
Plug leak in handle string provided by sftp_open
2004-12-24 03:57:10 +00:00
Sara Golemon
6f13a93be9
Fix crash in sftp_close_handle.
...
Don't free dir handle data when it's not a dir handle!
2004-12-24 03:49:25 +00:00
Sara Golemon
3f24fb005e
Bump version for release and remove SFTP from TODO list
2004-12-23 15:15: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
d4efdee802
Expose specific SFTP error codes to the calling program
2004-12-22 21:55:08 +00:00
Sara Golemon
aa8b8afe4f
Update contact info with new domain
2004-12-22 20:56:06 +00:00
Sara Golemon
525a181037
Add SFTP support
2004-12-22 00:20:02 +00:00
Sara Golemon
9977cee99b
Fix LIBSSH2_CHANNEL_CLOSE for the LAST TIME.
2004-12-20 22:42:02 +00:00
Sara Golemon
3a744117d6
Ooops, try that again...
2004-12-20 22:08:46 +00:00
Sara Golemon
d974137db9
Fixes: scp blocking modes, MacError abstract indirection
...
Additions: Channel Close callback
2004-12-20 21:52:35 +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
912e9ca713
Fixed polling error in libssh2_channel_read_ex()
2004-12-18 07:00:51 +00:00
Sara Golemon
6fdf9c9c06
Packet queueing mechanism allows data which immediately follows
...
open confirmation to get ignored. Work around this by adding the channel
to the list before opening it.
2004-12-17 04:27:29 +00:00
Sara Golemon
26e7e66ecf
Bump version for release
2004-12-17 01:33:17 +00:00
Sara Golemon
a0cd3ed3dc
Fix return code in libssh2_channel_write_ex()
2004-12-16 23:04:11 +00:00