Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (15 sloc) 721 Bytes

Module trooper_proxy_chain

Trooper Proxy Chain is a module in charge of create a chain in the proxy communication.

Behaviours: supervisor_bridge.

Description

A chain is a hop between the client and the final server used to reach to the last one in the chain.

Each middle chain has two processes and two ports: the ssh connection to the server with the specific port for the socket connection to the remote server and a local TCP server (other process and port).

The last chain has only one process and one port to connect to the final destination.

To simplify this uses supervisor_bridge instead of gen_server.

You can’t perform that action at this time.