mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-24 15:48:52 +01:00
966661fe91
This PR is a part of an effort to use standard ports (443 or 80) that are usually allowed by default in most of the environments. Right now Management Service runs the Let'sEncrypt manager on port 443, HTTP API server on port 33071, and a gRPC server on port 33073. There are three separate listeners. This PR combines these listeners into one. With this change, the HTTP and gRPC server runs on either 443 with TLS or 80 without TLS by default (no --port specified). Let's Encrypt manager always runs on port 443 if enabled. The backward compatibility server runs on port 33073 (with TLS or without). HTTP port 33071 is obsolete and not used anymore. Newly installed agents will connect to port 443 by default instead of port 33073 if not specified otherwise.
117 lines
5.5 KiB
Modula-2
117 lines
5.5 KiB
Modula-2
module github.com/netbirdio/netbird
|
|
|
|
go 1.18
|
|
|
|
require (
|
|
github.com/cenkalti/backoff/v4 v4.1.3
|
|
github.com/golang-jwt/jwt v3.2.2+incompatible
|
|
github.com/golang/protobuf v1.5.2
|
|
github.com/google/uuid v1.3.0
|
|
github.com/gorilla/mux v1.8.0
|
|
github.com/kardianos/service v1.2.1-0.20210728001519-a323c3813bc7 //keep this version otherwise wiretrustee up command breaks
|
|
github.com/onsi/ginkgo v1.16.5
|
|
github.com/onsi/gomega v1.18.1
|
|
github.com/pion/ice/v2 v2.1.17
|
|
github.com/rs/cors v1.8.0
|
|
github.com/sirupsen/logrus v1.8.1
|
|
github.com/spf13/cobra v1.3.0
|
|
github.com/spf13/pflag v1.0.5
|
|
github.com/vishvananda/netlink v1.1.0
|
|
golang.org/x/crypto v0.0.0-20220513210258-46612604a0f9
|
|
golang.org/x/sys v0.0.0-20220622161953-175b2fd9d664
|
|
golang.zx2c4.com/wireguard v0.0.0-20211209221555-9c9e7e272434
|
|
golang.zx2c4.com/wireguard/wgctrl v0.0.0-20211215182854-7a385b3431de
|
|
golang.zx2c4.com/wireguard/windows v0.5.1
|
|
google.golang.org/grpc v1.43.0
|
|
google.golang.org/protobuf v1.28.0
|
|
gopkg.in/natefinch/lumberjack.v2 v2.0.0
|
|
)
|
|
|
|
require (
|
|
fyne.io/fyne/v2 v2.1.4
|
|
github.com/c-robinson/iplib v1.0.3
|
|
github.com/creack/pty v1.1.18
|
|
github.com/eko/gocache/v2 v2.3.1
|
|
github.com/getlantern/systray v1.2.1
|
|
github.com/gliderlabs/ssh v0.3.4
|
|
github.com/magiconair/properties v1.8.5
|
|
github.com/patrickmn/go-cache v2.1.0+incompatible
|
|
github.com/rs/xid v1.3.0
|
|
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
|
|
github.com/stretchr/testify v1.7.1
|
|
golang.org/x/net v0.0.0-20220513224357-95641704303c
|
|
golang.org/x/term v0.0.0-20220526004731-065cf7ba2467
|
|
)
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v0.4.1 // indirect
|
|
github.com/XiaoMi/pegasus-go-client v0.0.0-20210427083443-f3b6b08bc4c2 // indirect
|
|
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/bradfitz/gomemcache v0.0.0-20220106215444-fb4bf637b56d // indirect
|
|
github.com/cespare/xxhash/v2 v2.1.2 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
|
github.com/fredbi/uri v0.0.0-20181227131451-3dcfdacbaaf3 // indirect
|
|
github.com/fsnotify/fsnotify v1.5.1 // indirect
|
|
github.com/getlantern/context v0.0.0-20190109183933-c447772a6520 // indirect
|
|
github.com/getlantern/errors v0.0.0-20190325191628-abdb3e3e36f7 // indirect
|
|
github.com/getlantern/golog v0.0.0-20190830074920-4ef2e798c2d7 // indirect
|
|
github.com/getlantern/hex v0.0.0-20190417191902-c6586a6fe0b7 // indirect
|
|
github.com/getlantern/hidden v0.0.0-20190325191715-f02dbb02be55 // indirect
|
|
github.com/getlantern/ops v0.0.0-20190325191751-d70cb0d6f85f // indirect
|
|
github.com/go-gl/gl v0.0.0-20210813123233-e4099ee2221f // indirect
|
|
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20211024062804-40e447a793be // indirect
|
|
github.com/go-redis/redis/v8 v8.11.5 // indirect
|
|
github.com/go-stack/stack v1.8.0 // indirect
|
|
github.com/godbus/dbus/v5 v5.0.4 // indirect
|
|
github.com/goki/freetype v0.0.0-20181231101311-fa8a33aabaff // indirect
|
|
github.com/google/go-cmp v0.5.7 // indirect
|
|
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
|
github.com/josharian/native v0.0.0-20200817173448-b6b71def0850 // indirect
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
|
|
github.com/mdlayher/genetlink v1.1.0 // indirect
|
|
github.com/mdlayher/netlink v1.4.2 // indirect
|
|
github.com/mdlayher/socket v0.0.0-20211102153432-57e3fa563ecb // indirect
|
|
github.com/nxadm/tail v1.4.8 // indirect
|
|
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c // indirect
|
|
github.com/pegasus-kv/thrift v0.13.0 // indirect
|
|
github.com/pion/dtls/v2 v2.1.2 // indirect
|
|
github.com/pion/logging v0.2.2 // indirect
|
|
github.com/pion/mdns v0.0.5 // indirect
|
|
github.com/pion/randutil v0.1.0 // indirect
|
|
github.com/pion/stun v0.3.5 // indirect
|
|
github.com/pion/transport v0.13.0 // indirect
|
|
github.com/pion/turn/v2 v2.0.7 // indirect
|
|
github.com/pion/udp v0.1.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/prometheus/client_golang v1.12.2 // indirect
|
|
github.com/prometheus/client_model v0.2.0 // indirect
|
|
github.com/prometheus/common v0.33.0 // indirect
|
|
github.com/prometheus/procfs v0.7.3 // indirect
|
|
github.com/rogpeppe/go-internal v1.8.0 // indirect
|
|
github.com/spf13/cast v1.5.0 // indirect
|
|
github.com/srwiley/oksvg v0.0.0-20200311192757-870daf9aa564 // indirect
|
|
github.com/srwiley/rasterx v0.0.0-20200120212402-85cb7272f5e9 // indirect
|
|
github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df // indirect
|
|
github.com/yuin/goldmark v1.4.1 // indirect
|
|
golang.org/x/image v0.0.0-20200430140353-33d19683fad8 // indirect
|
|
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 // indirect
|
|
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
|
|
golang.org/x/text v0.3.8-0.20211105212822-18b340fc7af2 // indirect
|
|
golang.org/x/tools v0.1.10 // indirect
|
|
golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f // indirect
|
|
golang.zx2c4.com/go118/netip v0.0.0-20211111135330-a4a02eeacf9d // indirect
|
|
golang.zx2c4.com/wintun v0.0.0-20211104114900-415007cec224 // indirect
|
|
google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa // indirect
|
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
|
|
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
|
|
gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
|
|
honnef.co/go/tools v0.2.2 // indirect
|
|
k8s.io/apimachinery v0.23.5 // indirect
|
|
)
|
|
|
|
replace github.com/pion/ice/v2 => github.com/wiretrustee/ice/v2 v2.1.21-0.20220218121004-dc81faead4bb
|