This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

I have a working script which runs on tshark on windows (processes PCAP files, gives valid output). On windows, both the GUI and tshark can run this script and give me valid output. GUI fails on mac but does properly process some pcaps on mac. On ubuntu the script fails both for GUI and command line.

Does anyone know what the next best logical steps would be to troubleshoot this? I need my .lua script to work on ubuntu.

asked 19 Feb '16, 17:01

testname0110's gravatar image

testname0110
15559
accept rate: 75%

1

What version of Wireshark is running on each platform? If they're not all the same version as the one running on Windows, that might be a clue as to what the problem may be.

Also, what exactly is the failure? On the Ubuntu system for example, does Help -> About Wireshark indicate that Wireshark was compiled with Lua 5.2 (or some other version)?

Lastly, does the Ubuntu init.lua script have disable_lua = true? If so, you'll need to set it to false.

See also: https://www.wireshark.org/docs/wsdg_html_chunked/wsluarm.html

(19 Feb '16, 17:57) cmaynard ♦♦

this was it. I actually thought of that right after I posted this (derp). it completely fixed the mac problem and now I am trying to fix the version for linux. Do you know how I can get 1.12.9 (wireshark version) for ubuntu? I can't seem to find the install package now.

(19 Feb '16, 18:05) testname0110

the newest version of wireshark does not fully support old plugins. That seems to be the issue. the version 2.0 is unstable. To fix the issue I used xterm to open old wireshark and that solved my problem (on mac at least)

permanent link

answered 19 Feb '16, 18:06

testname0110's gravatar image

testname0110
15559
accept rate: 75%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×431
×254
×238
×108
×80

question asked: 19 Feb '16, 17:01

question was seen: 1,268 times

last updated: 19 Feb '16, 18:06

p​o​w​e​r​e​d by O​S​Q​A