Crate socks5_server

Source
Expand description

§socks5-server

Fine-grained relatively low-level asynchronized SOCKS5 server library based on tokio.

Version Documentation License

This crate is based on abstraction provided by crate socks5-proto. Check it out for more information.

§Features

  • All protocol details defined in RFC 1928 are implemented
  • Fully asynchronized
  • Customizable authentication

§Usage

Create a socks5_server::Server and accept() on it.

Check examples for usage examples.

§License

GNU General Public License v3.0

Re-exports§

pub use crate::auth::Auth;
pub use crate::connection::associate::Associate;
pub use crate::connection::associate::AssociatedUdpSocket;
pub use crate::connection::bind::Bind;
pub use crate::connection::connect::Connect;
pub use crate::connection::Command;
pub use crate::connection::IncomingConnection;
pub use socks5_proto as proto;

Modules§

auth
This module defines trait Auth and some pre-defined authentication adaptors.
connection
Connection abstraction of the SOCKS5 protocol

Structs§

Server
A SOCKS5 server listener