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

dns: parse and log soa data - v5 #5331

Closed

Commits on Aug 27, 2020

  1. dns: refactor to handle more rdata formats

    Represent rdata as `DNSRData` enum variants instead of `Vec<u8>`.
    This will allow parsing/logging of more complex formats like SOA.
    simdugas committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    025b4cb View commit details
    Browse the repository at this point in the history
  2. dns: use nom's rest to take all remaining rdata

    Using nom's `rest` combinator eliminates the need to call the do_parse
    macro for parsing a single element.
    simdugas committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    0d20868 View commit details
    Browse the repository at this point in the history
  3. dns: parse and log fields for SOA record type

    Added `dns_parse_rdata_soa` to parse SOA fields into an `DNSRDataSOA`
    struct.
    
    Added logging for answer and authority SOA records in both version
    1 & 2, as well as grouped formats.
    simdugas committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    c5d81e5 View commit details
    Browse the repository at this point in the history
  4. doc: dns - document additional fields in eve event

    Documentation of additional fields for soa and sshfp. Also some minor
    doc fixes and updates.
    simdugas committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    f915f56 View commit details
    Browse the repository at this point in the history