Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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=""> %*

  1. 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/blob/d6da95231ee790fd884ca2a41fe59aa9b05ccde9/doc/README.extcap )

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=""> %*%* ""

  1. 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/blob/d6da95231ee790fd884ca2a41fe59aa9b05ccde9/doc/README.extcap )
click to hide/show revision 3
None

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

inside the extcap folder, with the following content:

content:
@echo off
<Path to python interpreter> <Path to script file> %*

@echo off <path to="" python="" interpreter=""> <path to="" script="" file=""> %* ""

  1. 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/blob/d6da95231ee790fd884ca2a41fe59aa9b05ccde9/doc/README.extcap )