[][src]Module gatekeeper::model::model

SOCKS5 message types exchanged between client and proxy.

client            proxy            service
  |                 |                 |
  .                 .                 .
  .                 .                 .
  |                 |                 |
  |---------------->|                 |
  |MethodCandidates |                 |
  |                 |                 |
  |<----------------|                 |
  |  MethodSelection|                 |
  |                 |                 |
  |---------------->|                 |
  |ConnectRequest   |                 |
  |                 |                 |
  |<----------------|                 |
  |     ConnectReply|                 |
  |                 |                 |
  |                 |                 |
  .                 .                 .
  .                 .                 .
  | - - - - - - - ->| - - - - - - - ->|
  |            [[ Relay ]]            |
  |<- - - - - - - - |< - - - - - - - -|
  .                 .                 .
  .                 .                 .
  |                 |                 |

Structs

ConnectReply
ConnectRequest
ConnectRule

Connection rules

ConnectRulePattern
Ipv4Addr

An IPv4 address.

Ipv6Addr

An IPv6 address.

MethodCandidates
MethodSelection
ProtocolVersion
SocketAddrV4

An IPv4 socket address.

SocketAddrV6

An IPv6 socket address.

UdpDatagram

Enums

Address

ip address and port

AddressPattern
Command
ConnectError
ConnectRuleEntry
DomainPattern
InvalidPrefix
IpAddr

An IP address, either IPv4 or IPv6.

L4Protocol
Method

Authentication Methods

RulePattern
SocketAddr

An internet socket address, either IPv4 or IPv6.

Constants

DEFAULT_PROTOCOL_VERSION

Traits

Matcher

Type Definitions

ConnectResult