mirror of https://github.com/OISF/suricata
ftp: do not set alproto if one was already found
Ticket: 4857 If a pattern such as GET is seen ine the beginning of the file transferred over ftp-data, this flow will get recognized as HTTP, and a HTTP state will be created during parsing. Thus, we cannot override directly alproto's values This solves the segfault, but not the logical bug that the flow should be classified as FTP-DATA instead of HTTPpull/6705/head
parent
a02f263e56
commit
dd32238667
Loading…
Reference in New Issue