All Projects → rofl0r → Microsocks

rofl0r / Microsocks

Licence: other
tiny, portable SOCKS5 server with very moderate resource usage

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Microsocks

Tor Socks Proxy
🐳 Tiny Docker(🤏 10MB) image as 🧅 Tor SOCKS5 proxy 🛡
Stars: ✭ 218 (-60.29%)
Mutual labels:  proxy, socks5
Tor2web
Tor2web is an HTTP proxy software that enables access to Tor Hidden Services by mean of common web browsers
Stars: ✭ 531 (-3.28%)
Mutual labels:  proxy, socks5
Chameleon
Customizable honeypots for monitoring network traffic, bots activities and username\password credentials (DNS, HTTP Proxy, HTTP, HTTPS, SSH, POP3, IMAP, STMP, RDP, VNC, SMB, SOCKS5, Redis, TELNET, Postgres and MySQL)
Stars: ✭ 230 (-58.11%)
Mutual labels:  proxy, socks5
Marmot
💐Marmot | Web Crawler/HTTP protocol Download Package 🐭
Stars: ✭ 186 (-66.12%)
Mutual labels:  proxy, socks5
Go Shadowsocks2
Experimental Shadowsocks in Go. Stable fork at https://github.com/shadowsocks/go-shadowsocks2
Stars: ✭ 530 (-3.46%)
Mutual labels:  proxy, socks5
Kafka Proxy
Proxy connections to Kafka cluster. Connect through SOCKS Proxy, HTTP Proxy or to cluster running in Kubernetes.
Stars: ✭ 186 (-66.12%)
Mutual labels:  proxy, socks5
Infrared
An ultra lightweight minecraft reverse proxy and idle placeholder
Stars: ✭ 59 (-89.25%)
Mutual labels:  lightweight, proxy
Reflow
Content-routable socks5 proxy switcher for your entire LAN.
Stars: ✭ 170 (-69.03%)
Mutual labels:  proxy, socks5
Infini Gateway
INFINI-GATEWAY(极限网关), a high performance and lightweight gateway written in golang, for elasticsearch and his friends.
Stars: ✭ 272 (-50.46%)
Mutual labels:  lightweight, proxy
Smtpd
A Lightweight High Performance ESMTP email server
Stars: ✭ 175 (-68.12%)
Mutual labels:  lightweight, proxy
Php Whois
PHP WHOIS provides parsed and raw whois lookup of domains and ASN routes. PHP 5.4+ and 7+ compatible
Stars: ✭ 179 (-67.4%)
Mutual labels:  proxy, socks5
Socks5
SOCKS Protocol Version 5 Library in Go. Full TCP/UDP and IPv4/IPv6 support
Stars: ✭ 321 (-41.53%)
Mutual labels:  proxy, socks5
Shadowsocks Rust
Oh my implementation of Shadowsocks in Rust
Stars: ✭ 171 (-68.85%)
Mutual labels:  proxy, socks5
Frpc Android
Android,安卓版frpc,一个快速反向代理,可帮助您将NAT或防火墙后面的本地服务器暴露给Internet。
Stars: ✭ 205 (-62.66%)
Mutual labels:  proxy, socks5
Brook
Brook is a cross-platform strong encryption and not detectable proxy. Zero-Configuration. Brook 是一个跨平台的强加密无特征的代理软件. 零配置.
Stars: ✭ 12,694 (+2212.2%)
Mutual labels:  proxy, socks5
Mubeng
An incredibly fast proxy checker & IP rotator with ease.
Stars: ✭ 234 (-57.38%)
Mutual labels:  proxy, socks5
3proxy
3proxy - tiny free proxy server
Stars: ✭ 2,263 (+312.2%)
Mutual labels:  proxy, socks5
Psiphon
A multi-functional version of a popular network circumvention tool
Stars: ✭ 169 (-69.22%)
Mutual labels:  proxy, socks5
Proxy.py
⚡⚡⚡Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging
Stars: ✭ 1,291 (+135.15%)
Mutual labels:  lightweight, proxy
Socks5
A full-fledged high-performance socks5 proxy server written in C#. Plugin support included.
Stars: ✭ 286 (-47.91%)
Mutual labels:  proxy, socks5

MicroSocks - multithreaded, small, efficient SOCKS5 server.

a SOCKS5 service that you can run on your remote boxes to tunnel connections through them, if for some reason SSH doesn't cut it for you.

It's very lightweight, and very light on resources too:

for every client, a thread with a stack size of 8KB is spawned. the main process basically doesn't consume any resources at all.

the only limits are the amount of file descriptors and the RAM.

It's also designed to be robust: it handles resource exhaustion gracefully by simply denying new connections, instead of calling abort() as most other programs do these days.

another plus is ease-of-use: no config file necessary, everything can be done from the command line and doesn't even need any parameters for quick setup.

History

This is the successor of "rocksocks5", and it was written with different goals in mind:

  • prefer usage of standard libc functions over homegrown ones
  • no artificial limits
  • do not aim for minimal binary size, but for minimal source code size, and maximal readability, reusability, and extensibility.

as a result of that, ipv4, dns, and ipv6 is supported out of the box and can use the same code, while rocksocks5 has several compile time defines to bring down the size of the resulting binary to extreme values like 10 KB static linked when only ipv4 support is enabled.

still, if optimized for size, this program when static linked against musl libc is not even 50 KB. that's easily usable even on the cheapest routers.

command line options

microsocks -1 -i listenip -p port -u user -P password -b bindaddr

all arguments are optional. by default listenip is 0.0.0.0 and port 1080.

option -1 activates auth_once mode: once a specific ip address authed successfully with user/pass, it is added to a whitelist and may use the proxy without auth. this is handy for programs like firefox that don't support user/pass auth. for it to work you'd basically make one connection with another program that supports it, and then you can use firefox too. for example, authenticate once using curl:

curl --socks5 user:[email protected]:port anyurl

Supported SOCKS5 Features

  • authentication: none, password, one-time
  • IPv4, IPv6, DNS
  • TCP (no UDP at this time)
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].