Commit Graph

674 Commits (6c979231c7fff9c2078b1015a74d417c588889c7)

Author SHA1 Message Date
Takashi Kojo 6c979231c7 option for no SendUserAuthFailure on USERAUTH_REGENCTED 2019-10-24 10:55:05 -07:00
Takashi Kojo 55c0352a76 sendDisconnect at password reject, example code in echoserver 2019-10-24 10:55:05 -07:00
John Safranek 1063b60b66
Merge pull request #203 from JacobBarthelmeh/testing
fix for pscp interop
2019-10-24 10:39:56 -07:00
JacobBarthelmeh e0562d2337
Merge pull request #205 from ejohnstown/maint-error
Error Code Maintenance
2019-10-24 09:14:04 -06:00
Jacob Barthelmeh d0dcb241a6 fix for pscp interop 2019-10-23 11:27:22 -06:00
JacobBarthelmeh 74e42d582b
Merge pull request #201 from ejohnstown/shutdown-fix
Echoserver Maintenance
2019-10-10 15:54:31 -06:00
John Safranek e69eada485 In the wolfsftp file, change all the logging statements to log to WS_LOG_SFTP. 2019-10-10 14:42:49 -07:00
John Safranek 216008133f Maintenance
1. Add new error WS_ERROR to replace WS_FATAL_ERROR.
2. Added error WS_SSH_NULL_E and WS_SSH_CTX_NULL_E for the error to
string functions for when ssh is actually NULL.
2019-10-10 11:45:15 -07:00
John Safranek 744a67e53b
Echoserver Maintenance
1. When printing server worker errors, print out the error string on the
stored error code, not the return value.
2. If the error is a socket error, don't try to send a shutdown message
to the peer.
3. Update the echoserver to close the connection cleanly when the SFTP
peer exits.
4. Added a function to check a WOLFSSL_CHANNEL if it is in eof.
2019-10-10 10:57:39 -07:00
John Safranek 5fe810aa96
Merge pull request #200 from JacobBarthelmeh/testing
add include of wolfssl types.h for XMALLOC and add debug message
2019-10-10 10:03:13 -07:00
Jacob Barthelmeh aebe908223 set host/user/password in test to be from env 2019-10-09 16:58:05 -06:00
Jacob Barthelmeh 377073d684 add include of wolfssl types.h for XMALLOC and add debug message 2019-10-07 15:38:11 -06:00
JacobBarthelmeh 4a246abc76
Merge pull request #197 from ejohnstown/maintenance
Maintenance
2019-09-19 22:36:48 -06:00
John Safranek 1ad4ea3232 Fix off by one error in SCP command processing. 2019-09-13 09:52:05 -07:00
John Safranek 915c1bced9 Add a public API for the SendDisconnect() function. 2019-09-12 16:13:47 -07:00
John Safranek 66ff87c0a8 Remove a confusing log entry with a comment. 2019-09-12 14:04:10 -07:00
John Safranek 365be7d63c Maintenance
1. Clean up a few compiler warnings.
2. Between Windows, MacOS, and Linux, the %llu printf tag varies
slightly, add a typecast of the word64 to unsigned long long to hush the
compiler warning.
2019-09-11 14:10:16 -07:00
John Safranek 208d76730c
Merge pull request #195 from kojo1/GlobalReq2
MSGID_REQUEST_FAILURE to response MSGID_GLOBAL_REQUEST
2019-09-11 12:51:35 -07:00
John Safranek acd80a1976 Maintenance
When DoReceive starts, it saves a copy of the current peerMacSz. After
the call to DoPacket, it adds the peerMacSz size to the input buffer
index, then calls ShrinkBuffer(). Because it was adding the session
stored peerMacSz, and not the local copy, the input buffer was appearing
to be overrun in one packet case, NEW_KEYS. This message updates the
session's peerMacSz, but it's mac size is still the old size.
2019-09-11 10:54:59 -07:00
John Safranek f59ea6f1ac Maintenance
Fix a typo in a string.
2019-09-11 10:54:26 -07:00
Takashi Kojo be799ed412 success param as a boolean 2019-09-11 10:44:09 +09:00
Takashi Kojo 8e06fd2dcf Merge SendRequestSuccess/Failure 2019-09-10 09:30:02 +09:00
Takashi Kojo 968c1dd30c MSGID_REQUEST_FAILURE to response MSGID_GLOBAL_REQUEST 2019-09-08 07:27:32 +09:00
JacobBarthelmeh e3f8d81e98
Merge pull request #194 from ejohnstown/aes-bug
AES Bug Fix
2019-09-06 16:08:23 -06:00
John Safranek ff704663dd Fix a bug with the AES support. AES keys weren't set if only AES-CBC or
AES-CTR were enabled. Changed the AND comparison to OR.
2019-09-06 14:09:56 -07:00
JacobBarthelmeh 018ddbaf31
Merge pull request #193 from cconlon/cygwinfixes
Fixes for Cygwin build
2019-08-30 14:34:21 -06:00
Chris Conlon 710a4c9057 fix visibility warnings in Cygwin 2019-08-30 12:29:17 -06:00
Chris Conlon f88dc8c98b fix undefined FIONREAD error on Cygwin 2019-08-30 11:55:51 -06:00
John Safranek ef2a6e15c6
Merge pull request #192 from JacobBarthelmeh/doc
update comment on SFTP name list free function
2019-08-29 14:32:04 -07:00
John Safranek 62335d9a7b
Merge pull request #190 from JacobBarthelmeh/sftp
add test case for wolfSSH_SFTP_SendReadPacket
2019-08-29 14:29:12 -07:00
Jacob Barthelmeh 1cfbc3ff73 update comment on SFTP name list free function 2019-08-27 17:01:12 -06:00
Jacob Barthelmeh 49a973550c fix handling of nonblocking states with wolfSSH_SFTP_SendReadPacket 2019-08-22 15:19:15 -06:00
Jacob Barthelmeh ef47ac7796 filter out directories in test case 2019-08-20 14:06:32 -06:00
Jacob Barthelmeh e590ee3445 account for smaller files in test case 2019-08-20 13:36:35 -06:00
Jacob Barthelmeh 864908b65a add test case for wolfSSH_SFTP_SendReadPacket 2019-08-20 13:24:19 -06:00
John Safranek dfd07942f5
Merge pull request #189 from JacobBarthelmeh/doc
fix comments and add in more
2019-08-16 10:32:51 -07:00
Jacob Barthelmeh da3135f345 fix comments and add in more 2019-08-16 10:16:25 -06:00
Jacob Barthelmeh f8c7076d59 adjust text file Changlog.md format for length of sentences 2019-08-05 15:05:23 -06:00
John Safranek 6ed5b7d4dd
Merge pull request #184 from JacobBarthelmeh/release
prepare for release v1.4.2
2019-08-05 13:56:54 -07:00
Jacob Barthelmeh 0cc06675c9 prepare for release v1.4.2 2019-08-05 14:21:35 -06:00
John Safranek 03f77d1de5
Merge pull request #182 from JacobBarthelmeh/auth
add back in password auth
2019-08-05 08:36:43 -07:00
John Safranek 4ed7dc5310
Merge pull request #180 from JacobBarthelmeh/testing
fix check on want write state with SFTP
2019-08-02 17:50:08 -07:00
Jacob Barthelmeh 318c6429fb add back in password auth 2019-07-24 09:21:44 -06:00
JacobBarthelmeh f07b134f20
Merge pull request #181 from kaleb-himes/GH-9-meta-wolfssl-issue
Remove void cast on non-existent variable in single threaded mode
2019-07-08 09:34:51 -06:00
kaleb-himes 051764972b Remove void cast on non-existent variable in single threaded mode 2019-07-05 17:00:05 -06:00
Jacob Barthelmeh 72a5f75ccd fix check on want write state with SFTP 2019-07-05 10:47:45 -06:00
JacobBarthelmeh 3b2ea810c0
Merge pull request #178 from LinuxJedi/more_null_ptr
More NULL ptr dereference fixes
2019-07-03 15:46:55 -06:00
Andrew Hutchings 76654e7530 More NULL ptr dereference fixes
Found using cppcheck. Also fixed debug logging getting missed from my
previous PR.
2019-07-03 13:47:52 +01:00
JacobBarthelmeh 1e57763f5e
Merge pull request #173 from LinuxJedi/minor-fixes
Fix possible NULL ptr dereferences
2019-07-02 10:21:02 -06:00
John Safranek ff6c167aad
Merge pull request #175 from kojo1/PW_retry
Password retry out
2019-07-01 16:46:42 -07:00