IP Library › Granted Patent US 8,352,777
Granted Patent B2
US 8,352,777 · App. 12/897,224 · Granted Jan 8, 2013

Replaying captured network traffic

Assignee: Hewlett-Packard Development Company, L.P.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,352,777
App. No.
12/897,224
Filed
Oct 4, 2010
Granted
Jan 8, 2013
Kind
B2
Art Unit
2114
USPC
714/33
Abstract

Systems, methods, and machine readable and executable instructions are provided for replaying captured network traffic. A method for replaying captured network traffic can include replaying multiple captured network traffic files simultaneously on the same network device, the captured network traffic files including original network traffic captured from N original connections between C original clients and S original servers. During replaying, rewriting IP addresses and/or port number information of data packets comprising the original network traffic to reflect test network traffic from M test connections between X test clients and Y test servers, where at least X is different than C or Y is different than S. The method further includes modifying checksums, during replaying, to correct values corresponding to the rewritten IP addresses and port number information. N, C, S, M, X, and Y are positive integers.

Claims (35)

1. A method for replaying captured network traffic, comprising:

replaying multiple captured network traffic files simultaneously on the same network device, the captured network traffic files including original network traffic captured from N original connections between C original clients and S original servers;

rewriting, during replaying, IP addresses and/or port number information of data packets comprising the original network traffic to reflect test network traffic from M test connections between X test clients and Y test servers, where at least X is different than C or Y is different than S;

modifying checksums, during replaying, to correct values corresponding to the rewritten IP addresses and port number information; and

wherein N, C, S, M, X, and Y are positive integers.

2. The method of claim 1 , wherein rewriting includes:

defining the mapping between the C clients and the X clients; and

changing all client port number information in at least one test connection involving a particular one of the X test clients where multiple original clients are mapped to the particular one of the X test clients.

3. The method of claim 1 , wherein rewriting includes preserving consistency between the N original connections and the M test connections such that any two original connections of a same captured network traffic file having a same original client IP address have a same test client IP address.

4. The method of claim 1 , wherein rewriting includes preventing possible network traffic collisions where an original connection from an original client exists in more than one captured network traffic file by changing the IP addresses and/or port number information of network traffic corresponding the original connection in at least all but one captured network traffic file.

5. The method of claim 1 , wherein replaying multiple captured network traffic files simultaneously on the same network device includes multiplying a number of N original connections to provide the M test connections, M being larger than N.

6. The method of claim 5 , further comprising scheduling a replay start time for each of the M test connections, wherein replaying includes starting replay of a particular test connection at the associated scheduled start time.

7. The method of claim 6 , wherein M and the replay start time for each of the M test connections is selected to provide a defined average throughput network traffic rate for a defined duration.

8. The method of claim 1 , wherein rewriting includes modifying a number of data packets to: change a source IP address, change a source port number information, change a destination IP address, and/or change a destination port number information.

9. The method of claim 1 , wherein rewriting includes modifying a number of data packets to change arrival time.

10. The method of claim 1 , wherein modifying checksums includes modifying all IP address and TCP header checksums.

11. A non-transitory computer-readable medium having computer-readable instructions stored thereon that, if executed by one or more processors, cause the one or more processors to:

identify all unique original TCP connections in all input captured network traffic files;

identify unique client endpoints and server endpoints of the unique TCP connections;

assign new IP addresses to each of the unique client endpoints and server endpoints;

assign a new server port number and a new client port number for each of the unique original TCP connections, wherein each of the unique original TCP connections has a new client endpoint and server endpoint with a unique combination of client IP address, client port, server IP address, and server port;

modify IP and TCP checksums for each data packet of the input captured network traffic files to correctly reflect the new client and server endpoints; and

replay each data packet of the input captured network traffic files on a same network device.

12. The non-transitory machine-readable medium of claim 11 , including machine-readable instructions stored thereon that are executed by a processor to shift timestamps of each data packet to preserve all time intervals between data packets in same captured network traffic files.

13. The non-transitory machine-readable medium of claim 12 , including machine-readable instructions stored thereon that are executed by a processor to shift timestamps of each data packet to differently shift in time data packets in different captured network traffic files.

14. The non-transitory machine-readable medium of claim 11 , including machine-readable instructions stored thereon that are executed by a processor to replay all data packets on a single network device in a manner to maintain an original time interval between data packets of a same connection.

15. A captured network traffic replay system, comprising:

a network device;

one or more computing devices communicatively coupled to the network device and arranged to provide network traffic to the network device, the one or more computing devices including:

logic configured to identify all unique original TCP connections in the captured network traffic files;

logic configured to identify unique client/server endpoints of the unique TCP connections;

logic configured to assign new IP addresses to each of the unique client/server endpoints;

logic configured to assign a new port number to particular client/server endpoints such that each of the unique original TCP connections has a new client/server endpoint with a unique combination of client IP address, client port, server IP address, and server port;

logic configured to modify IP and TCP checksums for each data packet of the captured network traffic files to correctly reflect the new client/server endpoints; and

logic configured to replay each data packet of the captured network traffic files to the network device.

Assignments (8)
RELEASE OF SECURITY INTEREST REEL/FRAME 044183/0577 Recorded Feb 2, 2023
From: JPMORGAN CHASE BANK, N.A.
To: MICRO FOCUS LLC (F/K/A ENTIT SOFTWARE LLC)
Reel/Frame 063560/0001 →
RELEASE OF SECURITY INTEREST REEL/FRAME 044183/0718 Recorded Feb 2, 2023
From: JPMORGAN CHASE BANK, N.A.
To: MICRO FOCUS LLC (F/K/A ENTIT SOFTWARE LLC); BORLAND SOFTWARE CORPORATION; MICRO FOCUS (US), INC.; SERENA SOFTWARE, INC; ATTACHMATE CORPORATION; MICRO FOCUS SOFTWARE INC. (F/K/A NOVELL, INC.); NETIQ CORPORATION
Reel/Frame 062746/0399 →
CHANGE OF NAME Recorded Aug 8, 2019
From: ENTIT SOFTWARE LLC
To: MICRO FOCUS LLC
Reel/Frame 050004/0001 →
SECURITY INTEREST Recorded Oct 11, 2017
From: ATTACHMATE CORPORATION; BORLAND SOFTWARE CORPORATION; NETIQ CORPORATION; MICRO FOCUS (US), INC.; MICRO FOCUS SOFTWARE, INC.; ENTIT SOFTWARE LLC; ARCSIGHT, LLC; SERENA SOFTWARE, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 044183/0718 →
SECURITY INTEREST Recorded Oct 11, 2017
From: ENTIT SOFTWARE LLC; ARCSIGHT, LLC
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 044183/0577 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 9, 2017
From: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
To: ENTIT SOFTWARE LLC
Reel/Frame 042746/0130 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 9, 2015
From: HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
To: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
Reel/Frame 037079/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 4, 2010
From: SHILON, HANAN; GOPSHTEIN, MICHAEL; SHILON, NIR
To: HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
Reel/Frame 025086/0808 →
Continuity (1)
Related Publication 20120084605A1 · Apr 5, 2012