intelmq-manager icon indicating copy to clipboard operation
intelmq-manager copied to clipboard

Don't read and modify config files directly

Open ondj opened this issue 8 years ago • 2 comments

Currently, IntelMQ manager reads and modifies config files directly by PHP script. But when location or format will be changed, it is necessary to change manager also.

My proposal is, that every interaction with IntelMQ should by done thought intelmqctr command. But this change requires updating this command to support configuration read and change.

ondj avatar May 11 '16 14:05 ondj

I support this idea. As I focus on other things, there haven't been proposals yet (and the -manager should run in trusted environments only anyway).

My proposal is, that every interaction with IntelMQ should by done thought intelmqctr command. But this change requires updating this command to support configuration read and change.

Is intelmqctr a typo or a proposal for a new binary? Do you have ideas what scope the atomic commands could have? (e.g. one command to set a single option for a bot, or one command to set all options for a bot etc.)?

sebix avatar May 11 '16 16:05 sebix

sounds good. @ondj do you have a proposal how this should look like?

aaronkaplan avatar May 11 '16 23:05 aaronkaplan