intelmq icon indicating copy to clipboard operation
intelmq copied to clipboard

Ideas for networking intelmq instances

Open aaronkaplan opened this issue 8 years ago • 4 comments

Some ideas from @otmarlendl

What happens when we create a bigger network of intelmq instances? We might have loops.

Proposed solutions:

  • add UUID field to eventdb. Only add events to a local instance if the UUID does not exist yet.
  • add some kind of UUCP (she-bang) path . Example: !cert.at!bsi!nic.cz. This allows loop detection.

@otmarlendl thinks, both approaches should be taken in parallel.

aaronkaplan avatar Mar 03 '17 12:03 aaronkaplan

regarding the use of UUID's https://github.com/certtools/intelmq/issues/543#issuecomment-233561823

dmth avatar Mar 06 '17 12:03 dmth

Talking about UUID's I would recommend something similar to https://discord.com/developers/docs/reference#snowflakes. Its built for concurrency and work pretty neat.

According to the discord documentation its built like

Timestamp Internal worker ID Internal process ID Increment
Binary 111111111111111111111111111111111111111111 11111 11111 111111111111
From - To Bits 63 - 22 21 - 17 16 - 12 11 - 0

If we're exchanging data over network, it might break this system due to duplicates. Possible solution is to define a "transfer" protocol, which isnt built upon this id.

waldbauer-certat avatar Oct 11 '20 23:10 waldbauer-certat

For UUIDs, maybe CyCat can be useful: https://cycat.org/ https://github.com/CyCat-project

ghost avatar Feb 27 '21 16:02 ghost

Will be solved as part of IEP04

ghost avatar Aug 20 '21 13:08 ghost