netbird/client/internal
Yury Gargay e37a337164
Add gosec linter (#1342)
This PR adds `gosec` linter with the following checks disabled:

- G102: Bind to all interfaces
- G107: Url provided to HTTP request as taint input
- G112: Potential slowloris attack
- G114: Use of net/http serve function that has no support for setting timeouts
- G204: Audit use of command execution
- G401: Detect the usage of DES, RC4, MD5 or SHA1
- G402: Look for bad TLS connection settings
- G404: Insecure random number source (rand)
- G501: Import blocklist: crypto/md5
- G505: Import blocklist: crypto/sha1

We have complaints related to the checks above. They have to be addressed separately.
2023-12-04 13:34:06 +01:00
..
acl Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
auth Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
checkfw Fix Android build (#1142) 2023-09-13 17:36:24 +02:00
dns Fix IPv6 format for DNS address received from android (#1350) 2023-12-01 14:26:42 +01:00
ebpf Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
listener Feature/search domain for android (#1256) 2023-11-02 19:04:33 +01:00
peer Extend linter rules (#1300) 2023-11-10 16:33:13 +01:00
routemanager Add gosec linter (#1342) 2023-12-04 13:34:06 +01:00
stdnet Routemgr error handling (#1073) 2023-08-12 11:42:36 +02:00
templates Add html screen for pkce flow (#1034) 2023-07-28 18:10:12 +02:00
wgproxy Set not found ebpf log to Info (#1134) 2023-09-08 18:24:19 +02:00
config_test.go Update GitHub Actions and Enhance golangci-lint (#1075) 2023-09-04 17:03:44 +02:00
config.go Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
connect.go Feature/search domain for android (#1256) 2023-11-02 19:04:33 +01:00
device_auth.go Add PKCE authorization flow (#1012) 2023-07-27 11:31:07 +02:00
engine_stdnet_android.go Add route management for Android interface (#801) 2023-04-17 11:15:37 +02:00
engine_stdnet.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
engine_test.go Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
engine.go Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
login.go Mobile (#735) 2023-03-17 10:37:27 +01:00
mobile_dependency.go Feature/search domain for android (#1256) 2023-11-02 19:04:33 +01:00
pkce_auth.go Add jumpcloud IdP (#1124) 2023-10-03 19:33:42 +02:00
state.go Client Login via device authorization flow (#309) 2022-05-12 11:17:24 +02:00