Commit Graph

11 Commits (79d308db7393b81a6bdf3b98f0e5643c16a51fa6)

Author SHA1 Message Date
Victor Julien b1d4931842 rust: fix warnings about wrong type of comments
"rustdoc does not generate documentation for macro expansions"
7 years ago
Pierre Chifflier f22695130b rust: nom4 requires to add complete!() when using many! combinators 8 years ago
Pierre Chifflier 13b7399790 rust: upgrade all parsers to nom4 8 years ago
Victor Julien 73fac478a2 rust/dns: fix nom verbose error mode 9 years ago
Jason Ish 5a8537fe4a rust/dns - convert more type values to text
Issue:
https://redmine.openinfosecfoundation.org/issues/2364

Convert more record type and errr code values to text.
Remove duplicate type declarations.
9 years ago
Jason Ish 40991cab82 rust/dns: handle multiple txt strings
Fix handling of TXT records when there are multiple strings
in a single TXT record. For now, conform to the C implementation
where an answer record is created for each string in a single
txt record.

Also removes the data_len field from the answer entry. In Rust,
the length is available from actual data, which after decoding
may actually be different than the encoded data length, so just
use the length from the actual data.
9 years ago
Jason Ish 4bdb722371 rust/dns: fix unit tests on Rust 1.7.0 9 years ago
Jason Ish 2aebfbce94 rust/dns: support txt records 9 years ago
Jason Ish 33e09a0002 rust dns: fixup for nom 3.0 9 years ago
Jason Ish 73388042b2 rust: DNS app-layer.
A DNS application layer in Rust. This is different than the
C based one, as it is partially stateless by not matching
up responses to replies.
9 years ago
Jason Ish 9449739dd5 rust: dns: nom DNS parsers 9 years ago