Flows just before written to files

32 views
Skip to first unread message

Mohammed Al-Saleh

unread,
May 20, 2014, 12:09:55 PM5/20/14
to tcpflo...@googlegroups.com
Hi,

Can any one point to me where (in the code) TCP flows are stored just before they got written to the output files? Thanks.

Mohammed Al-Saleh

unread,
May 22, 2014, 4:00:06 AM5/22/14
to tcpflo...@googlegroups.com
Well, I just figured it out. In tcpdemux.cpp, tcp->store_packet().

~Mohammed

Simson Garfinkel

unread,
May 22, 2014, 7:30:48 AM5/22/14
to tcpflo...@googlegroups.com
Glad you found it. Any suggestions on improving the code?

--
You received this message because you are subscribed to the Google Groups "tcpflow-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tcpflow-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mohammed Al-Saleh

unread,
May 22, 2014, 10:10:56 PM5/22/14
to tcpflo...@googlegroups.com
Actually, starting from the main function, putting some cout statements, and reading through the code, I did not spend much time on reaching what I want. In general, the code is clear in most of its parts, specially with the existence of the very helpful comments, which are usually scarce in open source tools, :).

~Mohammed
Reply all
Reply to author
Forward
0 new messages