Skip to content
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

Support for external database server #24

Open
pierrehenrymuller opened this issue Oct 2, 2019 · 3 comments
Open

Support for external database server #24

pierrehenrymuller opened this issue Oct 2, 2019 · 3 comments

Comments

@pierrehenrymuller
Copy link

Hi,
Is it possible to use a database server like MySQL or PostgreSQL instead of SQLite file?
Thanks

@cbrocas
Copy link
Contributor

cbrocas commented Oct 4, 2019

Hello Pierre Henry,
Yes, it is possible ... if the support for it is developed and merge into CertStreamMonitor ;-)
More seriously, we don't have the usage for the moment, so, we don't have developed it until now. Please, want to code it and submit it through a PR? We can provide assistance :)

@pierrehenrymuller
Copy link
Author

pierrehenrymuller commented Oct 4, 2019

Ok ;)
I'll try to make this but maybe I didn't do everything I needed to properly manage the sqlite.
Typically, I don't think I've seen a prune in the sqlite database that would remove entries older than N months. As a result, the sqlite base is constantly growing.
How do you manage the sqlite file when it gets bigger?

@cbrocas
Copy link
Contributor

cbrocas commented Oct 4, 2019

Currently, our dataset does not represent more than several megabytes, so cleanup the database has not been a priority for the moment. Another part of the problem is that removing entries in a Threat Intel context may not be the good solution in any context.
Btw I will code soon a script that is going to be able to remove entries that are no longer checked - see commit 0cbd5ad . Hope it will help.

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

No branches or pull requests

2 participants