milo
ddb1c1838f
poll: Added a function to poll the events.
2011-02-20 14:37:43 +01:00
milo
e40261c22c
poll: Added function to remove fd from the event context.
2011-02-20 14:37:34 +01:00
milo
6582da1d67
poll: Added function to add an fd to the events.
2011-02-20 14:37:34 +01:00
milo
0c76156f54
poll: Added function to remove session from event loop.
2011-02-20 14:37:31 +01:00
milo
4b72953c7e
poll: Added function to add session to an event.
2011-02-20 14:36:44 +01:00
milo
4ee4450a6b
poll: Added a function to free an event.
2011-02-20 14:35:11 +01:00
milo
a2634ceea8
poll: Started to add a poll based event loop.
2011-02-20 14:21:45 +01:00
Andreas Schneider
ac8276c70e
server: Fixed logging function name.
2011-02-18 20:57:09 +01:00
Andreas Schneider
5cc2e69d0d
channel: Fixed a possible NULL pointe dereference.
2011-02-18 18:03:37 +01:00
Bernhard R. Link
23b3c46fd6
channel: Improve ssh_channel_open_reverse_forward documentation.
2011-02-18 17:50:50 +01:00
Bernhard R. Link
8a83990c16
channels: set error for new NULL pointer checks
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2011-02-18 17:45:28 +01:00
Bernhard R. Link
071b0034db
socket: Set errors on return.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2011-02-14 22:48:53 +01:00
Bernhard R. Link
7ae59c571a
channels: Set errors on return.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2011-02-14 22:48:53 +01:00
Bernhard R. Link
b1db0e54ad
bind: Set errors on return.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2011-02-14 22:48:53 +01:00
milo
4230509e80
Check for NULL pointers in string.c
2011-02-14 20:23:12 +01:00
milo
11e54e8221
Check for NULL pointers in channels.c
2011-02-14 20:02:02 +01:00
Andreas Schneider
eea1df3574
misc: Fixed ssh_is_ipaddr_v4() on Windows.
2011-02-13 17:36:45 +01:00
Andreas Schneider
cd30a1d4b1
misc: Added working ssh_is_ipaddr for Windows.
2011-02-13 11:56:47 +01:00
Andreas Schneider
fdd1cb18d0
auth: Fixed a memory leak in kdbint auth.
...
Milo please check!
2011-02-13 11:04:09 +01:00
Andreas Schneider
499467d362
auth: Fixed a double free error.
2011-02-13 10:43:59 +01:00
Andreas Schneider
d1ddec00d9
misc: Fixed ssh_is_ipaddr on FreeBSD.
2011-02-13 10:32:47 +01:00
Bernhard R. Link
637fc7ea59
always set error when returning error in auth.c
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2011-02-12 20:11:50 +01:00
Aris Adamantiadis
483cdc2d2c
Added ssh_userauth_[offer_]pubkey nonblocking iface
2011-02-12 19:21:13 +01:00
Bernhard R. Link
8d9d46ca66
use ssh_log instead of fprintf in ssh_config_parse_file
...
ssh_config_parse_file calls "fprintf(stderr," directly thus ignoring
a set log callback. Replacing the print with a call to ssh_log should
fix this.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2011-02-12 19:08:59 +01:00
Andreas Schneider
4d38b4c848
srv_sftp: Set error messages in sftp_get_client_message().
2011-02-12 19:08:59 +01:00
Andreas Schneider
768fbdd92e
connect: Use ssh_is_ipaddr instead of regex.
2011-02-12 19:08:59 +01:00
Andreas Schneider
b313fa944a
misc: Added ssh_is_ipaddr() function.
2011-02-12 19:08:59 +01:00
Bernhard R. Link
8e0e4d8fb3
ssh_connect_host_nonblocking returns SSH_EINTR, not E_INTR, so update documentation
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2011-02-12 14:29:03 +01:00
Bernhard R. Link
8b51d29363
proper prototypes
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2011-02-12 12:26:33 +01:00
milo
3c0a4781e4
Added the keyboard-interactive authentication method
2011-02-10 14:39:20 +01:00
milo
32e23a25da
Reverse commit 076dfb82 for the server side
2011-02-10 14:37:34 +01:00
milo
3eaf25d989
Fix NULL pointer checks in poll
2011-02-10 14:35:29 +01:00
Andreas Schneider
5a8a2a56af
poll: Use WSAPoll() on Windows.
2011-02-09 00:36:16 +01:00
Andreas Schneider
d464b57fa5
Revert "poll: Remove obsolete win_poll functions."
...
This reverts commit c950ed3b4c2c9a84ae9e94ffc81eb815249f81cb.
2011-02-09 00:34:36 +01:00
Andreas Schneider
c950ed3b4c
poll: Remove obsolete win_poll functions.
...
Thanks for the hint Milo ;)
2011-02-09 00:13:47 +01:00
Andreas Schneider
93a2d79459
session: Added ssh_is_connected().
2011-02-06 10:50:14 +01:00
Andreas Schneider
03b387cf47
Revert "sftp: Added missing break's to server."
...
This reverts commit 131e3b968ff60b4db71ac4fe02a21e20ccdcd819.
2011-02-05 18:40:00 +01:00
Andreas Schneider
131e3b968f
sftp: Added missing break's to server.
2011-02-05 18:24:23 +01:00
Andreas Schneider
8f850585dd
session: Fixed possible uninitialized return of ret.
2011-02-05 15:23:19 +01:00
Andreas Schneider
4b07157fc6
getpass: Fixed a compiler warning.
2011-02-05 15:23:19 +01:00
milo
867944b939
Respect RFC when sending stderr data
...
http://tools.ietf.org/html/rfc4254#section-5.2
byte SSH_MSG_CHANNEL_EXTENDED_DATA
uint32 recipient channel
*uint32 data_type_code*
string data
2011-02-04 12:46:51 +01:00
Aris Adamantiadis
c1ecec7cda
SSH1: Update a few fix from 0.4.8-git
2011-01-26 22:50:05 +01:00
Aris Adamantiadis
00d68d63fa
Getpass: fixed loop + indentation
2011-01-26 21:49:58 +01:00
Aris Adamantiadis
5d87ca94a8
Getpass: Fix password clearing
2011-01-26 13:22:29 +01:00
Andreas Schneider
1e827a8e81
getpass: Fixed possible segfault if len is too small.
2011-01-24 17:13:35 +01:00
Andreas Schneider
50a119dd0a
misc: Added multiplatform ssh_getpass() fuction.
2011-01-24 13:55:05 +01:00
Aris Adamantiadis
80ef7d9304
Fix problem with ssh_connect w/ timeout &fd > 1024
...
Convert that code to ssh_poll
(cherry picked from commit b1a65dd25f124bd7d78714b016e8c0e05fc7acd2)
2011-01-22 16:55:36 +01:00
Aris Adamantiadis
84df46f805
Fix use-after-free when socket is closed in a callback handler
2011-01-19 16:01:21 +01:00
Aris Adamantiadis
0e2bbdd25b
Fix doxygen warning
2011-01-16 23:42:19 +01:00
Aris Adamantiadis
6b52aaff1c
ssh_auth_password made nonblocking
2011-01-16 23:42:19 +01:00