@profullstack/threatcrush 0.13.22 → 0.13.24

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.
@@ -22,7 +22,13 @@ ProtectSystem=full
22
22
  # here by `threatcrush install-service`. Without it the token refresh hit
23
23
  # EROFS, the heartbeat stopped, and every server showed offline after an hour.
24
24
  ProtectHome=read-only
25
- ReadWritePaths=/etc/threatcrush /var/log/threatcrush /var/lib/threatcrush {{CONFIG_DIR}}
25
+ #
26
+ # -/etc/fail2ban: when fail2ban is the firewall backend, the daemon writes its
27
+ # own jail and filter (jail.d/ + filter.d/threatcrush.conf) before the first
28
+ # ban. ProtectSystem=full makes /etc read-only, so every ban failed with EROFS
29
+ # and read like a permissions problem. The leading '-' tells systemd to skip
30
+ # the entry on boxes with no /etc/fail2ban instead of failing 226/NAMESPACE.
31
+ ReadWritePaths=/etc/threatcrush /var/log/threatcrush /var/lib/threatcrush {{CONFIG_DIR}} -/etc/fail2ban
26
32
  # /var/run is a symlink to /run, which is a tmpfs — anything created there at
27
33
  # install time is gone after the next reboot. Listing it under ReadWritePaths
28
34
  # then makes the unit fail 226/NAMESPACE on every start. RuntimeDirectory has
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@profullstack/threatcrush",
3
- "version": "0.13.22",
3
+ "version": "0.13.24",
4
4
  "description": "All-in-one security agent daemon — monitor, detect, scan, and protect servers in real-time",
5
5
  "bin": {
6
6
  "threatcrush": "./dist/index.js"