PatentRef

Data version 20261117.2, as of 2026-11-17. Free beta.

US 10708229

Packet induced revalidation of connection tracker

Granted 2020-07-07 · Filed 2017-11-15 · Application 15/814,272 · Utility · Kind B2 · Prior publication US 2019/0149518 A1, 2019-05-16

Assignee as printed
  • NICIRA, INC., Palo Alto, CA (US) · PatentsView label: Nicira, Inc.
Inventors
Soner Sevinc, San Francisco, CA (US); Yang Song, San Jose, CA (US); Jonathan Stringer, Mountain View, CA (US)
CPC, current
H04L63/0263; H04L63/0254; H04L63/0236; H04L63/20

Abstract

A method of revalidating a connection tracking table of a flow-based managed forwarding element (MFE) that stores a set of firewall rules associated with each of a set of network connections and a connection table that stores a firewall rule identification and a set of state values associated with each of said network connections. The method receives a change in one or more firewall rules stored at the MFE. The method receives a packet that requires stateful firewall rule check on a particular connection after the change in the firewall rules. When the rule identification retrieved from the connection table is not the same as the new firewall rule associated with the particular connection, the method updates the firewall rule identification and the set of state values associated the particular connection using the new firewall rule identification associated with the particular connection.

Claims

20 claims · independent 1 and 11

The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.

Claim 1

Independent claim.

1. A method for using packets to validate entries in a connection tracking table of a firewall engine executing on a host computer, the firewall engine using a firewall rule storage storing a set of firewall rules and using the connection tracking table to track data flows to which the firewall engine has applied firewall rules, the method comprising:

  1. Claim 1, element e1receiving a packet that is part of a particular flow; 354–406
  2. Claim 1, element e2when the connection tracking table has an entry matching the particular flow: 408–484
  3. Claim 1, element e3retrieving, from the matching entry in the connection tracking table, a set of data stored for an associated flow for which the entry was created in the connection tracking table and for a firewall rule that was previously applied to the flow for which the entry was created; 486–760
  4. Claim 1, element e4identifying a firewall rule in the firewall rule storage that matches the associated flow for which the entry in the connection tracking table was created; and 762–916
  5. Claim 1, element e5when the identified firewall rule comprises an associated set of data that does not match the set of data retrieved from the connection tracking table, updating the connection tracking table based on the identified firewall rule's set of data.922–1164
9 dependent claims: 2 to 10 (2, 5, 10 on claim 1; 3, 4 on 2; 6, 7, 8, 9 on 5)

Claim 2

Depends on claim 1.

2. The method of claim 1 , wherein

  1. Claim 2, element e1each entry in the connection tracking table identifies the associated flow for which the entry was created with an n-tuple comprising a source address and a destination address, 35–211
  2. Claim 2, element e2wherein the set of data stored in each entry in the connection tracking table for the associated flow comprises (i) an n-tuple of a first packet of the associated flow and (ii) a direction of the first packet.213–421

Claim 3

Depends on claim 2.

3. The method of claim 2 , wherein

  1. Claim 3, element e1the received packet is in an opposite direction of the first packet of the matching entry's associated flow, an entry in the connection tracking table matches the particular flow (i) when the entry stores the n-tuple of the particular data flow or (ii) when the entry stores the n-tuple of a flow related to the particular data flow, and identifying the firewall rule comprises using the n-tuple of the first packet of the associated flow to identify the firewall rule in the set of firewall rules.35–532

Claim 4

Depends on claim 2.

4. The method of claim 2 , wherein

  1. Claim 4, element e1each n-tuple further comprises a source port number, a destination port number, and an identification of a protocol used.35–155

Claim 5

Depends on claim 1.

5. The method of claim 1 , wherein

  1. Claim 5, element e1the retrieved set of data stored in the connection table comprises a state value indicating whether the firewall rule that was previously applied to the associated flow is stateful or stateless.35–228

Claim 6

Depends on claim 5.

6. The method of claim 5 , wherein

  1. Claim 6, element e1the retrieved set of data indicates that the firewall rule that was previously applied to the associated flow is stateless and the set of data associated with the identified firewall rule indicates that the identified firewall rule is stateful, the retrieved set of data comprises an n-tuple of a first packet of the associated flow and a direction of said first packet, updating the connection tracking table based on the identified firewall rule's set of data comprises: 35–506
  2. Claim 6, element e2replacing the n-tuple associated with the first packet with an n-tuple of the received packet; and 508–601
  3. Claim 6, element e3replacing the direction of the first packet in the connection tracking table with a direction of the received packet.607–723

Claim 7

Depends on claim 5.

7. The method of claim 5 , wherein

  1. Claim 7, element e1the retrieved set of data indicates that the firewall rule that was previously applied to the associated flow is stateless and the set of data associated with the identified firewall rule indicates that the identified firewall rule is stateless, the retrieved set of data comprises an n-tuple of a first packet of the associated flow, an ingress direction action, and an egress direction action, updating the connection tracking table based on the identified firewall rule's set of data comprises replacing the ingress direction action and the egress direction action with an ingress direction action and an egress direction action associated with the identified firewall rule.35–711

Claim 8

Depends on claim 5.

8. The method of claim 5 , wherein

  1. Claim 8, element e1the retrieved set of data indicates that the firewall rule that was previously applied to the associated flow is stateful and the set of data associated with the identified firewall rule indicates that the identified firewall rule is stateless, the retrieved set of data comprises a direction of a first packet of the associated flow, a direction of the packet received as part of the particular flow is the same as the direction of the first packet, updating the connection tracking table based on the identified firewall rule's set of data comprises replacing an indicator in the matching entry that specifies that the firewall rule is stateful with another indicator that specifies that the firewall rule is stateless.35–755

Claim 9

Depends on claim 5.

9. The method of claim 5 , wherein

  1. Claim 9, element e1the retrieved set of data indicates that the firewall rule that was previously applied to the associated flow is stateful and the set of data associated with the identified firewall rule indicates that the identified firewall rule is stateless, the retrieved set of data comprises a direction of a first packet of the associated flow, a direction of the packet received as part of the particular flow is an opposite direction as the direction of the first packet, updating the connection tracking table based on the identified firewall rule's set of data comprises replacing in the matching entry a rule identifier for the firewall rule that was previously applied to the associated flow in the connection table with a rule identifier for the identified firewall rule.35–802

Claim 10

Depends on claim 1.

10. The method of claim 1 further comprising

  1. Claim 10, element e1receiving a change in the set of firewall rules, 45–92
  2. Claim 10, element e2wherein receiving the change does not trigger an update of the rule identifiers and the sets of data stored in the connection table.94–225

Claim 11

Independent claim.

11. A non-transitory machine readable medium storing a program which when executed by at least one processing unit uses packets to validate entries in a connection tracking table of a firewall engine executing on a host computer, the firewall engine using a firewall rule storage storing a set of firewall rules and using the connection tracking table to track data flows to which the firewall engine has applied firewall rules, the program comprising

  1. Claim 11, element e1sets of instructions for: 452–476
  2. Claim 11, element e2receiving a packet that is part of a particular flow; 478–530
  3. Claim 11, element e3when the connection tracking table has an entry matching the particular flow: 532–608
  4. Claim 11, element e4retrieving, from the matching entry in the connection tracking table, a set of data stored for an associated flow for which the entry was created in the connection tracking table and for a firewall rule that was previously applied to the flow for which the entry was created; 610–884
  5. Claim 11, element e5identifying a firewall rule in the firewall rule storage that matches the associated flow for which the entry in the connection tracking table was created; and 886–1040
  6. Claim 11, element e6when the identified firewall rule comprises an associated set of data that does not match the set of data retrieved from the connection tracking table, updating the connection tracking table based on the identified firewall rule's set of data.1046–1288
9 dependent claims: 12 to 20 (12, 15, 20 on claim 11; 13, 14 on 12; 16, 17, 18, 19 on 15)

Claim 12

Depends on claim 11.

12. The non-transitory machine readable medium of claim 11 , wherein

  1. Claim 12, element e1each entry in the connection tracking table identifies the associated flow for which the entry was created with an n-tuple comprising a source address and a destination address, 69–245
  2. Claim 12, element e2wherein the set of data stored in each entry in the connection tracking table for the associated flow comprises (i) an n-tuple of a first packet of the associated flow and (ii) a direction of the first packet.247–455

Claim 13

Depends on claim 12.

13. The non-transitory machine readable medium of claim 12 , wherein

  1. Claim 13, element e1the received packet is in an opposite direction of the first packet of the matching entry's associated flow: 69–176
  2. Claim 13, element e2an entry in the connection tracking table matches the particular flow (i) when the entry stores the n-tuple of the particular data flow or (ii) when the entry stores the n-tuple of a flow related to the particular data flow, and the set of instructions for identifying the firewall rule comprises a set of instructions for using the n-tuple of the first packet of the associated flow to identify the firewall rule in the set of firewall rules.178–620

Claim 14

Depends on claim 12.

14. The non-transitory machine readable medium of claim 12 , wherein

  1. Claim 14, element e1each n-tuple further comprises a source port number, a destination port number, and an identification of a protocol used.69–189

Claim 15

Depends on claim 11.

15. The non-transitory machine readable medium of claim 11 , wherein

  1. Claim 15, element e1the retrieved set of data stored in the connection table comprises a state value indicating whether the firewall rule that was previously applied to the associated flow is stateful or stateless.69–262

Claim 16

Depends on claim 15.

16. The non-transitory machine readable medium of claim 15 , wherein

  1. Claim 16, element e1the retrieved set of data indicates that the firewall rule that was previously applied to the associated flow is stateless and the set of data associated with the identified firewall rule indicates that the identified firewall rule is stateful, the retrieved set of data comprises an n-tuple of a first packet of the associated flow and a direction of said first packet, the set of instructions for updating the connection tracking table based on the identified firewall rule's set of data comprises sets of instructions for: 69–593
  2. Claim 16, element e2replacing the n-tuple associated with the first packet with an n-tuple of the received packet; and 595–688
  3. Claim 16, element e3replacing the direction of the first packet in the connection tracking table with a direction of the received packet.694–810

Claim 17

Depends on claim 15.

17. The non-transitory machine readable medium of claim 15 , wherein

  1. Claim 17, element e1the retrieved set of data indicates that the firewall rule that was previously applied to the associated flow is stateless and the set of data associated with the identified firewall rule indicates that the identified firewall rule is stateless, the retrieved set of data comprises an n-tuple of a first packet of the associated flow, an ingress direction action, and an egress direction action, the set of instructions for updating the connection tracking table based on the identified firewall rule's set of data comprises a set of instructions for replacing the ingress direction action and the egress direction action with an ingress direction action and an egress direction action associated with the identified firewall rule.69–799

Claim 18

Depends on claim 15.

18. The non-transitory machine readable medium of claim 15 , wherein

  1. Claim 18, element e1the retrieved set of data indicates that the firewall rule that was previously applied to the associated flow is stateful and the set of data associated with the identified firewall rule indicates that the identified firewall rule is stateless, the retrieved set of data comprises a direction of a first packet of the associated flow, a direction of the packet received as part of the particular flow is the same as the direction of the first packet, the set of instructions for updating the connection tracking table based on the identified firewall rule's set of data comprises a set of instructions for replacing an indicator in the matching entry that specifies that the firewall rule is stateful with another indicator that specifies that the firewall rule is stateless.69–843

Claim 19

Depends on claim 15.

19. The non-transitory machine readable medium of claim 15 , wherein

  1. Claim 19, element e1the retrieved set of data indicates that the firewall rule that was previously applied to the associated flow is stateful and the set of data associated with the identified firewall rule indicates that the identified firewall rule is stateless, the retrieved set of data comprises a direction of a first packet of the associated flow, a direction of the packet received as part of the particular flow is an opposite direction as the direction of the first packet, the set of instructions for updating the connection tracking table based on the identified firewall rule's set of data comprises a set of instructions for replacing in the matching entry a rule identifier for the firewall rule that was previously applied to the associated flow in the connection table with a rule identifier for the identified firewall rule.69–890

Claim 20

Depends on claim 11.

20. The non-transitory machine readable medium of claim 11 , further comprising

  1. Claim 20, element e1a set of instructions for receiving a change in the set of firewall rules, 80–153
  2. Claim 20, element e2wherein receiving the change does not trigger an update of the rule identifiers and the sets of data stored in the connection table.155–286

Status

active

As of 2026-11-17, the USPTO record for US 10708229 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2038-06-23 (20 years from filing, plus 220 days of patent term adjustment), a date not yet passed (data version 20261117.2).

Basis
term_20y · pta_days:220 (20 years from filing, plus 220 days of patent term adjustment)
Term end
2038-06-23 Computed from the dates in the USPTO record
Fee lapse
none on record
Reinstatement
none on record; reinstatement_possible: false, not lapsed
As of
2026-11-17
Data version
20261117.2

A fact about the record with its basis and its as-of date, not legal advice.

Citations

References cited on the grant: 4 US patent documents · Cited by: 53 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10708229/ (needs a free key, as the links under Get this as data)

Family outside the US

Google Patents Public Datasets lists no publication outside the US in this patent's family (read 2026-10-15).

This patent's family on USPTO Global Dossier

Family data from Google Patents Public Datasets, used under CC BY 4.0.

Record JSON
{
 "patent_id": "10708229",
 "status": "active",
 "basis": [
  "term_20y",
  "pta_days:220"
 ],
 "reinstatement_possible": false,
 "reinstatement_basis": "not lapsed",
 "expiry_date_estimated": "2038-06-23",
 "lapse_date": null,
 "reinstated_date": null,
 "as_of": "2026-11-17",
 "data_version": "20261117.2",
 "catalog_data_version": "20261117.2",
 "permalink": "https://patentref.io/p/10708229?v=20261117.2",
 "next_steps": [
  {
   "kind": "record",
   "url": "https://patentref.io/p/10708229?v=20261117.2",
   "audience": "human"
  },
  {
   "kind": "patent",
   "url": "https://patentref.io/api/v1/patent/10708229/",
   "audience": "agent"
  },
  {
   "kind": "fee_events",
   "tool": "uspto_patent_center",
   "url": "https://patentcenter.uspto.gov/applications?patentNumber=10708229",
   "audience": "agent"
  }
 ]
}

Get this as data

These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.

Elsewhere

Cite this record

https://patentref.io/p/10708229?v=20261117.2

Data 20261117.2 · as of 2026-11-17