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

Conversation

simdugas
Copy link
Contributor

@simdugas simdugas commented Aug 27, 2020

Make sure these boxes are signed before submitting your Pull Request -- thank you.

Link to redmine ticket:

Link to previous PR:

Link to suricata-verify PR:

Describe changes since last pull request:

  • Rebased master to use new JsonBuilder.
  • Fixed bug for missing js.close()? in dns_log_sshfp.

Represent rdata as `DNSRData` enum variants instead of `Vec<u8>`.
This will allow parsing/logging of more complex formats like SOA.
Using nom's `rest` combinator eliminates the need to call the do_parse
macro for parsing a single element.
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.
Documentation of additional fields for soa and sshfp. Also some minor
doc fixes and updates.
@victorjulien victorjulien added this to the 6.0 milestone Sep 3, 2020
This was referenced Sep 4, 2020
@victorjulien
Copy link
Member

Merged in #5361, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants