Project

General

Custom queries

Profile

Actions

Feature #7674

open

source/tunnels: config option to distinguish tunnels

Added by Philippe Antoine 2 months ago. Updated 22 days ago.

Status:
In Review
Priority:
Normal
Target version:
Effort:
Difficulty:
Label:

Description

The ebpf xdp_filter.c program does not handle encapsulated flows (with erspan, VXLAN, or some other tunnel)
But it could.

Even if it does, Suricata AFPXDPBypassCallback checks PacketIsTunnel and falls back to local bypass in this case

The feature request here is to
  • Have config options for which kinds of tunnels AFPXDPBypassCallback can handle
  • have the example xdp_filter.c handle these

Some other improvements to xdp_filter.c will be proposed : ARP bypass, and tunnel stripping ( related to https://github.com/OISF/suricata/pull/11472 )


Related issues 1 (1 open0 closed)

Related to Suricata - Bug #7717: vxlan: treat as its own tunnelIn ReviewPhilippe AntoineActions
#1

Updated by Philippe Antoine about 1 month ago

  • Subject changed from xdp: possibility to bypass encapsulated flows to source/tunnels: config option to distinguish tunnels
#2

Updated by Philippe Antoine about 1 month ago

  • Related to Bug #7717: vxlan: treat as its own tunnel added
#3

Updated by Philippe Antoine 22 days ago

  • Status changed from New to In Review
Actions

Also available in: Atom PDF