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.
tailscale/tsnet
Andrew Dunham 3a41c0c585 ipn/ipnlocal: add PROXY protocol support to Funnel/Serve
This adds the --proxy-protocol flag to 'tailscale serve' and
'tailscale funnel', which tells the Tailscale client to prepend a PROXY
protocol[1] header when making connections to the proxied-to backend.

I've verified that this works with our existing funnel servers without
additional work, since they pass along source address information via
PeerAPI already.

Updates #7747

[1]: https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt

Change-Id: I647c24d319375c1b33e995555a541b7615d2d203
Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
2 weeks ago
..
example tsnet: split user facing and backend logging 2 years ago
depaware.txt ipn/ipnlocal: add PROXY protocol support to Funnel/Serve 2 weeks ago
example_tshello_test.go tsnet: add examples (#8289) 2 years ago
example_tsnet_test.go tsnet: split user facing and backend logging 2 years ago
packet_filter_test.go tsnet: add tstest.Shard on the slow tests 3 weeks ago
tsnet.go types/netmap: remove PrivateKey from NetworkMap 2 weeks ago
tsnet_test.go tsnet: add tstest.Shard on the slow tests 3 weeks ago