wolfssh/tests
John Safranek 79456c2002 Refuse a session channel open on a client
RFC 4254 6.1 has a session open travelling client-to-server, so
DoChannelOpen refuses one on a client endpoint in the type switch,
ahead of ChannelNew and any channelOpenCb. OpenSSH and Dropbear
refuse it outright too, with no application opt-in.

- Answer OPEN_ADMINISTRATIVELY_PROHIBITED, as the forwarded-tcpip
  direction gate below it does.
- Widen the client harness guard in regress.c so it builds without
  WOLFSSH_FWD, and hoist AcceptChannelOpenCb out of the forwarding
  block.
- Cover the refusal, and the gate outranking an accepting
  channelOpenCb.

Issue: F-8836
2026-09-03 10:40:16 -05:00
..
api.c wolfsftp, port: apply the attributes SETSTAT and FSETSTAT acknowledge 2026-09-02 08:42:36 -07:00
api.h
auth.c examples, tests: terminate the ES_ERROR messages with a newline 2026-08-28 18:22:34 -05:00
auth.h
include.am
kex.c internal: Refactor and gate ML-DSA composite key handling 2026-09-02 15:35:09 -07:00
kex.h
regress.c Refuse a session channel open on a client 2026-09-03 10:40:16 -05:00
sftp.c wolfsftp, port: apply the attributes SETSTAT and FSETSTAT acknowledge 2026-09-02 08:42:36 -07:00
sftp.h
testsuite.c
testsuite.h
unit.c Validate a custom SSH proto ID string 2026-09-02 15:36:18 -07:00
unit.h