]> git.ipfire.org Git - thirdparty/suricata.git/log
thirdparty/suricata.git
6 years agoaf-packet: Always fill in vlan_id 4016/head
Max Fillinger [Mon, 8 Jul 2019 16:21:42 +0000 (18:21 +0200)] 
af-packet: Always fill in vlan_id

The vlan tag will be filled in either from the extended header (for
kernel version >= 3.0) or from the packet itself.

Related to https://redmine.openinfosecfoundation.org/issues/3076

6 years agopfring: Always fill in vlan_id
Max Fillinger [Mon, 8 Jul 2019 16:00:55 +0000 (18:00 +0200)] 
pfring: Always fill in vlan_id

Previously, source-pfring.c would copy the vlan_id from the extended
header only if vlan.use-for-tracking was enabled. This commit removes
that check.

Related to https://redmine.openinfosecfoundation.org/issues/3076

6 years agodecode erspan: Always fill in vlan_id
Max Fillinger [Mon, 8 Jul 2019 14:51:46 +0000 (16:51 +0200)] 
decode erspan: Always fill in vlan_id

Fill in the vlan_id fields unconditionally. We can now remove the check
for the vlan.use-for-tracking setting in decode.c. The debug log message
is moved to suricata.c.

6 years agodecode vlan: Always fill in vlan_id
Max Fillinger [Mon, 8 Jul 2019 14:01:23 +0000 (16:01 +0200)] 
decode vlan: Always fill in vlan_id

Since the vlan.use-for-tracking setting is now handled in flow-hash.c,
we can fill in the vlan_id fields unconditionally. This makes the vlanh
fields unnecessary.

Related to https://redmine.openinfosecfoundation.org/issues/3076

6 years agoflow hash: Mask vlan_id if not used for tracking
Max Fillinger [Mon, 8 Jul 2019 10:51:41 +0000 (12:51 +0200)] 
flow hash: Mask vlan_id if not used for tracking

If vlan.use-for-tracking is disabled, set the vlan_id fields to 0 when
hashing or comparing flows. This is done using a bitmask as suggested by
Victor Julien in IRC, in order to avoid adding more branches to this
code.

Currently, suricata does not fill in vlan_id fields if
vlan.use-for-tracking is disabled and instead leaves them at the default
0 value, so this commit makes no functional change. This change is in
preparation for future commits where the vlan_ids will be always filled
in.

Related to https://redmine.openinfosecfoundation.org/issues/3076

6 years agoflow hash: Make CMP_FLOW macro an inline function
Max Fillinger [Fri, 5 Jul 2019 14:59:36 +0000 (16:59 +0200)] 
flow hash: Make CMP_FLOW macro an inline function

6 years agorunmodes: remove unused prototypes 4015/head
Victor Julien [Tue, 9 Jul 2019 12:02:20 +0000 (14:02 +0200)] 
runmodes: remove unused prototypes

6 years agoafl: fix afl-ftp causing FPE due to missing ippair
Victor Julien [Tue, 9 Jul 2019 11:48:16 +0000 (13:48 +0200)] 
afl: fix afl-ftp causing FPE due to missing ippair

6 years agorunmodes: remove no-Rust logic
Victor Julien [Tue, 9 Jul 2019 11:46:23 +0000 (13:46 +0200)] 
runmodes: remove no-Rust logic

6 years agorunmodes: simply default runmode logic
Victor Julien [Tue, 9 Jul 2019 11:20:44 +0000 (13:20 +0200)] 
runmodes: simply default runmode logic

6 years agorunmodes: code cleanups
Victor Julien [Tue, 9 Jul 2019 11:07:22 +0000 (13:07 +0200)] 
runmodes: code cleanups

6 years agoleak: Fixes leak in AppLayerProtoDetectPMRegisterPattern 4001/head
Philippe Antoine [Wed, 3 Jul 2019 09:34:26 +0000 (11:34 +0200)] 
leak: Fixes leak in AppLayerProtoDetectPMRegisterPattern

Fixes #3070

6 years agoleak: Fixes leak in DetectAppLayerEventPrepare
Philippe Antoine [Wed, 3 Jul 2019 14:39:19 +0000 (16:39 +0200)] 
leak: Fixes leak in DetectAppLayerEventPrepare

6 years agolog: use SCLogError instead of fprintf
Philippe Antoine [Wed, 3 Jul 2019 13:33:15 +0000 (15:33 +0200)] 
log: use SCLogError instead of fprintf

6 years agoleak: fixes leak in DetectAddressParse2 3994/head
Philippe Antoine [Wed, 3 Jul 2019 13:26:08 +0000 (15:26 +0200)] 
leak: fixes leak in DetectAddressParse2

6 years agogeoip: fix unittests w/o db present
Victor Julien [Fri, 21 Jun 2019 19:40:20 +0000 (21:40 +0200)] 
geoip: fix unittests w/o db present

6 years agomem: avoid potential shadow vars with 'len' name
Victor Julien [Fri, 21 Jun 2019 13:50:36 +0000 (15:50 +0200)] 
mem: avoid potential shadow vars with 'len' name

6 years agomem: add SCStrndup() function to wrap strndup().
Bill Meeks [Fri, 21 Jun 2019 13:27:48 +0000 (09:27 -0400)] 
mem: add SCStrndup() function to wrap strndup().

6 years agodetect/geoip: migrate to GeoIP2 database format
Bill Meeks [Fri, 21 Jun 2019 13:26:01 +0000 (09:26 -0400)] 
detect/geoip: migrate to GeoIP2 database format

Issue #2765

6 years agodetect/mpm: improve stats reporting
Victor Julien [Sun, 30 Jun 2019 18:55:18 +0000 (20:55 +0200)] 
detect/mpm: improve stats reporting

6 years agodetect: add ipv6.hdr sticky buffer
Victor Julien [Sun, 30 Jun 2019 09:07:39 +0000 (11:07 +0200)] 
detect: add ipv6.hdr sticky buffer

Inspects IPv6 header and extension headers.

6 years agodecode/ipv6: track length of ext hdrs
Victor Julien [Sun, 30 Jun 2019 09:07:05 +0000 (11:07 +0200)] 
decode/ipv6: track length of ext hdrs

6 years agodecoder/ipv6: minor cleanups
Victor Julien [Sun, 30 Jun 2019 08:26:24 +0000 (10:26 +0200)] 
decoder/ipv6: minor cleanups

Remove unused field and macros.

Minor code style cleanups.

6 years agodetect/ipv4: add ipv4.hdr sticky buffer
Victor Julien [Thu, 27 Jun 2019 05:05:18 +0000 (07:05 +0200)] 
detect/ipv4: add ipv4.hdr sticky buffer

6 years agodetect/tcp/udp: minor cleanups
Victor Julien [Wed, 26 Jun 2019 12:42:55 +0000 (14:42 +0200)] 
detect/tcp/udp: minor cleanups

6 years agodetect: introduce pkt mpm engines
Victor Julien [Fri, 28 Jun 2019 17:36:24 +0000 (19:36 +0200)] 
detect: introduce pkt mpm engines

Instead of the hardcode L4 matching in MPM that was recently introduced,
add an API similar to the AppLayer MPM and inspect engines.

Share part of the registration code with the AppLayer.

Implement for the tcp.hdr and udp.hdr keywords.

6 years agodetect: remove Threadvars argument from API calls
Victor Julien [Fri, 28 Jun 2019 17:29:55 +0000 (19:29 +0200)] 
detect: remove Threadvars argument from API calls

Remove it as it's (almost) never used. If it is really needed it can
be accessed through DetectEngineThreadCtx::tv as well.

6 years agodetect/bsize: support transforms in case w/o content
Victor Julien [Wed, 26 Jun 2019 09:12:22 +0000 (11:12 +0200)] 
detect/bsize: support transforms in case w/o content

6 years agopython: fix parsing Suricata version from configure.ac
Jason Ish [Fri, 28 Jun 2019 15:00:08 +0000 (09:00 -0600)] 
python: fix parsing Suricata version from configure.ac

If parsing the version fails, or no version is found, fail
instead of defaulting to a version of 0.0.0.

6 years agodecoder/vxlan: improvements and cleanups 3977/head
Victor Julien [Wed, 26 Jun 2019 10:22:33 +0000 (12:22 +0200)] 
decoder/vxlan: improvements and cleanups

Implement port config handling. Also check both src port and dest
port for tunnels that only set the destination port to the VXLAN
port. At the point of the check we don't know the packet direction
yet.

Implement as Suricata tunnel similar to Teredo.

Cleanups.

6 years agodecoder/vxlan: initial implementation of decoder
Henrik Lund Kramshoej [Tue, 17 Jul 2018 05:37:12 +0000 (07:37 +0200)] 
decoder/vxlan: initial implementation of decoder

6 years agomem: fix shadow declaration warning 3963/head
Victor Julien [Fri, 21 Jun 2019 11:14:21 +0000 (13:14 +0200)] 
mem: fix shadow declaration warning

Avoid clash by adding a leading underscore to the declaration in the
macro. These temporary vars should never clash with valid variables
from the code where they are called from.

6 years agodoc: add tcp.hdr and udp.hdr
Victor Julien [Fri, 21 Jun 2019 09:10:13 +0000 (11:10 +0200)] 
doc: add tcp.hdr and udp.hdr

6 years agowarnings : Fixes integer sizes in format strings
Philippe Antoine [Thu, 20 Jun 2019 07:45:11 +0000 (09:45 +0200)] 
warnings : Fixes integer sizes in format strings

6 years agoconfigure: update configure.ac to reflect modern autoconf syntax
Andreas Herz [Tue, 18 Jun 2019 22:07:43 +0000 (00:07 +0200)] 
configure: update configure.ac to reflect modern autoconf syntax

6 years agorust/snmp: add event when expected/received PDU versions mismatch
Pierre Chifflier [Tue, 18 Jun 2019 15:05:39 +0000 (17:05 +0200)] 
rust/snmp: add event when expected/received PDU versions mismatch

6 years agorust/snmp: use generic parsing function, for all SNMP versions
Pierre Chifflier [Tue, 18 Jun 2019 14:34:04 +0000 (16:34 +0200)] 
rust/snmp: use generic parsing function, for all SNMP versions

Do no restrict parsing to the version seen in the first packet, but
use a generic function, independent of the version.

6 years agodns-log: remove from config
Jason Ish [Tue, 18 Jun 2019 05:00:48 +0000 (23:00 -0600)] 
dns-log: remove from config

dns-log has been removed from the code.

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

6 years agoprofiling: fix undefined profiling code use
Victor Julien [Wed, 19 Jun 2019 15:03:28 +0000 (17:03 +0200)] 
profiling: fix undefined profiling code use

6 years agodetect: add udp.hdr sticky buffer
Victor Julien [Wed, 19 Jun 2019 14:51:44 +0000 (16:51 +0200)] 
detect: add udp.hdr sticky buffer

6 years agodetect/tcp: rename tcp keyword files
Victor Julien [Wed, 19 Jun 2019 12:10:09 +0000 (14:10 +0200)] 
detect/tcp: rename tcp keyword files

6 years agodetect/tcp: add tcp.<field> notation variants
Victor Julien [Wed, 19 Jun 2019 12:00:18 +0000 (14:00 +0200)] 
detect/tcp: add tcp.<field> notation variants

6 years agodetect/prefilter: minor error handling cleanup
Victor Julien [Wed, 19 Jun 2019 10:48:22 +0000 (12:48 +0200)] 
detect/prefilter: minor error handling cleanup

6 years agodetect: tcp.hdr sticky buffer
Victor Julien [Wed, 19 Jun 2019 10:54:13 +0000 (12:54 +0200)] 
detect: tcp.hdr sticky buffer

Sticky buffer to inspect the TCP header.

6 years agodetect/mpm: add l4-header support
Victor Julien [Wed, 19 Jun 2019 07:08:15 +0000 (09:08 +0200)] 
detect/mpm: add l4-header support

Prepare MPM part of the detection engine for a new type of per
packet matching, where the L4 header will be inspected.

Preparation for TCP header inspection keyword.

6 years agodetect: pkt inspect engines
Victor Julien [Wed, 19 Jun 2019 10:53:52 +0000 (12:53 +0200)] 
detect: pkt inspect engines

Instead of hard coded calls to the inspection logic for
payload inspection and 'MATCH'-list inspection use a callback
approach. This will register a callback per 'sm_list' much like
how app-layer inspect engines are registered.

This will allow for adding more types later without adding
runtime overhead.

Implement the callback for the PMATCH and MATCH logic.

6 years agodetect/build: minor code cleanups
Victor Julien [Tue, 18 Jun 2019 18:21:00 +0000 (20:21 +0200)] 
detect/build: minor code cleanups

6 years agodoc: document tcp.mss keyword
Victor Julien [Tue, 18 Jun 2019 13:05:51 +0000 (15:05 +0200)] 
doc: document tcp.mss keyword

6 years agodetect: add tcp.mss keyword
Victor Julien [Tue, 18 Jun 2019 12:39:28 +0000 (14:39 +0200)] 
detect: add tcp.mss keyword

Allows matching on TCP option MSS.

Syntax:

    tcp.mss:<value>;
    tcp.mss:<value1>-<value2>;
    tcp.mss:<op><value>;

Operator can be: >, <.

6 years agooutput/json: Avoid use of uninitialized value
Jeff Lucovsky [Thu, 13 Jun 2019 23:52:07 +0000 (19:52 -0400)] 
output/json: Avoid use of uninitialized value

In JsonPacket, a Base64Decode error could cause an uninitialized
variable to be used because its return value is ignored.

6 years agorust/snmp: Support get-info-by-id
Jeff Lucovsky [Tue, 11 Jun 2019 22:56:59 +0000 (18:56 -0400)] 
rust/snmp: Support get-info-by-id

6 years agorust/ntp: Support get-info-by-id
Jeff Lucovsky [Tue, 11 Jun 2019 22:56:43 +0000 (18:56 -0400)] 
rust/ntp: Support get-info-by-id

6 years agorust/krb: Support get-info-by-id
Jeff Lucovsky [Tue, 11 Jun 2019 22:56:28 +0000 (18:56 -0400)] 
rust/krb: Support get-info-by-id

6 years agorust/ikev2: Support get-info-by-id
Jeff Lucovsky [Tue, 11 Jun 2019 22:56:11 +0000 (18:56 -0400)] 
rust/ikev2: Support get-info-by-id

6 years agorust/dhcp: Support get-info-by-id
Jeff Lucovsky [Tue, 11 Jun 2019 22:55:36 +0000 (18:55 -0400)] 
rust/dhcp: Support get-info-by-id

6 years agorust/parser: Extend Rust parser for event-by-id
Jeff Lucovsky [Tue, 11 Jun 2019 22:53:35 +0000 (18:53 -0400)] 
rust/parser: Extend Rust parser for event-by-id

Extend the Rust parsing infrastructure with the "get event info by id"
calls. This changeset extends the parser structure, the C-based
registration handlers and the template parser.

6 years agosnmp: Fix type
Jeff Lucovsky [Sun, 9 Jun 2019 11:25:37 +0000 (07:25 -0400)] 
snmp: Fix type

6 years agorust/smb: Implement get event by id
Jeff Lucovsky [Sat, 8 Jun 2019 20:07:23 +0000 (16:07 -0400)] 
rust/smb: Implement get event by id

6 years agorust/snmp: fix libc deprecation warnings
Jeff Lucovsky [Sat, 8 Jun 2019 13:17:37 +0000 (09:17 -0400)] 
rust/snmp: fix libc deprecation warnings

6 years agorust: remove libc crate dependency
Victor Julien [Mon, 3 Jun 2019 15:04:21 +0000 (17:04 +0200)] 
rust: remove libc crate dependency

Use std::os::raw instead.

6 years agonfs: implement get_event_info_by_id callback
Victor Julien [Mon, 3 Jun 2019 14:08:29 +0000 (16:08 +0200)] 
nfs: implement get_event_info_by_id callback

6 years agorust/gen: turn *mut*const T into const T **
Victor Julien [Mon, 3 Jun 2019 14:21:15 +0000 (16:21 +0200)] 
rust/gen: turn *mut*const T into const T **

6 years agouserguide: Document app-layer anomaly items
Jeff Lucovsky [Sat, 1 Jun 2019 14:45:42 +0000 (07:45 -0700)] 
userguide: Document app-layer anomaly items

This changeset expands the anomaly section to include newly added
app-layer items.

6 years agoeve/logging: 2991 Optimize logging by TX
Jeff Lucovsky [Sat, 25 May 2019 20:38:45 +0000 (13:38 -0700)] 
eve/logging: 2991 Optimize logging by TX

This changeset makes changes to the TX logging path. Since the txn
is passed to the TX logger, the TX can be used directly instead of
through the TX id.

6 years agologging/anomaly: Track event log progress
Jeff Lucovsky [Tue, 21 May 2019 21:56:32 +0000 (14:56 -0700)] 
logging/anomaly: Track event log progress

This changeset adds a mechanism to track when individual events
are logged. Transactions can be provided more than once; track
events to prevent event re-logging.

6 years agoapp-layer: Extend event container with progress
Jeff Lucovsky [Tue, 21 May 2019 21:55:45 +0000 (14:55 -0700)] 
app-layer: Extend event container with progress

6 years agologging/anomaly: TX based logging addition
Jeff Lucovsky [Fri, 17 May 2019 00:11:49 +0000 (17:11 -0700)] 
logging/anomaly: TX based logging addition

6 years agoapp-layer/logging Add TX packet logging support
Jeff Lucovsky [Fri, 17 May 2019 00:10:56 +0000 (17:10 -0700)] 
app-layer/logging Add TX packet logging support

Add transactional logging support for packet based loggers, like
the anomaly logger.

6 years agoapp-layer/logging: protocol parser updates
Jeff Lucovsky [Tue, 14 May 2019 23:58:47 +0000 (16:58 -0700)] 
app-layer/logging: protocol parser updates

6 years agologging: anomaly log updates
Jeff Lucovsky [Tue, 14 May 2019 23:57:51 +0000 (16:57 -0700)] 
logging: anomaly log updates

6 years agoapp-layer: Initial app layer logging
Jeff Lucovsky [Mon, 13 May 2019 21:58:21 +0000 (14:58 -0700)] 
app-layer: Initial app layer logging

6 years agoflow: no bypass manager for Windows 3961/head
Victor Julien [Thu, 20 Jun 2019 07:16:41 +0000 (09:16 +0200)] 
flow: no bypass manager for Windows

6 years agobypass: switch to gettimeofday
Victor Julien [Wed, 19 Jun 2019 17:39:52 +0000 (19:39 +0200)] 
bypass: switch to gettimeofday

6 years agomingw: fix compile error
Victor Julien [Tue, 18 Jun 2019 13:58:36 +0000 (15:58 +0200)] 
mingw: fix compile error

Declare _POSIX_C_SOURCE before sys/time.h to avoid:

util-time.c: In function 'SCUtcTime':
util-time.c:222:12: error: implicit declaration of function 'gmtime_r'; did you mean 'gmtime_s'? [-Werror=implicit-function-declaration]
  222 |     return gmtime_r(&timep, result);
      |            ^~~~~~~~
      |            gmtime_s
util-time.c:222:12: warning: returning 'int' from a function with return type 'struct tm *' makes pointer from integer without a cast [-Wint-conversion]
  222 |     return gmtime_r(&timep, result);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
util-time.c: In function 'SCLocalTime':
util-time.c:305:9: error: implicit declaration of function 'localtime_r'; did you mean 'localtime_s'? [-Werror=implicit-function-declaration]
  305 |         localtime_r(&timep, &cached_local_tm[lru]);
      |         ^~~~~~~~~~~
      |         localtime_s
util-time.c:321:56: warning: comparison between pointer and integer
  321 |         if (localtime_r(&timep, &cached_local_tm[lru]) == NULL)
      |                                                        ^~
cc1.exe: some warnings being treated as errors

Tickets: #2994 #3051

6 years agodoc: address norg comments on eBPF doc 3952/head
Eric Leblond [Fri, 14 Jun 2019 20:08:51 +0000 (22:08 +0200)] 
doc: address norg comments on eBPF doc

6 years agodoc: specify config file in ebpf doc
Eloïse Brocas [Wed, 12 Jun 2019 09:37:10 +0000 (11:37 +0200)] 
doc: specify config file in ebpf doc

This patch updates the ebpf-xdp.rst file to specify which
configuration file has to be modified.

6 years agoutil-ebpf: fix creation of flow from pinned maps
Eric Leblond [Wed, 12 Jun 2019 00:52:56 +0000 (02:52 +0200)] 
util-ebpf: fix creation of flow from pinned maps

6 years agoaf-packet: xdp pinned maps need to be read
Eric Leblond [Tue, 11 Jun 2019 22:43:47 +0000 (00:43 +0200)] 
af-packet: xdp pinned maps need to be read

6 years agoflow-bypass: registration of non periodic check
Eric Leblond [Tue, 11 Jun 2019 22:40:23 +0000 (00:40 +0200)] 
flow-bypass: registration of non periodic check

This patch adds the capability to register a set of functions
without providing a periodic check function. This permit to
run a task only at init.

6 years agoflow-hash: real hash computation for FlowKey
Eric Leblond [Tue, 11 Jun 2019 21:38:55 +0000 (23:38 +0200)] 
flow-hash: real hash computation for FlowKey

6 years agoutil-ebpf: log bypassed flow maps count
Eric Leblond [Tue, 11 Jun 2019 21:38:25 +0000 (23:38 +0200)] 
util-ebpf: log bypassed flow maps count

6 years agodoc: info for new bypass counters
Eric Leblond [Tue, 11 Jun 2019 21:01:22 +0000 (23:01 +0200)] 
doc: info for new bypass counters

6 years agobypass: add counter for local captured bypass
Eric Leblond [Tue, 11 Jun 2019 20:21:45 +0000 (22:21 +0200)] 
bypass: add counter for local captured bypass

Packets from captured bypassed flows that are received by Suricata
before the capture method start to bypass them can represent an
important part due to various buffer and insertion delay.

This patch adds a two counters to know the number of packets and
bytes in this case.

6 years agobypass: flow bypass is not ebpf only
Eric Leblond [Tue, 11 Jun 2019 20:05:59 +0000 (22:05 +0200)] 
bypass: flow bypass is not ebpf only

6 years agoutil-ebpf: early exit if no map
Eric Leblond [Tue, 11 Jun 2019 20:05:34 +0000 (22:05 +0200)] 
util-ebpf: early exit if no map

6 years agoutil-ebpf: reindex
Eric Leblond [Tue, 11 Jun 2019 18:30:14 +0000 (20:30 +0200)] 
util-ebpf: reindex

6 years agoaf-packet: some conditional fields
Eric Leblond [Tue, 11 Jun 2019 14:53:28 +0000 (16:53 +0200)] 
af-packet: some conditional fields

6 years agodoc: update bypass stats doc
Eric Leblond [Mon, 10 Jun 2019 21:20:25 +0000 (23:20 +0200)] 
doc: update bypass stats doc

6 years agobypass: bytes and pkts counters for local bypass
Eric Leblond [Mon, 10 Jun 2019 20:48:10 +0000 (22:48 +0200)] 
bypass: bytes and pkts counters for local bypass

6 years agoaf-packet: better accounting and error handling
Eric Leblond [Mon, 10 Jun 2019 14:40:47 +0000 (16:40 +0200)] 
af-packet: better accounting and error handling

This patch improves the bypass error handling add adds more counters
to the interface so it is possible to get a view on success and
failure of insertion in the eBPF maps via the `iface-bypassed-stat`
command.

6 years agoutil-ebpf: optimization on flow storage queries
Eric Leblond [Mon, 10 Jun 2019 12:55:20 +0000 (14:55 +0200)] 
util-ebpf: optimization on flow storage queries

6 years agoutil-ebpf: simplify free function
Eric Leblond [Mon, 10 Jun 2019 10:23:11 +0000 (12:23 +0200)] 
util-ebpf: simplify free function

First key can't be null.

6 years agoutil-ebpf: set livedev in flow
Eric Leblond [Mon, 10 Jun 2019 10:18:21 +0000 (12:18 +0200)] 
util-ebpf: set livedev in flow

This will fix the accounting for pinned maps as the livedev field
of Flow is used to do the accounting of bypass flows.

6 years agoutil-device: introduce bypassed stats sub function
Eric Leblond [Mon, 10 Jun 2019 10:11:43 +0000 (12:11 +0200)] 
util-device: introduce bypassed stats sub function

6 years agoflow-manager: move bypass timeout to a inline func
Eric Leblond [Mon, 10 Jun 2019 09:45:33 +0000 (11:45 +0200)] 
flow-manager: move bypass timeout to a inline func

6 years agoutil-ebpf: case is not possible so remove warning
Eric Leblond [Sun, 9 Jun 2019 23:11:17 +0000 (01:11 +0200)] 
util-ebpf: case is not possible so remove warning

6 years agobypass: implement iface-bypassed-stat for callback
Eric Leblond [Sun, 9 Jun 2019 22:55:17 +0000 (00:55 +0200)] 
bypass: implement iface-bypassed-stat for callback

6 years agobypass: account callback method in stats
Eric Leblond [Sun, 9 Jun 2019 22:03:57 +0000 (00:03 +0200)] 
bypass: account callback method in stats

6 years agobypass: restore interface counter
Eric Leblond [Sun, 9 Jun 2019 21:32:36 +0000 (23:32 +0200)] 
bypass: restore interface counter

6 years agobypass: compress flow keys structure
Eric Leblond [Sun, 9 Jun 2019 21:00:53 +0000 (23:00 +0200)] 
bypass: compress flow keys structure