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

Wireshark integration with OMNET ++

0

Hi,

I want to use OMNET ++ for network simulation, Can i Capture the intermediate results in a network in a PCAP format for wireshark analysis ???

Regards M Srinivasa Rao

asked 17 Dec '15, 19:48

srinu_bel's gravatar image

srinu_bel
20151620
accept rate: 0%


One Answer:

1

Can i Capture the intermediate results in a network in a PCAP format for wireshark analysis ???

well, this is the Wireshark Q&A site, not the OMNET++ support forum ;-) However a quick google search reveals that it's apprently possible to create pcap files in OMNET++.

https://omnetpp.org/doc/inet/api-current/doxy/class_pcap_recorder.html
http://ilab.cs.byu.edu/wiki/Omnet%2B%2B_Tutorial

Cite:

Example Project: tcpsack
There are many examples that can be found in Omnet of how to do run simulations. A useful example can be found in the inet/examples/inet/tcpsack directory. This experiment sets up a flow between two hosts with TCP Sack, and outputs files in multiple formats, including the pcap format that Wireshark uses. With an explanation of this project, you should be able to set up similar projects.

Regards
Kurt

answered 09 Jan '16, 12:37

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%