# US 2021/0084013 A1 · Method and apparatus for autonomous firewall rule management

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

- Number: US 2021/0084013 A1
- Document ID: US20210084013A1
- Status: Published application
- Kind: A1
- Application number: 16/990,574
- Filed: 2020-08-11
- Published: 2021-03-18
- Earliest claimed: 2019-09-13
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Rishi Mutnuru
- Web page: https://patentgrep.com/patent/US20210084013A1

## CPC

- H04L 41/0894: Policy-based network configuration management
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 16/245: Query processing
- H04L 41/0886: {Fully automatic configuration}
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 63/0236: {Filtering by address, protocol, port number or service, e.g. IP-address or URL}
- H04L 63/0263: {Rule management}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In accordance with an embodiment, described herein is a system and method for autonomous firewall rule management, for use with cloud computing environments or other types of network environments. A firewall rule management automation framework provides rule management for firewalls deployed across availability domains. The system is adapted to automatically determine firewalls that can receive network traffic from a given source subnet or destination subnet; configure the firewalls with required firewall rules; monitor the firewall rules through collection of metrics snapshots and rule hit counts; and purge underused or potentially obsolete firewall rules, for example those having zero hits over a particular period of time or number of snapshots. The system provide generic support for different types of firewall devices, and autonomous management of firewall rules within large heterogeneous computer networks that may include several types of firewalls.

## Claims

### Claim 1

A system for autonomous firewall rule management, for use with a cloud computing environment or other type of network environment, comprising:
a computer or other electronic device including a processor, and having a firewall rule management automation framework operating thereon and adapted to automatically:
determine firewalls that can receive network traffic from a given source subnet or destination subnet;
configure the firewalls with required firewall rules;
monitor the firewall rules through collection of metrics snapshots and rule hit counts; and
purge underused or potentially obsolete firewall rules.

### Claim 2 (depends on 1)

The system of claim 1, wherein the firewall rule management automation framework comprises a rule generator adapted to:
receive, as a user request, an input source subnet and destination subnets, a protocol, and one or more source port and destination ports that are to be blocked or permitted;
search within network database and route tables, to identify a set of firewalls and zones wherein the rule is to be configured in accordance with the user request; and
wherein a firewall configuration is generated and applied to each of the identified firewalls.

### Claim 3 (depends on 1)

The system of claim 1, wherein the firewall rule management automation framework comprises a rule applier adapted to use device-independent playbooks to apply a rule configuration to one or more different types of firewalls as dictated by the rule generator.

### Claim 4 (depends on 1)

The system of claim 1, wherein the firewall rule management automation framework comprises a metrics monitor that periodically polls firewalls configured with each rule and determines a hit count, to create a snapshot and populate a metrics database.

### Claim 5 (depends on 1)

The system of claim 1, wherein the firewall rule management automation framework comprise a rule purger that scans the metrics database and checks if any of the rules identified therein are obsolete, and if so then removes that rule from the firewall using the rule applier.

### Claim 6

A method for autonomous firewall rule management, for use with a cloud computing environment or other type of network environment, comprising:
automatically determining firewalls that can receive network traffic from a given source subnet or destination subnet;
automatically configuring the firewalls with required firewall rules;
monitoring the firewall rules through collection of metrics snapshots and rule hit counts; and
purging underused or potentially obsolete firewall rules.

### Claim 7 (depends on 6)

The method of claim 6, wherein the firewall rule management automation framework comprises a rule generator adapted to:
receive, as a user request, an input source subnet and destination subnets, a protocol, and one or more source port and destination ports that are to be blocked or permitted;
search within network database and route tables, to identify a set of firewalls and zones wherein the rule is to be configured in accordance with the user request; and
wherein a firewall configuration is generated and applied to each of the identified firewalls.

### Claim 8 (depends on 6)

The method of claim 6, wherein the firewall rule management automation framework comprises a rule applier adapted to use device-independent playbooks to apply a rule configuration to one or more different types of firewalls as dictated by the rule generator.

### Claim 9 (depends on 6)

The method of claim 6, wherein the firewall rule management automation framework comprises a metrics monitor that periodically polls firewalls configured with each rule and determines a hit count, to create a snapshot and populate a metrics database.

### Claim 10 (depends on 6)

The method of claim 6, wherein the firewall rule management automation framework comprise a rule purger that scans the metrics database and checks if any of the rules identified therein are obsolete, and if so then removes that rule from the firewall using the rule applier.

### Claim 11

A non-transitory computer readable storage medium, including instructions stored thereon which when read and executed by at least one of a computer or other electronic device causes the at least one of a computer or other electronic device to perform a method comprising:
automatically determining firewalls that can receive network traffic from a given source subnet or destination subnet;
automatically configuring the firewalls with required firewall rules;
monitoring the firewall rules through collection of metrics snapshots and rule hit counts; and
purging underused or potentially obsolete firewall rules.

### Claim 12 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the firewall rule management automation framework comprises a rule generator adapted to:
receive, as a user request, an input source subnet and destination subnets, a protocol, and one or more source port and destination ports that are to be blocked or permitted;
search within network database and route tables, to identify a set of firewalls and zones wherein the rule is to be configured in accordance with the user request; and
wherein a firewall configuration is generated and applied to each of the identified firewalls.

### Claim 13 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the firewall rule management automation framework comprises a rule applier adapted to use device-independent playbooks to apply a rule configuration to one or more different types of firewalls as dictated by the rule generator.

### Claim 14 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the firewall rule management automation framework comprises a metrics monitor that periodically polls firewalls configured with each rule and determines a hit count, to create a snapshot and populate a metrics database.

### Claim 15 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the firewall rule management automation framework comprise a rule purger that scans the metrics database and checks if any of the rules identified therein are obsolete, and if so then removes that rule from the firewall using the rule applier.
