streamsplit

A utility to extract TCP streams from (large) pcap files


Licenses
GPL-3.0/GPL-3.0+
Install
pip install streamsplit==0.1.1

Documentation

streamsplit

A utility to extract TCP streams from (large) pcap files

usage: python -m streamsplit [-h] [-F FILTER] [-f] [-l] [-t] [-b BUFFER] filename

positional arguments:
  filename              PCAP file to be analyzed

optional arguments:
  -h, --help            show this help message and exit
  -F FILTER, --filter FILTER
                        Comma delimited list of hosts (ip:port) to filter
                        results. You can use 'any' in place of an address or
                        port. Example: '192.168.0.1:any,192.168.0.2:53,any:80'
  -f, --filenames       Includes exported filenames in the stream listing.
  -l, --list            Produces list of streams without exporting them to
                        individual PCAP files (faster)
  -t, --notime          Removes timestamps from the stream listing.
  -b BUFFER, --buffer BUFFER
                        (advanced) Adjusts packet buffer sizes for export
                        files. Generally should be left alone.

Installation

Install the cross-platform python version

Run pip install streamsplit to install.

OR

Install the native linux executable

Download: https://github.com/schalowj/streamsplit/raw/master/executable/streamsplit.run

Run as a shell script (e.g. bash streamsplit.run) The application will be extracted to /opt/streamsplit with a link in /usr/bin

It can then be run as a normal command: $ streamsplit .....