wolfssh/tests
John Safranek c71202ffdb Guard remote forwards and disallowed msg ids
A client answers tcpip-forward and cancel-tcpip-forward with a failure,
RFC 4254 section 7.1, before the request body is parsed. DoPacket()
disconnects on a refused id this build implements and on any refused id
of 80 or higher, the range RFC 4252 section 6 names; a refused id below
80 is answered UNIMPLEMENTED, RFC 4253 section 11.4.

- MsgIdKnown() carries DoPacket()'s dispatch ids, build guards included
- answer a refused id off the dispatch, so one cannot reach a handler
  if MsgIdKnown() falls behind
- skip the disconnect once the session is over, RFC 4253 section 11.1
  forbids sending after one
- cover ids 53, 79, 200 and a channel open before user auth on one
  keyed-server helper
- cover a client refusing both request names, with a reply asked for and
  without, and a server still succeeding

Issue: #1047 (3), #1047 (7), F-10576, F-10581, F-12574
2026-09-01 10:51:48 -05:00
..
api.c Match forwarded-tcpip to registered forwards 2026-08-31 20:35:56 -05:00
api.h Release v1.4.22 2025-12-29 16:53:33 -08:00
auth.c examples, tests: terminate the ES_ERROR messages with a newline 2026-08-28 18:22:34 -05:00
auth.h added check for private and public keys decoded 2026-07-31 16:14:52 -07:00
include.am client: fix keyboard-interactive responses 2026-08-10 10:31:07 -06:00
kex.c Add remaining ML-DSA composite signature algorithms 2026-08-10 14:51:37 -07:00
kex.h Release v1.4.22 2025-12-29 16:53:33 -08:00
regress.c Guard remote forwards and disallowed msg ids 2026-09-01 10:51:48 -05:00
sftp.c Add a safe mask for peer-supplied mode and extend wolfSSH_SFTP_Open 2026-06-08 10:01:24 -07:00
sftp.h Release v1.4.22 2025-12-29 16:53:33 -08:00
testsuite.c scp: fix duplicate file header on send 2026-08-04 12:20:49 -04:00
testsuite.h Release v1.4.22 2025-12-29 16:53:33 -08:00
unit.c Carry the EOF status through SFTP and SCP 2026-08-31 11:53:29 -05:00
unit.h Release v1.4.22 2025-12-29 16:53:33 -08:00