Ask Your Question
0

Wireshark 3 extcap_example.py not working on Win8.1: not capturing any "fake" packets

asked 2019-04-08 17:51:02 +0000

thediveo gravatar image

updated 2019-06-19 08:14:04 +0000

grahamb gravatar image

My sytem setup is:

  • Win8.1
  • Wireshark 3.0.0 (v3.0.0-0-g937e33de) installed
  • Python 3.7 globally installed
  • example extcap https://github.com/wireshark/wireshark/blob/master/doc/extcap_example.py copied into c:\program files\wireshark\extcap
  • extcap-ex.bat created in c:\program files\wireshark\extcap which starts the installed Python 3.7 interpreter with the extcap_example.py, passing all CLI args to it using %*

Wireshark correctly detects the extcap example plugin. The config dialog correctly comes up, but when trying to start a capture, the following error message box pops up: "No packets captured. As no data was captured, closing temporary capture file. [...]".

It makes no difference running Wireshark as admin or not.

What am I doing wrong? Or is the extcap_example broken on Win/Wireshark 3? For reference, the same extcap_example.py works correctly on Ubuntu Bionic with a development 3.1 version of Wireshark.

Any help greatly appreciated!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-06-19 06:22:46 +0000

thediveo gravatar image

This was a bug in extcap_example.pywhich has been fixed, see https://bugs.wireshark.org/bugzilla/s....

edit flag offensive delete link more

Comments

Note that a Q&A site such as Ask shows a question has been resolved by the question poster accepting an answer by clicking the checkmark icon to the left of it, rather than editing the question title.

grahamb gravatar imagegrahamb ( 2019-06-19 08:15:23 +0000 )edit

unfortunately, accepting your own answer won't work until 50 points, so newcomers cannot do this.

thediveo gravatar imagethediveo ( 2019-06-20 05:38:23 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-04-08 17:51:02 +0000

Seen: 556 times

Last updated: Jun 19 '19