]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/dns: fix misdetection on dns_query on udp 2982/head
authorVictor Julien <victor@inliniac.net>
Tue, 7 Nov 2017 16:18:30 +0000 (17:18 +0100)
committerVictor Julien <victor@inliniac.net>
Wed, 8 Nov 2017 10:19:10 +0000 (11:19 +0100)
commit664f826f8d63912028f64cffb04ad017ed780156
tree4d18c3f77e8d9eafff3e216d69c2b057fb9a61e6
parent7d032e26f11681363b050eac73528bebdaeacf7c
detect/dns: fix misdetection on dns_query on udp

If 'raw' content patterns were used in a dns_query rule, the raw
patterns would only be evaluated for TCP, but not for UDP.

This patch adds the inspection for UDP as well.

Bug #2263.
src/detect-engine-payload.c