Closed verzulli closed 2 years ago
True. I need to update the schema files since libnDPI changed a lot which affects the generated JSON output. Will do ASAP.
I need to wait till ntop/nDPI #1725 get's merged.
True. I need to update the schema files since libnDPI changed a lot which affects the generated JSON output. Will do ASAP.
If you point me (roughly...) to where could I get details about "current" JSON protocol (...in nDPI, I guess), I can update the doc myself.
Most of the libnDPI serializastion happens in ndpi_dpi2json
in src/lib/ndpi_utils.c
.
I've updated the JSON schema (hopefully w/o missing anything).
I think this issue is fixed as well. If not, reopen please.
During analysis of the UDP-stream generated by
nDPId
(as for ref), I got following JSON, related to an HTTPS request:Such a JSON contains following
confidence
object:In the example JSON schema file included in the nDPId sources, the very same
confidence
attribute is declared this way:and it's missing the value "6" is missing.
Schema definition should be updated to include also "6" value, as well as others missing (5?, 7?)