Wade Simmons
0d1da7579e
Merge pull request #106 from slackhq/fix-listen-host
...
fix listen.host
2019-12-17 12:11:13 -05:00
Wade Simmons
5350b9ef6f
fix listen.host
...
We were parsing listen.host, but not actually using it in the `bind`
call, so we were always binding to `0.0.0.0`.
2019-12-17 11:46:48 -05:00
Ryan Huber
2c8b0ec7b1
Merge pull request #105 from slackhq/fix_lighthouse_check
...
should be break not continue
2019-12-17 09:18:57 -06:00
Ryan Huber
5d0d916fc9
should be break not continue
2019-12-17 14:43:01 +00:00
Wade Simmons
c321e40d24
generate the smoke config files
2019-12-17 08:38:59 -05:00
Wade Simmons
73c6d555b5
Github Actions: Smoke test
...
This change adds a new Github Action, a 3 node smoke test. It starts
three docker containers (one lighthouse and two standard nodes) and
tests that they can all ping each other. This should hopefully detect
any basic runtime failures in PRs.
2019-12-17 00:17:25 -05:00
Wade Simmons
bdb442b970
Update dependencies, December 2019
...
Links to the diffs below, of note is this fix for `water` which might fix some
Windows issues:
- https://github.com/songgao/water/pull/70
*Direct Dependencies*
Updated github.com/golang/protobuf https://github.com/golang/protobuf/compare/v1.3.1...v1.3.2
Updated github.com/imdario/mergo https://github.com/imdario/mergo/compare/v0.3.7...v0.3.8
Updated github.com/miekg/dns https://github.com/miekg/dns/compare/v1.1.12...v1.1.25
Updated github.com/prometheus/client_golang https://github.com/prometheus/client_golang/compare/v0.9.3...v1.2.1
Updated github.com/rcrowley/go-metrics 3113b8401b...cac0b30c25
Updated github.com/songgao/water 6ad6edefb1...fd331bda3f
Updated github.com/stretchr/testify https://github.com/stretchr/testify/compare/v1.3.0...v1.4.0
Updated golang.org/x/crypto 22d7a77e9e...e9b2fee464
Updated golang.org/x/net f3200d17e0...c0dbc17a35
Updated golang.org/x/sys dbbf3f1254...ac6580df44
Updated gopkg.in/yaml.v2 v2.2.2...v2.2.7
*Indirect Dependencies*
Updated github.com/alecthomas/template a0175ee3bc...fb15b899a7
Updated github.com/alecthomas/units 2efee857e7...c3de453c63
Updated github.com/beorn7/perks https://github.com/beorn7/perks/compare/v1.0.0...v1.0.1
Updated github.com/cespare/xxhash https://github.com/cespare/xxhash/compare/v1.1.0...v2.1.1
Updated github.com/go-kit/kit https://github.com/go-kit/kit/compare/v0.8.0...v0.9.0
Updated github.com/pkg/errors https://github.com/pkg/errors/compare/v0.8.0...v0.8.1
Updated github.com/prometheus/client_model fd36f4220a...d1d2010b5b
Updated github.com/prometheus/common https://github.com/prometheus/common/compare/v0.4.1...v0.7.0
Updated github.com/prometheus/procfs https://github.com/prometheus/procfs/compare/a7aeb8df3389...v0.0.8
Updated github.com/vishvananda/netns https://github.com/vishvananda/netns/compare/13995c7128cc...0a2b9b5464df
Updated golang.org/x/sync https://github.com/golang/sync/compare/112230192c58...cd5d95a43a6e
Updated golang.org/x/text https://github.com/golang/text/compare/v0.3.0...v0.3.2
Added github.com/google/go-cmp https://github.com/google/go-cmp/tree/v0.3.1
Added github.com/google/gofuzz https://github.com/google/gofuzz/tree/v1.0.0
Added github.com/json-iterator/go https://github.com/json-iterator/go/tree/v1.1.7
Added github.com/modern-go/concurrent https://github.com/modern-go/concurrent/tree/bacd9c7ef1dd
Added github.com/modern-go/reflect2 https://github.com/modern-go/reflect2/tree/v1.0.1
Added golang.org/x/tools https://github.com/golang/tools/tree/2ca718005c18
Added golang.org/x/xerrors https://github.com/golang/xerrors/tree/a985d3407aa7
Removed github.com/OneOfOne/xxhash https://github.com/OneOfOne/xxhash/tree/v1.2.2
Removed github.com/dgryski/go-sip13 https://github.com/dgryski/go-sip13/tree/e10d5fee7954
Removed github.com/oklog/ulid https://github.com/oklog/ulid/tree/v1.3.1
Removed github.com/prometheus/tsdb https://github.com/prometheus/tsdb/tree/v0.7.1
Removed github.com/spaolacci/murmur3 https://github.com/spaolacci/murmur3/tree/f09979ecbc72
2019-12-16 15:49:31 -05:00
Ryan Huber
a680ac29f5
Merge pull request #98 from slackhq/warn_not_error
...
make this a warning, even though i believe it is fundamentally an error (in judgement)
2019-12-13 16:03:36 -06:00
Ryan Huber
ad7079d370
make this a warning, even though i believe it is fundamentally an error
...
(in judgement)
2019-12-13 21:55:01 +00:00
Nathan Brown
8b029e7907
Merge pull request #97 from slackhq/fw-group
...
Detect group array usage and try to be kind
2019-12-13 13:51:09 -08:00
Nate Brown
a9c93da8cb
Detect group array usage and try to be kind
2019-12-13 13:46:42 -08:00
Ryan Huber
6a37b26f9a
Merge pull request #94 from infinytum/patch-1
...
Fix for Issue #90
2019-12-13 10:42:59 -06:00
Infinytum
7e25f9ebee
Fix for Issue #90
...
Fixed the wrong node names mentioned
2019-12-13 13:05:37 +01:00
Ryan Huber
cec698b1b3
Merge pull request #91 from slackhq/fix_examle
...
derp- example config is now less silly
2019-12-12 12:59:15 -06:00
Ryan Huber
cedf9549a6
derp- example config is now less silly
2019-12-12 18:50:52 +00:00
Ryan Huber
5217f28264
Merge pull request #79 from slackhq/subnet_support
...
Subnet and routing support.
2019-12-12 12:36:56 -06:00
Ryan Huber
9981510554
new mtu setting and const for default
2019-12-12 18:01:46 +00:00
Ryan Huber
f03d895ebf
don't steal error
2019-12-12 17:31:22 +00:00
Ryan Huber
9333a8e3b7
subnet support
2019-12-12 16:34:17 +00:00
Wade Simmons
2f77dfa703
Merge pull request #88 from slackhq/github-actions-gofmt
...
Add gofmt Github action
2019-12-11 23:22:45 -05:00
Wade Simmons
3d201fbc28
Merge pull request #89 from slackhq/github-actions-push-master
...
Fix Github actions duplicate builds
2019-12-11 23:18:25 -05:00
Wade Simmons
df43f6466e
gofmt
2019-12-11 23:15:57 -05:00
Wade Simmons
2d82db32a3
Add gofmt Github action
...
This runs gofmt and make sure no files need to be reformatted.
2019-12-11 23:14:39 -05:00
Wade Simmons
ed1da1bd9c
Fix Github actions duplicate builds
...
We were building for any commits AND pull requests. This change makes it
so we only build for commits to master AND pull requests.
2019-12-11 22:47:40 -05:00
Nathan Brown
247ed31bf4
Add pull_request to actions ( #87 )
2019-12-11 18:33:32 -08:00
Noel Cower
cbf8319eb2
Add linux-386, linux-ppc64le targets ( #56 )
...
* Use golang.org/x/sys/unix for _linux.go sources
To support builds on GOARCH=386 and possibly elsewhere, it's necessary
to use the x/sys/unix package instead of the syscall package. This is
because the syscall package is frozen and does not support
SYS_GETSOCKNAME, SYS_RECVFROM, nor SYS_SENDTO for GOARCH=386.
This commit alone doesn't add support for 386 builds, just gets things
onto x/sys/unix so that it's possible.
The remaining uses of the syscall package relate to signals, which
cannot be switched to the x/sys/unix package at this time. Windows
support breaks, so they can either continue using the syscall package
(it's frozen, this is safe for Go 1.x at minimum), or something can be
written to just use both windows- and unix-compatible signals.
* Add linux-386, ppc64le targets to Makefile
Because 'linux' is linux-amd64 already, just add linux-386 and
linux-ppc64le targets to distinguish them. Would rename the linux
target but that might break existing uses.
2019-12-11 17:51:55 -08:00
Robin B
a086d60edc
Allow configuration of dns listener host/port ( #74 )
...
* Allow configuration of dns listener host/port
* Make DNS listen host/port configuration HUP-able
2019-12-11 17:42:55 -08:00
Ryan Huber
5c99ea26c9
Merge pull request #83 from slackhq/remove_annotations
...
get rid of the annotation "errors" on github actions
2019-12-11 14:28:42 -06:00
Ryan Huber
1884aec113
get rid of the annotation "errors" on github actions
2019-12-11 20:24:13 +00:00
Nathan Brown
f32b7b2d9a
Merge pull request #21 from slackhq/mips64
...
Initial mips* support
2019-12-11 12:13:21 -08:00
Nate Brown
38dc2ab347
Same story for txqueuelen
2019-12-11 12:02:57 -08:00
Nate Brown
4bbf6dc29c
Rework udp for linux into just 2 files, add more mips targets
2019-12-11 11:09:38 -08:00
Nate Brown
d62bb8b13c
Force mtu to int32
2019-12-11 11:08:39 -08:00
Nate Brown
5cad6a2ce3
Improve tun activation error messages
2019-12-11 11:08:39 -08:00
Nate Brown
9bd8cd2c11
Rebase on master, improve other fatal error messages
2019-12-11 11:08:39 -08:00
Nate Brown
ec63d0d285
Remove magic numbers, support mips64le
2019-12-11 11:08:39 -08:00
Nate Brown
e94caa9e58
Initial attempt at mips64
2019-12-11 11:08:06 -08:00
Wade Simmons
af17a0f018
Merge pull request #82 from slackhq/github-actions
...
Use Github Actions for Linux, Windows and macOS
2019-12-11 14:05:29 -05:00
Wade Simmons
cdd3b519ac
Use Github Actions for Linux, Windows and macOS
...
This allows us to run automated builds and tests for the three OSes.
2019-12-11 14:01:36 -05:00
Wade Simmons
de6c27be91
Merge pull request #81 from slackhq/nebula-cert-test-darwin-windows
...
Fix nebula-cert tests on darwin and windows
2019-12-11 13:55:33 -05:00
Wade Simmons
b39a0f422d
Fix nebula-cert tests on darwin and windows
...
This fixes a couple issues:
- NoSuchFileError not defined for darwin.
- ca_test and sign_test do a bunch of filesystem specific tests that
error differently on Windows. Just disable these tests on Windows for
now.
- Make the signcert test more deterministic by only testing one existing
file at a time.
2019-12-11 10:13:19 -05:00
Nathan Brown
76f66b8c94
Merge pull request #80 from slackhq/lh-host-validation
...
Fail with a better error message if a lh hosts is unparsable
2019-12-09 16:59:52 -08:00
Nathan Brown
4e2cdb51aa
Merge pull request #78 from slackhq/sign-fix
...
Fix impossible error message condition, go fmt
2019-12-09 16:55:45 -08:00
Nate Brown
1640a9bc77
Fail with a better error message if lh a hosts is unparsable
2019-12-09 16:53:56 -08:00
Nate Brown
7076fc0004
Fix impossible error message condition, go fmt
2019-12-09 16:41:27 -08:00
Nathan Brown
1a2c961368
Merge pull request #77 from slackhq/cidr-specific-contains
...
Add a way to find the most specific network
2019-12-09 16:32:18 -08:00
Nate Brown
c1182869c4
Add a way to find the most specific network
2019-12-09 16:28:58 -08:00
Nathan Brown
232317de71
Merge pull request #61 from jruariveiro/master
...
Update README.md to fix broken link
2019-12-02 15:47:38 -08:00
Jorge Rua
dfc67909d6
Update README.md
2019-12-02 21:38:20 +00:00
Ryan Huber
ac72d1615a
Merge pull request #49 from itorres/patch-1
...
Fix typo in getting started
2019-12-02 13:13:13 -06:00