Crate socks5_server
source ·Expand description
socks5-server
Fine-grained relatively low-level asynchronized SOCKS5 server library based on tokio.
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::Authenticated;pub use crate::connection::Command;pub use crate::connection::IncomingConnection;
Modules
- This module defines trait
Authand some pre-defined authentication adaptors. - This module contains the connection abstraction of the SOCKS5 protocol.
Structs
- A SOCKS5 server listener