]> git.ipfire.org Git - thirdparty/suricata.git/commit
dns: split header and body parsing 8995/head
authorJason Ish <jason.ish@oisf.net>
Wed, 21 Dec 2022 15:35:19 +0000 (09:35 -0600)
committerVictor Julien <vjulien@oisf.net>
Thu, 8 Jun 2023 08:09:05 +0000 (10:09 +0200)
commit2e4aade51df2d06e1c6105c2a5033acb08dbce34
treeef4eb53efb2cfd626f38fb22d468a92dd8f1d781
parent0b283ef4a6943229cafb7b1b93a36c3d54f94ced
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.

(cherry picked from commit d720ead470bcb5dd5a0c0ae7db302ab170205ee6)
rust/src/dns/dns.rs
rust/src/dns/parser.rs