@@ -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" > }}
@@ -248,7 +250,7 @@ To install the WAF compiler on a system without internet access, complete these
248
250
- ** Step 2:** Move the generated package to the offline target system and install it.
249
251
250
252
Note : Version of NAP compiler can be referred from the table at the top of this page.
251
- Current latest version 5.442 .0 at the point of writing this document is used in below commands.
253
+ Current latest version 5.498 .0 at the point of writing this document is used in below commands.
252
254
253
255
{{< tabs name=" WAF compiler installation in offline environment" > }}
254
256
@@ -276,10 +278,10 @@ sudo tee /etc/apt/sources.list.d/nms.list
276
278
sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx https://cs.nginx.com/static/files/90pkgs-nginx
277
279
mkdir -p compiler && cd compiler
278
280
sudo apt-get update
279
- sudo apt-get download nms-nap-compiler-v5.442 .0
281
+ sudo apt-get download nms-nap-compiler-v5.498 .0
280
282
cd ../
281
283
mkdir -p compiler/compiler.deps
282
- 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
284
+ 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
283
285
tar -czvf compiler.tar.gz compiler/
284
286
` ` `
285
287
@@ -320,10 +322,10 @@ sudo tee /etc/apt/sources.list.d/nms.list
320
322
sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx https://cs.nginx.com/static/files/90pkgs-nginx
321
323
mkdir -p compiler && cd compiler
322
324
sudo apt-get update
323
- sudo apt-get download nms-nap-compiler-v5.442 .0
325
+ sudo apt-get download nms-nap-compiler-v5.498 .0
324
326
cd ../
325
327
mkdir -p compiler/compiler.deps
326
- 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
328
+ 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
327
329
tar -czvf compiler.tar.gz compiler/
328
330
` ` `
329
331
@@ -359,7 +361,7 @@ sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/nms.repo
359
361
sudo yum-config-manager --disable rhel-9-appstream-rhui-rpms
360
362
sudo yum update -y
361
363
sudo mkdir -p nms-nap-compiler
362
- sudo yumdownloader --resolve --destdir=nms-nap-compiler nms-nap-compiler-v5.442 .0
364
+ sudo yumdownloader --resolve --destdir=nms-nap-compiler nms-nap-compiler-v5.498 .0
363
365
tar -czvf compiler.tar.gz nms-nap-compiler/
364
366
` ` `
365
367
401
403
402
404
sudo yum update -y
403
405
sudo mkdir -p nms-nap-compiler
404
- sudo yumdownloader --resolve --destdir=nms-nap-compiler nms-nap-compiler-v5.442 .0
406
+ sudo yumdownloader --resolve --destdir=nms-nap-compiler nms-nap-compiler-v5.498 .0
405
407
tar -czvf compiler.tar.gz nms-nap-compiler/
406
408
` ` `
407
409
@@ -1194,21 +1196,21 @@ sudo /opt/nms-nap-compiler/app_protect-<version>/bin/apcompile -h
1194
1196
**Example:**
1195
1197
1196
1198
```shell
1197
- sudo /opt/nms-nap-compiler/app_protect-5.442 .0/bin/apcompile -h
1199
+ sudo /opt/nms-nap-compiler/app_protect-5.498 .0/bin/apcompile -h
1198
1200
```
1199
1201
1200
1202
**Expected output:**
1201
1203
1202
1204
```text
1203
1205
USAGE:
1204
- /opt/nms-nap-compiler/app_protect-5.442 .0/bin/apcompile <options>
1206
+ /opt/nms-nap-compiler/app_protect-5.498 .0/bin/apcompile <options>
1205
1207
1206
1208
Examples:
1207
- /opt/nms-nap-compiler/app_protect-5.442 .0/bin/apcompile -p /path/to/policy.json -o mypolicy.tgz
1208
- /opt/nms-nap-compiler/app_protect-5.442 .0/bin/apcompile -p policyA.json -g myglobal.json -o /path/to/policyA_bundle.tgz
1209
- /opt/nms-nap-compiler/app_protect-5.442 .0/bin/apcompile -g myglobalsettings.json --global-state-outfile /path/to/myglobalstate.tgz
1210
- /opt/nms-nap-compiler/app_protect-5.442 .0/bin/apcompile -b /path/to/policy_bundle.tgz --dump
1211
- /opt/nms-nap-compiler/app_protect-5.442 .0/bin/apcompile -l logprofA.json -o /path/to/logprofA_bundle.tgz
1209
+ /opt/nms-nap-compiler/app_protect-5.498 .0/bin/apcompile -p /path/to/policy.json -o mypolicy.tgz
1210
+ /opt/nms-nap-compiler/app_protect-5.498 .0/bin/apcompile -p policyA.json -g myglobal.json -o /path/to/policyA_bundle.tgz
1211
+ /opt/nms-nap-compiler/app_protect-5.498 .0/bin/apcompile -g myglobalsettings.json --global-state-outfile /path/to/myglobalstate.tgz
1212
+ /opt/nms-nap-compiler/app_protect-5.498 .0/bin/apcompile -b /path/to/policy_bundle.tgz --dump
1213
+ /opt/nms-nap-compiler/app_protect-5.498 .0/bin/apcompile -l logprofA.json -o /path/to/logprofA_bundle.tgz
1212
1214
```
1213
1215
1214
1216
### Confirm NGINX Agent configuration on the NGINX App Protect WAF instance
0 commit comments