Hello Zeek Community,
I’m trying to develop my first plugin using spicy and now I have trouble getting it up and running with zeek.
The protocol is pretty simple. Two hosts are sharing information over an ongoing tcp connection. I realized (when using a protocol analyzer) zeek sticks to the first packet in the connection. So I tried to switch to a packet analyzer.
Using the following function call PacketAnalyzer::register_packet_analyzer(PacketAnalyzer::ANALYZER_TCP, <identifier?>, PacketAnalyzer::ANALYZER_SPICY_MYANALYZER)
it seems to register. But no event is triggered.
So my questions are:
- Is their a solution with a ProtocolAnalyzer?
- How to make the PacketAnalyzer work on top of tcp?
- What would the identifier in register_packet_analyzer be when using tcp (since tcp does not have a corresponding field)
Thanks in advance. Hope you all have a wonderful day.
Your zeek noob