5 Commits

Author SHA1 Message Date
Lan Tian
a0246ccee2
general: add unit tests for >80% coverage
Includes a few minor fixes:
- frontend: support setting port for WHOIS server
- proxy: fix handling of very long lines
- proxy: refactor IP allowlist logic, parse allow IP list at startup
2023-05-06 00:23:28 -07:00
James Lu
ccd14af0c8
settings: treat empty environment variables as set (#77)
This allows disabling specific options like dns_interface or whois via environment variables.

ref: https://github.com/spf13/viper#working-with-environment-variables
2023-05-05 21:36:38 -07:00
Yuhui Xu
dba2af7634
proxy: fix description for --traceroute_flags (#70) 2022-12-27 15:38:41 -06:00
Yuhui Xu
049775319b
proxy: autodetect traceroute args on startup (#69) 2022-12-25 15:41:29 -06:00
Yuhui Xu
6f6b2bd283
general: support reading config files (#55) 2022-07-08 23:13:10 -04:00