mirror of https://github.com/OISF/suricata
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.
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
|
8 months ago | |
---|---|---|
.. | ||
.cargo | 1 year ago | |
derive | 9 months ago | |
src | 8 months ago | |
.gitignore | 1 year ago | |
Cargo.lock.in | 8 months ago | |
Cargo.toml.in | 8 months ago | |
Makefile.am | 1 year ago | |
cbindgen.toml | 3 years ago | |
rustfmt.toml |