Skip to content

Conversation

@catenacyber
Copy link
Contributor

Link to ticket: https://redmine.openinfosecfoundation.org/issues/
https://redmine.openinfosecfoundation.org/issues/7674

Describe changes:

  • on top of Vxlan tunnel 7717 v2.2 #14020
  • introduces configurable tunnel_id to distinguish same-looking (same 5-tuple) flows encapsulated in different tunnels
  • adds a config option to "skip" the packets that are not part of a tunnel on interfaces receiving tunneled traffic
  • handle xdp bypass of these encapsulated flows
  • use this new tunnel_id as a multi-tenant selector
  • EBPF is now in suricata --dump-features

Provide values to any of the below to override the defaults.

SV_BRANCH=OISF/suricata-verify#2747

#14017 rebased, with better SV test live

@suricata-qa
Copy link

WARNING:

field baseline test %
SURI_TLPR1_stats_chk
.uptime 654 632 96.64%

Pipeline = 28408

@catenacyber
Copy link
Contributor Author

Rebased and force-pushed this draft to get greener CI because SV was updated during the creation of this PR

@codecov
Copy link

codecov bot commented Nov 10, 2025

Codecov Report

❌ Patch coverage is 56.08974% with 137 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.96%. Comparing base (b21c93d) to head (949eecd).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14290      +/-   ##
==========================================
- Coverage   84.16%   83.96%   -0.21%     
==========================================
  Files        1012     1013       +1     
  Lines      261869   264347    +2478     
==========================================
+ Hits       220405   221957    +1552     
- Misses      41464    42390     +926     
Flag Coverage Δ
fuzzcorpus 63.25% <28.84%> (-0.07%) ⬇️
livemode 18.48% <11.21%> (-0.29%) ⬇️
pcap 44.77% <29.80%> (+0.09%) ⬆️
suricata-verify 64.91% <54.73%> (-0.02%) ⬇️
unittests 58.68% <17.53%> (-0.55%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@catenacyber
Copy link
Contributor Author

So, we have a rights problem on github CI even as root... Any ideas there ?
Can someone reproduce the test locally besides me ?

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline = 28437

catenacyber and others added 15 commits November 13, 2025 09:17
Instead of directly accessing the field

Will allow PacketTunnelType to hold the precise tunnel type like
DECODE_TUNNEL_ERSPANII with a modification of PacketIsTunnelChild
So that we know for a packet which precise type of tunnel it
is (like erspan2).
ebpf program does not handle 3 layers of vlan
Ticket: 7717

Allows for instance to process/log ARP packets over VXLAN.

That means we need to decode the ethernet layer above vxlan
instead of skipping it as part of the vxlan, even if the vxlan
decoder still checks the ethernet layer to avoid FPs.
Ticket: 7674

To distinguish flows with the same 5-tuple but coming from different
tunnel sources.
Ticket: 7674

On interfaces meant to receive only tunneled traffic
for SV to run tests based on the presence of this feature
so as to run ebpf live tests
@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline = 28459

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline = 28460

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants