summaryrefslogtreecommitdiff
path: root/environment_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-11-09 21:10:58 +0700
committerShulhan <ms@kilabit.info>2023-11-09 21:54:29 +0700
commitcddfc60f10b51b02f58f223fd7177e28c0343cb7 (patch)
treef18ce39643b11914181b6fb8d972abd546f0ff1a /environment_test.go
parent40ed71777ebffc5b6954c490ad65010f2445be60 (diff)
downloadrescached-4.4.2.tar.xz
Release rescached v4.4.2 (2023-11-10)v4.4.2
* all: remove loading system hosts file:: Loading and caching system hosts file (for example, /etc/hosts in POSIX) will leaks internal hosts if the rescached server is open to public. The system hosts file are handled by nssswitch.conf "files" internally so no need to loading it. * cmd/resolver: replace "math/rand" with "crypto/rand":: The random number from "math/rand" is predictable if the seed is known. Even though the random number here is only for generating unique request ID, we still need to prevent this by using more secure random number.
Diffstat (limited to 'environment_test.go')
0 files changed, 0 insertions, 0 deletions