Andreas Schneider
242e1c342c
build: Try to fix the build on Solaris.
...
(cherry picked from commit 9baa491b0b )
2011-02-13 17:39:11 +01:00
Andreas Schneider
935e3b70ae
misc: Added working ssh_is_ipaddr for Windows.
...
(cherry picked from commit cd30a1d4b1 )
2011-02-13 12:30:52 +01:00
Andreas Schneider
8d1bfb5a85
tests: Fixed misc and isipaddr test on Windows.
...
(cherry picked from commit ca941d6985 )
2011-02-13 12:30:46 +01:00
Andreas Schneider
2ac664968d
torture: Fixed torture on Windows.
...
(cherry picked from commit cbcd5668f5 )
2011-02-13 12:30:33 +01:00
Andreas Schneider
1199ad8f47
misc: Fixed ssh_is_ipaddr on FreeBSD.
...
(cherry picked from commit d1ddec00d9 )
2011-02-13 12:30:17 +01:00
Bernhard R. Link
c12559f8f6
always set error when returning error in auth.c
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
(cherry picked from commit 637fc7ea59 )
2011-02-12 20:15:07 +01:00
Andreas Schneider
840e1abcdc
tests: Added ipv6 tests.
...
(cherry picked from commit 5d4bd5a21d )
2011-02-12 19:22:02 +01:00
Andreas Schneider
e3594ba0ec
tests: Fixed torture_isipaddr.
...
(cherry picked from commit e8c3f55751 )
2011-02-12 19:22:02 +01:00
Andreas Schneider
0d07dc5355
srv_sftp: Set error messages in sftp_get_client_message().
...
(cherry picked from commit 4d38b4c848 )
2011-02-12 19:22:01 +01:00
Andreas Schneider
4170258595
connect: Use ssh_is_ipaddr instead of regex.
...
(cherry picked from commit 768fbdd92e )
2011-02-12 19:22:01 +01:00
Andreas Schneider
dacfc41d21
misc: Added ssh_is_ipaddr() function.
...
(cherry picked from commit b313fa944a )
2011-02-12 19:22:01 +01:00
Aris Adamantiadis
5158877b72
Connect: Test the new isipaddr() function
...
(cherry picked from commit 7acc2fa607 )
2011-02-12 19:21:42 +01:00
Bernhard R. Link
a785ba3c4d
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 >
(cherry picked from commit 8d9d46ca66 )
2011-02-12 19:21:17 +01:00
Bernhard R. Link
92dbd4eca2
ssh_connect_host_nonblocking returns SSH_EINTR, not E_INTR, so update documentation
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
(cherry picked from commit 8e0e4d8fb3 )
2011-02-12 19:21:16 +01:00
Bernhard R. Link
a7144c5b6b
proper prototypes
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
(cherry picked from commit 8b51d29363 )
2011-02-12 19:21:16 +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 c950ed3b4c .
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
5144f390ca
examples: Fixed build warning.
2011-02-08 19:36:44 +01:00
Andreas Schneider
f5e2c94ae3
torture: Fixed memory leak.
2011-02-08 19:08:27 +01:00
Andreas Schneider
8078d4f674
doc: Use fwrite for the command example.
2011-02-08 10:59:50 +01:00
Andreas Schneider
ac785e0aa3
examples: The exec example should be like tutorial one.
2011-02-08 10:54:25 +01:00
Andreas Schneider
541519e563
build: Updated the ChangeLog.
2011-02-07 18:22:34 +01:00
Andreas Schneider
58feb0c983
vim: Added .clang_complete file.
2011-02-07 17:39:06 +01:00
Andreas Schneider
72e08d5dd9
build: Added a --clang option.
2011-02-07 13:34:37 +01:00
Andreas Schneider
f812ace256
tests: Some fixes for sftp_dir.
2011-02-07 13:33:28 +01:00
Andreas Schneider
057704c097
torture: Added more test for correct auth.
2011-02-07 13:31:31 +01:00
Andreas Schneider
92f20ec85a
torture: Fixed the kbdint auth.
2011-02-07 13:31:08 +01:00
Andreas Schneider
a26194ece0
torture: Rename the static auth kbdint function.
2011-02-07 13:30:23 +01:00
Andreas Schneider
22b1e5bc7c
tests: Added test for sftp directory functions.
2011-02-06 16:35:54 +01:00
Andreas Schneider
38d6d38c1f
torture: Added a function to setup a sftp session.
2011-02-06 16:27:43 +01:00
Andreas Schneider
215c41710e
torture: Added torture_isdir().
2011-02-06 15:35:18 +01:00
Andreas Schneider
97d261dc79
torture: Added torture_rmdirs().
2011-02-06 15:35:18 +01:00
Andreas Schneider
892ebf35f1
torture: Added GPL header.
2011-02-06 15:34:32 +01:00
Andreas Schneider
05cd7296ba
tests: Added a torture_ssh_session().
2011-02-06 11:15:05 +01:00
Andreas Schneider
93a2d79459
session: Added ssh_is_connected().
2011-02-06 10:50:14 +01:00
Andreas Schneider
30e4096c66
tests: Fixed missing ;
2011-02-06 08:45:37 +01:00
Andreas Schneider
03b387cf47
Revert "sftp: Added missing break's to server."
...
This reverts commit 131e3b968f .
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
4bf8ee8032
tests: Check fgets output.
2011-02-05 15:23:19 +01:00
Andreas Schneider
63c42f066f
tests: Fixed checking return values of system().
2011-02-05 15:23:19 +01:00
Andreas Schneider
9e40e60bc4
examples: Check return values of write.
2011-02-05 15:23:19 +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
Andreas Schneider
b0c2be25a6
doc: Fixed the include dir.
2011-01-28 13:13:08 +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