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
shayne e109cf9fdd
tsnet/tsnet: clear ipn.ServeConfig on Up for tsnet apps (#7534)
We persist the ServeConfig, even for tsnet apps. It's quite possible for
the ServeConfig to be out of step with the code. Example: If you run
`ListenFunnel` then later turn it off, the ServeConfig will still show
it enabled, the admin console will show it enabled, but the packet
handler will reject the packets.

Workaround by clearing the ServeConfig in `tsnet.Up`

Signed-off-by: Shayne Sweeney <shayne@tailscale.com>
1 year ago
..
example ipn: add Funnel port check from nodeAttr 1 year ago
tsnet.go tsnet/tsnet: clear ipn.ServeConfig on Up for tsnet apps (#7534) 1 year ago
tsnet_test.go tsnet: only intercept TCP flows that have listeners 1 year ago