@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.
- package/dist/daemon.js +66 -22
- package/dist/daemon.js.map +1 -1
- package/dist/index.js +539 -413
- package/dist/index.js.map +1 -1
- package/dist/systemd/threatcrushd.service +7 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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