Skip to main content

Module port_forward

Module port_forward 

Source
Expand description

Port forwarding implementation for QSSH Supports local (-L), remote (-R), and dynamic (-D) forwarding

Structs§

ForwardedChannelRouter
Routes channel data from the client’s message loop to active forwarded connections. When a ForwardedTcpip channel is set up, a sender is registered here. The client’s message loop dispatches ChannelMessage::Data to the matching sender.
PortForwardManager
Port forwarding manager
RemoteForwardRegistry
Registry mapping (bind_host, bind_port) on the server to (local_host, local_port) on the client. Used by the client to know where to connect when a ForwardedTcpip channel arrives.

Enums§

ForwardType
Port forwarding types

Functions§

handle_forwarded_channel
Handle an incoming ForwardedTcpip channel from the server (remote forward, client side).