<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tailscale/types/netmap/netmap_test.go, branch vm</title>
<subtitle>The easiest, most secure way to use WireGuard and 2FA</subtitle>
<id>http://git.waynecole.info/tailscale/atom?h=vm</id>
<link rel='self' href='http://git.waynecole.info/tailscale/atom?h=vm'/>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/'/>
<updated>2022-07-26T04:53:49Z</updated>
<entry>
<title>all: convert more code to use net/netip directly</title>
<updated>2022-07-26T04:53:49Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2022-07-26T04:14:09Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=a12aad6b472b917daddbe1afe59e0e2745266753'/>
<id>urn:sha1:a12aad6b472b917daddbe1afe59e0e2745266753</id>
<content type='text'>
    perl -i -npe 's,netaddr.IPPrefixFrom,netip.PrefixFrom,' $(git grep -l -F netaddr.)
    perl -i -npe 's,netaddr.IPPortFrom,netip.AddrPortFrom,' $(git grep -l -F netaddr. )
    perl -i -npe 's,netaddr.IPPrefix,netip.Prefix,g' $(git grep -l -F netaddr. )
    perl -i -npe 's,netaddr.IPPort,netip.AddrPort,g' $(git grep -l -F netaddr. )
    perl -i -npe 's,netaddr.IP\b,netip.Addr,g' $(git grep -l -F netaddr. )
    perl -i -npe 's,netaddr.IPv6Raw\b,netip.AddrFrom16,g' $(git grep -l -F netaddr. )
    goimports -w .

Then delete some stuff from the net/netaddr shim package which is no
longer neeed.

Updates #5162

Change-Id: Ia7a86893fe21c7e3ee1ec823e8aba288d4566cd8
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>net/netaddr: start migrating to net/netip via new netaddr adapter package</title>
<updated>2022-07-25T23:20:43Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2022-07-25T03:08:42Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=7eaf5e509fe3a921a9caa05173b7f7a80c504601'/>
<id>urn:sha1:7eaf5e509fe3a921a9caa05173b7f7a80c504601</id>
<content type='text'>
Updates #5162

Change-Id: Id7bdec303b25471f69d542f8ce43805328d56c12
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>all: replace tailcfg.DiscoKey with key.DiscoPublic.</title>
<updated>2021-11-03T21:00:16Z</updated>
<author>
<name>David Anderson</name>
<email>danderson@tailscale.com</email>
</author>
<published>2021-11-02T21:41:56Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=0532eb30dbba7bc5a467c29c929ca22eff3a5439'/>
<id>urn:sha1:0532eb30dbba7bc5a467c29c929ca22eff3a5439</id>
<content type='text'>
Signed-off-by: David Anderson &lt;danderson@tailscale.com&gt;
</content>
</entry>
<entry>
<title>tailcfg: use key.NodePublic in wire protocol types.</title>
<updated>2021-11-02T16:11:43Z</updated>
<author>
<name>David Anderson</name>
<email>danderson@tailscale.com</email>
</author>
<published>2021-11-02T03:55:52Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=7e6a1ef4f1511e03d24d19f6b3a51d4504cac8f7'/>
<id>urn:sha1:7e6a1ef4f1511e03d24d19f6b3a51d4504cac8f7</id>
<content type='text'>
Updates #3206.

Signed-off-by: David Anderson &lt;danderson@tailscale.com&gt;
</content>
</entry>
<entry>
<title>types/netmap: use key.NodePublic instead of tailcfg.NodeKey.</title>
<updated>2021-11-02T00:07:40Z</updated>
<author>
<name>David Anderson</name>
<email>danderson@tailscale.com</email>
</author>
<published>2021-10-30T01:01:03Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=d6e7cec6a740cc3a6435083a6dad9842ff3d1bf1'/>
<id>urn:sha1:d6e7cec6a740cc3a6435083a6dad9842ff3d1bf1</id>
<content type='text'>
Update #3206

Signed-off-by: David Anderson &lt;danderson@tailscale.com&gt;
</content>
</entry>
<entry>
<title>all: adapt to opaque netaddr types</title>
<updated>2021-05-16T21:52:00Z</updated>
<author>
<name>Josh Bleecher Snyder</name>
<email>josh@tailscale.com</email>
</author>
<published>2021-05-15T01:07:28Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=25df067dd0c854eebcd2841b82ad92ebb1d77165'/>
<id>urn:sha1:25df067dd0c854eebcd2841b82ad92ebb1d77165</id>
<content type='text'>
This commit is a mishmash of automated edits using gofmt:

gofmt -r 'netaddr.IPPort{IP: a, Port: b} -&gt; netaddr.IPPortFrom(a, b)' -w .
gofmt -r 'netaddr.IPPrefix{IP: a, Port: b} -&gt; netaddr.IPPrefixFrom(a, b)' -w .

gofmt -r 'a.IP.Is4 -&gt; a.IP().Is4' -w .
gofmt -r 'a.IP.As16 -&gt; a.IP().As16' -w .
gofmt -r 'a.IP.Is6 -&gt; a.IP().Is6' -w .
gofmt -r 'a.IP.As4 -&gt; a.IP().As4' -w .
gofmt -r 'a.IP.String -&gt; a.IP().String' -w .

And regexps:

\w*(.*)\.Port = (.*)  -&gt;  $1 = $1.WithPort($2)
\w*(.*)\.IP = (.*)  -&gt;  $1 = $1.WithIP($2)

And lots of manual fixups.

Signed-off-by: Josh Bleecher Snyder &lt;josh@tailscale.com&gt;</content>
</entry>
<entry>
<title>types/netmap: split controlclient.NetworkMap off into its own leaf package</title>
<updated>2021-02-06T00:18:52Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2021-02-05T23:44:46Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=1e7a35b2250242d4a50a4d55f4568145d9426602'/>
<id>urn:sha1:1e7a35b2250242d4a50a4d55f4568145d9426602</id>
<content type='text'>
Updates #1278

Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
</feed>
