4 Replies Latest reply: Oct 10, 2017 12:46 PM by Rohith Radhakrishnan RSS

Packet Sniffing

Rohith Radhakrishnan

I am trying to view the contents of transmitted packet during simulation. As of now I am able to see the content of packet during the debugger stage. Is there a packet sniffing tool that allows one to see the packets during the transmission? Thanks

  • Re: Packet Sniffing
    Mohammad Ali Mansouri Khah

    No, as far as I know.

    The best way is to use the debugger (object level) and pkstop and pktrace commands as you rinse it.

  • Re: Packet Sniffing
    Paul Conway

    The major benefit to Modeler is the ability to write your own models!!!

    In the Modeler Tutorials see the Basic Processes Tutorial.  The tutorial shows how to create p_0, p_1, and p_2, a source, counter, and a another source.  The counter process (p_1) can be the basis for the packet sniffer tool you desire.

    What attributes are of interest in your packet capture?  You can use op_pk_print() to output the packet contents to the terminal window.

    I hope this helps...

  • Re: Packet Sniffing
    Paul Conway

    In the Documents section there is a paper on Real-Time Traffic Analyzer for Measurement Based Admission Control (https://splash.riverbed.com/docs/DOC-3039) which describes a model that receives and analyzes packets. The design includes data capture as part of the data processing of each packet as it passes through the Traffic Analyzer.  I do not believe there is a model available with the paper.  However it does show a packet capture model is possible to build in Modeler.

  • Re: Packet Sniffing
    Mohammad Ali Mansouri Khah

    Yes, as pointed out by Paul Conway if you want to analyze packets on a bottlenack, you can create a module on the flow of packets between the two modules you are looking for and write a process model that retrieves packet information. This may be either using sprintf and op_prg_odb_print_major which you can see its output in the Debugger, as well as the possibility of trace and breakpoint, or as Paul said.
    But at the end there is no external packet sniffer tools.