Skip to content

next/1394/20260617/v1 - #15663

Merged
victorjulien merged 4 commits into
OISF:mainfrom
victorjulien:next/1394/20260617/v1
Jun 18, 2026
Merged

next/1394/20260617/v1#15663
victorjulien merged 4 commits into
OISF:mainfrom
victorjulien:next/1394/20260617/v1

Conversation

@victorjulien

Copy link
Copy Markdown
Member

jasonish and others added 4 commits June 17, 2026 19:29
In FTP, the first transaction is a banner from the server. Skip TS
inspection on this transaction.

Allows firewall mode to get past this transaction and onto the next.

Ticket: OISF#8662
The ftpdata_command would never match a RETR in the to_server direction,
or a STOR in the to_client direction, this effectively makes the
ftpdata_command applicable to passive mode only.

Instead, remove the directionality on the ftpdata_command. Its "meta"
information passed from the control channel and isn't really
directional. I think the idea was to abstract away active/passive from
the rule writer, but unfortunately doesn't allow the ftpdata_command
keyword to work in the more strict firewll mode.

Ticket: OISF#8663
@victorjulien
victorjulien requested review from a team and jasonish as code owners June 18, 2026 00:12
@codecov

codecov Bot commented Jun 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 87.98479% with 158 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.93%. Comparing base (097975e) to head (ca34fba).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #15663      +/-   ##
==========================================
+ Coverage   82.91%   82.93%   +0.01%     
==========================================
  Files        1006     1006              
  Lines      273690   274472     +782     
==========================================
+ Hits       226942   227642     +700     
- Misses      46748    46830      +82     
Flag Coverage Δ
fuzzcorpus 61.52% <87.56%> (+0.13%) ⬆️
livemode 18.40% <0.00%> (-0.07%) ⬇️
netns 22.75% <0.00%> (-0.09%) ⬇️
pcap 45.40% <77.31%> (+0.17%) ⬆️
suricata-verify 66.83% <77.85%> (+0.11%) ⬆️
unittests 58.43% <6.38%> (-0.10%) ⬇️

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.

@suricata-qa

Copy link
Copy Markdown

Information: QA ran without warnings.

Pipeline = 32100

@victorjulien
victorjulien merged commit ca34fba into OISF:main Jun 18, 2026
107 of 108 checks passed
This was referenced Jun 18, 2026
@victorjulien
victorjulien deleted the next/1394/20260617/v1 branch June 18, 2026 05:04
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.

4 participants