Search the Community
Showing results for tags 'tcpdump python'.
Hi All,I’m working on a research project to capture all packets going through my Pineapple Nano, filter them for specific metadata, and send periodic data reports to an FTP site. I have the Pineapple configured to launch tcpdump to capture packets, then launch a Python script to filter/process the pcap data, and then write the output to a small data file and then FTP it to a site for analysis. However, I’m having trouble getting the Python library I need (DPKT) to install on the Pineapple.I've tried using the PIP package manager to do the installation, but when trying to install PIP (via the get-pip.py script), it says one of the libraries (the Logging module) can’t be found. So, the installation fails. Does anyone have any experience installing PIP on a Pineapple (to the external SD card), or any ideas on why this is happening, or what to try next?I’m open to alternative methods to achieve the same goals, but I have the script working on an Ubuntu machine. So, I don’t understand why it’s not working on the Pineapple.Thanks DrB