Files
tailscale/net
Francois Marier 649ca43716 net/portmapper: add Probe metrics for all PCP result codes
Probe only counted the OK, not authorized and address mismatch PCP
result codes. All other codes went to
portmap_pcp_unhandled_response_code.

This adds all RFC 6887 result codes. IANA has allocated more for
RFCs 7652 and 7843, but we are leaving those out since we don't
use authentication or third-party options.

PCP replies with an opcode other than ANNOUNCE now go to a new
portmap_pcp_unhandled_opcode metric instead of
portmap_pcp_unhandled_response_code, same as NAT-PMP.

Updates tailscale/corp#51202

Change-Id: I00bc0309914280c4238cb2aaa322a595fe94d699
Signed-off-by: Francois Marier <[email protected]>
2026-11-25 10:45:03 -07:00
..
2026-07-10 17:39:16 -07:00