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/types
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>
12 months ago
..
appctype appc,ipn/ipnlocal,types/appctype: implement control provided routes 2 years ago
bools types/bools: add IfElse (#14272) 1 year ago
dnstype cmd/viewer,all: consistently use "read-only" instead of "readonly" 1 year ago
empty all: update copyright and license headers 3 years ago
flagtype all: update copyright and license headers 3 years ago
iox types/iox: add function types for Reader and Writer (#14366) 1 year ago
ipproto all: use Go 1.22 range-over-int 2 years ago
key types/key: use tlpub: in error message (#13707) 1 year ago
lazy types/lazy: fix flaky TestDeferAfterDo 1 year ago
logger all: use Go 1.22 range-over-int 2 years ago
logid types/logid: add Add method (#12478) 2 years ago
netlogtype all: update copyright and license headers 3 years ago
netmap ipn/ipnlocal: Support TCP and Web VIP services 12 months ago
nettype wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 3 years ago
opt types/opt: fix test to be agnostic to omitzero support (#14401) 1 year ago
persist cmd/viewer,all: consistently use "read-only" instead of "readonly" 1 year ago
prefs cmd/viewer,all: consistently use "read-only" instead of "readonly" 1 year ago
preftype cmd/tailscaled,*: add start of configuration file support 2 years ago
ptr all: update copyright and license headers 3 years ago
result types/result, util/lineiter: add package for a result type, use it 1 year ago
structs all: update copyright and license headers 3 years ago
tkatype types/tkatype: add test for MarshaledSignature's JSON format 2 years ago
views cmd/viewer,types/views,various: avoid allocations in pointer field getters whenever possible 1 year ago