Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.
/ tokio-socks5 Public archive

An example SOCKSv5 server implementation with tokio

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

tokio-rs/tokio-socks5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tokio-socks5

An implementation of a SOCKSv5 proxy server built on top of tokio-core.

Build Status Build status

Usage

First, run the server

$ cargo run
   ...
Listening for socks5 proxy connections on 127.0.0.1:8080

Then in a separate window you can test out the proxy:

$ export https_proxy=socks5h://localhost:8080
$ curl -v https://www.google.com

If you have an older version of libcurl which doesn't support the socks5h scheme, you can try:

$ curl -v --socks5-hostname localhost:8080 https://www.google.com

The server is hardcoded to use Google's public DNS resolver (IPv4 address 8.8.8.8). If you can't use external DNS services, change the address in the source and rebuild the server.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Serde by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

An example SOCKSv5 server implementation with tokio

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages