Skip logging of TCP DNS

This commit is contained in:
M66B 2019-04-19 09:17:31 +02:00
parent 467a74a464
commit cc54e5cc0a
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ void handle_ip(const struct arguments *args,
struct allowed *redirect = NULL;
if (protocol == IPPROTO_UDP && has_udp_session(args, pkt, payload))
allowed = 1; // could be a lingering/blocked session
else if (protocol == IPPROTO_TCP && !syn)
else if (protocol == IPPROTO_TCP && (!syn || dport != 53))
allowed = 1; // assume existing session
else {
jobject objPacket = create_packet(