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/sip: add sticky buffers to match headers v4 #11330

Closed
wants to merge 12 commits into from

Commits on Jun 19, 2024

  1. detect/sip: add stub file for headers keywords

    A stub file has been added to implement the sticky buffers for SIP headers.
    
    Ticket OISF#6374
    glongo committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    f73c43d View commit details
    Browse the repository at this point in the history
  2. rust/sip: store multiple header values

    According to RFC 3261, a single header can be repeated one or more times,
    and its name can also be specified using the 'compact form.'
    
    This patch updates the hashmap used for storing headers to accommodate multiple
    values instead of just one.
    
    Additionally, if a header name is defined in the compact form, it is expanded
    into its long form (i.e., the standard name).
    
    This conversion simplifies the logic for matching a given header
    and ensures 1:1 parity with keywords.
    
    Ticket OISF#6374
    glongo committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    ab8e054 View commit details
    Browse the repository at this point in the history
  3. rust/sip: store response headers

    To match on response SIP headers, those headers must be stored.
    
    Ticket OISF#6374
    glongo committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    8a0fa35 View commit details
    Browse the repository at this point in the history
  4. rust/sip: match on headers map

    Ticket OISF#6374
    glongo committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    65236a2 View commit details
    Browse the repository at this point in the history
  5. detect/sip: add sip.from sticky buffer

    Ticket OISF#6374
    glongo committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    b56eec5 View commit details
    Browse the repository at this point in the history
  6. detect/sip: add sip.to sticky buffer

    Ticket OISF#6374
    glongo committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    00ef079 View commit details
    Browse the repository at this point in the history
  7. detect/sip: add sip.via sticky buffer

    Ticket OISF#6374
    glongo committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    a16ec14 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4d96d0c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    025dcaa View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a7923d9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9368204 View commit details
    Browse the repository at this point in the history
  12. doc: add new sip keywords

    glongo committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    5334c3f View commit details
    Browse the repository at this point in the history