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/util
Irbe Krumina 90c4067010
util/linuxfw: add container-friendly IPv6 NAT check (#11353)
Remove IPv6 NAT check when routing is being set up
using nftables.
This is unnecessary as support for nftables was
added after support for IPv6.
https://tldp.org/HOWTO/Linux+IPv6-HOWTO/ch18s04.html
https://wiki.nftables.org/wiki-nftables/index.php/Building_and_installing_nftables_from_sources

Additionally, run an extra check for IPv6 NAT support
when the routing is set up with iptables.
This is because the earlier checks rely on
being able to use modprobe and on /proc/net/ip6_tables_names
being populated on start - these conditions are usually not
true in container environments.

Updates tailscale/tailscale#11344

Signed-off-by: Irbe Krumina <irbe@tailscale.com>
3 months ago
..
cache util/cache: fix missing interface methods (#11275) 3 months ago
cibuild all: update copyright and license headers 1 year ago
clientmetric util/clientmetric: allow client metric values to be provided by a function 1 year ago
cloudenv util/cloudenv: add support for DigitalOcean 4 months ago
cmpver util/cmpver: add Less/LessEq helper funcs 3 months ago
codegen util/codegen: support embedded fields 1 year ago
cstruct all: update copyright and license headers 1 year ago
ctxkey all: use reflect.TypeFor now available in Go 1.22 (#11078) 4 months ago
deephash all: use reflect.TypeFor now available in Go 1.22 (#11078) 4 months ago
dirwalk all: use tstest.Replace more 1 year ago
dnsname cmd/tailscale: extend hostname validation (#7678) 1 year ago
execqueue control/controlclient,util/execqueue: extract execqueue into a package 4 months ago
expvarx util/expvarx: add a time and concurrency limiting expvar.Func wrapper 4 months ago
goroutines util/goroutines: let ScrubbedGoroutineDump get only current stack 11 months ago
groupmember util/groupmember: fail earlier if group doesn't exist, use slices.Contains 7 months ago
hashx all: update copyright and license headers 1 year ago
httphdr util/httphdr: add new package for parsing HTTP headers (#9797) 8 months ago
httpm util/httpm: don't run test if .git doesn't exist 6 months ago
jsonutil all: update copyright and license headers 1 year ago
limiter util/lru, util/limiter: add debug helper to dump state as HTML 9 months ago
lineread all: update copyright and license headers 1 year ago
linuxfw util/linuxfw: add container-friendly IPv6 NAT check (#11353) 3 months ago
lru util/lru: update c.head when deleting the most recently used entry 9 months ago
mak various: add golangci-lint, fix issues (#7905) 1 year ago
multierr all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 10 months ago
must all: update copyright and license headers 1 year ago
nocasemaps util/nocasemaps: add AppendSliceElem method to nocasemaps (#10871) 4 months ago
osdiag util/osdiag, util/winutil: expose Windows policy key 7 months ago
osshare all: update copyright and license headers 1 year ago
osuser ssh/tailssh,util: extract new osuser package from ssh code (#10170) 7 months ago
pidowner all: update copyright and license headers 1 year ago
precompress all: update copyright and license headers 1 year ago
quarantine all: update copyright and license headers 1 year ago
race util/race: add test to confirm we don't leak goroutines 8 months ago
racebuild all: update copyright and license headers 1 year ago
rands util/rands: add Shuffle and Perm functions with on-stack RNG state 4 months ago
ringbuffer util/ringbuffer: move generic ringbuffer from corp repo 1 year ago
set util/set: implement json.Marshaler/Unmarshaler (#10308) 6 months ago
singleflight all: update copyright and license headers 1 year ago
slicesx util/slicesx: add Filter function 4 months ago
syspolicy util/syspolicy: add 'ResetToDefaults' (#11194) 3 months ago
sysresources util/sysresources, magicsock: scale DERP buffer based on system memory 1 year ago
systemd all: update copyright and license headers 1 year ago
testenv util/testenv: add new package to hold InTest 10 months ago
topk util/topk: add package containing a probabilistic top-K tracker 4 months ago
truncate util: add truncate package (#7490) 1 year ago
uniq all: update copyright and license headers 1 year ago
vizerror util/vizerror: add As function to get wrapped Error 1 year ago
winutil util/winutil: add some missing docs to restartmgr errors 5 months ago