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

http0.9: process headers if there are non-space characters #410

Closed
wants to merge 1 commit into from

Conversation

catenacyber
Copy link
Contributor

Previously, we fell back on HTTP/0.9 if there was a missing protocol except if the following line contained a colon.

We make libhtp simpler by only switching to HTTP/0.9 if we have only spaces afterwards

#405 now that cccs-rtmorti/libhtp-rs#10 was merged to check CIFuzz again

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54982&q=label%3AProj-libhtp&can=2

Previously, we fell back on HTTP/0.9 if there was a missing protocol
except if the following line cintained a colon.

This makes libhtp stricter to consider a transaction as 0.9
by only accepting if we have spaces after the request line

as done in libhtp-rs
@victorjulien
Copy link
Member

Are there Suricata-Verify tests for this?

@catenacyber
Copy link
Contributor Author

Are there Suricata-Verify tests for this?

No, there is the unit test 23-http09-multiple.t

@victorjulien
Copy link
Member

Can you craft a SV test for this issue?

@catenacyber
Copy link
Contributor Author

Do you also want a redmine ticket for this ?

@catenacyber
Copy link
Contributor Author

Replaced by #412
S-V test is OISF/suricata-verify#1561

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