]> git.ipfire.org Git - thirdparty/suricata.git/log
thirdparty/suricata.git
4 years agorust: SCLogDebug is real nop when built as release 6197/head
Philippe Antoine [Thu, 6 May 2021 11:30:49 +0000 (13:30 +0200)] 
rust: SCLogDebug is real nop when built as release

Before, even if there were no outputs, all the arguments
were evaluated, which could turn expensive

All variables which are used only in certain build configurations
are now prefixed by underscore to avoid warnings

4 years agohttp2: set Debug on structs
Victor Julien [Thu, 10 Jun 2021 19:03:31 +0000 (21:03 +0200)] 
http2: set Debug on structs

4 years agounittests: optimize RunmodeIsUnittests()
Victor Julien [Wed, 9 Jun 2021 07:23:07 +0000 (09:23 +0200)] 
unittests: optimize RunmodeIsUnittests()

4 years agostream: packet to stream flags macro
Victor Julien [Fri, 11 Jun 2021 07:52:11 +0000 (09:52 +0200)] 
stream: packet to stream flags macro

4 years agopackets: more detailed entry debug for detect/stream
Victor Julien [Fri, 11 Jun 2021 08:52:25 +0000 (10:52 +0200)] 
packets: more detailed entry debug for detect/stream

4 years agofiles: construct with default, free on drop
Victor Julien [Mon, 7 Jun 2021 11:29:11 +0000 (13:29 +0200)] 
files: construct with default, free on drop

Update protocols.

4 years agofiles: implement default support
Victor Julien [Mon, 7 Jun 2021 09:34:31 +0000 (11:34 +0200)] 
files: implement default support

4 years agorust: fix app-layer parser flags 6172/head
Philippe Antoine [Fri, 4 Jun 2021 08:28:10 +0000 (10:28 +0200)] 
rust: fix app-layer parser flags

This especially allows for SSH bypass to work

4 years agodecode/vxlan: Delay var init until needed
Jeff Lucovsky [Mon, 24 May 2021 12:03:02 +0000 (08:03 -0400)] 
decode/vxlan: Delay var init until needed

This commit modifies the var initialization slightly until after
integrity checks have been performed.

4 years agogeneral/typo: Correct typo
Jeff Lucovsky [Mon, 24 May 2021 12:02:45 +0000 (08:02 -0400)] 
general/typo: Correct typo

4 years agodecode: Eliminate NULL pkt checks
Jeff Lucovsky [Mon, 24 May 2021 12:01:58 +0000 (08:01 -0400)] 
decode: Eliminate NULL pkt checks

This commit removes the NULL pkt check that each decoder performs as
this is a "can't happen" case.

4 years agothresholds: Fix buffer overflow in threshold context
Mats Klepsland [Thu, 27 May 2021 10:02:55 +0000 (12:02 +0200)] 
thresholds: Fix buffer overflow in threshold context

th_entry is resized using ThresholdHashRealloc() every time a rule with
a threshold using by_rule tracking is added. The problem is that this is
done before the rules are reordered, so occasionally a rule with by_rule
tracking gets a higher signature number (after reordering) than the
number of th_entries allocated, causing Suricata to crash.

This commit fixes this by allocating th_entries after all the rules are
loaded and reordered.

Backtrace from core dump:

  Program terminated with signal SIGSEGV, Segmentation fault.

  #0  0x000000000051b381 in ThresholdHandlePacket (p=p@entry=0x7fb0080f3960, lookup_tsh=0x51, new_tsh=new_tsh@entry=0x7fb016c316e0, td=td@entry=0x14adedf0, sid=9800979, gid=1, pa=0x7fb0080f3b18)
      at detect-engine-threshold.c:415
  415>----                if (TIMEVAL_DIFF_SEC(p->ts, lookup_tsh->tv1) < td->seconds) {

Bug #4503.

4 years agothresholds: syntax fixes
Mats Klepsland [Thu, 27 May 2021 09:04:15 +0000 (11:04 +0200)] 
thresholds: syntax fixes

Fix syntax of if statement in SigGetThresholdTypeIter()

4 years agothresholds: remove unneeded function argument
Mats Klepsland [Thu, 27 May 2021 08:59:36 +0000 (10:59 +0200)] 
thresholds: remove unneeded function argument

Remove packet pointer from SigGetThresholdTypeIter() as it is
unused.

4 years agodoc/eve: common fields and alert updates
Juliana Fajardini [Wed, 2 Jun 2021 12:29:09 +0000 (13:29 +0100)] 
doc/eve: common fields and alert updates

- update examples for both
- change app_proto from alert field to common field, as
  per JsonBuilder's changes.

4 years agodoc/eve: fix typos
Juliana Fajardini [Wed, 2 Jun 2021 12:16:46 +0000 (13:16 +0100)] 
doc/eve: fix typos

4 years agooutput: Fix possible null deref 6157/head
Jeff Lucovsky [Wed, 2 Jun 2021 11:31:20 +0000 (07:31 -0400)] 
output: Fix possible null deref

This commit corrects an issue uncovered by Coverity. See the redmine
issue for details: https://redmine.openinfosecfoundation.org/issues/4495

4 years agohttp2: only mimic http1 request if there is one 6139/head
Philippe Antoine [Thu, 22 Apr 2021 07:41:30 +0000 (09:41 +0200)] 
http2: only mimic http1 request if there is one

That may not be the case in midstream/async configurations

4 years agomakefile: don't include the whole test/ directory
Jason Ish [Fri, 21 May 2021 17:06:47 +0000 (11:06 -0600)] 
makefile: don't include the whole test/ directory

Including the whole directory results in .deps files ending up
in the distribution archive which shouldn't be there. Instead
we have to list all the test sources individually.

4 years agorust/default: Enable Default usage
Jeff Lucovsky [Sat, 22 May 2021 13:41:14 +0000 (09:41 -0400)] 
rust/default: Enable Default usage

4 years agonfs: Rework constructs to use Self/Default
Jeff Lucovsky [Sat, 22 May 2021 13:40:34 +0000 (09:40 -0400)] 
nfs: Rework constructs to use Self/Default

4 years agodhcp: Rework constructs to use Self/Default
Jeff Lucovsky [Sat, 22 May 2021 13:12:43 +0000 (09:12 -0400)] 
dhcp: Rework constructs to use Self/Default

4 years agodcerpc: Rework constructs to use Self/Default
Jeff Lucovsky [Sat, 22 May 2021 13:03:58 +0000 (09:03 -0400)] 
dcerpc: Rework constructs to use Self/Default

4 years agodns: Rework constructs to use Self/Default
Jeff Lucovsky [Sat, 22 May 2021 12:33:44 +0000 (08:33 -0400)] 
dns: Rework constructs to use Self/Default

4 years agosmb: Rework constructs to use Self/Default
Jeff Lucovsky [Fri, 21 May 2021 20:30:53 +0000 (16:30 -0400)] 
smb: Rework constructs to use Self/Default

This commit modifies the constructors to use Self and/or
Default::default() when feasible

4 years agorust/default: Enable Default usage in SMB
Jeff Lucovsky [Fri, 21 May 2021 20:31:04 +0000 (16:31 -0400)] 
rust/default: Enable Default usage in SMB

4 years agodoc: update sphinx api to use add_css_file
Philippe Antoine [Mon, 17 May 2021 14:27:49 +0000 (16:27 +0200)] 
doc: update sphinx api to use add_css_file

instead of deprecated add_stylesheet

4 years agodcerpc/udp: Add rust registration function
Shivani Bhardwaj [Wed, 19 May 2021 05:59:04 +0000 (11:29 +0530)] 
dcerpc/udp: Add rust registration function

Get rid of the C glue code and move registration completely to Rust.

4 years agodcerpc/udp: Change fn sign as per rust registration requirement
Shivani Bhardwaj [Wed, 19 May 2021 05:46:03 +0000 (11:16 +0530)] 
dcerpc/udp: Change fn sign as per rust registration requirement

Registering parsers in Rust requires signatures to be a certain way and
compatible with C. Change signatures of all the functions.

4 years agodcerpc: Add rust registration function
Shivani Bhardwaj [Tue, 18 May 2021 11:48:00 +0000 (17:18 +0530)] 
dcerpc: Add rust registration function

Get rid of the C glue code and move registration completely to Rust.

4 years agodcerpc: Change fn sign as per rust registration requirement
Shivani Bhardwaj [Tue, 18 May 2021 11:51:44 +0000 (17:21 +0530)] 
dcerpc: Change fn sign as per rust registration requirement

Registering parsers in Rust requires signatures to be a certain way and
compatible with C. Change signatures of all the functions.

4 years agorust/core: Make AppProto type u16
Shivani Bhardwaj [Mon, 17 May 2021 10:49:41 +0000 (16:19 +0530)] 
rust/core: Make AppProto type u16

4 years agoapplayer/rust: add extern AppLayerProtoDetectPMRegisterPatternCSwPP
Shivani Bhardwaj [Wed, 5 May 2021 10:27:51 +0000 (15:57 +0530)] 
applayer/rust: add extern AppLayerProtoDetectPMRegisterPatternCSwPP

4 years agogithub: work around rustc mingw issue 6130/head
Victor Julien [Thu, 20 May 2021 13:14:13 +0000 (15:14 +0200)] 
github: work around rustc mingw issue

https://github.com/msys2/MINGW-packages/issues/8732#issuecomment-845079799

4 years agosuricata-plugin.h: don't include autoconf.h
Jason Ish [Wed, 19 May 2021 15:44:52 +0000 (09:44 -0600)] 
suricata-plugin.h: don't include autoconf.h

It is not required here and just creates double inclusion in some
scenarios.

4 years agohttp2: remove dead code
Victor Julien [Tue, 18 May 2021 13:07:02 +0000 (15:07 +0200)] 
http2: remove dead code

4 years agohttp2: remove assertion which can be wrong
Philippe Antoine [Tue, 18 May 2021 07:52:53 +0000 (09:52 +0200)] 
http2: remove assertion which can be wrong

Brotli decoder stops consuming input it it reaches the
end of its input

4 years agomodbus: fix quantity and count calculation
Simon Dugas [Tue, 11 May 2021 14:41:32 +0000 (10:41 -0400)] 
modbus: fix quantity and count calculation

The [Modbus Spec S6.11](https://modbus.org/docs/Modbus_Application_Protocol_V1_1b.pdf)
clearly states that the `count = quantity / 8` and not the other way
around. This is fixed in sawp-0.5.0.

4 years agohttp2: http.cookie keyword now works for HTTP2
Philippe Antoine [Mon, 26 Apr 2021 13:50:44 +0000 (15:50 +0200)] 
http2: http.cookie keyword now works for HTTP2

4 years agohttp2: http.host.raw keyword now works for HTTP2
Philippe Antoine [Mon, 26 Apr 2021 13:37:57 +0000 (15:37 +0200)] 
http2: http.host.raw keyword now works for HTTP2

4 years agohttp2: http.method keyword now works for HTTP2
Philippe Antoine [Mon, 26 Apr 2021 13:17:09 +0000 (15:17 +0200)] 
http2: http.method keyword now works for HTTP2

4 years agohttp2: makes all HTTP1 header keywords work
Philippe Antoine [Mon, 26 Apr 2021 13:01:53 +0000 (15:01 +0200)] 
http2: makes all HTTP1 header keywords work

4 years agohttp2: there is no status msg in HTTP2
Philippe Antoine [Mon, 26 Apr 2021 12:40:33 +0000 (14:40 +0200)] 
http2: there is no status msg in HTTP2

so we revert its detection, mistaken with the status code

4 years agohttp2: http.stat_code keyword now works for HTTP2
Philippe Antoine [Mon, 26 Apr 2021 12:39:24 +0000 (14:39 +0200)] 
http2: http.stat_code keyword now works for HTTP2

4 years agodoc: Protocol name/case change for upgrade doc 6118/head
Jeff Lucovsky [Sun, 9 May 2021 13:21:31 +0000 (09:21 -0400)] 
doc: Protocol name/case change for upgrade doc

This commit adds a one-liner to the upgrade document for 7.0 stating
that protocol names/values are now builtin to Suricata and that names
and their casing may change.

4 years agoproto: Remove dependency on /etc/protocols
Jeff Lucovsky [Thu, 6 May 2021 13:49:55 +0000 (09:49 -0400)] 
proto: Remove dependency on /etc/protocols

This commit eliminates the dependency on /etc/protocols and equivalent
on other platforms by using a static table of IANA assigned protocol
values (names, description).

4 years agogithub-ci: enable hiredis on fedora 33 build 6109/head
Jason Ish [Tue, 4 May 2021 21:47:53 +0000 (15:47 -0600)] 
github-ci: enable hiredis on fedora 33 build

4 years agoyaml: treat some unquoted values as null (per spec)
Jason Ish [Mon, 3 May 2021 18:17:45 +0000 (12:17 -0600)] 
yaml: treat some unquoted values as null (per spec)

Per the YAML spec, the following values when present unquoted
should be equivalent to null:
- ~
- NULL
- Null
- null

4 years agooutput/redis: Redis threaded output changes
Jeff Lucovsky [Fri, 26 Mar 2021 14:06:44 +0000 (10:06 -0400)] 
output/redis: Redis threaded output changes

4 years agoconfig/plugin: Add template for plugins
Jeff Lucovsky [Fri, 26 Mar 2021 13:00:39 +0000 (09:00 -0400)] 
config/plugin: Add template for plugins

4 years agooutput/plugin: Support threaded output plugins
Jeff Lucovsky [Fri, 26 Mar 2021 12:43:11 +0000 (08:43 -0400)] 
output/plugin: Support threaded output plugins

4 years agooutput/plugin: API changes for threaded support
Jeff Lucovsky [Fri, 26 Mar 2021 12:16:57 +0000 (08:16 -0400)] 
output/plugin: API changes for threaded support

This commit extends the interface to better support file output plugins.

4 years agodoc/modbus: add eve logging documentation 6101/head
Simon Dugas [Thu, 28 Jan 2021 21:19:18 +0000 (21:19 +0000)] 
doc/modbus: add eve logging documentation

4 years agomodbus: add eve logging
Simon Dugas [Fri, 19 Feb 2021 21:43:55 +0000 (16:43 -0500)] 
modbus: add eve logging

4 years agomodbus: move tests from c to rust
Simon Dugas [Fri, 19 Feb 2021 21:31:33 +0000 (16:31 -0500)] 
modbus: move tests from c to rust

Move tests in a seperate commit so that we can use the previous one for
regression testing. This also gets rid of the temporary glue that made
the C tests work with the rust implementation.

4 years agomodbus: move from C to rust
Simon Dugas [Thu, 11 Feb 2021 20:58:43 +0000 (15:58 -0500)] 
modbus: move from C to rust

Adds a new rust modbus app layer parser and detection module.

Moves the C module to rust but leaves the test cases in place to
regression test the new rust module.

4 years agomodbus: fix app-layer test cases
Simon Dugas [Thu, 11 Feb 2021 20:49:06 +0000 (15:49 -0500)] 
modbus: fix app-layer test cases

invalidFunctionCode: make protocol id valid since we are only testing
the function code here.

readCoilsErrorRsp: changed to different invalid response code.

ModbusParserTest10: wrong length was passed to AppLayerParserParse.

ModbusParserTest11: allocate the entire buffer.

4 years agoci: update known rust version
Simon Dugas [Mon, 1 Feb 2021 01:58:26 +0000 (20:58 -0500)] 
ci: update known rust version

Update RUST_VERSION_KNOWN to the latest stable known to succeed. Also
updates the documentation to avoid confusion around the use of this
variable.

4 years agotravis: remove ci file as we switched to github-ci
Victor Julien [Tue, 4 May 2021 08:40:09 +0000 (10:40 +0200)] 
travis: remove ci file as we switched to github-ci

4 years agoike: set event for multiple server proposals
frank honza [Fri, 16 Apr 2021 08:21:22 +0000 (10:21 +0200)] 
ike: set event for multiple server proposals

4 years agounix-socket: reset to ready state on startup
Jason Ish [Thu, 25 Feb 2021 17:16:28 +0000 (11:16 -0600)] 
unix-socket: reset to ready state on startup

As part of commit ea15282f47c6ff781533e3a063f9c903dd6f1afb,
some initialization was moved to happen even in unix socket mode,
however, this initialization does setup some loggers that can only have
one instance enabled (anomaly, drop, file-store).

This will cause these loggers to error out on the first pcap, but work
on subsequent runs of the pcap as some deinitialization is done after
each pcap.

This fix just runs the post pcap-file deinitialization routine to
reset some of the initialization done on startup, like is done after
running each pcap in unix socket mode.

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

Additionally this prevents alerts from being logged two times
on the first run of a pcap through the unix socket:

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

4 years agodecode/vntag: Add VNTag decoder logic
Jeff Lucovsky [Sun, 25 Apr 2021 13:20:54 +0000 (09:20 -0400)] 
decode/vntag: Add VNTag decoder logic

4 years agotests/vntag: VNTAG decoder unittests
Jeff Lucovsky [Sat, 24 Apr 2021 19:44:17 +0000 (15:44 -0400)] 
tests/vntag: VNTAG decoder unittests

4 years agodecode/vntag: VNTAG 802.1Qbh decoder
Jeff Lucovsky [Sat, 24 Apr 2021 19:43:50 +0000 (15:43 -0400)] 
decode/vntag: VNTAG 802.1Qbh decoder

4 years agodecode/stats: VNTAG stats
Jeff Lucovsky [Sat, 24 Apr 2021 19:42:48 +0000 (15:42 -0400)] 
decode/stats: VNTAG stats

4 years agodecode/events: VNTAG decoder events
Jeff Lucovsky [Sat, 24 Apr 2021 19:38:16 +0000 (15:38 -0400)] 
decode/events: VNTAG decoder events

4 years agodecode: Add ethertype for VNTAG
Jeff Lucovsky [Sat, 24 Apr 2021 19:36:57 +0000 (15:36 -0400)] 
decode: Add ethertype for VNTAG

4 years agogithub: Update codeowner handle
Shivani Bhardwaj [Fri, 30 Apr 2021 06:55:58 +0000 (12:25 +0530)] 
github: Update codeowner handle

4 years agoftp: completely parses pasv and epsv responses 6096/head
Philippe Antoine [Tue, 27 Apr 2021 07:03:45 +0000 (09:03 +0200)] 
ftp: completely parses pasv and epsv responses

4 years agoflow/bypass: Properly set the ICMP emergency-bypassed value 6086/head
Luke Coughlan [Mon, 26 Apr 2021 12:05:15 +0000 (13:05 +0100)] 
flow/bypass: Properly set the ICMP emergency-bypassed value

Currently the ICMP emergency-bypassed value defined in suricata.conf is
overwriting the UDP value rather than correctly setting it for ICMP.
This commit corrects this bug so that the ICMP value can be set as
expected.

4 years agogeneral: Cleanup bool usage
Jeff Lucovsky [Fri, 23 Apr 2021 14:08:07 +0000 (10:08 -0400)] 
general: Cleanup bool usage

4 years agohttp2: have filecontainer for both directions 6080/head
Philippe Antoine [Fri, 23 Apr 2021 19:55:20 +0000 (21:55 +0200)] 
http2: have filecontainer for both directions

4 years agomisc: include queue.h before other headers 6078/head
Jason Ish [Thu, 22 Apr 2021 14:52:08 +0000 (08:52 -0600)] 
misc: include queue.h before other headers

At least on FreeBSD, some other include is including "sys/queue.h"
which results in FreeBSDs /usr/include/sys/queue.h being picked
up and setting __SYS_QUEUE_H__ so our queue.h is not picked up.

But the FreeBSD queue.h does not have the CIRCLEQ definitions. To
fix just include our queue.h first, which also sets __SYS_QUEUE_H__
preventing the system one from being picked up.

4 years agodns: remove flood protection purging 6076/head
Jason Ish [Thu, 22 Apr 2021 15:41:48 +0000 (09:41 -0600)] 
dns: remove flood protection purging

It doesn't look like flood protection is required with the
stateless parser anymore. It actually can get in the way of TCP
DNS when a large number of requests end-up in the same segment
where a TX can get purged before it has a chance to go through
the normal TX life-cycle.

4 years agotx: fix unidir tx cleanup
Jason Ish [Thu, 22 Apr 2021 15:38:24 +0000 (09:38 -0600)] 
tx: fix unidir tx cleanup

A unidirection protocol parser should only have its transactions
marked as "skipped" if it is skipped in both the TS and TC
directions, otherwise unidir transactions are always considered
skipped and the cleanup will never updates its minimum id.

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

4 years agogeneral: Typo cleanup 6071/head
Jeff Lucovsky [Sat, 17 Oct 2020 14:56:23 +0000 (10:56 -0400)] 
general: Typo cleanup

4 years agodetect/address: Improve support for large addrs
Jeff Lucovsky [Sat, 17 Oct 2020 14:54:51 +0000 (10:54 -0400)] 
detect/address: Improve support for large addrs

This commit improves support for large address variables. Without this
commit, address size was fixed at 8196 or less. This commit permits
larger sized address variables.

4 years agoapplayer: fix test data for a valid DCERPC pkt
Shivani Bhardwaj [Sat, 13 Mar 2021 11:11:48 +0000 (16:41 +0530)] 
applayer: fix test data for a valid DCERPC pkt

4 years agodcerpc/tcp: improve detection
Shivani Bhardwaj [Fri, 12 Mar 2021 05:33:34 +0000 (11:03 +0530)] 
dcerpc/tcp: improve detection

Lately, some of the TLS data was misdetected as DCERPC/TCP because of
the pattern |05 00|. Add more checks in DCERPC probe function to ensure
that it is in fact DCERPC/TCP.

4 years agodoc: add documentation for rawbytes keyword
Andreas Herz [Thu, 22 Oct 2020 20:41:17 +0000 (22:41 +0200)] 
doc: add documentation for rawbytes keyword

4 years agodetect-rawbytes: add rawbytes doc help output
Andreas Herz [Thu, 22 Oct 2020 20:40:10 +0000 (22:40 +0200)] 
detect-rawbytes: add rawbytes doc help output

4 years agodetect-rawbytes: update to new clang format
Andreas Herz [Thu, 22 Oct 2020 20:38:42 +0000 (22:38 +0200)] 
detect-rawbytes: update to new clang format

4 years agoeve: refactor OutputJsonBuilderBuffer to take context 6060/head
Jason Ish [Thu, 15 Apr 2021 20:59:28 +0000 (14:59 -0600)] 
eve: refactor OutputJsonBuilderBuffer to take context

All callers of OutputJsonBuilderBuffer are now calling it
using fields from an OutputJsonThreadCtx, so just pass
a pointer to the thread context now.

4 years agoeve: convert many loggers to use generate thread context
Jason Ish [Thu, 15 Apr 2021 07:36:25 +0000 (01:36 -0600)] 
eve: convert many loggers to use generate thread context

- mqtt
- dnp3
- smtp
- ike
- dns
- alert
- tls
- anomaly
- drop
- file
- http
- http2
- templates
- dhcp

The idea is to factor out the commom code for setting
up the output file objects, which is repetitive, and
often done wrong when it comes to threading.

4 years agoeve: reset buffer in OutputJsonBuilderBuffer
Jason Ish [Thu, 15 Apr 2021 07:35:45 +0000 (01:35 -0600)] 
eve: reset buffer in OutputJsonBuilderBuffer

Reset the buffer here so each caller doesn't need to do it.

4 years agoeve: factor thread context creation/free for reuse
Jason Ish [Thu, 15 Apr 2021 07:33:43 +0000 (01:33 -0600)] 
eve: factor thread context creation/free for reuse

4 years agoeve: remove duplicate call to LogFileEnsureExists
Jason Ish [Thu, 15 Apr 2021 01:46:20 +0000 (19:46 -0600)] 
eve: remove duplicate call to LogFileEnsureExists

Remove duplicate call to LogFileEnsureExists in the generic
eve thread init function.

4 years agogithub-ci: add ebpf build 6059/head
Eric Leblond [Sun, 11 Apr 2021 19:27:15 +0000 (21:27 +0200)] 
github-ci: add ebpf build

Use Debian 10 to build eBPF.

4 years agoutil/ebpf: fix deprecation warning
Eric Leblond [Thu, 11 Feb 2021 22:32:38 +0000 (23:32 +0100)] 
util/ebpf: fix deprecation warning

The function bpf_program__title has been deprecated in favor of
bpf_program__section_name.

4 years agoebpf: fix gre encapsulation in xdp_lb
Eric Leblond [Fri, 9 Apr 2021 15:03:44 +0000 (17:03 +0200)] 
ebpf: fix gre encapsulation in xdp_lb

The xdp_lb was not handling correctly the GRE load balancing
and it was not supporting the GRE + ERSPAN that is used by
some aggregator devices.

4 years agoippair/bit: fix formatting
Juliana Fajardini [Wed, 14 Apr 2021 22:22:54 +0000 (23:22 +0100)] 
ippair/bit: fix formatting

4 years agoebpf/util: change flow storage to new 'id' type
Juliana Fajardini [Wed, 14 Apr 2021 13:15:59 +0000 (14:15 +0100)] 
ebpf/util: change flow storage to new 'id' type

4 years agodevice/storage: use dedicated 'id' type
Juliana Fajardini [Wed, 14 Apr 2021 22:16:07 +0000 (23:16 +0100)] 
device/storage: use dedicated 'id' type

- Wrap the id in a new LiveDevStorageId struct, to avoid id
 confusion with other storage API calls.
- Formatting fixes by clang.

4 years agodetect/engine-tag: fix typo
Juliana Fajardini [Wed, 14 Apr 2021 22:14:41 +0000 (23:14 +0100)] 
detect/engine-tag: fix typo

4 years agohost/storage: use dedicated 'id' type
Juliana Fajardini [Wed, 14 Apr 2021 22:12:28 +0000 (23:12 +0100)] 
host/storage: use dedicated 'id' type

- Wrap the id in a HostStorageId struct to avoid id confusion
with other storage API calls.
- Fix formatting with clang script.

4 years agoippair/storage: use dedicated 'id' type
Juliana Fajardini [Wed, 14 Apr 2021 22:09:02 +0000 (23:09 +0100)] 
ippair/storage: use dedicated 'id' type

- Wrap the id in a new IPPairStorageId struct, to avoid id
confusion with other storage API calls.
- Formatting fixes by clang.

4 years agooutput/log: Removed pcie (Tilera) log vestiges
Jeff Lucovsky [Mon, 12 Apr 2021 13:12:23 +0000 (09:12 -0400)] 
output/log: Removed pcie (Tilera) log vestiges

This commit removes the last remnants of the Tilera log output mechanism
(unsupported since 5.0.x).

4 years agooutput/log: Ensure files closed in threaded mode
Jeff Lucovsky [Sun, 11 Apr 2021 16:20:15 +0000 (12:20 -0400)] 
output/log: Ensure files closed in threaded mode

This commit ensures that file objects are closed in threaded mode.

4 years agoflow/storage: use dedicated 'id' type 6042/head
Victor Julien [Fri, 9 Apr 2021 10:56:01 +0000 (12:56 +0200)] 
flow/storage: use dedicated 'id' type

Wrap the id in a new FlowStorageId struct to avoid id confusion with other
storage API calls.

4 years agorust: remove exported unused functions
Philippe Antoine [Fri, 5 Feb 2021 14:17:41 +0000 (15:17 +0100)] 
rust: remove exported unused functions