17 Commits

Author SHA1 Message Date
Tim Vaillancourt
0af7e6a1dd improve comments
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
2023-07-07 17:06:19 +02:00
Tim Vaillancourt
c14ad0f27b Cleanup code comment
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
2023-07-07 02:07:33 +02:00
Tim Vaillancourt
af958676b8 Cleanup code
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
2023-07-07 02:00:30 +02:00
Tim Vaillancourt
70779b26ad Fix typo in log
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
2023-07-07 01:43:42 +02:00
Tim Vaillancourt
90aa8efb29 remove dupe stats.path check
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
2023-07-07 01:37:36 +02:00
Tim Vaillancourt
dd7f12f7c0 Add http pprof profiling endpoint
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
2023-07-07 01:35:19 +02:00
Wade Simmons
0b67b19771
add boringcrypto Makefile targets (#856)
This adds a few build targets to compile with `GOEXPERIMENT=boringcrypto`:

- `bin-boringcrypto`
- `release-boringcrypto`

It also adds a field to the intial start up log indicating if
boringcrypto is enabled in the binary.
2023-05-04 15:42:45 -04:00
Caleb Jasik
12dbbd3dd3
Fix typos found by https://github.com/crate-ci/typos (#735) 2022-12-19 11:28:27 -06:00
Nate Brown
bcabcfdaca
Rework some things into packages (#489) 2021-11-03 20:54:04 -05:00
brad-defined
6ae8ba26f7
Add a context object in nebula.Main to clean up on error (#550) 2021-11-02 13:14:26 -05:00
brad-defined
17106f83a0
Ensure the Nebula device exists before attempting to bind to the Nebula IP (#375) 2021-04-16 10:34:28 -05:00
Wade Simmons
a71541fb0b
export build version as a prometheus label (#405)
This is how Prometheus recommends you do it, and how they do it
themselves in their client. This makes it easy to see which versions you
have deployed in your fleet, and query over it too.
2021-03-26 14:16:35 -04:00
Nathan Brown
3ea7e1b75f
Don't use a global logger (#423) 2021-03-26 09:46:30 -05:00
Wade Simmons
aba42f9fa6
enforce the use of goimports (#248)
* enforce the use of goimports

Instead of enforcing `gofmt`, enforce `goimports`, which also asserts
a separate section for non-builtin packages.

* run `goimports` everywhere

* exclude generated .pb.go files
2020-06-30 18:53:30 -04:00
Wade Simmons
7cdbb14a18
Better config test (#177)
* Better config test

Previously, when using the config test option `-test`, we quit fairly
earlier in the process and would not catch a variety of additional
parsing errors (such as lighthouse IP addresses, local_range, the new
check to make sure static hosts are in the certificate's subnet, etc).

* run config test as part of smoke test

* don't need privileges for configtest

Co-authored-by: Nathan Brown <nate@slack-corp.com>
2020-04-06 11:35:32 -07:00
Gábor Lipták
e9b0498b21 Correct typo (#150) 2020-01-06 09:14:11 -08:00
Slack Security Team
f22b4b584d Public Release 2019-11-19 17:00:20 +00:00