Skip to content
项目

关于

socks5 proxy server in C

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Socks proxy

Socks proxy server written in one C file. Supports socks4, socks4a and socks5 protocols without binding and udp stuff. Can be used as example how to write your own.

Build status and CI pipeline link

Build Status

Proto

Socks5 proto

Socks5 userpass auth proto

Socks4 proto

Socks4a proto

Works on

Every OS which supports POSIX

TODO

  1. TCP port binding
  2. UDP port binding

Usage

[-h] - print usage

[-n PORT] - set port to listen

[-a AUTHTYPE] - set authtype: 0 for NOAUTH, 2 for USERPASS

[-u USERNAME] - set username for userpass authtype

[-p PASSWORD] - set password for userpass authtype

[-l LOGFILE] - set file for logging output

Build and run

No additional requirements, only compiler or crosscompiler needed

make
make test
./proxy

探索相关项目

加载中…