Files
tailscale/tstest
François Marier 1ebf217e93 tstest/natlab/vnet: implement portmap deletions (#22302)
Add basic support for the deletion of port mappings in natlab.
NAT-PMP clients are supposed to set the external port to 0 in their
requests, but we test with a bogus port since servers are supposed
to ignore this value.

Note that passing a lifetime of 0 to a UPnP mapping will delete
that mapping (like it's supposed to in PCP/NAT-PMP) instead of
following the spec and turning that into 604800s.

Updates #21713

Change-Id: I487cc0cae1247dff69484658f86a45d278bcdea7
Signed-off-by: Francois Marier <francois@tailscale.com>
2026-11-10 15:58:59 -07:00
..