Implement SSH Phase 13: Port forwarding foundation
Some checks failed
Test / test (push) Has been cancelled
Test / build (push) Has been cancelled

- Add port_forward.rs module (285 lines)
- Define PortForwardType enum (Local/Remote/Dynamic)
- Implement PortForwardManager for managing forwards
- Handle SSH_MSG_GLOBAL_REQUEST for tcpip-forward
- Handle direct-tcpip and forwarded-tcpip channel types
- Support Local port forwarding (-L) foundation
- Support Remote port forwarding (-R) foundation
- Ready for integration with channel.rs
This commit is contained in:
Warren
2026-06-15 16:13:07 +08:00
parent eaabab2bff
commit 4b4d9c3805
3 changed files with 300 additions and 0 deletions

Binary file not shown.