- Create data_forwarder.rs module (251 lines) - Define DataForwarder structure for bidirectional data transfer - Implement SSH channel ↔ TCP socket bidirectional forwarding - Implement start_ssh_to_target_forwarding() thread - Implement start_target_to_ssh_forwarding() thread - Implement window size management (consume + adjust) - Add build_channel_data_packet() function - Add build_window_adjust_packet() function - Support SSH_MSG_CHANNEL_DATA transmission - Support SSH_MSG_CHANNEL_WINDOW_ADJUST adjustment - All compilation tests passed successfully Phase 13.1-13.5 completed: Security + Global request + Channel + Listener + Data forwarding
72 KiB
72 KiB