# shadowsocks/shadowsocks-libev

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/shadowsocks-shadowsocks-libev).**

16,180 stars · 6,254 forks · C · GPL-3.0

## Links

- GitHub: https://github.com/shadowsocks/shadowsocks-libev
- Homepage: https://github.com/shadowsocks/shadowsocks-rust
- awesome-repositories: https://awesome-repositories.com/repository/shadowsocks-shadowsocks-libev.md

## Topics

`c` `shadowsocks`

## Description

shadowsocks-libev is an event-driven network daemon that provides an encrypted SOCKS5 proxy. It functions as a lightweight proxy server using a non-blocking event loop to route TCP and UDP traffic through encrypted tunnels to bypass network restrictions.

The project implements a transparent proxy gateway capable of intercepting outbound packets at the network layer, allowing system traffic to be redirected through the encrypted tunnel without per-application configuration. It also includes a daemon process manager to control multiple proxy server instances as child processes via local communication sockets.

The system covers a broad range of traffic management capabilities, including local port forwarding, encryption tunnel multiplexing, and the encapsulation of UDP datagrams within TCP streams. Access is managed through IP-based access control lists that permit or block client connections.

## Tags

### Networking & Communication

- [SOCKS5 Proxies](https://awesome-repositories.com/f/networking-communication/socks5-proxies.md) — Implements an encrypted proxy server that uses the SOCKS5 protocol to route TCP and UDP traffic.
- [Shadowsocks Tunnel Implementations](https://awesome-repositories.com/f/networking-communication/socks5-proxies/socks5-proxy-tunneling-clients/shadowsocks-tunnel-implementations.md) — Implements the Shadowsocks protocol to encrypt and tunnel TCP and UDP traffic through a SOCKS5 proxy.
- [Event-Driven Networking](https://awesome-repositories.com/f/networking-communication/event-driven-networking.md) — Functions as a high-performance network daemon using an event-driven model for concurrent connections.
- [UDP Tunneling](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-proxying-tools/network-proxies/udp-tunneling.md) — Provides encapsulation and redirection of UDP traffic through encrypted proxy connections. ([source](https://cdn.jsdelivr.net/gh/shadowsocks/shadowsocks-libev@master/README.md))
- [Non-Blocking Socket I/O](https://awesome-repositories.com/f/networking-communication/socket-networking/non-blocking-socket-i-o.md) — Uses asynchronous non-blocking socket I/O to handle high concurrency without thread-per-connection overhead.
- [TCP Tunneling](https://awesome-repositories.com/f/networking-communication/tcp-protocol-implementations/tcp-tunneling.md) — Implements wrapping of TCP streams in custom encrypted protocols to bypass network restrictions. ([source](https://cdn.jsdelivr.net/gh/shadowsocks/shadowsocks-libev@master/README.md))
- [Local Port Mapping](https://awesome-repositories.com/f/networking-communication/network-port-forwarding/local-port-mapping.md) — Maps local ports to specific destination server addresses to tunnel traffic to remote targets. ([source](https://cdn.jsdelivr.net/gh/shadowsocks/shadowsocks-libev@master/README.md))
- [UDP-over-TCP Encapsulations](https://awesome-repositories.com/f/networking-communication/traffic-routing/tcp-and-udp-forwarders/udp-over-tcp-encapsulations.md) — Wraps UDP datagrams inside TCP streams to ensure reliable delivery when native UDP is blocked.
- [Transparent Network Proxies](https://awesome-repositories.com/f/networking-communication/transparent-network-proxies.md) — Functions as a network-layer interceptor that redirects system traffic transparently through an encrypted tunnel.
- [Transparent Proxies](https://awesome-repositories.com/f/networking-communication/transparent-proxies.md) — Intercepts network traffic at the system layer to route it through the proxy without client configuration.
- [Transparent Proxying](https://awesome-repositories.com/f/networking-communication/transparent-proxying.md) — Intercepts and redirects outbound network traffic through the proxy without requiring client-side configuration.

### Security & Cryptography

- [Traffic Encryption](https://awesome-repositories.com/f/security-cryptography/traffic-encryption.md) — Encrypts internet traffic in transit using specific ciphers to bypass network censorship. ([source](https://cdn.jsdelivr.net/gh/shadowsocks/shadowsocks-libev@master/README.md))
- [Configurable Cipher Encryptors](https://awesome-repositories.com/f/security-cryptography/traffic-encryption/configurable-cipher-encryptors.md) — Provides configurable cipher methods to encrypt network traffic and bypass network restrictions.
- [Session Multiplexers](https://awesome-repositories.com/f/security-cryptography/encrypted-tunneling/session-multiplexers.md) — Multiplexes multiple TCP and UDP proxy sessions over a single encrypted tunnel using a shared cipher context.

### Software Engineering & Architecture

- [Non-Blocking Event Loops](https://awesome-repositories.com/f/software-engineering-architecture/non-blocking-event-loops.md) — Employs a non-blocking event loop architecture via libev to manage concurrent network operations.
