Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flow timing/v4.1 stream rst/v1.1 #2215

Closed

Conversation

victorjulien
Copy link
Member

#2154 and #2203

Test checked for a flow log being generated by shutdown, but it is
possible to have the flow manager handle it before shutdown. So in that
case it would be "timeout". Since the test isn't about that, remove the
check.
Tests various forms of RST triggering handling of unACK'd data.
Add tests for bad handling of unacked data following a RST.
@@ -0,0 +1,560 @@
%YAML 1.1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need a so big suricata.yaml ?

Copy link
Member Author

@victorjulien victorjulien Jan 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not so big I think, just app layer and eve sections really

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, but how is it different than the default suricata.yaml ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(no big deal anyways)

count: 1
match:
event_type: fileinfo
fileinfo.sha256: 8ff57c7fc0d4babd27e2e914ad9b556b1b980a69710d3917266ec1cb4edbb782
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need multiple tests ? What is the difference between tcp-rst-unacked-stream-10 and tcp-rst-unacked-stream-9 ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they are just multiple failure cases from tlpw1, showing slightly different issues (e.g. the flow counting being off in one shows that there are multiple paths taken)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(e.g. the flow counting being off in one shows that there are multiple paths taken)

I do not understand this

Running suricata master on these tests I find stats.app_layer.flow.http: 1 for both tcp-rst-unacked-stream-09 and tcp-rst-unacked-stream-10
(so my interpretation of flow counting being off in one is not correct)

@victorjulien
Copy link
Member Author

replaced by #2226

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