aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-03-26 05:57:47 +0700
committerShulhan <ms@kilabit.info>2026-03-26 05:59:26 +0700
commit06e602df04fe8f8c96505993b7f5c48527f83d63 (patch)
treef1624476efbcfde12d8d7266721f23b402eb8e74 /go.mod
parentce1c579b5db1a51a8e7e1f36c09a4cddb378ebc8 (diff)
downloadrescached-06e602df04fe8f8c96505993b7f5c48527f83d63.tar.xz
all: refactoring DoT and DoH to use listen address instead portHEADmaindev
Using port makes the IP address of DoT and DoH listen on the same address with UDP. If we set ListenAddress to 0.0.0.0 and TLS termination is handled by proxy, this cause DoT and DoH will also listen on all addresses. This behaviour makes the server open DoT and DoH ports to the public, where it should be on local address only.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod16
1 files changed, 8 insertions, 8 deletions
diff --git a/go.mod b/go.mod
index 85ef1b7..6766656 100644
--- a/go.mod
+++ b/go.mod
@@ -3,11 +3,11 @@
module git.sr.ht/~shulhan/rescached
-go 1.25.0
+go 1.26.0
require (
git.sr.ht/~shulhan/ciigo v0.16.0
- git.sr.ht/~shulhan/pakakeh.go v0.61.0
+ git.sr.ht/~shulhan/pakakeh.go v0.61.1-0.20260325223430-5a765dc7f90c
)
require (
@@ -15,12 +15,12 @@ require (
github.com/kr/text v0.2.0 // indirect
github.com/yuin/goldmark v1.7.16 // indirect
github.com/yuin/goldmark-meta v1.1.0 // indirect
- golang.org/x/exp v0.0.0-20260112195511-716be5621a96 // indirect
- golang.org/x/mod v0.32.0 // indirect
- golang.org/x/net v0.49.0 // indirect
- golang.org/x/sync v0.19.0 // indirect
- golang.org/x/sys v0.41.0 // indirect
- golang.org/x/tools v0.41.0 // indirect
+ golang.org/x/exp v0.0.0-20260218203240-3dfff04db8fa // indirect
+ golang.org/x/mod v0.33.0 // indirect
+ golang.org/x/net v0.51.0 // indirect
+ golang.org/x/sync v0.20.0 // indirect
+ golang.org/x/sys v0.42.0 // indirect
+ golang.org/x/tools v0.42.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)