proxy.core.ssh package#

Submodules#

Module contents#

proxy.py#

⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging.

copyright
  1. 2013-present by Abhinav Singh and contributors.

license

BSD, see LICENSE for more details.

class proxy.core.ssh.SshHttpProtocolHandler(flags: argparse.Namespace)[source]#

Bases: object

Handles incoming connections over forwarded SSH transport.

on_connection(chan: Channel, origin: HostPort, server: HostPort) None[source]#
class proxy.core.ssh.SshTunnelListener(flags: argparse.Namespace, on_connection_callback: Callable[[Channel, HostPort, HostPort], None])[source]#

Bases: object

Connects over SSH and forwards a remote port to local host.

Incoming connections are delegated to provided callback.

setup() None[source]#
shutdown() None[source]#
start_port_forward(remote_addr: HostPort) None[source]#
stop_port_forward(remote_addr: HostPort) None[source]#