Module server
Expand description
Socks5 Server Implementation for Rama.
See Socks5Acceptor for more information,
its Default implementation only
supports the Command::Connect method using the DefaultConnector,
but custom connectors as well as binders and udp associators
are optionally possible.
For MITM socks5 proxies you can use LazyConnector as the
connector service of Socks5Acceptor.
Modules§
Structs§
- Binder
- Only “useful” public
Socks5Binderimplementation, which actually is able to accept bind requests and process them. - Connector
- Proxy Forward
Socks5Connectorimplementation, which actually is able to accept connect requests and process them. - Error
- Server-side error returned in case of a failure during the handshake process.
- Lazy
Connector - Lazy
Socks5Connectorimplementation, which accepts a connection but does delegates all the work on the egress side to the inner (stream) service. - NoSocks5
Reject Error - non-socks5 connection is rejected
- Socks5
Acceptor - Socks5 server implementation of RFC 1928
- Socks5
Peek Router - A
Servicerouter that can be used to support socks5 traffic as well as non-socks5 traffic. - UdpRelay
- Only “useful” public
Socks5UdpAssociatorimplementation, which actually is able to accept udp-relay requests and process them.
Traits§
- Socks5
Binder - Types which can be used as socks5
Command::Binddrivers on the server side. - Socks5
Connector - Types which can be used as socks5
Command::Connectdrivers on the server side. - Socks5
UdpAssociator - Types which can be used as socks5
Command::UdpAssociatedrivers on the server side.
Type Aliases§
- Default
Binder - Default
Bindertype. - Default
Connector - Default
Connectortype. - Default
UdpRelay - Default [
UdpBinder] type. - Socks5
Peek Stream PeekStreamalias used bySocks5PeekRouter.