US 11,658,902 B2
Session monitoring using metrics of session establishment
Michael Baj, Bedford, MA (US); Patrick J. MeLampy, Dunstable, MA (US); Ryan Koss, Merrimack, NH (US); Kaushik Adesh Agrawal, Chelmsford, MA (US); Abilash Menon, Boxborough, MA (US); Michael John Adams, Roslindale, MA (US); and Sarah V. Jaffer, Billerica, MA (US)
Assigned to Juniper Networks, Inc., Sunnyvale, CA (US)
Filed by Juniper Networks, Inc., Sunnyvale, CA (US)
Filed on Apr. 23, 2021, as Appl. No. 17/239,277.
Claims priority of provisional application 63/014,477, filed on Apr. 23, 2020.
Prior Publication US 2021/0336875 A1, Oct. 28, 2021
Int. Cl. H04L 45/302 (2022.01); H04L 45/12 (2022.01); H04L 45/24 (2022.01); H04L 45/00 (2022.01); H04L 9/40 (2022.01)
CPC H04L 45/302 (2013.01) [H04L 45/123 (2013.01); H04L 45/24 (2013.01); H04L 45/38 (2013.01); H04L 45/566 (2013.01); H04L 63/166 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
receiving, by a first router of a plurality of routers of a network connecting a client device to a network service instance hosted by a server, one or more session performance requirements for establishment of a session between the client device and the network service instance, the session comprising a forward packet flow and a reverse packet flow, wherein the first router is connected to the network service instance via a first path on the network and a second path on the network, the second path being different from the first path;
forwarding, by the first router and along the first path, network traffic for the session between the client device and the network service instance, the forwarding including modifying a first packet of at least one of the forward packet flow and the reverse packet flow of the session to include:
a header comprising a source address of the first router and a destination address of a second router of the plurality of routers along the first path; and
a portion of metadata specifying a session identifier for the session;
monitoring, by the first router, one or more session establishment messages carried by packets of the forward packet flow and the reverse packet flow for establishment of the session to derive one or more metrics related to the establishment of the session;
determining, by the first router, that the one or more metrics related to the establishment of the session do not satisfy the one or more session performance requirements for establishment of the session; and
in response to determining that the one or more metrics related to the establishment of the session do not satisfy the one or more session performance requirements for establishment of the session, forwarding, by the first router and along the second path, the network traffic for the session between the client device and the network service instance, the forwarding including modifying a second packet of at least one of the forward packet flow and the reverse packet flow of the session to include:
a header comprising a source address of the first router and a destination address of a third router of the plurality of routers along the second path; and
the portion of metadata specifying the session identifier for the session.