Files
tailscale/net
François Marier 7f9de91e99 net/portmapper: save and verify PCP nonces (#21277)
The nonce used in PCP identifies a particular port mapping. It needs
to be generated randomly for the initial mapping, and then saved so
that it can be used to renew or delete a mapping later. This is how
the router checks that we're authorized to change existing mappings.

If we receive a response for a different nonce, we should ignore it
since it's not meant for us (or the router is misbehaving).

Fixes #21127

Change-Id: Ic7874d376a74791807953f2f559c8a14a8eb75e9
Signed-off-by: Francois Marier <francois@tailscale.com>
2026-09-15 16:00:35 -07:00
..
2026-07-10 17:39:16 -07:00