Commit Graph

873 Commits (6cbc0d855e0e1a73820b0fc2e7a078044872d00b)

Author SHA1 Message Date
JacobBarthelmeh bbb778002a
Merge pull request #222 from ejohnstown/maintenance-rxtx
Maintenance: RX/TX
2019-12-05 15:03:15 -07:00
JacobBarthelmeh 185acf388d
Merge pull request #227 from ejohnstown/misc
Maintenance
2019-12-05 15:00:18 -07:00
John Safranek cacd19819b
Maintenance
1. Clean up some scan-build complaints from the unit test. It was
potentially using memory after it was freed.
2019-12-05 13:43:46 -08:00
John Safranek b6f1cc5039
Merge pull request #220 from guidovranken/NameToId-string-compare-fix
In NameToId, prevent any reliance on null-termination of string.
2019-12-05 13:36:14 -08:00
John Safranek 7d6e715e66 Update the readme files with the filename changes to the example user public keys. 2019-12-05 13:18:16 -08:00
John Safranek e68e6620ce Update and clarify the ECC options to the echoserver. (Added -E to the list.) 2019-12-05 13:18:16 -08:00
John Safranek bca02d4b78
Merge pull request #226 from embhorn/overflow_fix
Update to account for overflow
2019-12-05 13:06:19 -08:00
Eric Blankenhorn 45cbdd92a3 Update to account for overflow 2019-12-05 14:43:45 -06:00
John Safranek 1d3484d674
Merge pull request #225 from embhorn/zd9598
Check for invalid size of e
2019-12-05 11:39:32 -08:00
John Safranek 5083800003
Merge pull request #224 from embhorn/zd9597
Check for buffer size error
2019-12-05 11:39:22 -08:00
John Safranek 23b654c654
Merge pull request #223 from embhorn/zd9599
Check dataSz in DoChannelData
2019-12-05 11:39:12 -08:00
Eric Blankenhorn 52501a1391 Check dataSz in DoChannelData 2019-12-04 15:43:56 -06:00
Eric Blankenhorn a69307752d Check for invalid size of e 2019-12-04 14:04:36 -06:00
Eric Blankenhorn 32ee6b069e Check for buffer size error 2019-12-04 13:22:46 -06:00
John Safranek b9ca9824b2
Maintenance: RX/TX
1. Before attempting to resize the output buffer in PreparePacket, make
sure the length and index in the output buffer is consistent.
2. If SendPacket gets a general error back from the call to the transmit
I/O callback, flush the output buffer and return the general error
upstream.
2019-12-03 14:55:55 -08:00
Guido Vranken de551c10a9 In NameToId, prevent any reliance on null-termination of string. 2019-11-29 13:40:24 +01:00
Chris Conlon b8f18d9459
Merge pull request #218 from JacobBarthelmeh/sftp-nuc
Fixes for SCP and SCP with Nucleus port
2019-11-06 14:16:00 -08:00
Jacob Barthelmeh 56030a5615 cleaning up fixes for nucleus scp
fix for repeat call of scp with changed directory name

check on directory already existing for Nucleus port

explicit check for delimiter at end of scp command

fixes for parsing scp command and nucleus port
2019-11-05 22:26:42 -07:00
JacobBarthelmeh fbb8c90f0e
Merge pull request #214 from ejohnstown/release-prep
v1.4.3 Release Prep
2019-10-31 15:26:57 -06:00
John Safranek e9e7845974
v1.4.3 Release Prep 2019-10-31 10:37:37 -07:00
JacobBarthelmeh f4c237a09a
Merge pull request #217 from ejohnstown/fix-script
fix get-put test so it will run on Linux and Cygwin
2019-10-31 11:26:24 -06:00
John Safranek 03d4376ec0 fix get-put test so it will run on Linux and Cygwin 2019-10-31 10:05:47 -07:00
Chris Conlon c11b87c170
Merge pull request #216 from ejohnstown/release-fix-kex
KEX fixes
2019-10-30 14:21:47 -06:00
John Safranek a4a78605ba
KEX fixes
1. Changed the KEX buffers to use a macro to set their value based on a 3072-bit DH key.
2. Fixed the selection of the KEX type string sent to the peer in the KEX Init message.
2019-10-30 12:05:03 -07:00
Chris Conlon f256aed00b
Merge pull request #215 from ejohnstown/release-fixes
Release fixes
2019-10-30 09:42:21 -06:00
John Safranek c6145a452c
Initialize the buffer for the path when receving a ReadDir message. 2019-10-29 15:58:08 -07:00
John Safranek e7e90fc0ce
API Test on Windows needed the echoserver source and the NO_MAIN_DRIVER flag. 2019-10-29 15:52:33 -07:00
John Safranek 70255b5b34
When disabling ECDHE, DHE wasn't working as expected. It was a bug with storing the group domain parameters for use in the key agreement. 2019-10-29 14:53:39 -07:00
John Safranek 1cc53ef330 removed a dead assign from the echoserver 2019-10-29 14:51:55 -07:00
John Safranek 2346585c99
Merge pull request #209 from JacobBarthelmeh/sftp-nuc
adjust nucleus filesystem after adding in nonblocking sftp support
2019-10-28 08:16:12 -07:00
John Safranek 56be98ae5e
Merge pull request #210 from JacobBarthelmeh/sftp
adjust example sftp client chmod command parsing
2019-10-28 08:15:22 -07:00
JacobBarthelmeh a5442ea338
Merge pull request #204 from cconlon/mqx
SFTP port to MQX 4.2 (MQX/MFS/RTCS)
2019-10-25 16:24:35 -06:00
Jacob Barthelmeh cbd166a43d be more lenient on CR with protocol exchange 2019-10-25 16:14:00 -06:00
JacobBarthelmeh de794125f0
Merge pull request #212 from ejohnstown/fix-error-code
Fix Error Code
2019-10-25 15:15:24 -06:00
John Safranek 31379b2ed7
Fix the error code for sending data on a channel that hasn't confirmed open yet to be an error code rather than a dummy value. 2019-10-25 14:01:10 -07:00
Chris Conlon 7892aad690 check sz before WSTRNCMP calls 2019-10-25 14:56:08 -06:00
Chris Conlon 73a0afaba1 fix compiler warnings with IAR-EWARM 7.50.2 2019-10-25 14:56:08 -06:00
Chris Conlon 8e989810b9 SFTP port to MQX 4.2 2019-10-25 14:56:08 -06:00
Chris Conlon 9e5adc0697 fix loop bound in wolfSSH_oct2dec 2019-10-25 14:54:42 -06:00
JacobBarthelmeh f0c93bdd08
Merge pull request #206 from ejohnstown/auto-test
Automatic Client Test
2019-10-25 14:11:27 -06:00
John Safranek 8328ad57a6
Added an error message when the wolfsftp client fails to copy a file on autopilot. Prints out the whole remote file name. Deleted a now unused constant. 2019-10-25 13:07:18 -07:00
Jacob Barthelmeh ca1f59d7fc adjust example sftp client chmod command parsing 2019-10-25 14:00:37 -06:00
JacobBarthelmeh 24c6130e31
Merge pull request #208 from ejohnstown/pw-discon
Password Failure Disconnection
2019-10-25 13:37:05 -06:00
John Safranek c07a743c1a
Autopilot SFTP Test
1. Added some command line options to the wolfSFTP client to show how to
use a hardcoded automatic file transfer rather than using the command
shell. On top of that, added a script to get and put some sample files.
It was built into the wolfSFTP client to allow for using all forms of
authentication as well as using the command line password.
2. Update wolfSSH_SFTP_STAT() with clearing the error register if it is WANT_READ.
2019-10-25 10:51:36 -07:00
Jacob Barthelmeh caf710e0ba adjust nucleus filesystem after adding in nonblocking sftp support 2019-10-25 10:27:23 -06:00
John Safranek 06699c82dd
Merge pull request #207 from JacobBarthelmeh/valgrind
add hmac initialization and add sanity check on macsz
2019-10-24 11:41:57 -07:00
John Safranek 8d2900cbab
1. Reflowed some whitespace.
2. Removed a redundant function that was an artifact of the rebase.
3. Added a reset of the retry count.
2019-10-24 11:10:28 -07:00
Takashi Kojo 97c1324095 fix 2019-10-24 10:55:05 -07:00
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