hottub.patents
US 12,375,448 B2#3482141 Most CitedActiveUnited States (USPTO)Utility

Autotuning optimal keepalive intervals for secure sessions

0Forward Citations (#3482141 Global)
0.0/yrCitation Velocity (#3482141 Global)
0.00Citation PageRank (#3482141 Global)
18Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

Techniques for auto tuning keepalive packets intervals to an optimal interval are described. A remote secure session between a client device and a server over a network is established. A determination is made to identify an optimal keepalive interval for sending packets to keep the remote secure session alive over the network, the optimal keepalive interval defining an amount of time between sending of packets that keep a connection open through middleboxes in the network. Keepalive test probes are transmitted by the client device and to the server at different time intervals. An optimal keepalive interval is determined based at least in part on the keepalive test probes transmitted at the different intervals. The client device transmits information indicating the optimal keepalive interval to the server. Finally, the client device transmits keepalive packets according to the optimal keepalive interval.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A method comprising: establishing a first remote secure session between a client device and a server over a network; establishing a second remote secure session between the client device and the server over the network; determining to identify an optimal keepalive interval for sending packets to keep the first remote secure session alive over the network, the optimal keepalive interval defining an amount of time between sending of packets that keep a connection open through middleboxes in the network; transmitting, by the client device and to the server, keepalive packets over the first remote secure session according to a predetermined default interval known to keep a remote secure session from timing out; transmitting, by the client device and to the server, keepalive test probes at different time intervals over the second remote secure session; determining, by the client device, whether packets are received from the server; determining the optimal keepalive interval based at least i

  2. Claim 2Depends on #1

    The method of claim 1, further comprising detecting a change associated with a network interface of the client device and determining to identify a new optimal keepalive interval.

  3. Claim 3Depends on #1

    The method of claim 1 wherein the first remote secure session comprises one of: an Internet Protocol security (IPsec) Virtual Private Network (VPN) connection; a Datagram Transport Layer Security (DTLS) VPN connection; or a QUIC connection.

  4. Claim 4Depends on #1

    The method of claim 1, further comprising caching, by the client device, the optimal keepalive interval for the server over the network such that when connecting to the server over the network in subsequent remote secure sessions, the optimal keepalive interval is used.

  5. Claim 5Depends on #1

    The method of claim 1 further comprising determining to identify a new optimal keepalive interval for the server over the network based on at least one of detecting that a change associated with a network configuration has occurred, a change associated with the server has occurred, or a predetermined time interval has elapsed.

  6. Claim 6Depends on #1

    The method of claim 1, wherein the different time intervals further comprise at least one of: increasing intervals of time until an interval causing the second remote secure session to time out and an interval prior to the interval causing the second remote secure session to time out is determined to be the optimal keepalive interval; or decreasing intervals of time, wherein a first interval causes the second remote secure session to time out, until an interval that does not cause the second remote secure session to time out is determined to be the optimal keepalive interval.

  7. Claim 7Depends on #1

    The method of claim 1, further comprising: determining that the first remote secure session has roamed to a different interface; transmitting, by the client device and to the server, keepalive packets according to the predetermined default interval known to keep a remote session form timing out; establishing a third remote secure session between the client device and the server; transmitting, by the client device and to the server, keepalive test probes at different time intervals over the third remote secure session; determining, by the client device, whether packets are received from the server; determining the optimal keepalive interval based at least in part on the keepalive test probes transmitted and the packets received; transmitting, by the client device and to the server, information indicating the optimal keepalive interval; closing the third remote secure session; and transmitting keepalive packets, by the client device to the server, over the first remote secure session acc

  8. Claim 8Independent Claim

    A system comprising: one or more processors; and one or more non-transitory computer-readable media storing computer-executable instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising: establishing a first remote secure session between a client device and a server over a network; establishing a second remote secure session between the client device and the server over the network; determining to identify an optimal keepalive interval for sending packets to keep the first remote secure session alive over the network, the optimal keepalive interval defining an amount of time between sending of packets that keep a connection open through middleboxes in the network; transmitting, by the client device and to the server, keepalive packets over the first remote secure session according to a predetermined default interval known to keep a remote secure session from timing out; transmitting, by the client device and to the

Technical Overview & Description

TECHNICAL FIELD The present disclosure relates generally to autotuning keepalive packets. Specifically, a client endpoint device may determine the optimal keepalive interval needed to keep connections alive based on network conditions. BACKGROUND When a session between a client endpoint and a server over a network is established, the connection is valid until one side closes it. However, when a session is established over a network, the connection will not last indefinitely as some middleboxes in a network, such as network address translation (NAT) systems or a firewall will close a connection if there has not been any activity for a predetermined amount of time. A keepalive packet may be used to keep a session open through these intermediary devices in a network even when data inactivity occurs. Keepalives for various secure communication protocols have been available for some time. The primary purpose of keepalives is to keep a communication session active through intermediary devices, or middleboxes, such as NAT systems or firewalls. Current implementations of keepalives are typically a fixed configuration that is conveyed by the server to the client as a parameter or just a client configuration. The setting for keepalive intervals has no roaming properties and does not change regardless of network conditions. The server is the one selecting the keepalive parameters for a session or more often user provided configuration. As such, the configuration is typically a fixed value. For user datagram protocol (UDP) and Internet protocol (IP) protocols it is typically configured to be 30 seconds as most intermediary devices like a NAT will typically consider idle close UDP flow after 40 seconds. Thus, when no data is sent between a client device and a server for 30 seconds, the client device will send a keepalive packet to ensure the remote secure session is not closed by an intermediary device in the network. For transmission control protocol (TCP) sessions it is typica

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (18)

PatentTitleYearCitations

Non-Patent Literature (1)

  • Search Report and Written Opinion for International Application No. PCT/US2024/017396, Dated Jun. 7, 2024, 12 pages.