All Projects → EvanMcBroom → microsocks11

EvanMcBroom / microsocks11

Licence: MIT license
A cross-platform SOCKS5 library and server based on the microsocks project.

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects
Dockerfile
14818 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to microsocks11

3proxy
3proxy - tiny free proxy server
Stars: ✭ 2,493 (+11231.82%)
Mutual labels:  proxy-server, socks, socks5, socks-proxy, socks-server, socks5-server
3proxy
3proxy - tiny free proxy server
Stars: ✭ 2,263 (+10186.36%)
Mutual labels:  proxy-server, socks, socks5, socks-proxy, socks-server, socks5-server
rsp
Rapid SSH Proxy
Stars: ✭ 223 (+913.64%)
Mutual labels:  socks, socks5, socks-proxy, socks-server, socks5-server
Flynet
A powerful TCP/UDP tool, which support socks5 proxy by tcp and udp, http proxy and NAT traversal. This tool can help you bypass gfw easily
Stars: ✭ 124 (+463.64%)
Mutual labels:  proxy-server, socks, socks5, socks-proxy
Socks5
A full-fledged high-performance socks5 proxy server written in C#. Plugin support included.
Stars: ✭ 331 (+1404.55%)
Mutual labels:  proxy-server, socks, socks5, socks5-server
socks5 list
Auto-updated SOCKS5 proxy list + proxies for Telegram
Stars: ✭ 210 (+854.55%)
Mutual labels:  proxy-server, socks, socks5, socks-proxy
Tor Socks Proxy
🐳 Tiny Docker(🤏 10MB) image as 🧅 Tor SOCKS5 proxy 🛡
Stars: ✭ 218 (+890.91%)
Mutual labels:  proxy-server, socks, socks5, socks-proxy
nimSocks
A filtering SOCKS proxy server and client library written in nim.
Stars: ✭ 51 (+131.82%)
Mutual labels:  proxy-server, socks, socks5, socks-proxy
Socksio
Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5
Stars: ✭ 27 (+22.73%)
Mutual labels:  socks, socks5, socks-proxy
Socks
Fully featured SOCKS proxy client supporting SOCKSv4, SOCKSv4a, and SOCKSv5. Includes Bind and Associate functionality.
Stars: ✭ 200 (+809.09%)
Mutual labels:  socks, socks5, socks-proxy
asyncio-socks-server
A SOCKS proxy server implemented with the powerful python cooperative concurrency framework asyncio.
Stars: ✭ 154 (+600%)
Mutual labels:  proxy-server, socks, socks5
Psiphon
A multi-functional version of a popular network circumvention tool
Stars: ✭ 169 (+668.18%)
Mutual labels:  proxy-server, socks, socks5
mtproxy autoinstaller
MTProxy autoinstaller for Ubuntu
Stars: ✭ 25 (+13.64%)
Mutual labels:  proxy-server, socks5, socks5-server
Socks5
A full-fledged high-performance socks5 proxy server written in C#. Plugin support included.
Stars: ✭ 286 (+1200%)
Mutual labels:  proxy-server, socks, socks5
Prox5
🧮 SOCKS5/4/4a 🌾 validating proxy pool and upstream SOCKS5 server for 🤽 LOLXDsoRANDum connections 🎋
Stars: ✭ 39 (+77.27%)
Mutual labels:  proxy-server, socks, socks5
Tor Router
A SOCKS, HTTP and DNS proxy for distributing traffic across multiple instances of Tor
Stars: ✭ 69 (+213.64%)
Mutual labels:  proxy-server, socks5
Awslambdaproxy
An AWS Lambda powered HTTP/SOCKS web proxy
Stars: ✭ 571 (+2495.45%)
Mutual labels:  proxy-server, socks5
ssocks
sSocks fork for windows support; original: https://sourceforge.net/projects/ssocks/
Stars: ✭ 141 (+540.91%)
Mutual labels:  socks5, socks5-server
Wyproxy
proxying and recording HTTP/HTTPs/Socks5 proxy flow, save to MYSQL database.
Stars: ✭ 477 (+2068.18%)
Mutual labels:  proxy-server, socks
LiveProxies
Asynchronous proxy checker
Stars: ✭ 17 (-22.73%)
Mutual labels:  proxy-server, socks5

MicroSocks11 - A cross-platform SOCKS5 server.

MIT License AppVeyor Travis GitHub All Releases Docker Pulls

MicroSocks11 is a SOCKS5 library and server based on the microsocks project that uses CMake and C++11 for cross-platform support. MicroSocks11 supports IPv4, IPv6, and DNS.

This project is released under an MIT license. Any sections of code that are included from the original project are also released under an MIT license and copyrighted to rofl0r.

Building

MicroSocks11 requres cxxopts which can be installed using vcpkg.

vcpkg install cxxopts

MicroSocks11 uses CMake to generate and run the build system files for your platform.

git clone https://github.com/EvanMcBroom/microsocks11.git
cd microsocks11
mkdir builds
cd builds
cmake .. -DCMAKE_TOOLCHAIN_FILE=$VCPKG_PATH/scripts/buildsystems/vcpkg.cmake
cmake --build .

By default CMake will build both the microsocks utility and the socks5 static library it uses. The socks5 library has a simple api that can be used to build other utilities.

You can set the BUILD_STATIC flag when generating the build system files to link against the static version of the runtime library. This will build the microsocks utility as a standalone program that can be ran on other hosts.

cmake .. -DBUILD_STATIC=TRUE
cmake --build .

✏️ On Linux you will need to install clang and libc++ for static builds because glibc can not statically link the getaddrinfo symbol (reference). Please refer to the Travis CI file for how to install clang and libc++.

Running

MicroSocks11 is simple to use and can be ran directly with default arguments.

./microsocks --help
SOCKS5 Server
Usage:
  MicroSocks [OPTION...]

  -1, --auth-once         Whitelist an ip address after authenticating to not
                          requre a password on subsequent connections
  -b, --bind-address arg  The address for the all forwarded connections
  -h, --help              Print this message
  -l, --listen-ip arg     Ip address to listen on (default: 0.0.0.0)
  -p, --port arg          Port to listen on (default: 1080)
  -u, --user arg          The username to use for authentication
  -v, --verbose           Verbose output
  -P, --password arg      The password to use for authentication
./microsocks
...

You can use curl to test if the proxy is running.

curl --socks5-hostname localhost:1080 icanhazip.com

Docker Container

MicroSocks11 can also be built and ran as a docker container. You can either build the image yourself or pull the image from dockerhub.

# build option 1 - pull the container from dockerhub
docker pull evanmcbroom/microsocks11

# build option 2 - build the container yourself
git clone https://github.com/EvanMcBroom/microsocks11.git
docker build microsocks11 --tag evanmcbroom/microsocks11:latest

# run example 1 - run the proxy on 0.0.0.0:1080 in the background
docker run --rm -d --net=host --name=proxy evanmcbroom/microsocks11

# run example 2 - run the proxy with custom arguments
docker run --rm --net=host --name=proxy evanmcbroom/microsocks11 --help
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].