<div dir="ltr">Dustin,<div><br></div><div>From my side, fully agree!</div><div><br></div><div>Cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 18, 2016 at 10:17 AM, Dustin Demuth <span dir="ltr"><<a href="mailto:dustin.demuth@intevation.de" target="_blank">dustin.demuth@intevation.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hello Folks,<br>
<br>
Tomás, thank you for your input.<br>
I'll describe my Ideas in more detail.<br>
<br>
# Recent situation:<br>
Right now the bots-directory looks like this:<br>
intelmq/bots/<br>
./collectors/<br>
./experts/<br>
./outputs/<br>
./parsers/<br>
./BOTS<br>
<br>
The file BOTS contains all data on bots available in the folders. Or enables<br>
the replication of those with differents URLs.<br>
It is not simple enough to add new bots to this file automagically. Removing<br>
them is even harder.<br>
<br>
# Idea:<br>
When BOTS would be a directory looking like this:<br>
./bots.d/<br>
./collectors/<br>
./experts/<br>
./outputs/<br>
./parsers/<br>
<br>
It would be easier to maintain bots automatically.<br>
Just copy a collector-bot-config-file into bots.d/collectors/ to add a new<br>
collector. Removing them is also that easy.<br>
<br>
Concerning your Questions:<br>
Am Samstag 16 April 2016 17:28:32 schrieben Sie:<br>
><br>
> Repositories:<br>
> - how many?<br>
<br>
*Everything* that requires dependencies that are not met by the "CORE<br>
Application" (which needs to be defined), should be kept in a seperate<br>
repository.<br>
To facilitate development of new bots, clonable example-bots could be<br>
provided.<br>
<span class=""><br>
> - description for each one<br>
> - examples of which kind of code each one will have<br>
<br>
</span>Sorry, I don't get that.<br>
<span class=""><br>
> You mentioned some complexity regarding this changes. What kind of<br>
> complexity do you see?<br>
<br>
</span>It's not one file anymore, you need to inspect several files and folders.<br>
<span class=""><br>
> collector.conf, parser.conf, expert.conf and output.conf are the default<br>
> configurations for each type of bot which should be inherit for each type<br>
> of bot. Example: phishtank parser will load all configs from parser.conf<br>
> and if phishtank.parser.conf has some redefine parameters, this parameters<br>
> should overwrite the default ones.<br>
<br>
</span>I think using inheritance is too complex. Let's keep it simple.<br>
<br>
Until now, I did not think about runtime and default configuration of the<br>
bots. This would also be reasonable.<br>
<br>
<br>
BR<br>
<span class="HOEnZb"><font color="#888888">Dustin<br>
</font></span><br>_______________________________________________<br>
Intelmq-dev mailing list<br>
<a href="mailto:Intelmq-dev@lists.cert.at">Intelmq-dev@lists.cert.at</a><br>
<a href="http://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev" rel="noreferrer" target="_blank">http://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"> Tomás Lima<b> , </b> »-«<b> SYNchroACK </b>»-«<br></div>
</div>