-
Notifications
You must be signed in to change notification settings - Fork 892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed syslog false positives. #1577
Conversation
This pull request introduces 1 alert when merging 5df615d into 6149c0f - view on LGTM.com new alerts:
|
5df615d
to
434731f
Compare
Do you have any example of false positive with the old code? |
434731f
to
c058026
Compare
I accidentally deleted the |
This is an example of a flow classified "by-dpi" with the old code and "by-port" with the new one. |
* syslog: removed unnecessary/unreliable printable string check * added `ndpi_isalnum()` * splitted `ndpi_is_printable_string()` into `ndpi_is_printable_buffer()` and `ndpi_normalize_printable_string()` Signed-off-by: lns <matzeton@googlemail.com>
c058026
to
b836674
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Thanks! |
ndpi_isalnum()
ndpi_is_printable_string()
intondpi_is_printable_buffer()
andndpi_normalize_printable_string()
Signed-off-by: lns matzeton@googlemail.com