netbird/iface
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
..
bind fix some typo spotted with codespell (#1278) 2023-11-01 17:11:16 +01:00
mocks Feat fake dns address (#902) 2023-06-08 13:46:57 +04:00
address.go Mobile prerefactor (#680) 2023-02-13 18:34:56 +01:00
device_wrapper_test.go fix some typo spotted with codespell (#1278) 2023-11-01 17:11:16 +01:00
device_wrapper.go Feat fake dns address (#902) 2023-06-08 13:46:57 +04:00
iface_android.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
iface_nonandroid.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
iface_test.go fix some typo spotted with codespell (#1278) 2023-11-01 17:11:16 +01:00
iface_windows.go Mobile (#735) 2023-03-17 10:37:27 +01:00
iface.go DNS forwarder and common ebpf loader (#1083) 2023-09-05 21:14:02 +02:00
ipc_parser_android.go Fix pre-shared key query name for android configuration (#773) 2023-03-29 10:41:14 +02:00
module_linux_test.go Extend linter rules (#1300) 2023-11-10 16:33:13 +01:00
module_linux.go fix some typo spotted with codespell (#1278) 2023-11-01 17:11:16 +01:00
module.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
name_darwin.go Mobile (#735) 2023-03-17 10:37:27 +01:00
name.go Mobile (#735) 2023-03-17 10:37:27 +01:00
tun_adapter.go Add codespell job (#1281) 2023-11-07 13:37:57 +01:00
tun_android.go Feature/search domain for android (#1256) 2023-11-02 19:04:33 +01:00
tun_darwin.go fix some typo spotted with codespell (#1278) 2023-11-01 17:11:16 +01:00
tun_linux.go Add gosec linter (#1342) 2023-12-04 13:34:06 +01:00
tun_unix.go Feat linux firewall support (#805) 2023-05-29 16:00:18 +02:00
tun_windows.go Fix use wrpped device in windows (#981) 2023-06-23 10:01:22 +02:00
tun.go Feature/search domain for android (#1256) 2023-11-02 19:04:33 +01:00
wg_configurer_android.go Mobile (#735) 2023-03-17 10:37:27 +01:00
wg_configurer_nonandroid.go Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00