mirror of https://github.com/wolfSSL/wolfssh.git
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 |
||
|---|---|---|
| .. | ||
| api.c | ||
| api.h | ||
| auth.c | ||
| auth.h | ||
| include.am | ||
| kex.c | ||
| kex.h | ||
| regress.c | ||
| sftp.c | ||
| sftp.h | ||
| testsuite.c | ||
| testsuite.h | ||
| unit.c | ||
| unit.h | ||