IP Library › Granted Patent US 12,184,680
Granted Patent B2
US 12,184,680 · App. 17/644,410 · Granted Dec 31, 2024

Session slicing of mirrored packets

Inventors: Kenneth Hsinchao Chiang (Fremont, CA); Sandip Shah (Fremont, CA); Michael T. Stolarchuk (Ypsilanti, MI)
Assignee: Arista Networks, Inc.
H04L63/1425H04L47/10H04L63/1416H04L63/1466H04L63/166H04L63/20
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 12,184,680
App. No.
17/644,410
Granted
Dec 31, 2024
Kind
B2
Abstract

Data taps are provided in a production network to mirror traffic flow through the network. Feeds from the data taps are provided to a monitoring fabric comprising a network of service nodes. A service node receives mirrored traffic and identifies packets in the mirrored traffic for further processing, for example to be forwarded to one or more monitoring/security tools. The packets are identified based on the contents of the packets. For example, packets at the beginning of a TCP session and at the end of the TCP session can be identified based on the TCP flags in the packets. The service node can cause these packets to be sent to one or more monitoring/security tools.

Claims (41)

1. A method in a service node in a monitoring fabric, the method comprising:

receiving mirrored traffic captured by a data tap that is a copy of traffic flowing in a production fabric separate from the monitoring fabric;

identifying a begin packet among the mirrored traffic based on data contained in packets in the mirrored traffic, the begin packet indicative of a start of a communication session between a first client and a second client;

identifying session packets among the mirrored traffic that belong to the communication session between the first and second clients, wherein the session packets comprise a first plurality of session packets, a second plurality of session packets, and a third plurality of session packets;

forwarding the first plurality of session packets comprising session packets from the start of the session to a switch in the monitoring fabric; and

dropping the second plurality of session packets comprising one or more of the session packets subsequent to the first plurality of session packets.

2. The method of claim 1 , wherein the first plurality of session packets are forwarded to a network monitoring device, wherein the second plurality of session packets are not forwarded to the security tool and are forwarded to a packet recorder.

3. The method of claim 1 , wherein the first plurality of session packets comprises the begin packet and one or more session packets subsequent to the begin packet.

4. The method of claim 1 , further comprising:

identifying an end packet among the session packets, the end packet indicative of termination of the session; and

forwarding the third plurality of session packets comprising one or more packets subsequent to the second plurality of the session packets and including the end packet and one or more packets subsequent to the end packet to the switch in the monitoring fabric.

5. The method of claim 4 , wherein the packets between the first plurality of session packets and the third plurality of session packets are dropped.

6. The method of claim 1 , wherein the session is a transmission control protocol (TCP) session.

7. The method of claim 1 , wherein the first plurality of session packets comprise only session packets sent from the first client to the second client.

8. The method of claim 1 , wherein the first plurality of session packets comprise session packets sent from the first client to the second client and session packets sent from the second client to the first client.

9. A packet processing device in a monitoring fabric, the packet processing device comprising:

one or more computer processors; and

a computer-readable storage medium comprising instructions for controlling the one or more computer processors to:

receive mirrored traffic captured by a data tap, the mirrored traffic comprising a copy of traffic flow between two network devices in a production fabric separate from the monitoring fabric;

identify in the mirrored traffic a beginning portion of a communication session (session), a middle portion of the session, and an end portion of the session between a first client and a second client;

cause the beginning portion of the session to be forwarded to a network traffic monitoring device;

cause the middle portion of the session comprising a plurality of packets subsequent to a plurality of packets of the beginning portion to be omitted from the network traffic monitoring device; and

forward the middle portion of the session to a packet recorder.

10. The packet processing device of claim 9 , wherein the beginning portion of the session comprises a start-of-session packet and a plurality of packets following the start-of-session packet.

11. The packet processing device of claim 9 , wherein the beginning portion of the session is forwarded to a switch in the monitoring fabric, wherein the switch forwards the beginning portion of the session to the network traffic monitoring device.

12. The packet processing device of claim 9 , wherein the computer-readable storage medium further comprises instructions for controlling the one or more computer processors to forward the middle portion of the session to a packet recording device.

13. The packet processing device of claim 9 , wherein the computer-readable storage medium further comprises instructions for controlling the one or more computer processors to:

identify an end portion of the session between the first client and the second client; and

cause the end portion of the session to be forwarded to the monitoring tool.

14. The packet processing device of claim 9 , wherein the beginning portion of the session comprises only packets sent from the first client to the second client.

15. The packet processing device of claim 9 , wherein the beginning portion of the session comprises packets sent from the first client to the second client and packets sent from the second client to the first client.

16. The packet processing device of claim 9 , wherein the session is a Transmission Control Protocol (TCP) session.

17. A non-transitory computer-readable storage device in a network device, the non-transitory computer-readable storage device having stored thereon computer executable instructions, which when executed, cause the network device to:

receive mirrored traffic captured by a data tap that is a copy of traffic flowing in a production fabric separate from the monitoring fabric;

identify a begin packet among the mirrored traffic based on data contained in packets in the mirrored traffic, the begin packet indicative of a start of a communication session between a first client and a second client;

identify session packets among the mirrored traffic that belong to the communication session between the first and second clients, wherein the session packets comprise a first plurality of session packets, a second plurality of session packets, and a third plurality of session packets;

forward the first plurality of session packets comprising session packets from the start of the session to a switch in the monitoring fabric; and

drop the second plurality of session packets comprising one or more of the session packets subsequent to the first plurality of session packets.

18. The non-transitory computer-readable storage device of claim 17 , wherein the first plurality of session packets are forwarded to a network monitoring device, wherein the second plurality of session packets are not forwarded to the security tool and are forwarded to a packet recorder.

19. The non-transitory computer-readable storage device of claim 17 , wherein the first plurality of session packets comprises the begin packet and one or more session packets subsequent to the begin packet.

20. The non-transitory computer-readable storage device of claim 17 , wherein the first plurality of session packets comprise only session packets sent from the first client to the second client.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 15, 2021
From: CHIANG, KENNETH HSINCHAO; SHAH, SANDIP; STOLARCHUK, MICHAEL T.
To: ARISTA NETWORKS, INC.
Reel/Frame 058397/0460 →
Continuity (1)
Related Publication 20230188550A1 · Jun 15, 2023