Andreas Schneider
ce0324770d
kex: Fix some build warnings.
2011-11-10 14:46:22 +01:00
Andreas Schneider
bc2ab9b414
bind: Add more error messages.
2011-11-09 10:21:51 +01:00
Andreas Schneider
ce26b8d777
packet: Use a define for the macsize.
2011-11-09 10:13:26 +01:00
Andreas Schneider
99d2cf02a6
options: Add missing argument check.
2011-11-03 18:24:52 +01:00
Lee Hambley
17f396ffab
Improve ssh_options_get(ssh_session, enum ssh_options_e, char**).
...
* Use SSH_ERROR and SSH_OK instead of `-1` and `0`.
* Re-factor for code duplication
* No longer call `ssh_set_error_invalid(ssh_session)` when the
ssh_session is NULL.
2011-11-03 18:24:02 +01:00
Andreas Schneider
2c04994443
pki: Add a ssh_key_cmp() function.
2011-10-29 19:58:28 +02:00
Andreas Schneider
e799c0ce7d
dh: Add ssh_get_publickey().
2011-10-29 19:58:28 +02:00
Andreas Schneider
2cc48db673
tests: Fix build warning.
2011-10-29 19:58:10 +02:00
Lee Hambley
e797781bb5
Implement ssh_options_get_port(ssh_session, unsigned int*).
2011-10-28 12:15:12 +02:00
Lee Hambley
6bd95b50f5
Implement ssh_options_get(ssh_session, enum ssh_options_e, char**).
2011-10-28 12:14:34 +02:00
Andreas Schneider
d8d9755b7d
bind: Fix ssh_bind_listen in normal case.
2011-10-17 19:27:29 +02:00
Aris Adamantiadis
1fcddebadc
server: use app-provided bind socket when available
2011-10-13 22:30:27 +02:00
Aris Adamantiadis
551a0c855b
server: ssh_bind_accept_fd
...
This function will not call accept() but use function parameter
instead
2011-10-13 22:23:48 +02:00
Andreas Schneider
85cc582d4a
doc: Improve doc of ssh_get_pubkey_hash().
2011-10-04 10:47:05 +02:00
Aris Adamantiadis
c340192144
packet: cleaner logs with less redundant info
2011-10-03 13:52:19 +03:00
Aris Adamantiadis
b6d0b531f8
server: pubkey auth doesn't work with ecdh
2011-09-25 23:47:55 +02:00
Aris Adamantiadis
5c19cda280
Fix warning
2011-09-24 14:08:52 +02:00
Aris Adamantiadis
e38f2f933b
pki: ssh_pki_generate
...
for both gcrypt and openssl
2011-09-24 01:36:58 +02:00
Aris Adamantiadis
21d68112b8
Torture: test new ssh_pki_generate function
2011-09-24 01:36:39 +02:00
Aris Adamantiadis
3fa5293aec
pki: DO actually verify signatures
...
Would have been an embarrassing bug...
2011-09-24 00:25:44 +02:00
Andreas Schneider
6859e4f4ec
build: Fix zlib support.
2011-09-23 22:57:21 +02:00
Aris Adamantiadis
43fc7553f8
torture_algorithm: follow verbosity
2011-09-23 22:57:05 +02:00
Aris Adamantiadis
717840fc09
torture: check for presence of ssh agent
2011-09-23 22:33:21 +02:00
Aris Adamantiadis
046aa02f39
Fix bugs found by clang
2011-09-23 22:27:46 +02:00
Andreas Schneider
8a3b02f68d
cmake: Fix library linking.
2011-09-23 08:00:58 +02:00
Aris Adamantiadis
dad35304b6
channels: fix embarrasing channel_read_nonblocking bug
2011-09-22 13:48:21 +03:00
Andreas Schneider
744b7720af
build: Fix SSHv1 build.
2011-09-22 12:07:09 +02:00
Andreas Schneider
5083742192
packet: Move packet callbacks to packet_cb.c.
2011-09-18 21:37:18 +02:00
Andreas Schneider
dc42a1757f
gzip: Fix zlib support.
2011-09-18 21:37:18 +02:00
Andreas Schneider
7202a26b6c
priv: Remove dead prototype.
2011-09-18 21:37:17 +02:00
Andreas Schneider
b785014a15
crypt: Rename to packet_crypt.
2011-09-18 21:37:17 +02:00
Andreas Schneider
acfc8ea83f
priv: Remove crypto.h and add correct includes to src files.
2011-09-18 21:37:17 +02:00
Andreas Schneider
c2686b8feb
socket: Move socket function to right location.
2011-09-18 21:37:17 +02:00
Andreas Schneider
e7009fe8f3
priv: Create crc32.h.
...
As crc32 is only needed by SSHv1, build it only with SSHv1.
2011-09-18 21:37:17 +02:00
Andreas Schneider
ffb827b539
priv: Move gcrypt functions to gcrypt header.
2011-09-18 21:37:17 +02:00
Andreas Schneider
33754c391f
priv: Start to remove enter_function.
2011-09-18 21:37:17 +02:00
Andreas Schneider
d7fa15df83
priv: Move kex functions to kex header.
2011-09-18 21:37:17 +02:00
Andreas Schneider
519291558d
priv: Move options and config prototypes to own header.
2011-09-18 21:37:17 +02:00
Andreas Schneider
abd9856c6a
priv: Move defines to the top.
2011-09-18 21:37:17 +02:00
Andreas Schneider
4a6a0987a8
client: Remove unused variable.
2011-09-18 21:36:40 +02:00
Andreas Schneider
3622ac83f6
legacy: Fix possible segfault with publickey_from_file().
...
This function is obsolete.
2011-09-18 21:36:23 +02:00
Aris Adamantiadis
f61269a2ef
ECDH key exchange working
2011-09-18 20:34:16 +02:00
Aris Adamantiadis
d24e353e38
pki: null ptr check
2011-09-18 20:34:16 +02:00
Aris Adamantiadis
09b33b1b6e
server: split dh_handsake_server
2011-09-18 20:34:16 +02:00
Aris Adamantiadis
af09313eac
crypto: rename crypto_struct -> ssh_cipher_struct
2011-09-18 20:34:16 +02:00
Aris Adamantiadis
ac41a083ef
kex: moved KEX structures to ssh_crypto_struct
2011-09-18 20:34:16 +02:00
Aris Adamantiadis
48980573c1
wrapper.c: cleanup
2011-09-18 20:34:15 +02:00
Aris Adamantiadis
22668bcdae
kex: have server_kex use the elected methods
2011-09-18 20:34:15 +02:00
Aris Adamantiadis
07abc3406d
kex: split key selection and sending
2011-09-18 20:34:15 +02:00
Aris Adamantiadis
1b10b175fc
dh: fix segfault in server
2011-09-18 20:34:15 +02:00