JacobBarthelmeh
034ed7fe9f
fix ups for format, spelling, includes, and string compare
2023-08-30 13:32:17 -07:00
JacobBarthelmeh
0bd4539ef6
adjust req-pty terminal size sent with Windows
2023-08-30 09:08:25 -07:00
JacobBarthelmeh
ab742ca766
wolfSSHd port to Windows
...
handling of terminal size adjustments
stub case for ECH virtual terminal command
2023-08-30 09:08:25 -07:00
JacobBarthelmeh
5d8a64f062
check on absolute path from Linux to Windows machine
2023-07-13 13:24:32 -07:00
John Safranek
35554745bc
Update sftpclient
...
1. Update the example SFTP client with changes made for the echoserver.
2. Better handling of rekeying status.
2023-04-13 16:17:59 -07:00
JacobBarthelmeh
5971e8a4fa
warning fixes and windows build
2023-04-04 14:59:46 -07:00
JacobBarthelmeh
a9224993fd
refactor client apps and add X509 to scpclient
2023-04-04 14:59:46 -07:00
John Safranek
95bcc4541c
Release v1.4.13
...
1. Update the copyright year in all file header comments.
2. Update the STM32CUBE files to use the correct GPL headers.
2023-04-03 10:41:10 -07:00
Eric Blankenhorn
85f904dbfe
Fix build error in client_test
2023-03-15 09:46:01 -05:00
John Safranek
f8651c952b
Merge pull request #498 from JacobBarthelmeh/sshd-forcedcmd
...
remove leading tabs in config file while parsing, add force command test
2023-03-10 15:17:57 -08:00
John Safranek
55f352781e
Merge pull request #489 from JacobBarthelmeh/ip_check
...
add runtime option to override IP check with client
2023-03-10 15:00:46 -08:00
Kareem
d1bdc32de1
Fix 32-bit builds of the SFTP client. Only build SFTP client if building examples is enabled.
2023-02-15 16:59:34 -07:00
John Safranek
6d6b4686b2
Fix SFTP Upload Stall
...
1. Update README for the change in the default channel receive window size.
2. In the SFTP client, add rekeying as a error that's OK to ignore.
3. In wolfSSH_stream_read(), clear the SSH object's error register.
2023-02-01 17:09:30 -08:00
John Safranek
7c92e34180
Merge pull request #490 from JacobBarthelmeh/sftp-path
...
handle full path used with SFTP Get-Put commands
2023-01-24 15:46:36 -08:00
John Safranek
1a58568eac
Merge pull request #487 from JacobBarthelmeh/pathing
...
set ssh error in sftp status not ok state
2023-01-24 15:35:32 -08:00
JacobBarthelmeh
f844683c13
remove leading tabs in config file while parsing, add force command test
2023-01-23 14:25:08 -08:00
JacobBarthelmeh
ca36b31666
add IP override for sftp client
2023-01-20 15:48:41 -08:00
JacobBarthelmeh
77ef211997
avoid trying to close a remote file if no handle was parsed
2023-01-20 14:42:27 -08:00
JacobBarthelmeh
17e2a834ad
handle full path used with SFTP Get-Put commands
2023-01-19 16:14:44 -08:00
JacobBarthelmeh
f8b46ce1e3
alter setting of ssh->error with SFTP get and return value
2023-01-18 09:27:47 -08:00
JacobBarthelmeh
d82283a8e3
add '-s' option to print file sizes with 'ls' command
2023-01-15 13:44:02 -08:00
John Safranek
99bab74d78
Release Cleanup
...
1. Update the release date in the ChangeLog.
2. Move some compiler guards around to hush warnings depending on the
build options.
3. Fix a string name for ECDSA P521 algo.
4. Fix a stray static function definition.
5. For FIPSv5 builds, add CAST tests to the API test and testsuite.
6. Add the wolfSSH_Init() and wolfSSH_Cleanup() to the unit test.
2022-12-27 16:19:21 -08:00
John Safranek
bef7f758cc
SFTP Large File Fix
...
1. There were a couple spots during a large file transfer where the
client rekeying the session would interrupt the transfer and/or
reset the amount of file data transfered. Fixed that with a check
for WS_CHAN_RXD.
2. Added a build option to interrupt a file transfer after 2 minutes.
Large files will take longer.
2022-12-22 09:52:18 -08:00
JacobBarthelmeh
055f52ca5a
add cert use to sftp client
2022-12-19 16:37:40 -07:00
JacobBarthelmeh
20ace73349
fix new scan-build warning
2022-08-22 18:09:07 -06:00
Jacob Barthelmeh
92d1f39065
update copyright date
2022-08-17 16:58:21 -06:00
Eric Blankenhorn
90625af050
Add WIN time support in SFTP client
2022-07-28 15:58:18 -05:00
John Safranek
b34f144814
Preprocessor Guards
...
1. Add preprocessor guards for RSA/ECC to agent and the example and test
applications.
2. Remove redundant copy of FwdStates from internal.h.
2022-04-05 11:02:23 -07:00
Anthony Hu
e1949d2fd6
Clean out the currentFile file name to ensure reset of the timeout value.
2022-03-21 17:43:51 -04:00
John Safranek
796423bfac
Update tests and examples to include config.h
...
1. All the sources for the tests and examples did not have an include
for config.h. This fixed some inconsistent builds with an older
version of gcc.
2. Moved config.h from the src directory to the top level of the repo
directory.
2022-01-26 15:06:07 -08:00
Jacob Barthelmeh
ba99ddda68
run license update script
2021-11-04 13:11:53 -06:00
Jacob Barthelmeh
db00600628
fixes for warnings from scan-build
2021-11-04 09:43:53 -06:00
John Safranek
21f54b0599
Clean up some awkward debug logging with respect to userauth.
2021-08-02 23:41:27 +07:00
Jacob Barthelmeh
a0e19049f4
fixes for build with NO_WOLFSSH_CLIENT macro and --enable-all
2021-03-26 17:24:39 +07:00
Guido Vranken
ec2ecb8a82
Fix memmove length calculation in SFTP client example
2021-01-08 11:07:15 +01:00
Jacob Barthelmeh
a4b2c693fe
use word32 type with timeout example
2020-09-30 11:45:33 -06:00
Jacob Barthelmeh
69b91a3a2e
adjust size of strncpy and time limit
2020-09-17 11:16:22 -06:00
Jacob Barthelmeh
f8b092c5b4
add example timeout to sftp example
2020-09-17 10:43:38 -06:00
John Safranek
39f30e25a4
Optional RSA
...
1. If RSA is disabled in the wolfCrypt build, the RSA related code
in wolfSSH shall be disabled.
2. Examples will force themselves to use ECC if RSA is disabled.
2020-09-04 15:28:25 -07:00
John Safranek
0ea40ec85f
Release Rollup
...
1. Fix some C++ compiler errors.
2. Added "static" to the globals in the client and SFTP client.
3. Removed an unused string.
2020-04-24 10:50:22 -07:00
Jacob Barthelmeh
cc7db42475
free name list after done and fix clean_path
2020-03-03 15:33:01 -07:00
Jacob Barthelmeh
22cab294b1
fix XFREE/MALLOC typo to be WFREE/MALLOC
2020-02-26 13:19:43 -07:00
JacobBarthelmeh
552b763e4f
Merge pull request #243 from ejohnstown/vxworks
...
VxWorks Customizations
2020-02-18 17:08:00 -07:00
John Safranek
7c8ae04b44
VxWorks Customizations
...
Also includes some bug fixes.
1. Add a function that returns a pointer to a session's username string.
2. Add a function to set a "raw" username copied from an incoming packet.
3. Add tests for 1 and 2.
4. Server saves a copy of the username on successful authentication.
5. Fix bug with GetString() where it would choke on a 0 length string.
6. Clean up the termios macros and mode creation.
7. Add some options for when WOLFSSL_VXWORKS is set.
2020-02-18 16:01:00 -08:00
Jacob Barthelmeh
67851e5c10
updates to auth callback
2020-02-11 15:04:50 -07:00
Jacob Barthelmeh
31131c0e03
public key vs password is now decision of user callback
2020-01-27 10:33:28 -07:00
Chris Conlon
83f8372458
update copyright to 2020
2020-01-03 15:16:47 -08: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
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