Commit Graph

863 Commits (45048426e06e973618cddc9739c5d839fc56f061)

Author SHA1 Message Date
JacobBarthelmeh 45048426e0
Merge pull request #277 from ejohnstown/release-1.4.5
Release 1.4.5
2020-08-31 13:13:57 -06:00
John Safranek 132a0a52f6
Clean up a couple issues where building the code with a C++ reported build errors.
1. Typecasting the return from malloc.
2. strncpy() checking.
2020-08-31 09:31:47 -07:00
John Safranek 4b021fcfa0
Release v1.4.5
1. Update changelog and readme.
2. Update configure.ac.
2020-08-28 16:34:21 -07:00
John Safranek 8c719f5f57
Merge pull request #274 from JacobBarthelmeh/sftp
fix for non blocking interop with winscp
2020-08-27 17:09:13 -07:00
JacobBarthelmeh 849797a398 handle dangling directory opens 2020-08-27 14:33:23 -07:00
Jacob Barthelmeh f380c4f653 add check for WS_WINDOW_FULL error 2020-08-27 13:49:48 -06:00
John Safranek e052108d0c
Merge pull request #271 from JacobBarthelmeh/scp
add callback and example for no file system with SCP
2020-08-27 09:23:17 -07:00
JacobBarthelmeh 12f86ea267
Merge pull request #276 from ejohnstown/send-fix
SendChannel fix
2020-08-27 10:13:51 -06:00
John Safranek ede1f01752
SendChannel fix
When changing the functions SendChannelData() and
SendChannelAdjustWindow() to use the self channel ID instead of the peer
channel ID, forgot to update a couple instances. The test case at the
time had matching ID numbers for self and peer and happened to work.
2020-08-26 14:56:32 -07:00
Jacob Barthelmeh 76bdcd9438 add error out when receiving a file larger than the buffer 2020-08-26 15:14:54 -06:00
Jacob Barthelmeh 64d8d21209 remove accessing WS_SFTP_BUFFER directly 2020-08-26 13:33:23 -06:00
John Safranek e5c90b31e1
Merge pull request #273 from JacobBarthelmeh/testing
graceful shutdown with scp interop
2020-08-26 10:28:23 -07:00
Jacob Barthelmeh 04511bafa6 add guard on file system use in example client 2020-08-26 10:38:36 -06:00
Jacob Barthelmeh 9a8b9e72c9 adjust check for :/ and check on compare of file name 2020-08-26 10:22:56 -06:00
Jacob Barthelmeh 44d18953ed allow scp to '/' and increase file buffer in example server 2020-08-26 10:22:56 -06:00
Jacob Barthelmeh c2a2c03095 fix check on file size 2020-08-26 10:22:56 -06:00
Jacob Barthelmeh 9a83d7998a add status callback to SCP no filesystem 2020-08-26 10:22:56 -06:00
Jacob Barthelmeh 649a523b35 sanity check for file name size and typo fix from review 2020-08-26 10:22:56 -06:00
Jacob Barthelmeh 1a7a80544d make shutdown error message unique to client used 2020-08-26 10:22:56 -06:00
Jacob Barthelmeh 217a7d6520 add callback and example for no file system with SCP 2020-08-26 10:22:56 -06:00
Chris Conlon 728a6c2e73
Merge pull request #275 from ejohnstown/update-ecc
ECC Update for wolfSSL v4.5.0
2020-08-25 11:17:08 -06:00
John Safranek 7aedc31045
Add comment block to internal.c to start listing all the flags used in the file. 2020-08-24 09:37:15 -07:00
John Safranek 4055d91c11
ECC Update for wolfSSL v4.5.0
wolfSSL v4.5.0 introduced a new function, `wc_ecc_set_rng()`, which is
present when ECC_TIMING_RESISTANCE is enabled. Added a check to the
configure script for that function, and disable calls to the function
if it isn't present. This allows wolfSSH to build against older
versions of wolfSSL.
2020-08-21 16:57:43 -07:00
JacobBarthelmeh a81c3f6a6e
Merge pull request #269 from ejohnstown/agent
Agent
2020-08-21 16:21:27 -06:00
John Safranek 5a4e022337
Added a note about the user accounts used by the echoserver to the readme. 2020-08-21 14:48:49 -07:00
Jacob Barthelmeh 03fac18efd graceful shutdown with scp interop 2020-08-19 10:55:45 -06:00
Jacob Barthelmeh bc6a51888c fix for non blocking interop with winscp 2020-08-18 15:23:44 -06:00
John Safranek bfa3d5717c
SSH-AGENT Touchup
1. Add function to request the channel ID for the last message received.
2. Changed the send channel functions to use the self channel ID rather
   than the peer's channel ID.
3. Modified client and echoserver to use the channel ID for the agent
   to send messages.
4. Modify client to receive the entire message from the agent before
   trying to relay it to the peer.
2020-07-30 14:00:28 -07:00
John Safranek 95ebbe9e59
Merge pull request #270 from JacobBarthelmeh/fuzz
add sanity check on amount requested to be sent
2020-07-22 15:45:51 -07:00
John Safranek 2be3f15106
Remove the select.h header from examples if autoconf cannot find it. 2020-07-22 15:25:51 -07:00
John Safranek 2bf3d5bd87
SSH-AGENT (peer review)
1. Cleanup redundant includes.
2. Add comments to the Read Key function pair.
3. Remove my name as an example user.
4. Change ECC sig build arrays to use macro for size rather than
   bare number.
5. Remove empty if state for agent.
6. Added a couple needed NULL checks on allocs for the agent.
7. If unable to create an agent object on connect, disable agent use.
2020-07-22 14:48:45 -07:00
Jacob Barthelmeh ec6e7463d2 add sanity check on amount requested to be sent 2020-07-20 23:11:59 -06:00
John Safranek c552af214e
SSH-AGENT
1. Replace strsep() with strtok_r() for portability with Win32.
2. Check return code from fopen as well as the provided fd.
3. Remove a redundant null check when using the agent to sign.
2020-07-19 17:31:45 -07:00
John Safranek 365d1fd8ea
SSH-AGENT
1. Added option to client to load a public key.
2. Added function ReadKey to load a key from a buffer or from a file
   and store it. Utility for the client.
2020-07-17 14:54:36 -07:00
John Safranek 636cd81d32
SSH-AGENT
1. Example client should check the authType passed into the function,
   not the type stored in the authData.
2. Restore the hansel keys to example client.
3. Add user ECC option to the example client for selecting
   hansel's RSA or ECC key.
4. Restore the ordering of public key and password in
   SendUserAuthRequest().
2020-07-15 09:30:41 -07:00
John Safranek 98c9c853dd
When removing an accept state, didn't take the state ID out
or skip it. Handshake would then stall with non-blocking
sockets. Cleaned up the state issue.
2020-07-15 09:30:23 -07:00
John Safranek 1250e1f9d8
SSH-AGENT
1. Added the agent support to the configure.ac script.
2. Updated the gitignore file to ignore any stamp-h file.
3. Changed to use the parsing functions and to make the parsing functions
   local.
4. Updates to multichannel.
5. Add -lutil only if needed.
6. Add configure checks for some headers that change based on target OS.
7. Bump version.
8. Test doesn't have real account or real key so agent doesn't test well.
2020-07-15 09:29:49 -07:00
Chris Conlon 5949cd32de
Merge pull request #265 from kojo1/ewarm
IAR Ewarm sample project
2020-07-13 17:32:11 -06:00
JacobBarthelmeh 8621e757bb
Merge pull request #267 from ejohnstown/shell-worker
Shell Worker
2020-07-13 16:26:54 -06:00
John Safranek a996d1e1c2
Clean up some scan-build complaints. 2020-07-09 09:33:30 -07:00
John Safranek bd4ebe1a1d
Add check of return value of chdir(). 2020-07-08 15:23:26 -07:00
John Safranek fd0711d5c7
update readme for the shell support 2020-07-08 14:59:14 -07:00
John Safranek 9c4739e3b2
Shell Worker
1. Add the echoserver shell support as a configure option.
2. Added some header and function checks to configure.
3. Use the new header and function checks to select includes
   in the echoserver.
2020-07-08 13:40:00 -07:00
John Safranek 49bd9ad518
Shell Worker
1. Fixed issue with the testsuite failing when the shell is enabled.
2. Added option to echoserver to force the echo behavior instead of
the shell when shell is enabled.
2020-07-08 12:02:27 -07:00
John Safranek eda6c82114
Fix a typo in the configure file wrt the description of the pty option. 2020-07-08 12:01:51 -07:00
John Safranek 18ec6d927c
Shell Worker
Add customer contributed code to the echoserver for handling spawning a shell.
2020-07-08 12:00:32 -07:00
JacobBarthelmeh 8577ae147a
Merge pull request #266 from ejohnstown/db
Dropbear Interoperation Improvement
2020-07-08 09:49:22 -06:00
John Safranek 810c1459dc
Dropbear Interoperation Improvement
1. Added checking to see if the client's DH Init message is a guess or not and
if not, skip it if a kex message follows.
2. Added some strings for some other KEX methods.
2020-07-06 11:38:49 -07:00
Takashi Kojo d2eed573a8 project for EWARM 7.8 2020-07-06 15:52:44 +09:00
Takashi Kojo 2b300974ad sample user_settings.h 2020-07-04 06:23:26 +09:00