Implement SSH Phase 13.3: Channel.rs support for port forwarding channels
Some checks failed
Test / test (push) Has been cancelled
Test / build (push) Has been cancelled

- Modify Channel struct to add direct_tcpip and forwarded_tcpip fields
- Modify handle_channel_open to support 'direct-tcpip' and 'forwarded-tcpip' channel types
- Add handle_session_channel_open() function (Phase 6)
- Add handle_direct_tcpip_channel_open() function (Phase 13.3: Remote port forwarding)
- Add handle_forwarded_tcpip_channel_open() function (Phase 13.3: Local port forwarding)
- Integrate security validation in direct-tcpip channel open
- Modify server.rs to pass security_config to handle_channel_open
- Add 128 lines of new channel handling functions
- All compilation tests passed successfully

Phase 13.1-13.3 completed: Enterprise security + Global request + Channel support
This commit is contained in:
Warren
2026-06-15 18:47:40 +08:00
parent 66d5c35b16
commit 742a40e52e
3 changed files with 134 additions and 1 deletions

Binary file not shown.