From be3dbe50dcf53c037ec0e72f2b71eb4eaa08193a Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 3 Feb 2016 15:53:03 +0100 Subject: [PATCH] Native disabled DNS experiment Refs #272 --- app/src/main/jni/netguard/netguard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/jni/netguard/netguard.c b/app/src/main/jni/netguard/netguard.c index 0086f173..101a880f 100644 --- a/app/src/main/jni/netguard/netguard.c +++ b/app/src/main/jni/netguard/netguard.c @@ -1415,7 +1415,7 @@ void handle_ip(const struct arguments *args, const uint8_t *pkt, const size_t le // Check if allowed int32_t allowed = 0; if (protocol == IPPROTO_UDP && dport == 53) - allowed = 5353; // allow DNS + allowed = -1; // allow DNS else if (protocol == IPPROTO_UDP && has_udp_session(args, pkt, payload)) { allowed = -1; log_android(ANDROID_LOG_INFO, "UDP existing session allowed");