CXS guide for Directadmin

vahid07

Verified User
Joined
Apr 16, 2018
Messages
15
I thing you didn't install ModSecurity or it is disabled.
pls check /usr/local/directadmin/custombuild/options.conf
do you have modsecurity=yes ??

yes. it active . as i say before i use comodo WAF . you can see attached screenshots.
 

Attachments

  • 2020-04-12_23-41-05.png
    2020-04-12_23-41-05.png
    34.4 KB · Views: 14
  • 2020-04-12_23-55-06.png
    2020-04-12_23-55-06.png
    24.7 KB · Views: 14
  • 2020-04-12_23-56-52.png
    2020-04-12_23-56-52.png
    16.8 KB · Views: 13

vahid07

Verified User
Joined
Apr 16, 2018
Messages
15
I thing you didn't install ModSecurity or it is disabled.
pls check /usr/local/directadmin/custombuild/options.conf
do you have modsecurity=yes ??
Hi again

i say this issue to CSX support team and they checked my server and say this :
The problem is that modsecurity is not enabled or configured correctly on the server. We do not offer a service to configure or fix modsecurity.

If you run the command below:

httpd -M

You should see among the modules listed the following:

security2_module (shared)

This does not appear on your server.

You need to fix modsecurity before you can enable cxs modsecurity scanning on your server.

so is there any idea about it?
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
2,181
Location
Murfreesboro
What web server are you using?

What does
Code:
cd /usr/local/directadmin/custombuild
./build options
show?

If you are using Nginx you cannot use Comodo.
 

nasha

Verified User
Joined
Dec 6, 2016
Messages
13
Hi,
Cant' install perl-Linux-Inotify2 on centos 8

Code:
[root@server custombuild]# sudo dnf --disablerepo="*" --enablerepo="epel" list available | grep 'perl-Linux-Inotify2'
perl-Linux-Inotify2.x86_64                         2.1-6.el8                              epel
[root@server custombuild]# sudo yum info perl-Linux-Inotify2
Last metadata expiration check: 1:00:58 ago on Wed 16 Dec 2020 11:23:12 PM +0330.
Available Packages
Name         : perl-Linux-Inotify2
Version      : 2.1
Release      : 6.el8
Architecture : x86_64
Size         : 32 k
Source       : perl-Linux-Inotify2-2.1-6.el8.src.rpm
Repository   : epel
Summary      : Scalable directory/file change notification
URL          : https://metacpan.org/release/Linux-Inotify2
License      : GPL+ or Artistic
Description  : This module implements an interface to the Linux 2.6.13+ Inotify
             : file/directory change notification system. It has a number of advantages over
             : the Linux::Inotify module:
             :    - it is portable (Linux::Inotify only works on x86)
             :    - the equivalent of full name works correctly
             :    - it is better documented
             :    - it has callback-style interface, which is better suited for integration.

[root@server custombuild]# sudo yum install perl-Linux-Inotify2
Last metadata expiration check: 1:01:44 ago on Wed 16 Dec 2020 11:23:12 PM +0330.
Error:
 Problem: conflicting requests
  - nothing provides perl(common::sense) needed by perl-Linux-Inotify2-2.1-6.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
 

jamgames2

Verified User
Joined
Aug 16, 2019
Messages
218
Hi,
Cant' install perl-Linux-Inotify2 on centos 8

Code:
[root@server custombuild]# sudo dnf --disablerepo="*" --enablerepo="epel" list available | grep 'perl-Linux-Inotify2'
perl-Linux-Inotify2.x86_64                         2.1-6.el8                              epel
[root@server custombuild]# sudo yum info perl-Linux-Inotify2
Last metadata expiration check: 1:00:58 ago on Wed 16 Dec 2020 11:23:12 PM +0330.
Available Packages
Name         : perl-Linux-Inotify2
Version      : 2.1
Release      : 6.el8
Architecture : x86_64
Size         : 32 k
Source       : perl-Linux-Inotify2-2.1-6.el8.src.rpm
Repository   : epel
Summary      : Scalable directory/file change notification
URL          : https://metacpan.org/release/Linux-Inotify2
License      : GPL+ or Artistic
Description  : This module implements an interface to the Linux 2.6.13+ Inotify
             : file/directory change notification system. It has a number of advantages over
             : the Linux::Inotify module:
             :    - it is portable (Linux::Inotify only works on x86)
             :    - the equivalent of full name works correctly
             :    - it is better documented
             :    - it has callback-style interface, which is better suited for integration.

[root@server custombuild]# sudo yum install perl-Linux-Inotify2
Last metadata expiration check: 1:01:44 ago on Wed 16 Dec 2020 11:23:12 PM +0330.
Error:
Problem: conflicting requests
  - nothing provides perl(common::sense) needed by perl-Linux-Inotify2-2.1-6.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
perl(common::sense) is in powertools
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,794
Location
Maastricht
Yep, check that. Latest Centos 8 update willl disable the Powertools repo if it was enabled. So you have to enable it again.
 
Top