An open API service indexing awesome lists of open source software.

https://github.com/jimmy-ly00/mlsocks

Mid-latency SOCKS5 server with a Stop-And-Go 1-mix delay
https://github.com/jimmy-ly00/mlsocks

asynchronous delay-messages latency mixer non-blocking-io python python-2 socks5 socks5-server

Last synced: 5 months ago
JSON representation

Mid-latency SOCKS5 server with a Stop-And-Go 1-mix delay

Awesome Lists containing this project

README

        

# Mid-latency SOCKS5 server

Uses a Stop-And-Go 1-Mix (https://www.freehaven.net/anonbib/cache/stop-and-go.pdf) to delay individual messages from the TCP stream against a truncated exponential distribution for sending and receiving data.

Uses gevent asynchronous I/O and non-blocking sleep to delay messages while handling incoming messages

### Prerequisite
Linux & Python 2.7
```
pip install gevent
```

### Usage
Runs on localhost 127.0.0.1 and default port 1080:

```
python mlsocks.py
```

To test if it's working:
```
curl --socks5 localhost:1080 example.com
```

### References
http://xiaoxia.org/2011/03/29/written-by-python-socks5-server/