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 Fang c43912d031
Merge pull request #7 from fangdingjun/dependabot/go_modules/github.com/pires/go-proxyproto-0.6.1
Bump github.com/pires/go-proxyproto from 0.6.0 to 0.6.1
2 years ago
.gitignore add License 7 years ago
LICENSE add License 7 years ago
README.md update README 3 years ago
common.go go fmt and fix static check warnings 2 years ago
conf.go first version 7 years ago
conf_test.go go fmt and fix static check warnings 2 years ago
config.sample.yaml add support to send proxy protocol to dst 6 years ago
go.mod Bump github.com/pires/go-proxyproto from 0.6.0 to 0.6.1 2 years ago
go.sum Bump github.com/pires/go-proxyproto from 0.6.0 to 0.6.1 2 years ago
handshake_messages.go go fmt and fix static check warnings 2 years ago
main.go go fmt and fix static check warnings 2 years ago
main_test.go update test case 4 years ago
proto_test.go go fmt and fix static check warnings 2 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