This is an experimental project to view pcaps in the browser with tshark from a server. This is a starter project, and works for small pcap files.
- Install pip dependencies
pip install -r requirements.txt
- start the app
python app.py
file upload view
The following dependencies are required for this tool installation.
Install tshark package, instructions for all platforms here: https://tshark.dev/setup/install/
Here are the steps for Ubuntu:
https://pkgs.org/search/?q=tshark
sudo apt install tshark
verify the tshark location
$ whereis tshark
tshark: /usr/bin/tshark /usr/share/man/man1/tshark.1.gz
$ tshark -v
TShark (Wireshark) 3.6.2 (Git v3.6.2 packaged as 3.6.2-2)