Actions
Bug #3914
closedProtocol detection gets not retries on protocol change if there is not enough data
Affected Versions:
Effort:
Difficulty:
Label:
Description
Fix is part of https://github.com/OISF/suricata/pull/5380 : https://github.com/OISF/suricata/pull/5380/commits/a65432cba8abf0a6324992e2d029158ac5c42e33
Suricata-Verify test is based on unit test HTPParserTest18 which runs the inputs
c2s CONNECT abc:443 HTTP/1.1\r\nUser-Agent: Victor/1.0\r\n\r\n s2c HTTP/1.1 200 OK\r\nServer: VictorServer/1.0\r\n\r\n c2s GE c2s T / HTTP/1.1\r\nUser-Agent: Victor/1.0\r\n\r\n s2c HTTP/1.1 200 OK\r\nServer: VictorServer/1.0\r\n\r\n
After successful connect, we look for a new protocol.
But HTTP detection does not work because the input is too small for a decision
Actions