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

ftp: do not set alproto if one was already found #6651

Closed
wants to merge 1 commit into from

Commits on Nov 29, 2021

  1. 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 HTTP
    catenacyber committed Nov 29, 2021
    Configuration menu
    Copy the full SHA
    71489d0 View commit details
    Browse the repository at this point in the history