You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/rust
Jason Ish 19cf0f8133 dns: provide events for recoverable parse errors
Add events for the following resource name parsing issues:

- name truncated as its too long
- maximum number of labels reached
- infinite loop

Currently these events are only registered when encountered, but
recoverable. That is where we are able to return some of the name,
usually in a truncated state.

As name parsing has many code paths, we pass in a pointer to a flag
field that can be updated by the name parser, this is done in
addition to the flags being set on a specific name as when logging we
want to designate which fields are truncated, etc. But for alerts, we
just care that something happened during the parse. It also reduces
errors as it won't be forgotten to check for the flags and set the
event if some new parser is written that also parses names.

Ticket: #7280
2 years ago
..
.cargo rust: rename .cargo/config to .cargo/config.toml 2 years ago
derive app-layer: use uint8_t consistent for event IDs 2 years ago
src dns: provide events for recoverable parse errors 2 years ago
.gitignore rust: rename .cargo/config to .cargo/config.toml 2 years ago
Cargo.lock.in rust: update num-derive to 0.4.2 2 years ago
Cargo.toml.in rust: update num-derive to 0.4.2 2 years ago
Makefile.am rust: put all rust/cargo env vars in CARGO_ENV 2 years ago
cbindgen.toml transforms: move strip_whitespace to rust 2 years ago
rustfmt.toml