-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Several changes to implement STUN and general NAT navigation: - Added a STUN server (from pion/turn) to `locator` - Implemented a STUN client (from pion/stun) within the `daemon` - Added logic to `server` to relay API requests to the `daemon` to configure the STUN and `locator` clients
- Loading branch information
Showing
27 changed files
with
1,294 additions
and
391 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,100 @@ | ||
module github.com/home-cloud-io/core/services/platform/daemon | ||
|
||
go 1.22.5 | ||
go 1.23.0 | ||
|
||
toolchain go1.23.4 | ||
|
||
// replace github.com/home-cloud-io/core/api => ../../../api | ||
|
||
// replace github.com/steady-bytes/draft/pkg/chassis => ../../../../../steady-bytes/draft/pkg/chassis | ||
|
||
require ( | ||
connectrpc.com/connect v1.16.2 | ||
github.com/google/uuid v1.6.0 | ||
github.com/home-cloud-io/core/api v0.8.1 | ||
github.com/mackerelio/go-osstat v0.2.5 | ||
github.com/spf13/viper v1.18.2 | ||
github.com/steady-bytes/draft/pkg/chassis v0.3.0 | ||
github.com/netbirdio/netbird v0.34.1 | ||
github.com/pion/stun/v2 v2.0.0 | ||
github.com/steady-bytes/draft/pkg/chassis v0.3.5 | ||
github.com/steady-bytes/draft/pkg/loggers v0.2.3 | ||
golang.org/x/mod v0.13.0 | ||
golang.org/x/net v0.25.0 | ||
golang.org/x/sync v0.7.0 | ||
golang.org/x/mod v0.18.0 | ||
golang.org/x/net v0.30.0 | ||
golang.org/x/sync v0.8.0 | ||
golang.zx2c4.com/wireguard/wgctrl v0.0.0-20230429144221-925a1e7659e6 | ||
google.golang.org/protobuf v1.34.2 | ||
gopkg.in/yaml.v3 v3.0.1 | ||
) | ||
|
||
require ( | ||
connectrpc.com/grpcreflect v1.2.0 // indirect | ||
github.com/armon/go-metrics v0.4.1 // indirect | ||
github.com/aws/aws-sdk-go-v2 v1.30.3 // indirect | ||
github.com/aws/aws-sdk-go-v2/config v1.27.27 // indirect | ||
github.com/aws/aws-sdk-go-v2/credentials v1.17.27 // indirect | ||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.11 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.15 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.15 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.3 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.17 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/route53 v1.42.3 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sso v1.22.4 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.26.4 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sts v1.30.3 // indirect | ||
github.com/aws/smithy-go v1.20.3 // indirect | ||
github.com/boltdb/bolt v1.3.1 // indirect | ||
github.com/caddyserver/certmagic v0.21.3 // indirect | ||
github.com/caddyserver/zerossl v0.1.3 // indirect | ||
github.com/cloudevents/sdk-go/binding/format/protobuf/v2 v2.15.0 // indirect | ||
github.com/envoyproxy/go-control-plane v0.12.0 // indirect | ||
github.com/envoyproxy/protoc-gen-validate v1.1.0 // indirect | ||
github.com/fatih/color v1.14.1 // indirect | ||
github.com/fsnotify/fsnotify v1.7.0 // indirect | ||
github.com/golang/protobuf v1.5.4 // indirect | ||
github.com/hashicorp/go-hclog v1.5.0 // indirect | ||
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect | ||
github.com/hashicorp/go-msgpack/v2 v2.1.1 // indirect | ||
github.com/hashicorp/golang-lru v0.5.4 // indirect | ||
github.com/hashicorp/hcl v1.0.0 // indirect | ||
github.com/hashicorp/raft v1.6.0 // indirect | ||
github.com/hashicorp/raft-boltdb/v2 v2.3.0 // indirect | ||
github.com/jmespath/go-jmespath v0.4.0 // indirect | ||
github.com/klauspost/cpuid/v2 v2.2.7 // indirect | ||
github.com/libdns/libdns v0.2.2 // indirect | ||
github.com/libdns/route53 v1.5.0 // indirect | ||
github.com/magiconair/properties v1.8.7 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/mholt/acmez/v2 v2.0.1 // indirect | ||
github.com/miekg/dns v1.1.59 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/pelletier/go-toml/v2 v2.1.0 // indirect | ||
github.com/pion/dtls/v2 v2.2.10 // indirect | ||
github.com/pion/logging v0.2.2 // indirect | ||
github.com/pion/transport/v2 v2.2.4 // indirect | ||
github.com/pion/transport/v3 v3.0.1 // indirect | ||
github.com/rs/cors v1.10.1 // indirect | ||
github.com/rs/zerolog v1.32.0 // indirect | ||
github.com/sagikazarmark/locafero v0.4.0 // indirect | ||
github.com/sagikazarmark/slog-shim v0.1.0 // indirect | ||
github.com/sirupsen/logrus v1.9.3 // indirect | ||
github.com/sourcegraph/conc v0.3.0 // indirect | ||
github.com/spf13/afero v1.11.0 // indirect | ||
github.com/spf13/cast v1.6.0 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/steady-bytes/draft/api v0.3.1 // indirect | ||
github.com/spf13/viper v1.18.2 // indirect | ||
github.com/steady-bytes/draft/api v0.6.1 // indirect | ||
github.com/subosito/gotenv v1.6.0 // indirect | ||
go.etcd.io/bbolt v1.3.8 // indirect | ||
github.com/zeebo/blake3 v0.2.3 // indirect | ||
go.etcd.io/bbolt v1.3.10 // indirect | ||
go.uber.org/multierr v1.11.0 // indirect | ||
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect | ||
golang.org/x/sys v0.20.0 // indirect | ||
golang.org/x/text v0.15.0 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 // indirect | ||
go.uber.org/zap v1.27.0 // indirect | ||
golang.org/x/crypto v0.28.0 // indirect | ||
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 // indirect | ||
golang.org/x/sys v0.26.0 // indirect | ||
golang.org/x/text v0.19.0 // indirect | ||
golang.org/x/tools v0.22.0 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect | ||
google.golang.org/grpc v1.65.0 // indirect | ||
gopkg.in/ini.v1 v1.67.0 // indirect | ||
) |
Oops, something went wrong.