Packet recording and playback apparatus

Abstract
A packet recoding and playback apparatus capable of generating an actual volume of traffic on a network. A packet reception unit receives a packet flowing on the network. A time generator generates a time. A packet storing unit stores the packet received by the packet reception unit, in a memory unit together with the time of reception of the packet. When a packet stored in the memory unit is played on the network, a packet playback unit plays the packet at a timing corresponding to the reception of the packet, based on the time stored together with the packet in the memory unit.
Description

BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 shows an outline of a packet recording and playback apparatus.



FIG. 2 shows an example configuration of a network to which the packet recording and playback apparatus is implemented.



FIG. 3 is a block diagram of the hardware of the packet recording and playback apparatus.



FIG. 4 shows an example structure of data in a filtering table (TB).



FIG. 5 is an example structure of data in a reception buffer memory.



FIG. 6 is an example structure of data in a packet management TB.



FIG. 7 is an example structure of data in a Hard Disk Drive (HDD).



FIG. 8 is a flowchart showing a recording operation of the packet recording and playback apparatus.



FIG. 9 is a flowchart showing a playback operation of the packet recording and playback apparatus.



FIG. 10 is a flowchart showing an operation for the time of transmitting TCP data.



FIG. 11 is a flowchart showing an operation for the time of receiving TCP data.


Claims
  • 1. A packet recording and playback apparatus for recoding and playing a packet; comprising: packet reception means for receiving the packet flowing on a network;time generation means for generating a time;packet storing means for storing the packet received, together with the time of reception of the packet in a memory unitpacket playback means for playing the packet stored in the memory unit, on the network at a timing corresponding to the reception of the packet based on the time of the reception.
  • 2. The packet recording and playback apparatus according to claim 1, wherein the packet playback means calculates a difference between a time of a previous packet that was played last time and the time of the packet to be played this time, and plays the packet when the differential time has passed after the previous packet was played.
  • 3. The packet recording and playback apparatus according to claim 1, wherein the packet reception means receives the packet including information specified by a user.
  • 4. The packet recording and playback apparatus according to claim 1, further comprising a packet management table having an address of the packet stored in the memory unit and packet information on the packet, wherein the packet playback means obtains the address from the packet management table according to the packet information specified by a user for playback, and acquires the packet to be played, from the memory unit based on the obtained address.
  • 5. The packet recording and playback apparatus according to claim 4, wherein, if there is a plurality of the memory units, the packet management table also has information on the plurality of the memory units.
  • 6. The packet recording and playback apparatus according to claim 4, wherein the packet information is a protocol of the packet.
  • 7. The packet recording and playback apparatus according to claim 1, further comprising a Transmission Control Protocol (TCP) control means for, in a case where a protocol of the packet to be played is TCP, playing the packet so as to keep a TCP sequence.
  • 8. The packet recording and playback apparatus according to claim 7, wherein the TCP control means detects an error in TCP communication based on a response status received from a communicating party that receives the packet played.
Priority Claims (1)
Number Date Country Kind
2006-026255 Feb 2006 JP national