How To
Summary
List of what to look for in a network packet trace
Objective
Analyse network packet capture
Steps
Option 1 - Ipreport
AIX command is used to convert iptrace binary files to text.
Syntax:
ipreport -srvnC -X 0 file.out > file.txt
-s Prepends the protocol specification to every line in a packet.
-r Decodes remote procedure call (RPC) packets.
-v Verbose.
-n Includes a packet number to facilitate easy comparison of different output formats.
-C Validates checksum.
-X 0 Removes data portion of the network packet.
file.out (binary iptrace file)
file.txt (Text output file of the ipreport)
Option 2 - Wireshark
Graphical freeware tool that can analyze network packet captures
Downloadable from www.wireshark.org
Bottom screen shows you packet header break down
Any errors with the packet can be identified in the header
Note that each header starts with the name or type of header
Useful filters:
ip.addr==<ipaddress> filters for a specfic ipaddress
tcp.port==<port_number> filters for a specfic port number
udp.port==<port_number> filters for a specfic udp port number
tcp.analysis.retransmission filters for retransmitted tcp packets
tcp.flags.reset==1 filters for network disconnect “reset” packets
tcp.flags.syn==1 filters for tcpip “synchronize” packet
tcp.flags.fin==1 filters for tcpip “fin” or goodbye handshake packet
ip.id==<number> filter for specific packet,
Follow stream <button>
Allows you to see only that one connection in the whole trace
Once narrowing down to a specific packet you can follow stream on that packet to see the whole connection it is involved with.
- Traffic only from one side
- High number of Retansmission, Dup Acks, Reset packets
- Delta time - indicates slowness or timeout
- Round Trip Time - this measures the round trip time between sending a packet and getting a reply on it
- Retransmission Timeout (RTO) that has an initial value of three seconds. After each retransmission the value of the RTO is doubled and gets upto three retries.
Additional Information
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
30 May 2019
UID
ibm10884392