You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ids_integration/README.md
+37-1Lines changed: 37 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,12 +46,48 @@ When some IP address is blocked by <span class="notranslate">LFD, Imunify360</sp
46
46
1. <spanclass="notranslate">_Automatically scan all modified files_</span>
47
47
48
48
<spanclass="notranslate">CXS Watch</span> daemon must be disabled.
49
+
```
50
+
# stop and disable the service so it won’t start on boot
51
+
systemctl stop cxswatch
52
+
systemctl disable cxswatch
53
+
54
+
# hard-prevent other units from starting it
55
+
systemctl mask cxswatch
56
+
57
+
# (optional) to allow it again later, unmask it:
58
+
systemctl unmask cxswatch
59
+
```
60
+
:::tip Note:
61
+
You normally don’t need to chmod or rename `/etc/cxs/cxswatch.sh`. Masking the unit already prevents activation by other services. (If you do want an extra safety lock, you can `chmod 000 /etc/cxs/cxswatch.sh` and revert with `chmod 755` later. The script path is standard for CXS.
62
+
:::
49
63
50
64
2. <spanclass="notranslate">_Automatically scan any files uploaded using web_</span>
51
65
52
66
<spanclass="notranslate">CXS ModSecurity</span> vendor should be disabled.
53
67
54
-
3. <spanclass="notranslate">_Automatically scan any file uploaded using ftp_</span>
68
+
You can do this by CLI (preferred for repeatability) or via WHM UI.
69
+
70
+
**CLI (root)**
71
+
The vendor short name for CXS is `configserver` (per vendor metadata). Use either the helper script or WHM API:
72
+
73
+
```
74
+
# Using cPanel helper script (works on all supported versions)
75
+
# Disable the ConfigServer (CXS) ModSecurity vendor
WHM » Security Center » ModSecurity® Vendors → find **ConfigServer (CXS)** → toggle `Enabled` to `Off.` (You may also click Delete to remove it entirely.)
89
+
90
+
4. <spanclass="notranslate">_Automatically scan any file uploaded using ftp_</span>
55
91
56
92
Imunify360 supports only <spanclass="notranslate">[Pure-FTPd](https://www.pureftpd.org)</span>. For <spanclass="notranslate">Pure-FTPd CXS</span> launches pure-uploadscript for the scan. Any pure-uploadscript used by <spanclass="notranslate">CXS</span> must be disabled. You can use the following commands to do that:
0 commit comments