]> git.ipfire.org Git - thirdparty/suricata.git/commit
dns: split header and body parsing
authorJason Ish <jason.ish@oisf.net>
Wed, 21 Dec 2022 15:35:19 +0000 (09:35 -0600)
committerVictor Julien <vjulien@oisf.net>
Tue, 24 Jan 2023 09:44:49 +0000 (10:44 +0100)
commitd720ead470bcb5dd5a0c0ae7db302ab170205ee6
tree62c37ed46b420f2bec4c764f69528bbd65ffcdcf
parent595700ab7e9dc9d12d46cf4d6833a86840decdf9
dns: split header and body parsing

As part of extra header validation, split out DNS body parsing to
avoid the overhead of parsing the header twice.
rust/src/dns/dns.rs
rust/src/dns/parser.rs