Re: Extracting packets from a particular connection

Johanna Amann <[email protected]>
Newsgroups gmane.comp.security.detection.bro
Message-ID <[email protected]>
Hi,

a bit late, but...

> I was hoping to understand how Zeek aggregates packets by connection. Is
> there any documentation that summarizes the approach? Is there a way to
> extract all the packets that correspond to a particular connection?

I don't think there is much documentation sadly. Basically - Zeek
identifies connections by 5-tuple and passes the packets on to the
TCP/UDP/ICMP protocol parsers for a specific connection. Connections are
timed out after a time amount that depends on the protocol, port, and
phase of connection establishment.

The set_record_packets bif can be used to write the packets of a
connection to a file (however that code has not seen a lot of testing
recently - it should work, but I don't really want to guarantee it).

Johanna
_______________________________________________
Zeek mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.