Anthony Hu
1697d603c0
Changes inspired by ejohnstown comments.
2024-06-03 14:40:52 -04:00
Anthony Hu
499a742097
improvements for ipv6
2024-05-31 17:32:20 -04:00
Anthony Hu
17a9ff4caa
Fix compile error triggered by enabling TEST_IPV6
2024-05-27 17:09:00 -04:00
Sean Parkinson
9b29ba68cc
Merge pull request #666 from JacobBarthelmeh/progress_bar
...
refactor windows wolfsshd service to resolve powershell Write-Progress
2024-04-30 08:52:13 +10:00
John Safranek
6d51cc8278
Release v1.4.17: Release Testing Fixes
...
1. C++ build required some additional typecasting.
2. C++ complained about using the `= { 0 }` initializer, switched to
`WMEMSET()`.
2024-03-22 17:09:01 -07:00
John Safranek
1736a4cabf
Update Copyright Date
...
1. Bring all copyright dates up to 2024.
2. Fix a few files with incorrect licensing.
2024-03-22 12:17:09 -07:00
JacobBarthelmeh
4ad5c5cd76
refactor windows wolfsshd service to resolve powershell Write-Progress
2024-03-12 10:18:42 -06:00
JacobBarthelmeh
5d3f8776ed
add macro guard on windows version for VT
2024-03-06 09:49:42 -07:00
JacobBarthelmeh
9c7edce644
use windows terminal parsing for VT wolfssh.c
2024-03-06 09:06:28 -07:00
John Safranek
4193671164
Merge pull request #657 from JacobBarthelmeh/sftp_large
...
Fix for large file transfers on client side with SFTP
2024-02-15 17:39:56 -08:00
JacobBarthelmeh
cd3130fa7e
add large sftp file transfer test case
2024-02-15 09:32:58 -07:00
JacobBarthelmeh
46cdfc570d
set pipes as non blocking before last read
2024-02-03 00:24:04 -07:00
JacobBarthelmeh
8ce9d164ca
fix windows build with sshd
2024-02-02 09:46:41 -07:00
JacobBarthelmeh
b662bcaaf1
fix return value for test shell scripts
2024-01-29 16:40:35 -07:00
JacobBarthelmeh
126a884aff
adjust sshd test for user name
2024-01-26 14:35:50 -07:00
JacobBarthelmeh
521981ea1b
check in x509 test script
2024-01-26 14:01:52 -07:00
JacobBarthelmeh
ab45a98d18
fix for building with QNX
2024-01-26 14:01:52 -07:00
JacobBarthelmeh
2366417b06
increase type size for command name and improve handling read of pipes after command exits
2024-01-26 14:01:52 -07:00
JacobBarthelmeh
31ffa18492
account for last bit of left over data in pipes after command exits
2024-01-26 14:01:50 -07:00
JacobBarthelmeh
0a24dccd7f
add additional x509 connection test
2024-01-26 14:01:11 -07:00
JacobBarthelmeh
e8f34afe6e
fix to only use stdout/stderr pipes with forced commands
2024-01-26 14:01:06 -07:00
JacobBarthelmeh
b711d62238
add piping of stderr
2024-01-26 14:00:21 -07:00
John Safranek
dce3cf09e9
Merge pull request #614 from JacobBarthelmeh/err
...
send error status on exit
2024-01-23 14:26:23 -08:00
JacobBarthelmeh
ad8bd954a1
do not set SIG_IGN now that the parent process is getting the childs exit status
2024-01-23 14:44:20 -07:00
JacobBarthelmeh
39b6e26c7e
improve unix/linux wait for child exit status
2024-01-23 14:39:47 -07:00
JacobBarthelmeh
6e5a614260
update return code test case
2024-01-22 15:28:12 -07:00
JacobBarthelmeh
7d2b4c5e39
fix typo in macro guard
2024-01-22 15:10:53 -07:00
JacobBarthelmeh
80a21ccc09
print out log on fail and remove print out from alarm
2024-01-19 09:22:13 -07:00
JacobBarthelmeh
8fe719c373
disable test case until resolving for use with github actions
2024-01-19 09:18:41 -07:00
JacobBarthelmeh
965a0c5b46
add debug for test case
2024-01-19 09:18:41 -07:00
JacobBarthelmeh
11329a4b62
add error return test case
2024-01-19 09:18:41 -07:00
JacobBarthelmeh
6791f979aa
account for sleep on windows
2024-01-19 09:18:41 -07:00
JacobBarthelmeh
0d480fa419
adjust shutdown for sending exit status cleanly
2024-01-19 09:18:41 -07:00
JacobBarthelmeh
f41e706825
add exit status return to Windows server
2024-01-19 09:18:41 -07:00
JacobBarthelmeh
fda22526e2
add linux server side sending of exit-status
2024-01-19 09:18:41 -07:00
JacobBarthelmeh
afe109acf8
client side handling of exit-status packet
2024-01-19 09:18:41 -07:00
John Safranek
72d083db40
wolfSSHd Terminal
...
1. Modified the ssh terminal size test to be agnostic to the version of
sed used.
2. Add some guards around the mode setting code for ioctl() availability
so it would build for Windows.
2023-12-29 16:39:03 -08:00
John Safranek
92c4242b1f
wolfSSHd Terminal
...
1. Prep the SHELL variable inherited by the new shell to be equal to the
user's shell.
2. Prep the new shell's $0 variable to be equal to the shell name
prefixed with a '-', ie "/bin/bash" becomes "-bash".
2023-12-28 15:20:11 -08:00
John Safranek
711fee25f2
wolfSSHd Terminal
...
1. Rename the stashed window size values.
2. Set the terminal modes after the child process is running.
3. Decode the modes list from the pty-request message.
4. Store the modes list for later use.
2023-12-28 15:02:01 -08:00
John Safranek
271e560045
Release v1.4.15: Last Second Fixes
...
1. Added a UNICODE define to the Windows build of the wolfSSHd auth
module so it picked the correct strings.
2. Fixed a typo in the ChangeLog.
2023-12-22 15:28:21 -08:00
John Safranek
c5d37047f0
Merge pull request #636 from JacobBarthelmeh/warnings
...
resolving build warnings
2023-12-22 15:15:48 -08:00
JacobBarthelmeh
0e3ec03c2d
resolving build warnings
2023-12-22 14:24:59 -07:00
John Safranek
3feaad95af
Release v1.4.15: Release Testing Fixes
...
1. Add a check for limits.h to configure.ac.
2. In wolfSSHd's configuration.c file, add an include of limits.h if
available. It is including the header indirectly while using it
directly.
2023-12-22 11:05:15 -08:00
John Safranek
7f52e23a5a
Merge pull request #629 from JacobBarthelmeh/usr
...
add override for default sshd user
2023-12-08 16:11:40 -08:00
John Safranek
7e17dc9d39
Test Fixes
...
1. Remove the grace period wolfSSHd test. It asks for a password, and
when running as an action it doesn't have stdin, so it fails. The
test works when stdin is available.
2. Remove the check for __uint128_t from configure. wolfSSL exports this
value, if present, in its options.h. After wolfSSL v5.6.4, wolfSSL
also exports this to options.h when building it with CMake. The check
in wolfSSH isn't necessary now.
2023-12-06 12:08:48 -08:00
JacobBarthelmeh
9cc9711dc8
add override for default sshd user
2023-12-05 10:39:52 -07:00
JacobBarthelmeh
47ce821b33
avoid zombie processes
2023-12-04 00:13:39 -07:00
John Safranek
76c6c9974f
Merge pull request #627 from JacobBarthelmeh/term
...
add terminal resize callback for unix like use
2023-12-01 15:39:11 -08:00
JacobBarthelmeh
7e300b5109
add terminal size test case
2023-12-01 13:56:40 -08:00
JacobBarthelmeh
e2ee49f064
Merge pull request #625 from ejohnstown/known-hosts-fix
...
Known Hosts Update
2023-12-01 10:42:01 -07:00