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 51e00f2c99 use context to graceful shutdown 6 years ago
.gitignore add License 7 years ago
LICENSE add License 7 years ago
README.md fix a typo 7 years ago
common.go first version 7 years ago
conf.go first version 7 years ago
conf_test.go change log library 6 years ago
config.sample.yaml add support to send proxy protocol to dst 6 years ago
go.mod add go module file and test 6 years ago
go.sum add go module file and test 6 years ago
handshake_messages.go first version 7 years ago
main.go use context to graceful shutdown 6 years ago
proto_test.go use context to graceful shutdown 6 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