How to use extcap with pipes?
Currently, I have a Python script that creates a pipe and displays the captured packet on Wireshark GUI. However, it works only once and when tried to write more packets to the pipe, I get the "All pipe instances are busy " error. As suggested earlier, I looked up the extcap interface. In the following extcap_example.py is the Python script, but, what is the Python interpreter?
To use this script on Windows, please generate an extcap_example.bat inside the extcap folder, with the following content:
@echo off
<Path to python interpreter> <Path to script file> %*
Also, should I build the Wireshark source code after adding the batch file in the folder and make any changes in the makefiles? (as suggested in the last part of this link : https://jelmer.uk/klaus/wireshark/blo... )