]> git.ipfire.org Git - people/ms/suricata.git/log
people/ms/suricata.git
3 years agodns: add test for SRV
Sascha Steinbiss [Fri, 30 Oct 2020 10:16:53 +0000 (11:16 +0100)] 
dns: add test for SRV

3 years agodoc: add documentation for SRV DNS JSON structure
Sascha Steinbiss [Tue, 3 Nov 2020 18:29:15 +0000 (19:29 +0100)] 
doc: add documentation for SRV DNS JSON structure

3 years agodns: parse SRV records
Sascha Steinbiss [Tue, 3 Nov 2020 18:29:00 +0000 (19:29 +0100)] 
dns: parse SRV records

3 years agodns: add rdata logging for NS rrtype
Antti Tönkyrä [Thu, 8 Oct 2020 09:33:33 +0000 (12:33 +0300)] 
dns: add rdata logging for NS rrtype

3 years agodns: log rdata for NULL record type
Simon Dugas [Wed, 22 Apr 2020 17:29:32 +0000 (17:29 +0000)] 
dns: log rdata for NULL record type

Logs the rdata for a NULL record type as a printable string.

3 years agogithub-ci: add sccache to per-commit check
Jason Ish [Mon, 7 Dec 2020 17:54:52 +0000 (11:54 -0600)] 
github-ci: add sccache to per-commit check

Also use the pre-build cbindgen binary.
Hopefully speeds up the build process.

3 years agoapp-layer: remove callback for completion status
Victor Julien [Fri, 30 Oct 2020 12:40:17 +0000 (13:40 +0100)] 
app-layer: remove callback for completion status

Since the completion status was a constant for all parsers, remove the
callback logic and instead register the values themselves. This should
avoid a lot of unnecessary callback calls.

Update all parsers to take advantage of this.

3 years agodetect: remove unused arg from generic list inspect
Victor Julien [Mon, 19 Oct 2020 13:33:36 +0000 (15:33 +0200)] 
detect: remove unused arg from generic list inspect

3 years agodetect: remove inspect v1 API
Victor Julien [Mon, 19 Oct 2020 13:33:00 +0000 (15:33 +0200)] 
detect: remove inspect v1 API

3 years agodetect/template: convert to v2 inspect API
Victor Julien [Tue, 20 Oct 2020 09:07:03 +0000 (11:07 +0200)] 
detect/template: convert to v2 inspect API

3 years agodetect/tls: convert to v2 inspect API
Victor Julien [Tue, 20 Oct 2020 09:06:44 +0000 (11:06 +0200)] 
detect/tls: convert to v2 inspect API

3 years agodetect/ssh: convert to v2 inspect API
Victor Julien [Tue, 20 Oct 2020 09:05:40 +0000 (11:05 +0200)] 
detect/ssh: convert to v2 inspect API

3 years agodetect/snmp: convert to v2 inspect API
Victor Julien [Tue, 20 Oct 2020 09:05:13 +0000 (11:05 +0200)] 
detect/snmp: convert to v2 inspect API

3 years agodetect/rfb: convert to v2 inspect API
Victor Julien [Tue, 20 Oct 2020 09:04:46 +0000 (11:04 +0200)] 
detect/rfb: convert to v2 inspect API

3 years agodetect/nfs: convert to v2 inspect API
Victor Julien [Tue, 20 Oct 2020 09:04:17 +0000 (11:04 +0200)] 
detect/nfs: convert to v2 inspect API

3 years agodetect/lua: convert to v2 inspect API
Victor Julien [Tue, 20 Oct 2020 09:03:56 +0000 (11:03 +0200)] 
detect/lua: convert to v2 inspect API

3 years agodetect/ftp: convert to v2 inspect API
Victor Julien [Tue, 20 Oct 2020 09:03:27 +0000 (11:03 +0200)] 
detect/ftp: convert to v2 inspect API

3 years agodetect/mqtt: convert to v2 inspect API
Victor Julien [Tue, 20 Oct 2020 08:42:59 +0000 (10:42 +0200)] 
detect/mqtt: convert to v2 inspect API

3 years agodetect/modbus: convert to v2 inspect API
Victor Julien [Tue, 20 Oct 2020 08:41:48 +0000 (10:41 +0200)] 
detect/modbus: convert to v2 inspect API

3 years agodetect/enip/cip: convert to v2 inspect API
Victor Julien [Tue, 20 Oct 2020 08:40:54 +0000 (10:40 +0200)] 
detect/enip/cip: convert to v2 inspect API

3 years agodetect/http2: inspect API v2
Victor Julien [Mon, 12 Oct 2020 12:19:15 +0000 (14:19 +0200)] 
detect/http2: inspect API v2

3 years agodetect/krb5: use inspect api v2
Victor Julien [Sun, 5 Apr 2020 18:00:25 +0000 (20:00 +0200)] 
detect/krb5: use inspect api v2

3 years agodetect/ftpbounce: switch to inspect api v2
Victor Julien [Sun, 5 Apr 2020 16:14:39 +0000 (18:14 +0200)] 
detect/ftpbounce: switch to inspect api v2

3 years agodetect/files: remove unused prototypes
Victor Julien [Sun, 5 Apr 2020 15:52:47 +0000 (17:52 +0200)] 
detect/files: remove unused prototypes

3 years agodetect/files: inspect api v2
Victor Julien [Sun, 5 Apr 2020 15:51:52 +0000 (17:51 +0200)] 
detect/files: inspect api v2

3 years agodetect/file: minor cleanup
Victor Julien [Sun, 5 Apr 2020 15:47:45 +0000 (17:47 +0200)] 
detect/file: minor cleanup

3 years agodetect/dnp3: convert to v2 inspect API
Victor Julien [Mon, 19 Oct 2020 12:12:42 +0000 (14:12 +0200)] 
detect/dnp3: convert to v2 inspect API

3 years agodetect/dcerpc: convert to v2 inspect API
Victor Julien [Mon, 19 Oct 2020 12:12:21 +0000 (14:12 +0200)] 
detect/dcerpc: convert to v2 inspect API

3 years agodetect/dns: convert to v2 inspect API
Victor Julien [Mon, 19 Oct 2020 12:11:26 +0000 (14:11 +0200)] 
detect/dns: convert to v2 inspect API

3 years agodetect/app-layer-event: convert to v2 inspect API
Victor Julien [Mon, 19 Oct 2020 12:10:16 +0000 (14:10 +0200)] 
detect/app-layer-event: convert to v2 inspect API

3 years agodetect/stream: convert to inspect API v2
Victor Julien [Mon, 19 Oct 2020 13:49:13 +0000 (15:49 +0200)] 
detect/stream: convert to inspect API v2

3 years agodetect/payload: minor formatting fixup
Victor Julien [Mon, 19 Oct 2020 13:49:02 +0000 (15:49 +0200)] 
detect/payload: minor formatting fixup

3 years agogithub-ci: build cbindgen during prep
Jason Ish [Tue, 1 Dec 2020 18:55:36 +0000 (12:55 -0600)] 
github-ci: build cbindgen during prep

Instead of building cbindgen in every build, build it once
during prep as a static musl binary to avoid library issues.

3 years agogithub-ci: remove prep directories before upload
Jason Ish [Tue, 1 Dec 2020 21:46:46 +0000 (15:46 -0600)] 
github-ci: remove prep directories before upload

Removing the libhtp, suricata-update and suricata-verify directories
before uploading the artifact reduces the upload time from minutes
to seconds.

3 years agogithub-ci: fedora 33 test build (based on fedora 32)
Jason Ish [Tue, 1 Dec 2020 18:40:14 +0000 (12:40 -0600)] 
github-ci: fedora 33 test build (based on fedora 32)

3 years agogithub-ci: remove fedora 31 (eol)
Jason Ish [Fri, 4 Dec 2020 21:16:36 +0000 (15:16 -0600)] 
github-ci: remove fedora 31 (eol)

3 years agoversion: start 7.0.0 development
Victor Julien [Sun, 6 Dec 2020 19:16:43 +0000 (20:16 +0100)] 
version: start 7.0.0 development

3 years agoversion: set to 6.0.1
Victor Julien [Fri, 4 Dec 2020 06:54:18 +0000 (07:54 +0100)] 
version: set to 6.0.1

3 years agochangelog: update for 6.0.1
Victor Julien [Fri, 4 Dec 2020 06:53:48 +0000 (07:53 +0100)] 
changelog: update for 6.0.1

3 years agodnp3: regenerates C code with script
Philippe Antoine [Thu, 19 Nov 2020 13:30:56 +0000 (14:30 +0100)] 
dnp3: regenerates C code with script

3 years agodnp3: avoids DOS by too long loop over null-sized objects
Philippe Antoine [Thu, 19 Nov 2020 13:30:27 +0000 (14:30 +0100)] 
dnp3: avoids DOS by too long loop over null-sized objects

3 years agodnp3: fix memory leak with object containing bytearrays
Philippe Antoine [Thu, 19 Nov 2020 13:29:48 +0000 (14:29 +0100)] 
dnp3: fix memory leak with object containing bytearrays

3 years agodnp3: fix signed integer overflow
Philippe Antoine [Thu, 19 Nov 2020 13:28:43 +0000 (14:28 +0100)] 
dnp3: fix signed integer overflow

By using unsigned integers everywhere

3 years agooutput: use BASE64_BUFFER_SIZE macro
Shivani Bhardwaj [Thu, 3 Dec 2020 11:30:17 +0000 (17:00 +0530)] 
output: use BASE64_BUFFER_SIZE macro

Base64Encode function requires the maximum length of the output string
as its last parameter. Use the macro BASE64_BUFFER_SIZE to calculate it
correctly.

3 years agodatasets/string: fix buffer overflow
Shivani Bhardwaj [Thu, 3 Dec 2020 11:13:17 +0000 (16:43 +0530)] 
datasets/string: fix buffer overflow

The size of encoded_data array and the maximum output length parameter
to Base64Encode function were incorrect leading to buffer overflow for
certain cases. The algorithm requires at least 5 bytes of space to even
convert a string of length 1.

Use BASE64_BUFFER_SIZE macro to correctly calculate this output length.
Set size of encoded_data array to the calculated output length.

3 years agoutil/crypt: Add macro for max base64encode len
Shivani Bhardwaj [Thu, 3 Dec 2020 11:25:39 +0000 (16:55 +0530)] 
util/crypt: Add macro for max base64encode len

Maximum length of a base64 encoded string can be 33% over the actual
length of the input string. The formula to best cover all the edge cases
is mathematically
(4 * (input_length + 2) / 3) + 1

Add a macro to calculate this for a given input length.

3 years agoftp: optimize FTPGetOldestTx by starting from last handled tx
Philippe Antoine [Tue, 3 Nov 2020 10:55:52 +0000 (11:55 +0100)] 
ftp: optimize FTPGetOldestTx by starting from last handled tx

Avoids DOS by quadratic complexity algorithm.
Attack is
1 stack many requests/transactions (like cwd commands on a line)
2 get many answers

3 years agohttp2: files inspection API fixes
Philippe Antoine [Tue, 10 Nov 2020 15:10:07 +0000 (16:10 +0100)] 
http2: files inspection API fixes

uses right transaction id for file tracker
uses FILE_USE_DETECT for good matches with keyword startswith

3 years agohttp2: allow multiple size updates in one headers batch
Philippe Antoine [Tue, 10 Nov 2020 09:21:32 +0000 (10:21 +0100)] 
http2: allow multiple size updates in one headers batch

cf RFC 7541 section 4.2

3 years agohttp2: avoid null pointer deref in alert output
Victor Julien [Sat, 7 Nov 2020 14:34:35 +0000 (15:34 +0100)] 
http2: avoid null pointer deref in alert output

Bug #4120.

3 years agohttp2: allow filestore to work with HTTP2
Philippe Antoine [Fri, 16 Oct 2020 10:51:31 +0000 (12:51 +0200)] 
http2: allow filestore to work with HTTP2

3 years agopacket: set length of 0 for too big copy
Philippe Antoine [Thu, 19 Nov 2020 13:10:58 +0000 (14:10 +0100)] 
packet: set length of 0 for too big copy

3 years agossl: improves keyword ssl_version parsing
Philippe Antoine [Sat, 31 Oct 2020 16:12:19 +0000 (17:12 +0100)] 
ssl: improves keyword ssl_version parsing

Removes the use of PCRE for performance
Forbids empty negations after a valid pattern
Forbids mixing negative and positive forms as it is irrelevant
Forbids useless repetition of a version

3 years agosmb: do not rely on one valid NBSS byte for probing
Philippe Antoine [Thu, 15 Oct 2020 20:51:52 +0000 (22:51 +0200)] 
smb: do not rely on one valid NBSS byte for probing

Need to have the SMB header so as to validate

3 years agossl: upgarde to uint32 for bytes_processed
Philippe Antoine [Thu, 15 Oct 2020 19:32:27 +0000 (21:32 +0200)] 
ssl: upgarde to uint32 for bytes_processed

as it can overflow, and is compared with uint32 such as
message_length and message_start and

3 years agodetect: null sanity checks for pkthdr
Philippe Antoine [Wed, 14 Oct 2020 19:25:40 +0000 (21:25 +0200)] 
detect: null sanity checks for pkthdr

Even when the rules are only applied on traffic with the protocol
the structure for the protocol header can be set to NULL if there
was an error parsing the header

3 years agoconfigure: require libhtp 0.5.36
Victor Julien [Thu, 3 Dec 2020 11:10:22 +0000 (12:10 +0100)] 
configure: require libhtp 0.5.36

3 years agodoc: explicit header normalization further
Philippe Antoine [Mon, 13 Jul 2020 09:06:58 +0000 (11:06 +0200)] 
doc: explicit header normalization further

And their concatenation as described in RFC 2616

3 years agogithub-ci: CentOS 6 is EOL
Victor Julien [Wed, 2 Dec 2020 12:31:52 +0000 (13:31 +0100)] 
github-ci: CentOS 6 is EOL

3 years agodoc: http.uri.raw has no spaces
Philippe Antoine [Wed, 25 Nov 2020 14:20:02 +0000 (15:20 +0100)] 
doc: http.uri.raw has no spaces

as they are in the protocol

cf bug #2881

3 years agorust: handle windows naming change from .lib to .a
Jason Ish [Mon, 30 Nov 2020 21:11:57 +0000 (15:11 -0600)] 
rust: handle windows naming change from .lib to .a

Prior to Rust 1.44, Cargo would name static libs with the .lib
extension. 1.44 changes this extension to .a when running under
a GNU environment on Windows like msys to make it more similar
to other unix environments.

Now assume static library name to be the same on Windows and
unix, but rename the .lib if found to still support older
versions of Rust on Windows.

3 years agoconfigure/mingw: move libs in LDFLAGS to LDADD
Jason Ish [Mon, 30 Nov 2020 21:37:02 +0000 (15:37 -0600)] 
configure/mingw: move libs in LDFLAGS to LDADD

Moving the libs specified in LDFLAGS to LDADD put them into the
correct placement on in the link command.

3 years agorust: do not rebuild stdlib when coverage is enabled
Philippe Antoine [Mon, 16 Nov 2020 09:12:55 +0000 (10:12 +0100)] 
rust: do not rebuild stdlib when coverage is enabled

Because both seem incompatible for now

3 years agofuzz: check PacketCopyData return value before processing packet
Philippe Antoine [Thu, 19 Nov 2020 13:10:08 +0000 (14:10 +0100)] 
fuzz: check PacketCopyData return value before processing packet

3 years agofuzz: limit memcap for datasets when fuzzing
Philippe Antoine [Tue, 3 Nov 2020 10:21:06 +0000 (11:21 +0100)] 
fuzz: limit memcap for datasets when fuzzing

3 years agodnp3: better limit for tests when fuzzing
Philippe Antoine [Sat, 31 Oct 2020 15:51:09 +0000 (16:51 +0100)] 
dnp3: better limit for tests when fuzzing

3 years agofuzz: improves detect proto target
Philippe Antoine [Thu, 15 Oct 2020 20:50:42 +0000 (22:50 +0200)] 
fuzz: improves detect proto target

By mimicking assert message so as to clusterfuzz differentiates
between failures

3 years agodetect: fix inspection order with stateful rules
Victor Julien [Mon, 30 Nov 2020 06:44:54 +0000 (07:44 +0100)] 
detect: fix inspection order with stateful rules

When stateful detection rules, for which detection has already started
for a previous packet, are added to the candidates array, the array
is sorted to mantain the correct inspection order. However, due to a
trivial error in the sort helper the array was sorted in descending
instead of ascending order.

3 years agodcerpc/udp: fix transaction handling and logging
Victor Julien [Thu, 26 Nov 2020 10:03:21 +0000 (11:03 +0100)] 
dcerpc/udp: fix transaction handling and logging

Implement missing transaction handling.

Fix logging wrongly casting 'state' to DCERPCState instead of
DCERPCUDPState leading to crashes and malformed output.

Remove unused fields from DCERPCUDPState.

3 years agodetect/mpm: remove usused cleanup function
Victor Julien [Wed, 25 Nov 2020 08:49:54 +0000 (09:49 +0100)] 
detect/mpm: remove usused cleanup function

3 years agodetect: optimize prefilter result handling
Victor Julien [Wed, 25 Nov 2020 08:22:44 +0000 (09:22 +0100)] 
detect: optimize prefilter result handling

3 years agodetect/prefilter: small cleanup
Victor Julien [Wed, 25 Nov 2020 08:22:21 +0000 (09:22 +0100)] 
detect/prefilter: small cleanup

3 years agogithub-ci: check for duplicate SIDs in rules/
Jason Ish [Fri, 20 Nov 2020 15:15:37 +0000 (09:15 -0600)] 
github-ci: check for duplicate SIDs in rules/

3 years agorules/mqtt: renumber mqtt events to avoid conflict with ssh
Jason Ish [Wed, 18 Nov 2020 22:44:38 +0000 (16:44 -0600)] 
rules/mqtt: renumber mqtt events to avoid conflict with ssh

Both SSH and MQTT events were in the 2228000 range. As SSH was
added first, renumber MQTT events into the 2229000 range which is
free.

3 years agorust: fix warnings found by nightly compiler
Philippe Antoine [Thu, 19 Nov 2020 14:50:54 +0000 (15:50 +0100)] 
rust: fix warnings found by nightly compiler

warning: getting the inner pointer of a temporary `CString`
this `CString` is deallocated at the end of the statement,
bind it to a variable to extend its lifetime

3 years agodecode/null: fix type parsing
Victor Julien [Mon, 23 Nov 2020 20:59:18 +0000 (21:59 +0100)] 
decode/null: fix type parsing

3 years agoatomics: fix compilation on ppc64
Victor Julien [Mon, 23 Nov 2020 20:57:36 +0000 (21:57 +0100)] 
atomics: fix compilation on ppc64

3 years agodnp3: set byte order when logging dnp3 src and dst
Jason Ish [Mon, 23 Nov 2020 18:11:42 +0000 (12:11 -0600)] 
dnp3: set byte order when logging dnp3 src and dst

DNP3 uses little endian on the wire, for the most part this
is handled as the messages are deserialize. However, the link
header is a cast over raw data, so swap these bytes as they
are being logged.

Redmine issue:
https://redmine.openinfosecfoundation.org/issues/4173

3 years agogithub-ci: windows in builds
Victor Julien [Thu, 19 Nov 2020 21:01:40 +0000 (22:01 +0100)] 
github-ci: windows in builds

3 years agodoc/userguide: update http keywords
Victor Julien [Thu, 5 Nov 2020 14:31:58 +0000 (15:31 +0100)] 
doc/userguide: update http keywords

3 years agodoc/userguide: explain --strict-rule-keywords
Victor Julien [Wed, 4 Nov 2020 20:00:41 +0000 (21:00 +0100)] 
doc/userguide: explain --strict-rule-keywords

3 years agoapp-layer: do not try to parse gaps during protocol change
Philippe Antoine [Tue, 17 Nov 2020 09:16:42 +0000 (10:16 +0100)] 
app-layer: do not try to parse gaps during protocol change

As this will leak the flow alstate because AppLayerParserParse
relies on FlowChangeProto to know if it should allocate a new
alstate

3 years agodetect: apply transforms to http body
Philippe Antoine [Tue, 12 Nov 2019 20:57:28 +0000 (21:57 +0100)] 
detect: apply transforms to http body

3 years agoci: updates github ci add-path mechanism
Philippe Antoine [Tue, 17 Nov 2020 08:48:29 +0000 (09:48 +0100)] 
ci: updates github ci add-path mechanism

3 years agotools: bash from env
Danny Browning [Tue, 27 Oct 2020 15:47:21 +0000 (09:47 -0600)] 
tools: bash from env

Use of hardcoded bash prevents users from using an upgraded bash which may
live in a different location. This behavior is often seen on OSX systems.

Utilize env to find the preferred bash to call for scripts.

3 years agorust/log: clarify comment in non-debug mode SCLogDebug
Jason Ish [Mon, 16 Nov 2020 17:43:17 +0000 (11:43 -0600)] 
rust/log: clarify comment in non-debug mode SCLogDebug

3 years agorust/log: order log macros in descending order
Jason Ish [Mon, 16 Nov 2020 17:40:05 +0000 (11:40 -0600)] 
rust/log: order log macros in descending order

Readability cleanup.
- error, notice, ... debug

3 years agorust/log: expand macros after checking log level
Jason Ish [Mon, 16 Nov 2020 17:36:39 +0000 (11:36 -0600)] 
rust/log: expand macros after checking log level

Expand macros in the do_log macro after checking the log level
instead of each log macro (ie: SCLogDebug) expanding the macros
then passing off to do_log to have the log level check.

Will eliminate any expense of expanding macros if this log level
does not permit the given message to be logged.

Redmine issue:
https://redmine.openinfosecfoundation.org/issues/4114

3 years agodcerpc/log: Log fields particular to an RPC version
Shivani Bhardwaj [Thu, 12 Nov 2020 11:06:39 +0000 (16:36 +0530)] 
dcerpc/log: Log fields particular to an RPC version

Log fields that only are meant to be in a PDU for a particular RPC
version. Since DCERPC/UDP works on RPC version 4 and DCERPC/TCP works on
RPC version 5, there are certain fields that are particular to each
version.
Remove call_id from the logger for UDP.
Add activityuuid and seqnum fields to the logger for UDP.
call_id and (activityuuid + seqnum) fields are used to uniquely pair a
request with response for RPC versions 5 and 4 respectively.

3 years agorust/dcerpc: Remove redundant fields
Ilya Bakhtin [Tue, 10 Nov 2020 10:27:43 +0000 (15:57 +0530)] 
rust/dcerpc: Remove redundant fields

3 years agorust/dcerpc: Make tx_id u64
Ilya Bakhtin [Tue, 10 Nov 2020 10:20:21 +0000 (15:50 +0530)] 
rust/dcerpc: Make tx_id u64

3 years agodcerpc/udp: Fix pairing of request response
Ilya Bakhtin [Tue, 10 Nov 2020 10:05:18 +0000 (15:35 +0530)] 
dcerpc/udp: Fix pairing of request response

So far, request and response were paired with serial number fields in
the header. This is incorrect. According to
https://pubs.opengroup.org/onlinepubs/9629399/chap12.htm,
"Together, the activity UUID and the sequence number uniquely identify
a remote procedure call."

Hence, add activity uuid and sequence number to the transaction and pair
the request accordingly. Remove incorrect handling of this and fix
tests.

3 years agorust/dcerpc: Add UDP flag definitions
Ilya Bakhtin [Tue, 10 Nov 2020 08:11:29 +0000 (13:41 +0530)] 
rust/dcerpc: Add UDP flag definitions

3 years agoapp-layer: lower limit for protocol detection on protocol change
Philippe Antoine [Tue, 6 Oct 2020 13:22:59 +0000 (15:22 +0200)] 
app-layer: lower limit for protocol detection on protocol change

So that protocol detection does not run for too long because
TCPProtoDetectCheckBailConditions somehow relies on its TCP stream
to start from zero, which is not the case on protocol change

Adds also debug validation checks, such as
both sides are known on protocol change

And only sets once alproto_orig

3 years agodoc: New sticky buffer icmpv4.hdr
Jeff Lucovsky [Wed, 4 Nov 2020 13:44:39 +0000 (08:44 -0500)] 
doc: New sticky buffer icmpv4.hdr

3 years agodetect: Register icmpv4 header
Jeff Lucovsky [Thu, 5 Nov 2020 13:11:17 +0000 (08:11 -0500)] 
detect: Register icmpv4 header

3 years agodetect: Add icmpv4.hdr sticky buffer
Jeff Lucovsky [Wed, 4 Nov 2020 13:31:00 +0000 (08:31 -0500)] 
detect: Add icmpv4.hdr sticky buffer

This commit adds a new sticky buffer to access the ICMPv4 header.

3 years agodetect: New enum for icmpv4 header keyword
Jeff Lucovsky [Thu, 5 Nov 2020 13:10:41 +0000 (08:10 -0500)] 
detect: New enum for icmpv4 header keyword

3 years agodecode: Improved handling of ICMPv4 messages
Jeff Lucovsky [Wed, 4 Nov 2020 13:34:51 +0000 (08:34 -0500)] 
decode: Improved handling of ICMPv4 messages

This commit improves handling of ICMPv4 messages, especially those with
variable sized headers.

This commit also adds a header length variable for use by the new
sticky buffer for the header.

3 years agogithub-ci: fix debian 10 test using rustup
Victor Julien [Sun, 15 Nov 2020 07:06:17 +0000 (08:06 +0100)] 
github-ci: fix debian 10 test using rustup