Add proxy protocol support

This commit is contained in:
世界
2022-08-23 21:07:35 +08:00
parent fe25c4b2dd
commit a69eddc618
15 changed files with 260 additions and 71 deletions

1
go.mod
View File

@@ -16,6 +16,7 @@ require (
github.com/hashicorp/yamux v0.1.1
github.com/logrusorgru/aurora v2.0.3+incompatible
github.com/oschwald/maxminddb-golang v1.10.0
github.com/pires/go-proxyproto v0.6.2
github.com/sagernet/certmagic v0.0.0-20220819042630-4a57f8b6853a
github.com/sagernet/netlink v0.0.0-20220820041223-3cd8365d17ac
github.com/sagernet/quic-go v0.0.0-20220818150011-de611ab3e2bb