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/tailcfg
KevinLiang10 8c8750f1b3 ipn/ipnlocal: Support TCP and Web VIP services
This commit intend to provide support for TCP and Web VIP services and also allow user to use Tun
for VIP services if they want to.
The commit includes:
1.Setting TCP intercept function for VIP Services.
2.Update netstack to send packet written from WG to netStack handler for VIP service.
3.Return correct TCP hander for VIP services when netstack acceptTCP.

This commit also includes unit tests for if the local backend setServeConfig would set correct TCP intercept
function and test if a hander gets returned when getting TCPHandlerForDst. The shouldProcessInbound
check is not unit tested since the test result just depends on mocked functions. There should be an integration
test to cover  shouldProcessInbound and if the returned TCP handler actually does what the serveConfig says.

Updates tailscale/corp#24604

Signed-off-by: KevinLiang10 <37811973+KevinLiang10@users.noreply.github.com>
11 months ago
..
c2ntypes.go ipn/ipnlocal: add VIPServices hash to return body of vip-services c2n endpoint 12 months ago
derpmap.go all: make more tests pass/skip in airplane mode 2 years ago
proto_port_range.go tailcfg: implement text encoding for ProtoPortRange 2 years ago
proto_port_range_test.go tailcfg: implement text encoding for ProtoPortRange 2 years ago
tailcfg.go ipn/ipnlocal: Support TCP and Web VIP services 11 months ago
tailcfg_clone.go ipn/ipnlocal,tailcfg: communicate to control whether funnel is enabled (#14688) 11 months ago
tailcfg_test.go ipn/ipnlocal,tailcfg: communicate to control whether funnel is enabled (#14688) 11 months ago
tailcfg_view.go ipn/ipnlocal,tailcfg: communicate to control whether funnel is enabled (#14688) 11 months ago
tka.go tailcfg: add RPC structs for /tka/affected-sigs 3 years ago