Commit Graph

1658 Commits (fd67c8b0c8d3d42470dbfc38947610f5591ce22c)

Author SHA1 Message Date
JacobBarthelmeh 720adb1a08 fix WOLFSSH_API set for wolfSSH_SetTerminalResizeCtx 2023-09-11 08:47:40 -07:00
John Safranek 37367048ae
Merge pull request #574 from JacobBarthelmeh/sshd 2023-09-07 13:27:04 -07:00
John Safranek eb7d0533f1
Merge pull request #572 from JacobBarthelmeh/print 2023-09-07 13:24:28 -07:00
John Safranek dd7c17afec
Merge pull request #573 from JacobBarthelmeh/fuzzing 2023-09-07 13:23:49 -07:00
JacobBarthelmeh 57519c6a54
remove extra newline in debug message 2023-09-07 13:28:43 -06:00
JacobBarthelmeh aa6ba94206 keep permissions rasied when binding to socket 2023-09-07 09:19:48 -07:00
JacobBarthelmeh 999154677e sanity check on first read with opcode 2023-09-06 12:45:23 -07:00
JacobBarthelmeh 6e5b3c00d2 use WLOG for debug messages when checking peer IP address 2023-09-06 11:03:45 -07:00
JacobBarthelmeh 48fbd9acf9
Merge pull request #571 from ejohnstown/partial-success
Partial Success
2023-09-01 16:13:42 -06:00
John Safranek 36c170445f
Partial Success
User authentication partial successes are controlled by the user
authentication callback. If the public key is accepted by the user
authentication callback, but considers it a partial success, the
signature is still checked and if successful, is still treated as a
failure in the response message.

1. Add new user authentication callback return value of
   WOLFSSH_USERAUTH_PARTIAL_SUCCESS.
2. Update the password user authentication function to parallel the
   public key version more. Treat failure and partial success similarly.
3. Check the public key user authentcation callback for partial success.
   In that case, still check the signature.
2023-09-01 12:00:45 -07:00
JacobBarthelmeh 03ec8fb603
Merge pull request #570 from ejohnstown/wmacros
WMACRO Update
2023-09-01 10:45:52 -06:00
John Safranek 491f3dce57 WMACRO Update
1. Fix missing updates to wolfSSHd.
2. Fix missing update to scp.
2023-09-01 09:34:26 -07:00
John Safranek 0126528c15
Merge pull request #556 from falemagn/pull-reqs/f4021bb_All_the_filesystem-related_W_macros_accept_a_filesystem_context_pointer_as_first_parameter 2023-09-01 09:33:12 -07:00
John Safranek d4fa4ebd69
Merge branch 'master' into pull-reqs/f4021bb_All_the_filesystem-related_W_macros_accept_a_filesystem_context_pointer_as_first_parameter 2023-09-01 09:08:34 -07:00
JacobBarthelmeh 2e823c12cc
Merge pull request #569 from ejohnstown/autogen-tweak
Autogen Tweak
2023-08-31 16:22:39 -06:00
John Safranek f6dc1fc0ab Autogen Tweak
1. Remove redundant things from autogen.sh.
2. export the warnings variable to autoreconf sees it.
3. Simplify linking the configure hook script.
2023-08-31 15:01:34 -07:00
John Safranek ad2b0d7b99
Merge pull request #568 from JacobBarthelmeh/sftp 2023-08-30 16:15:47 -07:00
John Safranek bfed822923
Merge pull request #512 from JacobBarthelmeh/sshd-windows 2023-08-30 16:06:24 -07:00
JacobBarthelmeh 034ed7fe9f fix ups for format, spelling, includes, and string compare 2023-08-30 13:32:17 -07:00
Jacob Barthelmeh 4fd4d0458f scan build warning of unread timeout 2023-08-30 09:08:25 -07:00
JacobBarthelmeh 9993a26add parse command line arguments for Windows service 2023-08-30 09:08:25 -07:00
JacobBarthelmeh da32306628 fix for rekey with wolfsshd, improve wolfsshd vs project 2023-08-30 09:08:25 -07:00
JacobBarthelmeh 6b22fedec9 check SFTP pending data before processing more 2023-08-30 09:08:25 -07:00
JacobBarthelmeh 1b1f2d7090 with windows check for window-change packet before creating psudo terminal 2023-08-30 09:08:25 -07:00
JacobBarthelmeh 3e270cd0df still need to send initial terminal size with exec command 2023-08-30 09:08:25 -07:00
JacobBarthelmeh 0bd4539ef6 adjust req-pty terminal size sent with Windows 2023-08-30 09:08:25 -07:00
JacobBarthelmeh a37b709e20 add better initial setting of terminal size with pty-req packet 2023-08-30 09:08:25 -07:00
JacobBarthelmeh ecd47ddfd6 add OSX semaphore use, and fix warning 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 335afde474 additional checks on packet size 2023-08-30 09:02:51 -07:00
John Safranek 47001e0d92
Merge pull request #560 from JacobBarthelmeh/interop 2023-08-30 09:00:17 -07:00
John Safranek f7958e10ee
Merge pull request #565 from JacobBarthelmeh/blocking 2023-08-28 11:40:26 -07:00
JacobBarthelmeh dfd39b8364
Merge pull request #567 from ejohnstown/oqs-cleanup
OQS Cleanup
2023-08-28 10:07:42 -06:00
John Safranek 1a82574073
OQS Cleanup
1. Fixed used of a local variable whose name had changed and wasn't
   updated.
2. Added typecast to a 64-bit value that is added to a 32-bit value and
   stored as a 32-bit value for the kem size.
2023-08-25 15:48:58 -07:00
JacobBarthelmeh bd1506db93 reset want read before attempting to read 2023-08-25 15:29:23 -06:00
Sean Parkinson 6ff70225db
Merge pull request #548 from falemagn/pull-reqs/48833f4_Support_large_file_sizes_in_long_file_names
Support large file sizes in long file names.
2023-08-23 08:19:19 +10:00
Sean Parkinson 601682cf11
Merge pull request #559 from JacobBarthelmeh/sftp-fix
fix for SFTP interop
2023-08-23 08:15:56 +10:00
JacobBarthelmeh cc5a037f64
make new internal function use WOLFSSL_LOCAL 2023-08-08 13:52:47 -06:00
JacobBarthelmeh 1015a8be63
Merge pull request #553 from falemagn/pull-reqs/bb7773a_Correctly_send_out_the_CHANNEL_OPEN_FAIL_message_in_case_opening_a_channel_didnt_succeed
Correctly send out the CHANNEL_OPEN_FAIL message on failure.
2023-08-08 10:24:09 -06:00
JacobBarthelmeh efa7188b6d
use WSNPRINTF and rename variable 2023-08-08 09:37:35 -06:00
David Garske 837393a593
Merge pull request #566 from JacobBarthelmeh/dh
fix for dh group connections
2023-08-08 08:28:10 -07:00
JacobBarthelmeh 543901632d fix for dh group connections 2023-08-07 14:38:14 -07:00
JacobBarthelmeh 067cc069aa add check for full window with SSHD and improve nonblocking connect with client 2023-08-07 09:55:33 -07:00
David Garske e089f2da0b
Merge pull request #563 from JacobBarthelmeh/sftp-win
fix file offest on Windows and change offset increment
2023-08-07 08:37:11 -07:00
JacobBarthelmeh f018455f43 Use already defined max 32bit size 2023-08-07 08:25:08 -07:00
JacobBarthelmeh fd20feff0f fix file offest on Windows and change offset increment 2023-08-04 14:29:59 -07:00
JacobBarthelmeh 825b33d649
Merge pull request #545 from falemagn/pull-reqs/4ee19d0_wolfSSH_CTX_SetSshProtoIdStr
wolfSSH_CTX_SetSshProtoIdStr
2023-08-04 09:20:52 -06:00
Fabio bf223a4d62 Removed unneeded WOLFSSH_API and added null check for the ctx argument. 2023-08-04 07:23:13 +02:00
JacobBarthelmeh c651fc72e5 handle all unexpected public key auth callback return values and send auth failure to peer 2023-08-03 16:12:04 -07:00
JacobBarthelmeh 864ef1e3c4
Merge pull request #550 from falemagn/pull-reqs/cf9e96e_Add_a_state_for_the_receiving_of_SFTP_init_message
Support partial packet reads during the SFTP server-side initialization.
2023-08-03 16:39:51 -06:00