Skip to content

Commit 9b68aeb

Browse files
committed
tcp,udp: for rethink, probable domains from ipmap are actual domains
1 parent d5a2534 commit 9b68aeb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

intra/common.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,10 @@ func (h *baseHandler) undoAlg(algip netip.Addr, uid string) (undidAlg bool, real
544544
if hosts := dialers.Ptr(algip); len(hosts) > 0 {
545545
probableDomains = strings.Join(hosts, ",")
546546
}
547+
if uid == SELF_UID {
548+
domains = probableDomains
549+
probableDomains = ""
550+
}
547551
}
548552

549553
logwif(!hasreal)("com: %s: alg: undoAlg: for [%s] (gw? %t ok? %t, force? %t, withForce? %t) %s => %v (for %s + %s / block: %s)",

0 commit comments

Comments
 (0)