Skip to content

Ranler/MyShSo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyShSo

My ShadowSocks.

Reference on shadowsocks(Python/gevent) and shadowsocks-libuv(C/libuv).

raw socks

This one use raw sockets api of UNIX/Linux OS. It create a socket through socket(), bind() it to a given port on server, listen() the port and accept() new connection from client. And then fork() a new process to handle the connection. So this is a multiprocess implementation of shadowsocks.

The handle function create a encrypted tunnel between client and remote server. To improve network I/O efficiency and keep portable, use poll() for I/O multiplexing.

About

My ShadowSocks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published