# US 2004/0083385 A1 · Dynamic network security apparatus and methods for network processors

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

- Number: US 2004/0083385 A1
- Document ID: US20040083385A1
- Status: Published application
- Kind: A1
- Application number: 10/280,250
- Filed: 2002-10-25
- Published: 2004-04-29
- Earliest claimed: 2002-10-25
- Assignees: Intel Corporation
- Inventors: Suhail Ahmed; Erik J. Johnson; Manasi Deval
- Web page: https://patentgrep.com/patent/US20040083385A1

## CPC

- H04L 63/1441: {Countermeasures against malicious traffic (countermeasures against attacks on cryptographic mechanisms H04L9/002)}
- H04L 63/0272: {Virtual private networks}
- H04L 63/1458: {Denial of Service}
- H04L 63/1466: {Active attacks involving interception, injection, modification, spoofing of data unit addresses, e.g. hijacking, packet injection or TCP sequence number attacks}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Methods and apparatus for loading a security algorithm in a fast path of a network processor are disclosed. In an example method, a network processor generates a statistic associated with a plurality of communication packets received by the network processor, determines a security attack on the network processor is in progress based on the statistic and loads the security algorithm in the fast path of the network processor.

## Claims

### Claim 1

A method of loading a security algorithm in a fast path of a network processor, comprising:
generating a statistic associated with a plurality of communication packets received by the network processor;
determining a security attack on the network processor is in progress based at least in part on the statistic; and
loading the security algorithm in the fast path of the network processor.

### Claim 2 (depends on 1)

The method of claim 1, further including calculating a function that balances adaptation time and communication throughput and comparing a result of the function to a threshold value prior to loading the security algorithm in the fast path of the network processor.

### Claim 3 (depends on 1)

The method of claim 1, wherein loading the security algorithm in the fast path of the network processor includes loading the security algorithm in the fast path of the network processor based on a comparison of a value function result and a threshold value.

### Claim 4 (depends on 3)

The method of claim 3, wherein comparing the value function result to the threshold value includes comparing a load time of the security algorithm to an elapsed time from a previous download to the network processor.

### Claim 5 (depends on 1)

The method of claim 1, further including determining the security algorithm is available for downloading from a database associated with the network processor.

### Claim 6 (depends on 1)

The method of claim 1, wherein generating the statistic associated with the plurality of communication packets received by the network processor includes generating one or more of a SYN rate statistic, a connection queue statistic, and a resource allocation statistic.

### Claim 7 (depends on 1)

The method of claim 1, wherein determining the security attack on the network processor is in progress based at least in part on the statistic includes comparing the statistic to a threshold value associated with the security attack.

### Claim 8 (depends on 7)

The method of claim 7, wherein comparing the statistic to the threshold value associated with the security attack includes comparing the statistic to a value associated with one or more of a TCP SYN attack, an IP source address spoofing attack, a UDP flooding attack, an ICMP echo reply attack, an ICMP flooding attack, and a sequence number attack.

### Claim 9

A system for dynamically responding to a network security attack, comprising:
a memory containing a plurality of security algorithms; and
a processor coupled to the memory and programmed to:
generate a statistic associated with a plurality of communication packets received by the processor;
determine the security attack on the processor is in progress based at least in part on the statistic; and
load one of the plurality of security algorithms in the processor.

### Claim 10 (depends on 9)

The system of claim 9, wherein the processor is further programmed to calculate a value function result and compare the value function result to a threshold value prior to loading the one of the plurality of security algorithms in the processor.

### Claim 11 (depends on 10)

The system of claim 10, wherein the processor is further programmed to load the security algorithm in the processor based at least in part on the comparison of the value function result and the threshold value.

### Claim 12 (depends on 10)

The system of claim 10, wherein the processor compares the value function result to the threshold value by comparing a load time of the one of the plurality of security algorithms to an elapsed time from a previous download to the processor.

### Claim 13 (depends on 9)

The system of claim 9, wherein the processor generates the statistic associated with the plurality of communication packets received by the processor by generating one or more of a SYN rate statistic, a connection queue statistic, and a resource allocation statistic.

### Claim 14 (depends on 9)

The system of claim 9, wherein the processor determines the security attack on the processor is in progress based on the statistic by comparing the statistic to a threshold value associated with the security attack.

### Claim 15

An apparatus for dynamically responding to a network security attack, comprising:
a machine accessible medium; and
instructions stored on the machine accessible medium and adapted to be executed by a processor to:
generate a statistic associated with a plurality of communication packets received by the processor;
determine a security attack on the processor is in progress based on the statistic; and
load one of a plurality of security algorithms in the processor.

### Claim 16 (depends on 15)

The system of claim 15, wherein the instructions are adapted to be executed by the processor to calculate a value function result and compare the value function result to a threshold value prior to loading the one of the plurality of security algorithms in the processor.

### Claim 17 (depends on 16)

The system of claim 16, wherein the instructions are adapted to load the one of the plurality of security algorithms in the processor based at least in part on the comparison of the value function result and the threshold value.

### Claim 18 (depends on 16)

The system of claim 16, wherein the instructions are adapted to be executed by the processor to compare the value function result to the threshold value by comparing a load time of the one of the plurality of security algorithms to an elapsed time from a previous download to the processor.

### Claim 19 (depends on 15)

The system of claim 15, wherein the instructions are adapted to be executed by the processor to generate the statistic associated with the plurality of communication packets received by the processor by generating one or more of a SYN rate statistic, a connection queue statistic, and a resource allocation statistic.

### Claim 20 (depends on 15)

The system of claim 15, wherein the instructions are adapted to be executed by the processor to determine the security attack on the processor is in progress based at least in part on the statistic by comparing the statistic to a threshold value associated with the security attack.

### Claim 21

A machine accessible medium having associated data that, when accessed, causes a machine to:
generate a statistic associated with a plurality of communication packets received by the processor;
determine a security attack on the processor is in progress based on the statistic; and
load one of a plurality of security algorithms in the processor.

### Claim 22 (depends on 21)

The machine accessible medium of claim 21, wherein the data, when accessed, causes the machine to calculate a value function result and compare the value function result to a threshold value prior to loading the one of the plurality of security algorithms in the processor.

### Claim 23 (depends on 22)

The machine accessible medium of claim 22, wherein the data, when accessed, causes the machine to load the one of the plurality of security algorithms in the processor based at least in part on the comparison of the value function result and the threshold value.

### Claim 24 (depends on 22)

The machine accessible medium of claim 22, wherein the data, when accessed, causes the machine to compare the value function result to the threshold value by comparing a load time of the one of the plurality of security algorithms to an elapsed time from a previous download to the processor.

### Claim 25 (depends on 21)

The machine accessible medium of claim 21, wherein the data, when accessed, causes the machine to generate the statistic associated with the plurality of communication packets received by the processor by generating one or more of a SYN rate statistic, a connection queue statistic, and a resource allocation statistic.

### Claim 26 (depends on 21)

The machine accessible medium of claim 21, wherein the data, when accessed, causes the machine to determine the security attack on the processor is in progress based at least in part on the statistic by comparing the statistic to a threshold value associated with the security attack.

### Claim 27

A method of loading a security algorithm in a fast path of a network processor, comprising:
receiving a request for a connection to the network processor from a network client;
presenting a plurality of available security algorithms to the network client;
determining which one of the plurality of available security algorithms is to be used for communications with the network client; and
downloading the one of the plurality of available security algorithms to be used for communications with the network client to the network processor.

### Claim 28 (depends on 27)

The method of claim 27, further including determining another network client is currently connected to the network processor and presenting the plurality of available security algorithms so that at least one previously downloaded security algorithm and one security algorithm that has not been downloaded from the plurality of available security algorithms are presented to the network client.

### Claim 29 (depends on 28)

The method of claim 28, wherein receiving the request for the connection to the network processor from the network client includes receiving a request for a virtual private network connection from the network client.

### Claim 30 (depends on 29)

The method of claim 29, wherein receiving the request for the virtual private network connection from the network client includes receiving security key exchange information from the network client.

### Claim 31 (depends on 27)

The method of claim 27, wherein presenting the plurality of available security algorithms to the network client includes presenting authentication and encryption algorithms to the network client.

### Claim 32 (depends on 27)

The method of claim 27, wherein downloading the one of the plurality of available security algorithms to be used for communications with the network client to the network processor includes loading the one of the plurality of available security algorithms in the fast path of the network processor.

### Claim 33

A network communication device, comprising,
a memory containing a plurality of security algorithms; and
a processor coupled to the memory and programmed to:
receive a request for a connection to the processor from a network client;
present a set of the plurality of security algorithms to the network client;
determine which one of the plurality of security algorithms is to be used for communications with the network client; and
download the one of the plurality of security algorithms to be used for communications with the network client to the processor.

### Claim 34 (depends on 33)

The network communication device of claim 33, wherein the processor is programmed to determine that another network client is connected to the processor and to present the set of the security algorithms so that at least one previously downloaded security algorithm and one security algorithm that has not been downloaded from the set of the security algorithms are presented to the network client.

### Claim 35 (depends on 33)

The network communication device of claim 33, wherein the processor functions as a gateway to a virtual private network.

### Claim 36 (depends on 33)

The network communication device of claim 33, wherein the processor is programmed to use security key exchange information received from the network client to generate the set of the security algorithms.

### Claim 37 (depends on 33)

The network communication device of claim 33, wherein the plurality of security algorithms include authentication and encryption algorithms.

### Claim 38

An apparatus for loading a security algorithm in a fast path of a network processor, comprising:
a machine accessible medium; and
instructions stored on the machine accessible medium and adapted to be executed by the network processor to:
receive a request for a connection to the network processor from a network client;
present a plurality of available security algorithms to the network client;
determine which one of the plurality of available security algorithms is to be used for communications with the network client; and
download the one of the plurality of available security algorithms to be used for communications with the network client to the network processor.

### Claim 39 (depends on 38)

The apparatus of claim 38, wherein the instructions are adapted to be executed by the network processor to determine that another network client is already connected to the network processor and to present the plurality of available security algorithms to the network client so that at least one previously downloaded security algorithm and one security algorithm that has not been downloaded from the plurality of available security algorithms are presented to the network client.

### Claim 40 (depends on 38)

The appartus of claim 38, wherein the instructions are adapted to be executed by the processor to download the one of the plurality of available security algorithms to be used for communications with the network client to the network processor by loading the one of the plurality of available security algorithms in the fast path of the network processor.

### Claim 41

A machine accessible medium having associated data that, when accessed, causes a machine to:
receive a request for a connection to the network processor from a network client;
present a plurality of available security algorithms to the network client;
determine which one of the plurality of available security algorithms is to be used for communications with the network client; and
download the one of the plurality of available security algorithms to be used for communications with the network client to the network processor.

### Claim 42 (depends on 41)

The machine accessible medium of claim 41, wherein the data, when accessed, causes the machine to determine that another network client is already connected to the network processor and to present the plurality of available security algorithms to the network client so that at least one previously downloaded security algorithm and one security algorithm that has not been downloaded from the plurality of available security algorithms are presented to the network client.

### Claim 43 (depends on 41)

The machine accessible medium of claim 41, wherein the data, when accessed, causes the machine to download the one of the plurality of available security algorithms to be used for communications with the network client to the network processor by loading the one of the plurality of available security algorithms in the fast path of the network processor.

### Claim 44

A method of responding to a network security attack, comprising:
monitoring a characteristic of communications on a network;
detecting the network security attack based at least in part on the monitored characteristic; and
loading a security algorithm in a network processor.

### Claim 45 (depends on 44)

The method of claim 44, wherein monitoring the characteristic of the communications on the network includes generating one or more of a communication packet statistic and resource statistic.

### Claim 46 (depends on 45)

The method of claim 45, wherein detecting the network security attack based at least in part on the monitored characteristic includes comparing the monitored characteristic to a threshold value associated with the network security attack.

### Claim 47

A computer system, comprising:
a memory containing a plurality of security algorithms; and
a network processor coupled to the memory and programmed to:
monitor communications on a network; and
load one of the plurality of security algorithms in the network processor based on the monitored communications.

### Claim 48 (depends on 47)

The computer system of claim 47, wherein the plurality of security algorithms include one or more of an authentication algorithm, an encryption algorithm, and an algorithm responsive to a network security attack.

### Claim 49 (depends on 47)

The computer system of claim 47, wherein the network processor is programmed to generate a statistic based on the monitored communications and to load the one of the plurality of security algorithms in the network processor based on the monitored communications by comparing the statistic to a value associated with a network security attack.

### Claim 50 (depends on 47)

The computer system of claim 47, wherein the network processor is further programmed to calculate a value function result associated with loading the one of the plurality of algorithms in the network processor and to load the one of the plurality of security algorithms in the network processor based at least in part on the value function result.
