Network Analyzers

tcpflow – TCP/IP packet demultiplexer

Last Updated on March 5, 2026

tcpflow is a program that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis and debugging.

Each TCP flow is stored in its own file. Thus, the typical TCP flow will be stored in two files, one for each direction. tcpflow can also process stored ‘tcpdump’ packet flows.

This is free and open source software.

tcpflow stores all captured data in files that have names of the form:

   [timestampT]sourceip.sourceport-destip.destport[--VLAN][cNNNN]

where: timestamp is an optional timestamp of the time that the first packet was seen T is a delimiter that indicates a timestamp was provided sourceip is the source IP address sourceport is the source port destip is the destination ip address destport is the destination port VLAN is the VLAN port c is a delimiter indicating that multiple connections are present NNNN is a connection counter, when there are multiple connections with the same [time]/sourceip/sourceport/destip/destport combination.

Website: github.com/simsong/tcpflow
Support:
Developer: Simson L. Garfinkel and contributors
License: GNU General Public License v3.0

tcpflow is written in C++. Learn C++ with our recommended free books and free tutorials.


Related Software

Network Analyzers
WiresharkNetwork protocol analyzer with a rich and powerful feature set
EttercapComprehensive suite for man in the middle attacks
KismetWireless network and device detector, sniffer, wardriving tool
IPTraf-ngFeature-laden network statistic monitoring tool
netsniff-ngSwiss army knife for daily Linux network plumbing
KyanosNetworking analysis tool using eBPF
EtherApeGraphical network monitor
darkstatCaptures network traffic, calculates usage statistics, and serves reports
justnifferNetwork TCP packet sniffer with reliable TCP flow rebuilding
tcpflowTCP/IP packet demultiplexer
tcpdumpPowerful and hugely respected command-line packet analyzer
sniffgluePacket sniffer written in Rust
sniffer Alternative network traffic sniffer
dsniffCollection of tools for network auditing and penetration testing
ngrepgrep applied to the network layer
Network MonitorRreal-time network connection monitoring tool
sniffitCORBA based sniffer system with ncurses interactive mode
JomonNetwork forensics and sniffer tool

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments