mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-26 00:29:07 +01:00
87631cbc8b
The peer IP allocation logic was allocating sequential peer IP from the 100.64.0.0/10 address block. Each account is created with a random subnet from 100.64.0.0/10. The total amount of potential subnets is 64. The new logic allocates random peer IP from the account subnet. This gives us flexibility to add support for multi subnet accounts without overlapping IPs.
94 lines
4.3 KiB
Modula-2
94 lines
4.3 KiB
Modula-2
module github.com/netbirdio/netbird
|
|
|
|
go 1.18
|
|
|
|
require (
|
|
github.com/cenkalti/backoff/v4 v4.1.2
|
|
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.17.0
|
|
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-20220131195533-30dcbda58838
|
|
golang.org/x/sys v0.0.0-20220204135822-1c1b9b1eba6a
|
|
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.27.1
|
|
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/getlantern/systray v1.2.1
|
|
github.com/magiconair/properties v1.8.5
|
|
github.com/rs/xid v1.3.0
|
|
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
|
|
github.com/stretchr/testify v1.7.0
|
|
)
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v0.4.1 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // 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-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.6 // indirect
|
|
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
|
github.com/josharian/native v0.0.0-20200817173448-b6b71def0850 // 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/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/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.5.1 // indirect
|
|
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
|
|
golang.org/x/text v0.3.8-0.20211105212822-18b340fc7af2 // indirect
|
|
golang.org/x/tools v0.1.8 // indirect
|
|
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // 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-20200902074654-038fdea0a05b // indirect
|
|
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // 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
|
|
)
|
|
|
|
replace github.com/pion/ice/v2 => github.com/wiretrustee/ice/v2 v2.1.21-0.20220218121004-dc81faead4bb
|