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
Socks5Binder
implementation, which actually is able to accept bind requests and process them. - Connector
- Proxy Forward
Socks5Connector
implementation, 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
Socks5Connector
implementation, 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
Service
router that can be used to support socks5 traffic as well as non-socks5 traffic. - UdpRelay
- Only “useful” public
Socks5UdpAssociator
implementation, which actually is able to accept udp-relay requests and process them.
Traits§
- Socks5
Binder - Types which can be used as socks5
Command::Bind
drivers on the server side. - Socks5
Connector - Types which can be used as socks5
Command::Connect
drivers on the server side. - Socks5
UdpAssociator - Types which can be used as socks5
Command::UdpAssociate
drivers on the server side.
Type Aliases§
- Default
Binder - Default
Binder
type. - Default
Connector - Default
Connector
type. - Default
UdpRelay - Default [
UdpBinder
] type. - Socks5
Peek Stream PeekStream
alias used bySocks5PeekRouter
.