mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-01 03:04:07 +09:00
Bounds the DERP HTTP client's error body read. DERP region IDs are now
tailcfg.DERPRegionID.
(cherry picked from commit 3aece6501, adapted)
257 lines
12 KiB
AMPL
257 lines
12 KiB
AMPL
module github.com/juanfont/headscale
|
|
|
|
go 1.27.3
|
|
|
|
// NOTE: modernc sqlite has a fragile dependency
|
|
// chain and it is important that they are updated
|
|
// in lockstep to ensure that they do not break
|
|
// some architectures and similar at runtime:
|
|
// https://github.com/juanfont/headscale/issues/2188
|
|
//
|
|
// Fragile libc dependency:
|
|
// https://pkg.go.dev/modernc.org/sqlite#hdr-Fragile_modernc_org_libc_dependency
|
|
// https://gitlab.com/cznic/sqlite/-/issues/177
|
|
//
|
|
// To upgrade, determine the new SQLite version to
|
|
// be used, and consult the `go.mod` file:
|
|
// https://gitlab.com/cznic/sqlite/-/blob/master/go.mod
|
|
// to find
|
|
// the appropriate `libc` version, then upgrade them
|
|
// together, e.g:
|
|
// go get modernc.org/libc@v1.55.3 modernc.org/sqlite@v1.33.1
|
|
require (
|
|
github.com/arl/statsviz v0.8.0
|
|
github.com/cenkalti/backoff/v5 v5.0.3
|
|
github.com/chasefleming/elem-go v0.31.0
|
|
github.com/coder/websocket v1.8.15
|
|
github.com/coreos/go-oidc/v3 v3.18.0
|
|
github.com/creachadair/command v0.2.12
|
|
github.com/creachadair/flax v0.0.6
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
|
|
github.com/docker/docker v28.5.2+incompatible
|
|
github.com/fsnotify/fsnotify v1.10.1
|
|
github.com/glebarez/sqlite v1.11.0
|
|
github.com/go-chi/chi/v5 v5.4.0
|
|
github.com/go-chi/metrics v0.1.1
|
|
github.com/go-gormigrate/gormigrate/v2 v2.1.6
|
|
github.com/go-json-experiment/json v0.0.0-20260820222146-c27c302e5fc3
|
|
github.com/gofrs/uuid/v5 v5.4.0
|
|
github.com/google/go-cmp v0.7.0
|
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.29.0
|
|
github.com/hashicorp/golang-lru/v2 v2.0.7
|
|
github.com/jagottsicher/termcolor v1.0.2
|
|
github.com/oauth2-proxy/mockoidc v0.0.0-20240214162133-caebfff84d25
|
|
github.com/ory/dockertest/v3 v3.12.0
|
|
github.com/philip-bui/grpc-zerolog v1.0.1
|
|
github.com/pkg/profile v1.7.0
|
|
github.com/prometheus/client_golang v1.24.1
|
|
github.com/prometheus/common v0.71.0
|
|
github.com/pterm/pterm v0.12.83
|
|
github.com/puzpuzpuz/xsync/v4 v4.5.0
|
|
github.com/realclientip/realclientip-go v1.0.0
|
|
github.com/rs/zerolog v1.35.1
|
|
github.com/samber/lo v1.53.0
|
|
github.com/sasha-s/go-deadlock v0.3.9
|
|
github.com/spf13/cobra v1.10.2
|
|
github.com/spf13/viper v1.21.0
|
|
github.com/stretchr/testify v1.12.1
|
|
github.com/tailscale/hujson v0.0.0-20260727124030-b80ff77dac4f
|
|
github.com/tailscale/squibble v0.0.0-20260411062017-141f5d618bc4
|
|
github.com/tailscale/tailsql v0.0.0-20260522170732-77aec5aabc76
|
|
github.com/tcnksm/go-latest v0.0.0-20170313132115-e3007ae9052e
|
|
go4.org/netipx v0.0.0-20260823151212-3075585bcbeb
|
|
golang.org/x/crypto v0.58.0
|
|
golang.org/x/exp v0.0.0-20260908205506-85c1c2202aba
|
|
golang.org/x/net v0.60.0
|
|
golang.org/x/oauth2 v0.37.0
|
|
golang.org/x/sync v0.24.0
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20260610212136-7ab31c22f7ad
|
|
google.golang.org/grpc v1.83.2
|
|
google.golang.org/protobuf v1.36.12
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
gorm.io/driver/postgres v1.6.0
|
|
gorm.io/gorm v1.31.1
|
|
modernc.org/sqlite v1.52.0
|
|
pgregory.net/rapid v1.3.0
|
|
tailscale.com v1.104.4
|
|
zombiezen.com/go/postgrestest v1.0.1
|
|
)
|
|
|
|
require (
|
|
atomicgo.dev/cursor v0.2.0 // indirect
|
|
atomicgo.dev/keyboard v0.2.10 // indirect
|
|
atomicgo.dev/schedule v0.1.0 // indirect
|
|
dario.cat/mergo v1.0.2 // indirect
|
|
filippo.io/edwards25519 v1.2.0 // indirect
|
|
fyne.io/systray v1.12.2 // indirect
|
|
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
|
|
github.com/Kodeworks/golang-image-ico v0.0.0-20141118225523-73f0f4cfade9 // indirect
|
|
github.com/Microsoft/go-winio v0.6.2 // indirect
|
|
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
|
|
github.com/akutz/memconn v0.1.0 // indirect
|
|
github.com/alexbrainman/sspi v0.0.0-20250919150558-7d374ff0d59e // indirect
|
|
github.com/atotto/clipboard v0.1.4 // indirect
|
|
github.com/aws/aws-sdk-go-v2 v1.46.0 // indirect
|
|
github.com/aws/aws-sdk-go-v2/config v1.33.3 // indirect
|
|
github.com/aws/aws-sdk-go-v2/credentials v1.20.3 // indirect
|
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.19.2 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.5.2 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.8.2 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/v4a v1.5.2 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.19 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.14.2 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/signin v1.9.0 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/ssm v1.77.0 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sso v1.37.0 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.42.0 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sts v1.49.0 // indirect
|
|
github.com/aws/smithy-go v1.28.1 // indirect
|
|
github.com/axiomhq/hyperloglog v0.2.6 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/bradfitz/monogok v0.0.0-20260630033929-b1eef977b41f // indirect
|
|
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
|
|
github.com/containerd/console v1.0.5 // indirect
|
|
github.com/containerd/continuity v0.5.0 // indirect
|
|
github.com/containerd/errdefs v1.0.0 // indirect
|
|
github.com/containerd/errdefs/pkg v0.3.0 // indirect
|
|
github.com/creachadair/mds v0.31.0 // indirect
|
|
github.com/creachadair/msync v0.10.1 // indirect
|
|
github.com/dblohm7/wingoes v0.0.0-20260526185140-fb298caac7ca // indirect
|
|
github.com/dgryski/go-metro v0.0.0-20250106013310-edb8663e5e33 // indirect
|
|
github.com/diskfs/go-diskfs v1.9.4 // indirect
|
|
github.com/distribution/reference v0.6.0 // indirect
|
|
github.com/docker/cli v29.7.2+incompatible // indirect
|
|
github.com/docker/go-connections v0.7.0 // indirect
|
|
github.com/docker/go-units v0.5.0 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/felixge/fgprof v0.9.5 // indirect
|
|
github.com/felixge/httpsnoop v1.1.0 // indirect
|
|
github.com/fogleman/gg v1.3.0 // indirect
|
|
github.com/fxamacker/cbor/v2 v2.9.3 // indirect
|
|
github.com/gaissmai/bart v0.29.0 // indirect
|
|
github.com/glebarez/go-sqlite v1.22.0 // indirect
|
|
github.com/go-jose/go-jose/v3 v3.0.5 // indirect
|
|
github.com/go-jose/go-jose/v4 v4.1.4 // indirect
|
|
github.com/go-logr/logr v1.4.4 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/go-viper/mapstructure/v2 v2.5.0 // indirect
|
|
github.com/go4org/hashtriemap v0.0.0-20260925222741-44e5305f85d9 // indirect
|
|
github.com/godbus/dbus/v5 v5.2.2 // indirect
|
|
github.com/golang-jwt/jwt/v5 v5.3.1 // indirect
|
|
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
|
|
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
|
|
github.com/golang/protobuf v1.5.4 // indirect
|
|
github.com/google/btree v1.1.3 // indirect
|
|
github.com/google/go-github v17.0.0+incompatible // indirect
|
|
github.com/google/go-querystring v1.2.0 // indirect
|
|
github.com/google/pprof v0.0.0-20260604005048-7023385849c0 // indirect
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/gookit/color v1.6.1 // indirect
|
|
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect
|
|
github.com/hashicorp/go-version v1.9.0 // indirect
|
|
github.com/hdevalence/ed25519consensus v0.2.0 // indirect
|
|
github.com/huin/goupnp v1.3.0 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
|
|
github.com/jackc/pgx/v5 v5.10.0 // indirect
|
|
github.com/jackc/puddle/v2 v2.2.2 // indirect
|
|
github.com/jinzhu/inflection v1.0.0 // indirect
|
|
github.com/jinzhu/now v1.1.5 // indirect
|
|
github.com/jsimonetti/rtnetlink v1.4.2 // indirect
|
|
github.com/kamstrup/intmap v0.5.2 // indirect
|
|
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
|
|
github.com/klauspost/compress v1.20.0 // indirect
|
|
github.com/lib/pq v1.12.3 // indirect
|
|
github.com/lithammer/fuzzysearch v1.1.8 // indirect
|
|
github.com/mattn/go-colorable v0.1.15 // indirect
|
|
github.com/mattn/go-isatty v0.0.24 // indirect
|
|
github.com/mattn/go-runewidth v0.0.24 // indirect
|
|
github.com/mdlayher/netlink v1.11.2 // indirect
|
|
github.com/mdlayher/socket v0.7.0 // indirect
|
|
github.com/mitchellh/go-ps v1.0.0 // indirect
|
|
github.com/moby/docker-image-spec v1.3.1 // indirect
|
|
github.com/moby/moby/api v1.55.0 // indirect
|
|
github.com/moby/moby/client v0.5.1 // indirect
|
|
github.com/moby/sys/atomicwriter v0.1.0 // indirect
|
|
github.com/moby/sys/user v0.4.0 // indirect
|
|
github.com/moby/term v0.5.2 // indirect
|
|
github.com/morikuni/aec v1.1.0 // indirect
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
|
github.com/ncruces/go-strftime v1.0.0 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
github.com/opencontainers/image-spec v1.1.1 // indirect
|
|
github.com/opencontainers/runc v1.3.2 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.4.3 // indirect
|
|
github.com/peterbourgon/ff/v3 v3.4.0 // indirect
|
|
github.com/petermattis/goid v0.0.0-20260330135022-df67b199bc81 // indirect
|
|
github.com/pires/go-proxyproto v0.15.0 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/prometheus/client_model v0.6.3 // indirect
|
|
github.com/prometheus/procfs v0.21.1 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/safchain/ethtool v0.7.0 // indirect
|
|
github.com/sagikazarmark/locafero v0.12.0 // indirect
|
|
github.com/sirupsen/logrus v1.10.2 // indirect
|
|
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e // indirect
|
|
github.com/spf13/afero v1.15.0 // indirect
|
|
github.com/spf13/cast v1.10.0 // indirect
|
|
github.com/spf13/pflag v1.0.10 // indirect
|
|
github.com/subosito/gotenv v1.6.0 // indirect
|
|
github.com/tailscale/certstore v0.1.1-0.20260409135935-3638fb84b77d // indirect
|
|
github.com/tailscale/go-winio v0.0.0-20231025203758-c4f33415bf55 // indirect
|
|
github.com/tailscale/peercred v0.0.0-20250107143737-35a0c7bd7edc // indirect
|
|
github.com/tailscale/setec v0.0.0-20260824224040-f8d7a936837c // indirect
|
|
github.com/tailscale/web-client-prebuilt v0.0.0-20260917222731-e0ed2d0d0fea // indirect
|
|
github.com/tailscale/wireguard-go v0.0.0-20260928213032-417aef361226 // indirect
|
|
github.com/toqueteos/webbrowser v1.2.1 // indirect
|
|
github.com/x448/float16 v0.8.4 // indirect
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
|
|
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
|
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
|
|
github.com/xo/terminfo v1.0.0 // indirect
|
|
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.70.0 // indirect
|
|
go.opentelemetry.io/otel v1.45.0 // indirect
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.43.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.45.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.45.0 // indirect
|
|
go.yaml.in/yaml/v2 v2.4.4 // indirect
|
|
go.yaml.in/yaml/v3 v3.0.5 // indirect
|
|
go4.org/mem v0.0.0-20240501181205-ae6ca9944745 // indirect
|
|
golang.org/x/image v0.46.0 // indirect
|
|
golang.org/x/mod v0.41.0 // indirect
|
|
golang.org/x/sys v0.49.0 // indirect
|
|
golang.org/x/term v0.47.0 // indirect
|
|
golang.org/x/text v0.43.0 // indirect
|
|
golang.org/x/time v0.16.0 // indirect
|
|
golang.org/x/tools v0.51.0 // indirect
|
|
golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2 // indirect
|
|
golang.zx2c4.com/wireguard/windows v1.0.1 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa // indirect
|
|
// NOTE: gvisor must be updated in lockstep with
|
|
// tailscale.com. The version used here should match
|
|
// the version required by the tailscale.com dependency.
|
|
// To find the correct version, check tailscale.com's
|
|
// go.mod file for the gvisor.dev/gvisor version:
|
|
// https://github.com/tailscale/tailscale/blob/main/go.mod
|
|
gvisor.dev/gvisor v0.0.0-20260915211658-a6f909f08a72 // indirect
|
|
k8s.io/client-go v0.37.0 // indirect
|
|
modernc.org/libc v1.72.3 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.11.0 // indirect
|
|
sigs.k8s.io/yaml v1.6.0 // indirect
|
|
software.sslmate.com/src/go-pkcs12 v0.7.3 // indirect
|
|
)
|
|
|
|
tool (
|
|
golang.org/x/tools/cmd/stress
|
|
golang.org/x/tools/cmd/stringer
|
|
tailscale.com/cmd/tailscale
|
|
tailscale.com/cmd/viewer
|
|
tailscale.com/tstest/mts
|
|
)
|