wolfssh/wolfssh
John Safranek d43eb01a66 sftp: refuse dir REMOVE and replacing RENAME
SSH_FXP_REMOVE does not take directories and SSH_FXP_RENAME fails on an
existing newpath (draft-ietf-secsh-filexfer-02 6.5). The non-Windows
handlers check with an lstat first, oldpath before newpath, and REMOVE
unlinks. A regular file renames by linkat() and unlink(), which refuses
an existing name atomically; anything else checks then calls rename().

- configure: probe for linkat()
- port.h: WUNLINK on POSIX, WLINK as linkat() when configure finds it
- FatFs, Nucleus: only "/" and "/." stand in for the root
- regress: test both against files, directories, symlinks and a
  read-only directory

Issue: F-15535, F-15536
2026-11-02 13:40:06 -06:00
..
agent.h agent: exchange whole messages when signing 2026-10-16 11:15:32 -05:00
certman.h expand CI test for non-fpki build, fix check for error state with CertEnumCertificatesInStore, add extended key usage type check if present, fix for EKU checks with X509 use and add test case 2026-09-05 01:32:02 -07:00
certs_test.h
…
error.h error.h: mark WS_MATCH_UA_KEY_ID_E retired 2026-10-13 17:18:10 -05:00
include.am Add OpenSSH certificate user authentication 2026-07-27 23:30:20 -07:00
internal.h Hold algorithm-list names to RFC 4251 format 2026-10-25 16:17:26 -05:00
keygen.h Add remaining ML-DSA composite signature algorithms 2026-08-10 14:51:37 -07:00
log.h
…
misc.h
…
ossh.h Add OpenSSH certificate user authentication 2026-07-27 23:30:20 -07:00
port.h sftp: refuse dir REMOVE and replacing RENAME 2026-11-02 13:40:06 -06:00
settings.h Let a client-only build use SCP 2026-09-23 20:52:18 -05:00
ssh.h internal: reject '-' in proto ID softwareversion 2026-10-28 16:05:17 -05:00
test.h Build cleanly with a C++ compiler 2026-10-22 21:30:18 -05:00
version.h Prepare for release 1.6.0 2026-10-06 16:03:51 -06:00
version.h.in
…
visibility.h
…
wolfscp.h scp: match the scp command as a whole token 2026-09-15 21:55:50 -07:00
wolfsftp.h sftp: bound reply lengths before client allocs 2026-11-01 23:29:33 -06:00