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

I'm looking for similar feature than what is Wireshark - Import from text file.

But instead from text file I would like to send packets to IP/UDP port which wireshark then listens. Then the packet payload contains the information to be decoded by Wireshark.

This looks quite easy to implement functionality (for the great masters.., not for me) . Just specify port to listen and Encapsulation type.

Is this possible to implement example with Lua?

asked 11 Mar '13, 02:46

Trian%20Geo's gravatar image

Trian Geo
1112
accept rate: 0%


Such a feature is not implemented and if you like to see it in Wireshark, I suggest to file an enhancement bug at bugs.wireshark.org.

There are other ways to achieve a similar result.

  1. use the remote capture feature of Wireshark and WinPcap
  2. use ssh to forward the captured pcap data stream to Wireshark
  3. use netcat to forward the captured pcap data stream to Wireshark via UDP

Is this possible to implement example with Lua?

With the embedded Lua in Wireshark: No
With a standalone Lua interpreter: Yes

Regards
Kurt

permanent link

answered 11 Mar '13, 23:57

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

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:

×15

question asked: 11 Mar '13, 02:46

question was seen: 1,740 times

last updated: 11 Mar '13, 23:57

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