-
-
Notifications
You must be signed in to change notification settings - Fork 452
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
Refactor analyzers which download external dbs for local queries #2407
Comments
Hi @mlodic Can I take this up? It will be a nice challenge. I plan to implement this for JA4DB first and upon successful implementation I'll subsequently implement this for other analyzers. This might take some time for me to implement as I need to understand Django models a bit more and how everything works in intelowl, like how everything is connected. If there are any doubts, shall I ask it here or in Slack channel? |
sure, feel free to ask where you want |
Hi @mlodic While I was running the refactored JA4_DB to update the api data to DB, I was getting the error I want to understand what is the purpose of data_models_manager and why is this error coming up because the json report returned from the analyzer is successfully populated in "analyzers_manager_analyzerreport" table. Am i missing something? Do I need to create a generic data model and a corresponding serializer which will be used by the analyzers, we are going to refactor? Would really appreciate your inputs on this since this would be a crucial information to understand which will help me in solving this issue. |
thanks for sharing, I'll ping you towards the guys who created the data models which are a fresh new feature added to the last release. I know that data models were not added to the |
@cristinaascari is reviewing the issue |
Thanks @mlodic & @cristinaascari. Here is the link to the error details. Refactored JA4_DB.py analyzer
Corresponding JA4Fingerprint Model:
|
#2662 this fix has just been merged. Can you please update your fork and try again? thanks |
Just now I was seeing the PR merged by @cristinaascari. Will pull the latest code and try again. |
There are several analyzers like Tor, Maxmind, JA4DB and so on, that download an external db and update it every once in a while.
The problem is that they store it as a local file and the analyzers parse those files in search of a specific entry.
It would make sense to store them as additional tables in the database and to query the data directly there.
The text was updated successfully, but these errors were encountered: