Open
Description
I would like to have your opinion on a new feature. Do you think you could agree to add a plugin system to handle output of passivedns ?
There is a new similar system in dnscap. In command line, you can pass plugins (.so) with -P argument. A plugin is a dynamic library. Each plugin can implement functions :
void <plugin_name>_usage();
void <plugin_name>_getopt(int *argc, char **argv[]);
void <plugin_name>_start();
void <plugin_name>_stop();
and must implement an output function :
void <plugin_name>_output(pdns_record *l, pdns_asset *p, ldns_rr *rr, ldns_rdf *lname, uint16_t rcode);
With this system, we can implement some outputs like a massive inject in a database with better performance than parsing log file.
Do you think you can integrate a patch with this feature ?
Metadata
Metadata
Assignees
Labels
No labels