]> git.ipfire.org Git - thirdparty/snort3.git/commit
Merge pull request #1817 in SNORT/snort3 from ~MIALTIZE/snort3:checksum_offsets to...
authorMichael Altizer (mialtize) <mialtize@cisco.com>
Fri, 25 Oct 2019 02:11:24 +0000 (22:11 -0400)
committerMichael Altizer (mialtize) <mialtize@cisco.com>
Fri, 25 Oct 2019 02:11:24 +0000 (22:11 -0400)
commit8af40407bb1e8e881cc37689424edb4435183110
tree01092537cea8935b425712945f7422f691ca3994
parent8fe73fe918e1c0a4ae69121554dc6dbc5ca8a074
Merge pull request #1817 in SNORT/snort3 from ~MIALTIZE/snort3:checksum_offsets to master

Squashed commit of the following:

commit 344219c01b7e1e8fe5912018441d29fd8aaf6b44
Author: Michael Altizer <mialtize@cisco.com>
Date:   Thu Oct 24 12:50:23 2019 -0400

    codecs: Relax requirement for DAQ packet decode data offsets when bypassing checksums

    Only perform the offset sanity checking during checksum bypass
    evaluation if the offset has been explicitly set in the packet decode
    data.  Otherwise, assume that the relevant checksum validation applies
    to the current instance of the protocol.
src/codecs/ip/cd_icmp4.cc
src/codecs/ip/cd_icmp6.cc
src/codecs/ip/cd_ipv4.cc
src/codecs/ip/cd_tcp.cc
src/codecs/ip/cd_udp.cc