Hi,
On 2018-07-10 11:48, Salehi Ghamsari, Majid wrote:> Is the IP part of the message or is it a mapping needed?
test-file-collector (192.0.2.0-192.0.2.255) ----------> test-message-expert (192.0.2.10) ---> test-tcp-output
No, the idea is that the expert bot makes ip range correlation with interface (REST GET) from extern server.
example
192.0.2.10 = Get_IP4RANGE_FROM_SEVER ("192.0.2.0-192.0.2.255")
No it's currently not. If the mapping would have been applied by using filters inside IntelMQ it be easier. But I recently implemented something similar for the file output bot, see https://github.com/certtools/intelmq/blob/maintenance/docs/Bots.md#filename-formattingI would like to set the IP runtime parameter (192.0.2.10) of the TCP-output bot "test-tcp-output".
I honestly did not understand how to implement this with filters.
-- // Sebastian Wagner <wagner@cert.at> - T: +43 1 5056416 7201 // CERT Austria - https://www.cert.at/ // Eine Initiative der nic.at GmbH - https://www.nic.at/ // Firmenbuchnummer 172568b, LG Salzburg