Skip to content

dns: add a check before setting NDPI_MALFORMED_PACKET risk#2558

Merged
IvanNardi merged 1 commit into
ntop:devfrom
IvanNardi:dns
Sep 16, 2024
Merged

dns: add a check before setting NDPI_MALFORMED_PACKET risk#2558
IvanNardi merged 1 commit into
ntop:devfrom
IvanNardi:dns

Conversation

@IvanNardi

Copy link
Copy Markdown
Collaborator

"Invalid DNS Header"-risk should be set only if the flow has been already classified as DNS. Otherwise, almost any non-DNS flows on port 53 will end up having the NDPI_MALFORMED_PACKET risk set, which is a little bit confusing for non DNS traffic

"Invalid DNS Header"-risk should be set only if the flow has been
already classified as DNS. Otherwise, almost any non-DNS flows on port 53
will end up having the `NDPI_MALFORMED_PACKET` risk set, which is a little
bit confusing for non DNS traffic
@sonarqubecloud

Copy link
Copy Markdown

@IvanNardi IvanNardi merged commit a1602dd into ntop:dev Sep 16, 2024
@IvanNardi IvanNardi deleted the dns branch September 16, 2024 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant