# US 2020/0403974 A1 · Rule Swapping in a Packet Network

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0403974 A1
- Document ID: US20200403974A1
- Status: Published application
- Kind: A1
- Application number: 16/892,424
- Filed: 2020-06-04
- Published: 2020-12-24
- Earliest claimed: 2013-01-11
- Assignees: Centripetal Networks, Inc.
- Applicants: Centripetal Networks, Inc.
- Inventors: David K. Ahn; Steven Rogers; Sean Moore
- Web page: https://patentgrep.com/patent/US20200403974A1

## CPC

- H04L 63/0263: {Rule management}
- G06N 5/02: Knowledge representation; Symbolic representation
- H04L 41/16: using machine learning or artificial intelligence
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

In some variations, first and second rule sets may be received by a network protection device. The first and second rule sets may be preprocessed. The network protection device may be configured to process packets in accordance with the first rule set. Packets may be received by the network protection device. A first portion of the packets may be processed in accordance with the first rule set. The network protection device may be reconfigured to process packets in accordance with the second rule set. A second portion of the packets may be processed in accordance with the second rule set.

## Claims

### Claim 1

A method comprising:
preprocessing, by a network protection device, a first rule set by performing operations on the first rule set, prior to the first rule set being implemented on the network protection device, to optimize performance of the network protection device;
configuring the network protection device to process packets in accordance with the preprocessed first rule set after preprocessing the first rule set;
receiving a plurality of packets after configuring the network protection device to process packets in accordance with the preprocessed first rule set;
processing, by the network protection device, a first portion of the plurality of packets in accordance with the preprocessed first rule set;
receiving, after configuring the network protection device to process packets in accordance with the preprocessed first rule set and after processing the first portion of the plurality of packets in accordance with the preprocessed first rule set, a second rule set;
preprocessing, by the network protection device, the second rule set by performing operations on the second rule set, prior to the second rule set being implemented on the network protection device, to optimize performance of the network protection device, wherein the second rule set is preprocessed prior to the network protection device processing any packets in accordance with the second rule set;
signaling the network protection device to process packets in accordance with the second rule set; and
responsive to the signaling:
ceasing processing of one or more packets by the network protection device;
caching the one or more packets;
reconfiguring the network protection device to process packets in accordance with the preprocessed second rule set;
signaling completion of reconfiguration to process packets in accordance with the preprocessed second rule set; and
responsive to signaling the completion of the reconfiguration, processing the one or more cached packets by the network protection device in accordance with the preprocessed second rule set.

### Claim 2 (depends on 1)

The method of claim 1, wherein the signal to process packets in accordance with the second rule set is based on the network protection device receiving a message invoking the second rule set.

### Claim 3 (depends on 1)

The method of claim 1, wherein the signal to process packets in accordance with the second rule set is based on one or more detected network conditions indicating a network attack.

### Claim 4 (depends on 1)

The method of claim 1, wherein the operations performed on the first rule set and the second rule set comprises merging a plurality of rules into a single rule.

### Claim 5 (depends on 1)

The method of claim 1, wherein the operations performed on the first rule set and the second rule set comprises separating a rule into a plurality of rules.

### Claim 6 (depends on 1)

The method of claim 1, wherein the operations performed on the first rule set and the second rule set comprises reordering one or more rules.

### Claim 7

A network protection device comprising:
one or more processors; and
memory comprising instructions that, when executed by the one or more processors, cause the network protection device to:
preprocess a first rule set by performing operations on the first rule set, prior to the first rule set being implemented on the network protection device, to optimize performance of the network protection device;
configure the network protection device to process packets in accordance with the preprocessed first rule set after preprocessing the first rule set;
receive a plurality of packets after configuring the network protection device to process packets in accordance with the preprocessed first rule set;
process a first portion of the plurality of packets in accordance with the preprocessed first rule set;
receiving, after configuring the network protection device to process packets in accordance with the preprocessed first rule set and after processing the first portion of the plurality of packets in accordance with the preprocessed first rule set, a second rule set;
preprocessing the second rule set by performing operations on the second rule set, prior to the second rule set being implemented on the network protection device, to optimize performance of the network protection device, wherein the second rule set is preprocessed prior to the network protection device processing any packets in accordance with the second rule set;
signal the network protection device to process packets in accordance with the second rule set; and
responsive to the signaling:
cease processing of one or more packets by the network protection device;
cache the one or more packets;
reconfigure the network protection device to process packets in accordance with the preprocessed second rule set;
signal completion of reconfiguration to process packets in accordance with the preprocessed second rule set; and
responsive to signaling the completion of the reconfiguration, process the one or more cached packets by the network protection device in accordance with the preprocessed second rule set.

### Claim 8 (depends on 7)

The network protection device of claim 7, wherein the signal to process packets in accordance with the second rule set is based on the network protection device receiving a message invoking the second rule set.

### Claim 9 (depends on 7)

The network protection device of claim 7, wherein the signal to process packets in accordance with the second rule set is based on one or more detected network conditions indicating a network attack.

### Claim 10 (depends on 7)

The network protection device of claim 7, wherein the instructions to perform operations on the first rule set and the second rule set cause the network protection device to merge a plurality of rules into a single rule.

### Claim 11 (depends on 7)

The network protection device of claim 7, wherein the instructions to perform operations on the first rule set and the second rule set cause the network protection device to separate a rule into a plurality of rules.

### Claim 12 (depends on 7)

The network protection device of claim 7, wherein the instructions to perform operations on the first rule set and the second rule set cause the network protection device to reorder one or more rules.

### Claim 13

A non-transitory computer-readable medium comprising instructions that, when executed, cause a device to:
preprocess a first rule set by performing operations on the first rule set, prior to the first rule set being implemented on the device, to optimize performance of the device;
configure the device to process packets in accordance with the preprocessed first rule set after preprocessing the first rule set;
receive a plurality of packets after configuring the device to process packets in accordance with the preprocessed first rule set;
process a first portion of the plurality of packets in accordance with the preprocessed first rule set;
receiving, after configuring the device to process packets in accordance with the preprocessed first rule set and after processing the first portion of the plurality of packets in accordance with the preprocessed first rule set, a second rule set;
preprocessing the second rule set by performing operations on the second rule set, prior to the second rule set being implemented on the device, to optimize performance of the device, wherein the second rule set is preprocessed prior to the device processing any packets in accordance with the second rule set;
signal the device to process packets in accordance with the second rule set; and
responsive to the signaling:
cease processing of one or more packets by the device;
cache the one or more packets;
reconfigure the device to process packets in accordance with the preprocessed second rule set;
signal completion of reconfiguration to process packets in accordance with the preprocessed second rule set; and
responsive to signaling the completion of the reconfiguration, process the one or more cached packets by the device in accordance with the preprocessed second rule set.

### Claim 14 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein the signal to process packets in accordance with the second rule set is based on the device receiving a message invoking the second rule set.

### Claim 15 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein the signal to process packets in accordance with the second rule set is based on one or more detected network conditions indicating a network attack.

### Claim 16 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein the instructions to perform operations on the first rule set and the second rule set cause the device to merge a plurality of rules into a single rule.

### Claim 17 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein the instructions to perform operations on the first rule set and the second rule set cause the device to separate a rule into a plurality of rules.

### Claim 18 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein the instructions to perform operations on the first rule set and the second rule set cause the device to reorder one or more rules.
