Skip to content

Max-Sum/avege

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Avege

Socks5/Transparent Proxy Client

Build Status GitHub release GitHub license Github Releases Downloads Total Go Report Card codebeat badge

Feature

  • Windows/macOS/Linux/variant BSDs supported
  • socks5 frontend, IPv4/IPv6/remote DNS resolving supported
  • redir mode frontend on Linux (iptables compatible), IPv4/IPv6(not tested) supported
  • tunnel mode frontend, IPv4/IPv6 supported
  • http/https backend
  • socks4/socks4a/socks5 backend
  • Shadowsocks(R) backend
  • DNS proxy that protects user against DNS poisoning but is CDN friendly in China

SS Encrypting algorithm

  • aes-128-cfb
  • aes-192-cfb
  • aes-256-cfb
  • aes-128-ctr
  • aes-192-ctr
  • aes-256-ctr
  • aes-128-ofb
  • aes-192-ofb
  • aes-256-ofb
  • des-cfb
  • bf-cfb
  • cast5-cfb
  • rc4-md5
  • chacha20
  • chacha20-ietf
  • salsa20
  • camellia-128-cfb
  • camellia-192-cfb
  • camellia-256-cfb
  • idea-cfb
  • rc2-cfb
  • seed-cfb

SSR Obfs

  • plain
  • http_simple
  • http_post
  • random_head
  • tls1.2_ticket_auth

SSR Protocol

  • origin
  • verify_sha1 aka. one time auth(OTA)
  • auth_sha1_v4
  • auth_aes128_md5
  • auth_aes128_sha1

Todo (help wanted)

  • UDP forwarding, include original Shadowsocks compatible UDP relay and ShadowsocksR compatible UDP over TCP relay
  • tun based system wide proxy
  • Adblock Plus rules based filter for http
  • TCP Fast Open on Linux with 3.7+ kernel
  • Transparent proxy aka. redir mode on Mac OS X and variant BSDs(ipfw/pf mode)

Build

Dependencies

go get -u -f -v github.com/op/go-logging
go get -u -f -v github.com/garyburd/redigo/redis
go get -u -f -v github.com/fsnotify/fsnotify
go get -u -f -v github.com/kardianos/osext
go get -u -f -v github.com/gin-gonic/gin
go get -u -f -v github.com/gorilla/websocket
go get -u -f -v github.com/DeanThompson/ginpprof
go get -u -f -v github.com/miekg/dns
go get -u -f -v github.com/Yawning/chacha20
go get -u -f -v github.com/dgryski/go-camellia
go get -u -f -v github.com/dgryski/go-idea
go get -u -f -v github.com/dgryski/go-rc2
go get -u -f -v github.com/patrickmn/go-cache
go get -u -f -v github.com/RouterScript/ProxyClient
go get -u -f -v github.com/ftrvxmtrx/fd

Steps

for macOS/Linux/BSDs

git clone https://github.com/Max-Sum/avege.git
cd avege/src/avege
GOPATH=$GOPATH:$PWD/../.. go build 

Usage

Dependencies

  • redis-server (not necessary if you use other cache service such as gocache instead)

Steps

for macOS/Linux/BSDs, open terminal as you like, input:

cd avege/src/avege
cp config-sample.json config.json
# modify config.json as you like
./avege

for Windows, open cmd.exe, input:

cd avege\src\avege
copy config-sample.json config.json
# modify config.json as you like
avege.exe

Reference

About

Yet Another Redsocks Golang Fork

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 96.7%
  • Shell 3.3%