@@ -55,13 +55,15 @@ The table below shows which WAF compiler version to use for each version of NGIN
55
55
56
56
| NGINX App Protect WAF version | WAF compiler version |
57
57
| -------------------------------| ----------------------------|
58
+ | 5.8.0 | nms-nap-compiler-v5.498.0 |
58
59
| 5.7.0 | nms-nap-compiler-v5.442.0 |
59
60
| 5.6.0 | nms-nap-compiler-v5.342.0 |
60
61
| 5.5.0 | nms-nap-compiler-v5.264.0 |
61
62
| 5.4.0 | nms-nap-compiler-v5.210.0 |
62
63
| 5.3.0 | nms-nap-compiler-v5.144.0 |
63
64
| 5.2.0 | nms-nap-compiler-v5.48.0 |
64
65
| 5.1.0 | nms-nap-compiler-v5.17.0 |
66
+ | 4.16.0 | nms-nap-compiler-v5.498.0 |
65
67
| 4.15.0 | nms-nap-compiler-v5.442.0 |
66
68
| 4.14.0 | nms-nap-compiler-v5.342.0 |
67
69
| 4.13.0 | nms-nap-compiler-v5.264.0 |
@@ -88,13 +90,13 @@ The table below shows which WAF compiler version to use for each version of NGIN
88
90
To install the WAF compiler on Debian or Ubuntu, run the following command:
89
91
90
92
``` shell
91
- sudo apt-get install nms-nap-compiler-v5.442 .0
93
+ sudo apt-get install nms-nap-compiler-v5.498 .0
92
94
```
93
95
94
96
If you want to install more than one version of the WAF compiler on the same system, append the ` --force-overwrite ` option to the install command after the first installation:
95
97
96
98
``` shell
97
- sudo apt-get install nms-nap-compiler-v5.442 .0 -o Dpkg::Options::=" --force-overwrite"
99
+ sudo apt-get install nms-nap-compiler-v5.498 .0 -o Dpkg::Options::=" --force-overwrite"
98
100
```
99
101
100
102
{{< include "nim/nap-waf/restart-nms-integrations.md" >}}
@@ -118,7 +120,7 @@ To install the WAF compiler on RHEL 8.1 :
118
120
3 . Install the WAF compiler:
119
121
120
122
``` shell
121
- sudo yum install nms-nap-compiler-v5.442 .0
123
+ sudo yum install nms-nap-compiler-v5.498 .0
122
124
```
123
125
124
126
### RHEL 9
@@ -140,7 +142,7 @@ To install the WAF compiler on RHEL 9:
140
142
3 . Install the WAF compiler:
141
143
142
144
``` shell
143
- sudo yum install nms-nap-compiler-v5.442 .0
145
+ sudo yum install nms-nap-compiler-v5.498 .0
144
146
```
145
147
146
148
4 . {{< include "nim/nap-waf/restart-nms-integrations.md" >}}
@@ -164,7 +166,7 @@ To install the WAF compiler on Oracle Linux 8.1:
164
166
3 . Install the WAF compiler:
165
167
166
168
``` shell
167
- sudo yum install nms-nap-compiler-v5.442 .0
169
+ sudo yum install nms-nap-compiler-v5.498 .0
168
170
```
169
171
170
172
4. {{< include " nim/nap-waf/restart-nms-integrations.md" > }}
@@ -250,7 +252,7 @@ To install the WAF compiler on a system without internet access, complete these
250
252
251
253
252
254
Note : Version of NAP compiler can be referred from the table at the top of this page.
253
- Current latest version 5.442 .0 at the point of writing this document is used in below commands.
255
+ Current latest version 5.498 .0 at the point of writing this document is used in below commands.
254
256
255
257
{{< tabs name=" WAF compiler installation in offline environment" > }}
256
258
@@ -280,10 +282,10 @@ sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx https://cs.nginx.com/static/fil
280
282
mkdir -p compiler && cd compiler
281
283
sudo apt-get update
282
284
283
- sudo apt-get download nms-nap-compiler-v5.442 .0
285
+ sudo apt-get download nms-nap-compiler-v5.498 .0
284
286
cd ../
285
287
mkdir -p compiler/compiler.deps
286
- sudo apt-get install --download-only --reinstall --yes --print-uris nms-nap-compiler-v5.442 .0 | grep ^\' | cut -d\' -f2 | xargs -n 1 wget -P ./compiler/compiler.deps
288
+ sudo apt-get install --download-only --reinstall --yes --print-uris nms-nap-compiler-v5.498 .0 | grep ^\' | cut -d\' -f2 | xargs -n 1 wget -P ./compiler/compiler.deps
287
289
288
290
tar -czvf compiler.tar.gz compiler/
289
291
` ` `
@@ -326,10 +328,11 @@ sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx https://cs.nginx.com/static/fil
326
328
mkdir -p compiler && cd compiler
327
329
sudo apt-get update
328
330
329
- sudo apt-get download nms-nap-compiler-v5.442.0
331
+ sudo apt-get download nms-nap-compiler-v5.498.0
332
+
330
333
cd ../
331
334
mkdir -p compiler/compiler.deps
332
- sudo apt-get install --download-only --reinstall --yes --print-uris nms-nap-compiler-v5.442 .0 | grep ^\' | cut -d\' -f2 | xargs -n 1 wget -P ./compiler/compiler.deps
335
+ sudo apt-get install --download-only --reinstall --yes --print-uris nms-nap-compiler-v5.498 .0 | grep ^\' | cut -d\' -f2 | xargs -n 1 wget -P ./compiler/compiler.deps
333
336
tar -czvf compiler.tar.gz compiler/
334
337
` ` `
335
338
@@ -367,7 +370,7 @@ sudo yum-config-manager --disable rhel-9-appstream-rhui-rpms
367
370
sudo yum update -y
368
371
sudo mkdir -p nms-nap-compiler
369
372
370
- sudo yumdownloader --resolve --destdir=nms-nap-compiler nms-nap-compiler-v5.442 .0
373
+ sudo yumdownloader --resolve --destdir=nms-nap-compiler nms-nap-compiler-v5.498 .0
371
374
tar -czvf compiler.tar.gz nms-nap-compiler/
372
375
` ` `
373
376
411
414
sudo yum update -y
412
415
sudo mkdir -p nms-nap-compiler
413
416
414
- sudo yumdownloader --resolve --destdir=nms-nap-compiler nms-nap-compiler-v5.442.0
415
-
417
+ sudo yumdownloader --resolve --destdir=nms-nap-compiler nms-nap-compiler-v5.498.0
416
418
tar -czvf compiler.tar.gz nms-nap-compiler/
417
419
` ` `
418
420
@@ -1205,21 +1207,21 @@ sudo /opt/nms-nap-compiler/app_protect-<version>/bin/apcompile -h
1205
1207
**Example:**
1206
1208
1207
1209
```shell
1208
- sudo /opt/nms-nap-compiler/app_protect-5.442 .0/bin/apcompile -h
1210
+ sudo /opt/nms-nap-compiler/app_protect-5.498 .0/bin/apcompile -h
1209
1211
```
1210
1212
1211
1213
**Expected output:**
1212
1214
1213
1215
```text
1214
1216
USAGE:
1215
- /opt/nms-nap-compiler/app_protect-5.442 .0/bin/apcompile <options>
1217
+ /opt/nms-nap-compiler/app_protect-5.498 .0/bin/apcompile <options>
1216
1218
1217
1219
Examples:
1218
- /opt/nms-nap-compiler/app_protect-5.442 .0/bin/apcompile -p /path/to/policy.json -o mypolicy.tgz
1219
- /opt/nms-nap-compiler/app_protect-5.442 .0/bin/apcompile -p policyA.json -g myglobal.json -o /path/to/policyA_bundle.tgz
1220
- /opt/nms-nap-compiler/app_protect-5.442 .0/bin/apcompile -g myglobalsettings.json --global-state-outfile /path/to/myglobalstate.tgz
1221
- /opt/nms-nap-compiler/app_protect-5.442 .0/bin/apcompile -b /path/to/policy_bundle.tgz --dump
1222
- /opt/nms-nap-compiler/app_protect-5.442 .0/bin/apcompile -l logprofA.json -o /path/to/logprofA_bundle.tgz
1220
+ /opt/nms-nap-compiler/app_protect-5.498 .0/bin/apcompile -p /path/to/policy.json -o mypolicy.tgz
1221
+ /opt/nms-nap-compiler/app_protect-5.498 .0/bin/apcompile -p policyA.json -g myglobal.json -o /path/to/policyA_bundle.tgz
1222
+ /opt/nms-nap-compiler/app_protect-5.498 .0/bin/apcompile -g myglobalsettings.json --global-state-outfile /path/to/myglobalstate.tgz
1223
+ /opt/nms-nap-compiler/app_protect-5.498 .0/bin/apcompile -b /path/to/policy_bundle.tgz --dump
1224
+ /opt/nms-nap-compiler/app_protect-5.498 .0/bin/apcompile -l logprofA.json -o /path/to/logprofA_bundle.tgz
1223
1225
```
1224
1226
1225
1227
### Confirm NGINX Agent configuration on the NGINX App Protect WAF instance
0 commit comments