JacobBarthelmeh
0ef7ca2145
refactor chroot call
2022-08-29 13:17:26 -07:00
JacobBarthelmeh
8a286ad727
remove duplicate code and raise permissions for chroot
2022-08-29 09:27:42 -07:00
JacobBarthelmeh
e1f0a67c38
add chroot jailing to sshd
2022-08-29 09:27:42 -07:00
John Safranek
82172d0e43
Merge pull request #446 from JacobBarthelmeh/sshd-priv
...
modify starting new processes with SSHD
2022-08-29 09:16:02 -07:00
JacobBarthelmeh
0830b56fab
fix for permissions level seperation
2022-08-26 23:07:32 -07:00
John Safranek
d42230d629
Merge pull request #444 from JacobBarthelmeh/release
...
fix for include with FIPS build and cast with g++ build
2022-08-23 08:49:35 -07:00
JacobBarthelmeh
20ace73349
fix new scan-build warning
2022-08-22 18:09:07 -06:00
JacobBarthelmeh
3f52af5e45
g++ fix warning on define
2022-08-22 17:34:49 -06:00
JacobBarthelmeh
0a93923067
g++ warning fixes
2022-08-22 17:31:02 -06:00
JacobBarthelmeh
1f280647c8
include header for FIPS callback function
2022-08-22 17:29:13 -06:00
David Garske
ed751da24b
Merge pull request #443 from JacobBarthelmeh/release
...
prepare for release v1.4.11
2022-08-22 15:33:32 -07:00
JacobBarthelmeh
99fd7c964f
Merge pull request #440 from ejohnstown/real-path
...
SFTP RealPath
2022-08-22 16:03:38 -06:00
Jacob Barthelmeh
8e118ef222
prepare for release v1.4.11
2022-08-22 10:08:55 -06:00
John Safranek
185a730752
SFTP RealPath
...
1. Add a function for returning a RealPath per the SFTP RFC.
2. Add a test function for the RealPath to test against.
2022-08-21 21:32:25 -07:00
John Safranek
25afeba41e
Merge pull request #438 from JacobBarthelmeh/fuzz
...
fix amount copied when condensing string
2022-08-18 11:56:03 -07:00
John Safranek
d841e32c87
Merge pull request #439 from JacobBarthelmeh/doc
...
update copyright date
2022-08-18 10:57:56 -07:00
Jacob Barthelmeh
92d1f39065
update copyright date
2022-08-17 16:58:21 -06:00
John Safranek
511a022833
Merge pull request #435 from JacobBarthelmeh/sshd
...
Alpha version of SSHD support with wolfSSH
2022-08-16 16:22:55 -07:00
Jacob Barthelmeh
5a1f42ba07
update copyright, wrap isspace, fix formating
2022-08-16 13:28:06 -06:00
Jacob Barthelmeh
4bbe366934
fix amount copied when condensing string
2022-08-15 15:31:48 -06:00
Jacob Barthelmeh
387ac299b0
fix for compiler warnings
2022-08-12 10:22:18 -06:00
JacobBarthelmeh
ebd0e51e53
handle basic absolute paths for authorized keys file
2022-08-11 15:40:22 -07:00
Jacob Barthelmeh
17f3a029e3
cast on values and adjust isspace check
2022-08-10 14:58:02 -06:00
John Safranek
a0da4e3cc5
Merge pull request #431 from JacobBarthelmeh/sftp
...
handle files with . in name and fix for window resize want write case
2022-08-10 13:30:35 -07:00
Jacob Barthelmeh
941a295903
cast return values of WSTRLEN in internal.c
2022-08-10 14:24:02 -06:00
Jacob Barthelmeh
5806d28dd2
check for null port value
2022-08-09 13:24:58 -06:00
Andrew Hutchings
97974e9af2
Better wildcard support for Include
...
Check the prefix and postfix for a filename when a wildcard is used.
2022-08-09 13:51:14 +01:00
JacobBarthelmeh
dba42d3dc7
Non-blocking SFTP and SSH fixes, handle edge case with files having '.' in name, alter want write case to return consumed size
2022-08-08 13:43:34 -07:00
Andrew Hutchings
d2327d5acd
Fix syslog priority
2022-08-08 16:12:35 +01:00
David Garske
7c1fd84af7
Merge pull request #433 from anhu/dir_list_all
...
Fixes directory listing output in sftp.
2022-08-08 07:57:37 -07:00
Andrew Hutchings
b1f26c84d0
Add syslog support
...
When going into daemon mode on a POSIX system, use syslog
2022-08-08 15:43:17 +01:00
Andrew Hutchings
bef771b693
Implement Include directive
...
Includes single files or directories, only in POSIX for now.
2022-08-08 14:48:02 +01:00
Jacob Barthelmeh
8f3cdc8230
infer fixes, clang build fixes, initial build on OSX
2022-08-05 12:05:07 -06:00
JacobBarthelmeh
0f6e7841de
Merge pull request #432 from embhorn/zd14588
...
Add WIN time support in SFTP client
2022-08-04 09:31:14 -06:00
JacobBarthelmeh
f51375802b
add more comments and always print out error messages
2022-08-03 15:04:34 -07:00
David Garske
4405eba63d
Merge pull request #434 from JacobBarthelmeh/sftp-fixes
...
handle larger ext sizes with SFTP connect
2022-08-03 07:33:31 -07:00
Jacob Barthelmeh
3177f41c2b
handle larger ext sizes with SFTP connect
2022-08-02 16:27:13 -06:00
Anthony Hu
9830846ec1
Make jenkins happy. Proper cleanup and non-blocking support.
2022-08-02 17:40:31 -04:00
JacobBarthelmeh
7d58486a42
QNX shell login as user
2022-07-30 01:26:56 -07:00
JacobBarthelmeh
87a9bd4325
cleanup some debug messages and start to actual daemon
2022-07-30 00:46:11 -07:00
JacobBarthelmeh
4d90993e16
stub UseDNS, add checking config UsePrivilegeSeparation, scan-build warning fixes
2022-07-29 23:08:19 -07:00
JacobBarthelmeh
c978b83c28
add check for PermitRootLogin config
2022-07-29 16:32:39 -07:00
JacobBarthelmeh
cd0213572c
add parsing Protocol from sshd_config
2022-07-29 16:06:26 -07:00
Anthony Hu
0221a5e90f
Make clang happy
2022-07-29 13:49:00 -04:00
JacobBarthelmeh
3af82ddb42
login as user with new shell
2022-07-29 09:51:04 -07:00
Anthony Hu
d29991b15c
Changes inspired by peer review feedback.
2022-07-29 12:23:14 -04:00
Anthony Hu
4024fea9a7
Fixes directory listing output in sftp.
...
We were only only showing the output of the first message of a directory listing
which is wrong. A directory listing can be composed of several messages so we
must keep reading until there is no more to read.
Fixes ZD14587
2022-07-29 11:51:35 -04:00
Andrew Hutchings
0b6d6cc093
Make a note about 32bit Linux large file support
2022-07-29 14:07:58 +01:00
Andrew Hutchings
2e4d69e5ea
Missed one function in PPC32 fix
2022-07-29 13:34:47 +01:00
Andrew Hutchings
afdc1f4c67
Fix compiler errors for PPC32
2022-07-29 13:33:12 +01:00