Content-Length: 262477 | pFad | http://github.com/OISF/suricata/pull/12422/commits/0ccc28cffe1f5e597600c54de05e5e03f277c522

76 Detect rule hook/v7 by victorjulien · Pull Request #12422 · OISF/suricata · GitHub
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

Detect rule hook/v7 #12422

Closed
wants to merge 17 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tls: fix handshake handling being too strict
e.g. server hello done has no data
  • Loading branch information
victorjulien committed Feb 16, 2025
commit 0ccc28cffe1f5e597600c54de05e5e03f277c522
4 changes: 1 addition & 3 deletions src/app-layer-ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1664,6 +1664,7 @@ static int SupportedHandshakeType(const uint8_t type)
}

/**
* \param input_len length of bytes after record header. Can be 0 (e.g. for server hello done).
* \retval parsed number of consumed bytes
* \retval < 0 error
*/
Expand All @@ -1673,9 +1674,6 @@ static int SSLv3ParseHandshakeType(SSLState *ssl_state, const uint8_t *input,
const uint8_t *initial_input = input;
int rc;

if (input_len == 0) {
return 0;
}
DEBUG_VALIDATE_BUG_ON(RecordAlreadyProcessed(ssl_state->curr_connp));

switch (ssl_state->curr_connp->handshake_type) {
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/OISF/suricata/pull/12422/commits/0ccc28cffe1f5e597600c54de05e5e03f277c522

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy