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 71212b78bd 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

(cherry picked from commit 19cf0f8133)
8 months ago
..
.cargo rust: rename .cargo/config to .cargo/config.toml 1 year ago
derive rust/applayer: use c_int as return type for get_info_by_id 9 months ago
src dns: provide events for recoverable parse errors 8 months ago
.gitignore rust: rename .cargo/config to .cargo/config.toml 1 year ago
Cargo.lock.in rust: update num-derive to 0.4.2 8 months ago
Cargo.toml.in rust: update num-derive to 0.4.2 8 months ago
Makefile.am rust: rename .cargo/config to .cargo/config.toml 1 year ago
cbindgen.toml ftp: add events for command too long 3 years ago
rustfmt.toml