mirror of https://github.com/wolfSSL/wolfssh.git
- Reply to a port-0 (dynamic) tcpip-forward with the bound port. - Add WS_FWD_PORT_CHECK (1024) as the status/port boundary in WS_FwdCbError. - Callback returns a WS_FwdCbError status below it, the port at or above it. - DoGlobalRequestFwd reports the port and rejects a port-0 setup with none. - Map a callback rejection to WS_RESOURCE_E so a no-reply request keeps the link. - Update the echoserver reference callbacks (examples and Espressif) to recover the OS-chosen port with getsockname() and return it under the new convention. - Add regress coverage for the allocated-port and rejection paths. Issue: F-5573 Co-authored-by: John Safranek <john@wolfssl.com> |
||
|---|---|---|
| .. | ||
| 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 | ||