Brad Fitzpatrick 
							
						 
					 
					
						
						
						
						
							
						
						
							8d7894c68e 
							
						 
					 
					
						
						
							
							clientupdate, net/dns: fix some "tailsacle" typos  
						
						... 
						
						
						
						Updates #cleanup
Change-Id: I982175e74b0c8c5b3e01a573e5785e6596b7ac39
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> 
						
						
					 
					
						2024-04-03 21:08:25 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
						
						
							
						
						
							b1248442c3 
							
						 
					 
					
						
						
							
							all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork  
						
						... 
						
						
						
						Updates #7123 
Updates #5309 
Change-Id: I90bcd87a2fb85a91834a0dd4be6e03db08438672
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> 
						
						
					 
					
						2023-02-01 15:23:54 -08:00 
						 
				 
			
				
					
						
							
							
								Will Norris 
							
						 
					 
					
						
						
						
						
							
						
						
							71029cea2d 
							
						 
					 
					
						
						
							
							all: update copyright and license headers  
						
						... 
						
						
						
						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> 
						
						
					 
					
						2023-01-27 15:36:29 -08:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
						
						
							
						
						
							3addcacfe9 
							
						 
					 
					
						
						
							
							net/dns: fix recently added URL scheme from http to https  
						
						... 
						
						
						
						I typoed/brainoed in the earlier 358262869176bfddf369517994ac0337712f75e0
Change-Id: Ic198a6f9911f195d9da9fc5259b5784a4b15e5e3
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> 
						
						
					 
					
						2023-01-17 18:50:04 -08:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
						
						
							
						
						
							3582628691 
							
						 
					 
					
						
						
							
							net/dns/resolvconffile: link to FAQ about resolv.conf being overwritten  
						
						... 
						
						
						
						Add link to new http://tailscale.com/s/resolvconf-overwrite  page,
added in tailscale/tailscale-www#2243 
Change-Id: I9718399487f2ed18bf1a112581fd168aea30f232
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> 
						
						
					 
					
						2023-01-14 13:54:45 -08:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
						
						
							
						
						
							ea70aa3d98 
							
						 
					 
					
						
						
							
							net/dns/resolvconffile: fix handling of multiple search domains  
						
						... 
						
						
						
						Fixes  #6875 
Change-Id: I57eb9312c9a1c81792ce2b5a0a0f254213b05df2
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> 
					
						2023-01-02 20:19:16 -08:00 
						 
				 
			
				
					
						
							
							
								Mihai Parparita 
							
						 
					 
					
						
						
						
						
							
						
						
							33520920c3 
							
						 
					 
					
						
						
							
							all: use strs.CutPrefix and strs.CutSuffix more  
						
						... 
						
						
						
						Updates places where we use HasPrefix + TrimPrefix to use the combined
function.
Updates #5309 
Signed-off-by: Mihai Parparita <mihai@tailscale.com> 
						
						
					 
					
						2022-11-21 14:32:16 -08:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
						
						
							
						
						
							a12aad6b47 
							
						 
					 
					
						
						
							
							all: convert more code to use net/netip directly  
						
						... 
						
						
						
						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 <bradfitz@tailscale.com> 
						
						
					 
					
						2022-07-25 21:53:49 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
						
						
							
						
						
							6a396731eb 
							
						 
					 
					
						
						
							
							all: use various net/netip parse funcs directly  
						
						... 
						
						
						
						Mechanical change with perl+goimports.
Changed {Must,}Parse{IP,IPPrefix,IPPort} to their netip variants, then
goimports -d .
Finally, removed the net/netaddr wrappers, to prevent future use.
Updates #5162 
Change-Id: I59c0e38b5fbca5a935d701645789cddf3d7863ad
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> 
						
						
					 
					
						2022-07-25 21:12:28 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
						
						
							
						
						
							7eaf5e509f 
							
						 
					 
					
						
						
							
							net/netaddr: start migrating to net/netip via new netaddr adapter package  
						
						... 
						
						
						
						Updates #5162 
Change-Id: Id7bdec303b25471f69d542f8ce43805328d56c12
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> 
						
						
					 
					
						2022-07-25 16:20:43 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
						
						
							
						
						
							f2041c9088 
							
						 
					 
					
						
						
							
							all: use strings.Cut even more  
						
						... 
						
						
						
						Change-Id: I943ce72c6f339589235bddbe10d07799c4e37979
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> 
						
						
					 
					
						2022-03-19 13:02:38 -07:00 
						 
				 
			
				
					
						
							
							
								Brad Fitzpatrick 
							
						 
					 
					
						
						
						
						
							
						
						
							c988bd6ed1 
							
						 
					 
					
						
						
							
							net/dns/resolvconffile: unify three /etc/resolv.conf parsers into new package  
						
						... 
						
						
						
						Change-Id: I2120893ca802d12f1bd0407d49077d3672627d33
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> 
						
						
					 
					
						2022-02-14 20:55:57 -08:00