Crate brane_prx

source ·
Expand description

The brane-prx crate implements a proxy service that maps incoming traffic on one port to a destination on the other. It basically does a man-in-the-middle attack lel.

Modules

  • Provides client code for the brane-prx service. In particular, offers functionality for generating new paths.
  • Defines the errors that may occur in the brane-prx crate.
  • Defines warp-paths that relate to management of the proxy service.
  • Defines the PortAllocator, which is in charge of deciding which ports are available for, well, allocation.
  • Implements handlers for the proxy paths.
  • Defines (public) interfaces and structs used in the brane-prx crate.