@abtnode/router-provider 1.16.38-beta-20250121-093201-3cdcfa78 → 1.16.38-beta-20250125-130409-89d4849d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -207,9 +207,8 @@ SecRule REQUEST_FILENAME "@endsWith /api/gql" \
207
207
  nolog,\
208
208
  chain"
209
209
  SecRule REQUEST_METHOD "@pm POST" \
210
- "ctl:ruleRemoveByTag=attack-sqli,\
211
- ctl:ruleRemoveByTag=attack-rce,\
212
- ctl:ruleRemoveByTag=attack-xss"
210
+ "ctl:ruleRemoveByTag=attack-rce,\
211
+ ctl:ruleRemoveById=921110"
213
212
 
214
213
  # Disable some rules for websocket endpoint for blocklet server and service
215
214
  SecRule REQUEST_FILENAME "@endsWith /websocket" \
@@ -237,3 +236,22 @@ SecRule REQUEST_HEADERS:tus-resumable "@rx ^1\.0\.0$" \
237
236
  SecRule REQUEST_HEADERS:Content-Type "@rx ^application/offset\+octet-stream$" \
238
237
  "t:none,\
239
238
  ctl:ruleRemoveById=920420"
239
+
240
+ SecRule REQUEST_FILENAME "@endsWith /connect-to-did-space" \
241
+ "id:1009,\
242
+ phase:1,\
243
+ pass,\
244
+ nolog,\
245
+ chain"
246
+ SecRule REQUEST_METHOD "@pm GET" \
247
+ "ctl:ruleRemoveById=934110"
248
+
249
+ SecRule REQUEST_FILENAME "@endsWith /app-records.txt" \
250
+ "id:1010,\
251
+ phase:1,\
252
+ pass,\
253
+ nolog,\
254
+ chain"
255
+ SecRule REQUEST_METHOD "@pm PUT" \
256
+ "ctl:ruleRemoveById=942550,\
257
+ ctl:ruleRemoveById=934110"
@@ -18,6 +18,7 @@
18
18
  # use of this file.
19
19
  #
20
20
  SecRuleRemoveById 920350
21
+ SecRuleRemoveById 920170
21
22
  SecRuleRemoveByTag "platform-windows"
22
23
 
23
24
  #
@@ -889,8 +889,8 @@ class NginxProvider extends BaseProvider {
889
889
  ...pick(wafPolicy, ['mode', 'inboundAnomalyScoreThreshold', 'outboundAnomalyScoreThreshold', 'logLevel']),
890
890
  tmpDir: this.tmpDir,
891
891
  logDir: this.logDir,
892
- maxUploadSize: +CLIENT_MAX_BODY_SIZE * 1024 * 1024,
893
- maxBodySize: (+CLIENT_MAX_BODY_SIZE * 1024 * 1024) / 100,
892
+ maxUploadSize: Math.floor(+CLIENT_MAX_BODY_SIZE * 1024 * 1024),
893
+ maxBodySize: Math.floor((+CLIENT_MAX_BODY_SIZE * 1024 * 1024) / 100),
894
894
  };
895
895
 
896
896
  logger.info('modsecurity variables', variables);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/router-provider",
3
- "version": "1.16.38-beta-20250121-093201-3cdcfa78",
3
+ "version": "1.16.38-beta-20250125-130409-89d4849d",
4
4
  "description": "Routing engine implementations for abt node",
5
5
  "author": "polunzh <polunzh@gmail.com>",
6
6
  "homepage": "https://github.com/ArcBlock/blocklet-server#readme",
@@ -32,10 +32,10 @@
32
32
  "url": "https://github.com/ArcBlock/blocklet-server/issues"
33
33
  },
34
34
  "dependencies": {
35
- "@abtnode/constant": "1.16.38-beta-20250121-093201-3cdcfa78",
36
- "@abtnode/logger": "1.16.38-beta-20250121-093201-3cdcfa78",
37
- "@abtnode/router-templates": "1.16.38-beta-20250121-093201-3cdcfa78",
38
- "@abtnode/util": "1.16.38-beta-20250121-093201-3cdcfa78",
35
+ "@abtnode/constant": "1.16.38-beta-20250125-130409-89d4849d",
36
+ "@abtnode/logger": "1.16.38-beta-20250125-130409-89d4849d",
37
+ "@abtnode/router-templates": "1.16.38-beta-20250125-130409-89d4849d",
38
+ "@abtnode/util": "1.16.38-beta-20250125-130409-89d4849d",
39
39
  "@arcblock/http-proxy": "^1.19.1",
40
40
  "@arcblock/is-valid-domain": "^1.0.5",
41
41
  "axios": "^1.7.9",
@@ -60,5 +60,5 @@
60
60
  "bluebird": "^3.7.2",
61
61
  "fs-extra": "^11.2.0"
62
62
  },
63
- "gitHead": "d6b5059b13b31a2d619fd23dc9d993dca927d21f"
63
+ "gitHead": "670d44366731900eec59f5e63a7c384eba6f22ae"
64
64
  }