Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@IvanNardi
Copy link
Collaborator

We are not able to remove custom rules: remove the empty stubs (which originate from the original OpenDPI code).

ndpi_guess_protocol_id() is only called on the first packet of the flow, so the bitmask flow->excluded_protocol_bitmask is always empty, since we didn't call any dissectors yet.

Move another hash function to the dedicated source file.

@IvanNardi IvanNardi changed the title fuzz: improve coverage and remove dead code WIP fuzz: improve coverage and remove dead code Nov 2, 2023
@IvanNardi IvanNardi force-pushed the fuzz-coverage-improvements branch 3 times, most recently from 15c7a6b to 8e68369 Compare November 2, 2023 12:40
We are not able to remove custom rules: remove the empty stubs (which
originate from the original OpenDPI code).

`ndpi_guess_protocol_id()` is only called on the first packet of the
flow, so the bitmask `flow->excluded_protocol_bitmask` is always empty,
since we didn't call any dissectors yet.

Move another hash function to the dedicated source file.
@IvanNardi IvanNardi force-pushed the fuzz-coverage-improvements branch from 8e68369 to f88443a Compare November 2, 2023 12:48
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Collaborator

@utoni utoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what the idea of removeDefaultPort was, but it does not sound good.

@IvanNardi IvanNardi merged commit b539b0d into ntop:dev Nov 7, 2023
@IvanNardi IvanNardi deleted the fuzz-coverage-improvements branch November 7, 2023 16:46
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.

2 participants