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
M. J. Fromberger 418e19fb5e portmapper: update NewClient to use a Config argument
In preparation for adding more parameters (and later, moving some away), rework
the portmapper constructor to accept its arguments on a Config struct rather
than positionally.

This is a breaking change to the function signature, but one that is very easy
to update, and a search of GitHub reveals only six instances of usage outside
clones and forks of Tailscale itself, that are not direct copies of the code
fixed up here.

While we could stub in another constructor, I think it is safe to let those
folks do the update in-place, since their usage is already affected by other
changes we can't test for anyway.

Updates #15160

Change-Id: I9f8a5e12b38885074c98894b7376039261b43f43
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
8 months ago
..
art all: fix new lint warnings from bumping staticcheck 1 year ago
bakedroots net/bakedroots: add LetsEncrypt ISRG Root X2 11 months ago
captivedetection tailcfg: add DERPRegion.NoMeasureNoHome, deprecate+document Avoid [cap 115] 10 months ago
connstats {net/connstats,wgengine/magicsock}: fix packet counting in connstats 1 year ago
dns net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 9 months ago
dnscache net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 9 months ago
dnsfallback {control,net}: close idle connections of custom transports 1 year ago
flowtrack net/flowtrack: fix, test String method 2 years ago
ipset all: use iterators over slice views more 1 year ago
ktimeout various: disable MPTCP when setting TCP_USER_TIMEOUT sockopt (#15063) 10 months ago
memnet net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 9 months ago
netaddr all: update copyright and license headers 3 years ago
netcheck all: use network less when running in v86 emulator 9 months ago
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 3 years ago
netkernelconf ipn/{ipnlocal,localapi},net/netkernelconf,client/tailscale,cmd/containerboot: optionally enable UDP GRO forwarding for containers (#12410) 2 years ago
netknob all: update copyright and license headers 3 years ago
netmon net/netmon: disable time jump monitoring on Plan 9 9 months ago
netns net/netns: remove some logspam by avoiding logging parse errors due to unspecified addresses 1 year ago
netstat all: add test for package comments, fix, add comments as needed 1 year ago
netutil all: illumos/solaris userspace only support 12 months ago
netx net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 9 months ago
packet net/packet: implement Geneve header serialization (#15301) 10 months ago
ping net/ping: fix ICMP echo code field to 0 2 years ago
portmapper portmapper: update NewClient to use a Config argument 8 months 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 9 months ago
socks5 net/socks5: optimize UDP relay 1 year ago
sockstats net/sockstats: prevent crash in setNetMon (#13985) 1 year ago
speedtest all: update copyright and license headers 3 years ago
stun ci: enable checklocks workflow for specific packages 2 years 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 cmd/derper, derp/derphttp: support, generate self-signed IP address certs 10 months ago
tsaddr net/tsaddr: include test input in test failure output 1 year ago
tsdial net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 9 months ago
tshttpproxy all: fix golangci-lint errors 12 months ago
tstun net/tstun: don't try to set link attributes on android 9 months ago
udprelay net/udprelay: start of UDP relay server implementation (#15480) 9 months ago
wsconn go.{mod,sum}: migrate from nhooyr.io/websocket to github.com/coder/websocket 1 year ago