tcpflow is a network analysis utility that captures TCP traffic and reconstructs the byte streams exchanged between communicating hosts. Unlike packet analyzers that present traffic primarily as individual network packets, tcpflow reorganises the captured data into continuous streams that can be inspected as files. This makes it useful for examining application protocols, investigating network incidents and recovering information from recorded TCP conversations.
The program can operate on live network interfaces or process packet captures created by other tools. It identifies TCP connections and maintains separate output for each direction of communication, allowing requests and responses to be examined independently. TCP sequence numbers are used to reconstruct data in the correct order rather than preserving the order in which packets happened to arrive. tcpflow also includes facilities for analysing selected application content and generating reports. Its output can be inspected using conventional text editors, binary analysis utilities or forensic processing tools.
This is free and open source software.
Key Features
- Capture TCP traffic from live network interfaces.
- Process previously recorded packet capture files.
- Reconstruct TCP byte streams from individual packets.
- Reorder out-of-sequence TCP segments.
- Handle retransmitted TCP data during stream reconstruction.
- Save each direction of a TCP connection to a separate file.
- Identify connections using source and destination addresses and ports.
- Apply packet capture filters to restrict analysed traffic.
- Preserve application data for subsequent forensic analysis.
- Support for processing HTTP conversations and selected application content.
- Generate reports about captured network activity.
- Analyse traffic without requiring access to the originating applications.
- Support IPv4 and IPv6 traffic.
- Command-line operation for integration with forensic workflows and scripts.
- Export reconstructed streams for inspection by external applications.
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 | |
|---|---|
| Wireshark | Network protocol analyzer with a rich and powerful feature set |
| Sniffnet | Visualise live network traffic with a friendly interface |
| Kismet | Wireless network and device detector, sniffer, wardriving tool |
| Ettercap | Comprehensive suite for man in the middle attacks |
| IPTraf-ng | Feature-laden network statistic monitoring tool |
| Zeek | Network security monitoring with deep traffic insight |
| netsniff-ng | Swiss army knife for daily Linux network plumbing |
| Kyanos | Networking analysis tool using eBPF |
| Arkime | Indexes full packet captures for rapid, large-scale traffic investigation |
| EtherApe | Graphical network monitor |
| darkstat | Captures network traffic, calculates usage statistics, and serves reports |
| justniffer | Network TCP packet sniffer with reliable TCP flow rebuilding |
| tcpflow | TCP/IP packet demultiplexer |
| tcpdump | Powerful and hugely respected command-line packet analyzer |
| sniffglue | Packet sniffer written in Rust |
| sniffer | Alternative network traffic sniffer |
| RustNet | Terminal monitor for connections and bandwidth |
| Malcolm | Traffic analysis suite for capture, hunting and forensics |
| dsniff | Collection of tools for network auditing and penetration testing |
| ngrep | grep applied to the network layer |
| Network Monitor | Rreal-time network connection monitoring tool |
| sniffit | CORBA based sniffer system with ncurses interactive mode |
| Jomon | Network forensics and sniffer tool |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.