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

Clean up response line vars if htp_treat_response_line_as_body #160

Closed
rlmaers opened this issue Nov 2, 2017 · 1 comment
Closed

Clean up response line vars if htp_treat_response_line_as_body #160

rlmaers opened this issue Nov 2, 2017 · 1 comment

Comments

@rlmaers
Copy link

rlmaers commented Nov 2, 2017

The function htp_connp_RES_LINE checks if the response line is valid or if it should be treated as body in case we're missing parts of the stream. However, if the htp_treat_response_line_as_body function returns one, then the old values in tx->response_line, tx->response_protocol, tx->response_status and tx->response_message remain. This results invalid output in Suricata.

@rlmaers rlmaers changed the title Clean up response line if htp_treat_response_line_as_body Clean up response line vars if htp_treat_response_line_as_body Nov 2, 2017
@victorjulien
Copy link
Member

Closing as #161 was merged. Thanks!

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

No branches or pull requests

2 participants