You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dingjun 12f4938134 update dependence 3 years ago
.gitignore add License 7 years ago
LICENSE add License 7 years ago
README.md update README 3 years ago
common.go first version 7 years ago
conf.go first version 7 years ago
conf_test.go update test case 4 years ago
config.sample.yaml add support to send proxy protocol to dst 6 years ago
go.mod update dependence 3 years ago
go.sum update dependence 3 years ago
handshake_messages.go first version 7 years ago
main.go fix issue when upstream struct change 3 years ago
main_test.go update test case 4 years ago
proto_test.go update log version 4 years ago
server.crt update test case 4 years ago
server.key update test case 4 years ago

README.md

Sniproxy

A SNI proxy implements by golang

it can forward the TLS request to different backend by different SNI name

Usage

go get github.com/fangdingjun/sniproxy
cp $GOPATH/src/github.com/fangdingjun/sniproxy/config.sample.yaml config.yaml
vim config.yaml
$GOPATH/bin/sniproxy -c config.yaml