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

Import from.. UDP port

0

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%


One Answer:

1

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

answered 11 Mar '13, 23:57

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%