Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

csbinghu/socks5server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

6 Commits

Repository files navigation

socks5

A light weight socks5 proxy server implemented in c using epoll and nonblocking socket.
You can use it to surf the Internet scientifically, only UNIX/Linux platforms are supported currently.

Suport

  • No authentication
  • Username & Password authentication
  • Ipv4 & Ipv6
  • Domain name resolution
  • "CONNECT" command in socks5 protocol

Build

make

Usage

-a : ip address
-p : port
-u<optional> : username
-k<optional> : password

Example

1.Run the server.

./socks5 -a 192.168.1.40 -p 6080 -u abc123 -p qwe123

2.Run a client such as Proxifier in windows.
3.Configure a socks5 proxy server using the address and port above.
4.Change the proxification rules using the socks5 proxy server we just configured.
If you see the traffic passing through the socks5 proxy server, you succeeded.
Enjoy it!

TODO

  • Asynchronous DNS resolutiuon and Cache
  • A socks5 client that connects the browser to the server
  • Encrypted transmitting
  • "BIND" and "ASSOCIATE" command may be supported

About

A light weight socks5 proxy server implemented in c using epoll and nonblocking socket.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • C 98.7%
  • Makefile 1.3%

AltStyle によって変換されたページ (->オリジナル) /