summaryrefslogtreecommitdiffhomepage
path: root/cmd/stunc
AgeCommit message (Collapse)AuthorFilesLines
2024-12-06cmd/stunc: enforce read timeout deadline (#14309)Mike O'Driscoll1-7/+27
Make argparsing use flag for adding a new parameter that requires parsing. Enforce a read timeout deadline waiting for response from the stun server provided in the args. Otherwise the program will never exit. Fixes #14267 Signed-off-by: Mike O'Driscoll <mikeo@tailscale.com>
2024-06-14cmd/stunc: support user-specified port (#12469)Jordan Whited1-3/+12
Updates tailscale/corp#20689 Signed-off-by: Jordan Whited <jordan@tailscale.com>
2024-05-17cmd/stunc: support ipv6 address targets (#12166)Jordan Whited1-1/+1
Updates #cleanup Signed-off-by: Jordan Whited <jordan@tailscale.com>
2023-01-27all: update copyright and license headersWill Norris1-3/+2
This updates all source files to use a new standard header for copyright and license declaration. Notably, copyright no longer includes a date, and we now use the standard SPDX-License-Identifier header. This commit was done almost entirely mechanically with perl, and then some minimal manual fixes. Updates #6865 Signed-off-by: Will Norris <will@tailscale.com>
2022-11-23cmd/stunc: add command for making debug stun requestsJames Tucker1-0/+58
Signed-off-by: James Tucker <james@tailscale.com>