From 28d689484ef5c4c9f5e2286662ed78078efe0438 Mon Sep 17 00:00:00 2001 From: uoosef Date: Sun, 3 Sep 2023 21:45:28 +0330 Subject: [PATCH] add dns hijacking resist doh resolver --- server/server.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/server.go b/server/server.go index 4e20da8..1ef6d64 100644 --- a/server/server.go +++ b/server/server.go @@ -138,7 +138,6 @@ func (s *Server) sendSplitChunks(dst io.Writer, chunks map[int][]byte) { // Handle handles the SOCKS5 request and forwards traffic to the destination. func (s *Server) Handle(ctx context.Context, w io.Writer, req *socks5.Request, network string) error { - fmt.Println("here") if s.WorkerConfig.WorkerEnabled && !s.WorkerConfig.WorkerDNSOnly && (network == "udp" || !strings.Contains(s.WorkerConfig.WorkerAddress, req.DstAddr.FQDN) || strings.TrimSpace(req.DstAddr.FQDN) == "") {