-
Notifications
You must be signed in to change notification settings - Fork 896
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
Add generic functions for configuration #2066
Conversation
7418858
to
fb409cb
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
3481d5a
to
2fb0220
Compare
f49e37c
to
87006c3
Compare
This code is only a proof-of-concept to illustrate a new way to provide (more) configuration options in nDPI. The important stuff is at the end of The idea is to have a simple way to configure (most of) nDPI:
This way, anytime we need to add a new configuration parameter:
Basically [There is a LOT of work to do to have some kind of API/ABI compatibility in nDPI (if we ever want to do that...), and the configuration might be a good (and simple) starting point...] As example of how to extend the configuration, I added the ability to enable/disable the extraction of the sha1 fingerprint of the TLS certificates. This logic is not new: lots of libraries already uses it If this idea is accepted, we might remove |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
I think there are legitimate reasons to break API and ABI compatibility in some rare case, because there is always be an ongoing development progress and some changes might require to do so. |
But why not e xtending |
Sw compatibility across releases is not the topic itself of this PR: I cited it only because it is a topic where we, historically, never paid attention and where we could likely do better. |
As I said, the naming is open to discussion: we definitely could keep the old |
A simpler and updated version is available #2190 |
Superseded by #2249 |
TODO