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/net
Jordan Whited 824027305a cmd/tailscale/cli,ipn,all: make peer relay server port a *uint16
In preparation for exposing its configuration via ipn.ConfigVAlpha,
change {Masked}Prefs.RelayServerPort from *int to *uint16. This takes a
defensive stance against invalid inputs at JSON decode time.

'tailscale set --relay-server-port' is currently the only input to this
pref, and has always sanitized input to fit within a uint16.

Updates tailscale/corp#34591

Signed-off-by: Jordan Whited <jordan@tailscale.com>
1 week ago
..
ace feature/ace: make ACE modular 2 months ago
art all: rename variables with lowercase-l/uppercase-I 2 weeks ago
bakedroots tstest/tlstest: simplify, don't even bake in any keys 6 months ago
batching net/batching: fix import formatting 2 weeks ago
captivedetection syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 weeks ago
connectproxy net/tlsdial: fix TLS cert validation of HTTPS proxies 6 months ago
dns all: rename variables with lowercase-l/uppercase-I 2 weeks ago
dnscache syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 weeks ago
dnsfallback feature, net/tshttpproxy: pull out support for using proxies as a feature 2 months ago
flowtrack net/flowtrack: fix, test String method 1 year ago
ipset all: use iterators over slice views more 1 year ago
ktimeout all: rename variables with lowercase-l/uppercase-I 2 weeks ago
memnet all: rename variables with lowercase-l/uppercase-I 2 weeks ago
netaddr all: rename variables with lowercase-l/uppercase-I 2 weeks ago
netcheck all: rename variables with lowercase-l/uppercase-I 2 weeks ago
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 3 years ago
netkernelconf all: remove non-applicable "linux" deps on Android 7 months ago
netknob all: update copyright and license headers 3 years ago
netmon syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 weeks ago
netns net/netns: remove spammy logs for interface binding caps 2 weeks ago
netstat all: add test for package comments, fix, add comments as needed 1 year ago
netutil syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 weeks ago
netx net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 8 months ago
packet net/tstun: add TSMPDiscoAdvertisement to TSMPPing (#17995) 1 week ago
ping syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 weeks ago
portmapper go.mod: bump golang.org/x/crypto (#17907) 2 weeks ago
proxymux all: cleanup unused code, part 1 (#10661) 2 years ago
routetable net/routetable: don't try to fetch the route table on android 8 months ago
sockopts wgengine/magicsock,net/sockopts: export Windows ICMP suppression logic (#16917) 3 months ago
socks5 all: rename variables with lowercase-l/uppercase-I 2 weeks ago
sockstats go.mod: bump golang.org/x/crypto (#17907) 2 weeks ago
speedtest all: rename variables with lowercase-l/uppercase-I 2 weeks ago
stun ci: enable checklocks workflow for specific packages 1 year ago
stunserver all: use Go 1.22 range-over-int 2 years ago
tcpinfo all: use Go 1.22 range-over-int 2 years ago
tlsdial feature/featuretags, all: add build features, use existing ones in more places 2 months ago
tsaddr net/tsaddr: include test input in test failure output 1 year ago
tsdial types/netmap,*: remove some redundant fields from NetMap 2 weeks ago
tshttpproxy go.mod: bump golang.org/x/crypto (#17907) 2 weeks ago
tstun net/tstun: add TSMPDiscoAdvertisement to TSMPPing (#17995) 1 week ago
udprelay cmd/tailscale/cli,ipn,all: make peer relay server port a *uint16 1 week ago
wsconn syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 weeks ago