You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/includes/nap-waf/config/common/ip-intelligence-conf.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@
2
2
3
3
4
4
As of NAP version 4.15.0 (for NAP V4 deployments), and NAP version 5.7.0 (for NAP V5 deployments), NGINX App Protect WAF includes a new feature named IP Intelligence. This features allows customizing the enforcement based on the source IP of the request to limit access from IP addresses with questionable reputation. Please note that:
5
-
- The IP intelligence feature is disabled by default and needs to be explicitly enabled and configured in the policy.
6
-
- The package `app-protect-ip-intelligence`needs to be installed (for NAP V4 deployments), or the IP Intelligence image deployed (for NAP V5 deployments), before configuring and using the feature. This package installs the client that downloads and updates the database required for enforcing IP Intelligence.
5
+
- The IP intelligence feature is **disabled** by default and needs to be explicitly enabled and configured in the policy.
6
+
- The package `app-protect-ip-intelligence`must be installed (for NAP V4 deployments), or the IP Intelligence image deployed (for NAP V5 deployments), before configuring and using the feature. This package installs the client that downloads and updates the database required for enforcing IP Intelligence.
7
7
8
8
After installing the package or image, enable the feature in the following two places in the policy:
9
-
1. By enabling the corresponding violation in the violation list: `"name": "VIOL_MALICIOUS_IP"` and assigning the required`block` and `alarm` values to the violation.
9
+
1. By enabling the corresponding violation in the violation list: `"name": "VIOL_MALICIOUS_IP"` and assigning the appropriate`block` and `alarm` values to the violation.
10
10
11
11
2. By enabling the featue in the corresponding IP Intelligence JSON section: `"ip-intelligence": {"enabled": true}` and define actions for the IP Intelligence categories listed below.
12
12
@@ -99,6 +99,7 @@ An example policy where both elements are enabled, and all the IP intelligence c
99
99
}
100
100
}
101
101
```
102
+
102
103
This policy will basically block `"block": true` all IP addresses that are part of any threat category and add a log entry `"alarm": true` for the transaction.
103
104
104
105
The IP address database is managed by an external provider and is constantly updated (every 1 minute by default). The database also categorizes IP addresses into one or more threat categories. These are the same categories that can be configured individually in the IP intelligence section:
Copy file name to clipboardExpand all lines: content/includes/nap-waf/ip-intelligence.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,3 @@
1
-
### Docker Compose File with IP Intelligence
2
-
3
1
If the deployment intends to use the IP intelligence Feature (avaiable from version 5.7.0), then the IP intelligence container needs to be added to the deployment in the docker compose file.
4
2
5
3
Modify the original `docker-compose.yml` file to include the additional IP Intelligence container:
@@ -56,14 +54,14 @@ Notes:
56
54
- Replace `waf-config-mgr`, `waf-enforcer` and `waf-ip-intelligence` tags with the actual release version tag you are deploying. We are using version 5.7.0 for this example deployment.
57
55
- By default, the containers `waf-config-mgr`, `waf-enforcer` and `waf-ip-intelligence` operate with the user and group IDs set to 101:101. Ensure that the folders and files are accessible to these IDs.
58
56
59
-
Before you create the deployment in docker compose, create the directories:
57
+
Before creating the deployment in docker compose, create the required directories:
0 commit comments