mirror of
https://github.com/netbirdio/netbird.git
synced 2025-10-26 11:17:32 +00:00
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. |
||
|---|---|---|
| .. | ||
| bind | ||
| mocks | ||
| address.go | ||
| device_wrapper_test.go | ||
| device_wrapper.go | ||
| iface_android.go | ||
| iface_nonandroid.go | ||
| iface_test.go | ||
| iface_windows.go | ||
| iface.go | ||
| ipc_parser_android.go | ||
| module_linux_test.go | ||
| module_linux.go | ||
| module.go | ||
| name_darwin.go | ||
| name.go | ||
| tun_adapter.go | ||
| tun_android.go | ||
| tun_darwin.go | ||
| tun_linux.go | ||
| tun_unix.go | ||
| tun_windows.go | ||
| tun.go | ||
| wg_configurer_android.go | ||
| wg_configurer_nonandroid.go | ||