Author Topic: Comodo WAF for DirectAdmin  (Read 28782 times)

Offline OllieMackj

  • Newbie
  • *
  • Posts: 3
Re: Comodo WAF for DirectAdmin
« Reply #45 on: September 12, 2015, 11:20:51 AM »
Fixed: posting for others to fix as needed,

ssh to root and then:
cpan

install CGI

DONE!

Offline oleg.tsygany

  • Comodo's Hero
  • *****
  • Posts: 279
Re: Comodo WAF for DirectAdmin
« Reply #46 on: September 12, 2015, 01:17:11 PM »
Great!

Thank you for feedback!

With best regards, Oleg

Offline interfasys

  • Newbie
  • *
  • Posts: 11
Re: Comodo WAF for DirectAdmin
« Reply #47 on: October 27, 2015, 06:09:32 AM »
Does not work with Perl 5.20

Code: [Select]
Use of uninitialized value $tmp{"httpd_version"} in split at /usr/local/lib/perl5/site_perl/Comodo/CWAF/DAdmin.pm line 91.
FreeBSD - DirectAdmin - Apache

Offline oleg.tsygany

  • Comodo's Hero
  • *****
  • Posts: 279
Re: Comodo WAF for DirectAdmin
« Reply #48 on: October 29, 2015, 03:40:46 AM »
Hi

It can't parse Apache version.
Please send output of this command:
Code: [Select]
# apachectl -v
Regards, Oleg

Offline arazit

  • Newbie
  • *
  • Posts: 6
Re: Comodo WAF for DirectAdmin
« Reply #49 on: November 24, 2015, 10:00:49 AM »
Hello,
I get this error when I click in comodo waf plugin page in directadmin:

Can't locate Comodo/CWAF/Main.pm in [at]INC ([at]INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/directadmin/plugins/comodo_waf/admin/index.pl line 10.
BEGIN failed--compilation aborted at /usr/local/directadmin/plugins/comodo_waf/admin/index.pl line 10.

What to do?
Thank you

Offline oleg.tsygany

  • Comodo's Hero
  • *****
  • Posts: 279
Re: Comodo WAF for DirectAdmin
« Reply #50 on: November 24, 2015, 11:12:32 AM »
Hi

Please check if CWAF plugin was installed correctly.
Install logs is located in /tmp/cwaf_install.log.XXXX

Regards, Oleg

Offline arazit

  • Newbie
  • *
  • Posts: 6
Re: Comodo WAF for DirectAdmin
« Reply #51 on: December 16, 2015, 07:00:54 AM »
I use centos 7.2. x86_64 with directadmin 1.4.91
I get this error when I click in Comodo WAF 2.15 after update it.
Undefined subroutine &main::is_standalone called at /usr/local/cwaf/web/cwaf_sharedlib.pl line 125.
What to do?
« Last Edit: December 16, 2015, 07:10:09 AM by arazit »

Offline oleg.tsygany

  • Comodo's Hero
  • *****
  • Posts: 279
Re: Comodo WAF for DirectAdmin
« Reply #52 on: December 16, 2015, 07:16:37 AM »
Hi

Is this error show once during update or it still continue to appear?

Regards, Oleg

Offline arazit

  • Newbie
  • *
  • Posts: 6
Re: Comodo WAF for DirectAdmin
« Reply #53 on: December 16, 2015, 08:28:26 AM »
It still continue

Offline oleg.tsygany

  • Comodo's Hero
  • *****
  • Posts: 279
Re: Comodo WAF for DirectAdmin
« Reply #54 on: December 16, 2015, 09:44:55 AM »
Seems Perl modules were not updated correctly.
Please try to update client by running following commands from rot console:
# wget https://waf.comodo.com/cpanel/cwaf_client_install.sh
# bash ./cwaf_client_install.sh -- --update


Regards, Oleg

Offline arazit

  • Newbie
  • *
  • Posts: 6
Re: Comodo WAF for DirectAdmin
« Reply #55 on: December 16, 2015, 02:14:03 PM »
My server control panel is directadmin.
Is correct this command?
# wget https://waf.comodo.com/cpanel/cwaf_client_install.sh
# bash ./cwaf_client_install.sh -- --update

Offline oleg.tsygany

  • Comodo's Hero
  • *****
  • Posts: 279
Re: Comodo WAF for DirectAdmin
« Reply #56 on: December 17, 2015, 03:04:36 AM »
Yes, this command is correct and will work for all web control panels.

Regards, Oleg

Offline arazit

  • Newbie
  • *
  • Posts: 6
Re: Comodo WAF for DirectAdmin
« Reply #57 on: December 17, 2015, 07:44:31 AM »
Yes, this command is correct and will work for all web control panels.

Regards, Oleg
I run it but dont solve issue.

Offline oleg.tsygany

  • Comodo's Hero
  • *****
  • Posts: 279
Re: Comodo WAF for DirectAdmin
« Reply #58 on: December 17, 2015, 08:06:20 AM »
Strange...
Can you please open ticket in CWAF Support (https://support.comodo.com/index.php?/Tickets/Submit 'WAF Support' department) so we can ask you for remote access session.

Regards, Oleg

Offline Invader Zim

  • Newbie
  • *
  • Posts: 8
Re: Comodo WAF for DirectAdmin
« Reply #59 on: December 22, 2015, 08:20:18 AM »
We installed CWAF on a number of servers. On some it works like a peach, but on others we get the message

Use of uninitialized value $tmp{"httpd_version"} in split at /usr/local/lib/perl5/site_perl/Comodo/CWAF/DAdmin.pm line 91

Since DAdmin.pm on all servers is identical I suspect it's an issue with a cpan module, but I'll eat my hat if I know which one. According to /tmp/cwaf_install.log.52217 the install went off without a hitch and it concludes with

21-12-2015 22:13:48 Setting Up ModSecurity config
21-12-2015 22:13:48 /etc/httpd/conf/extra/httpd-modsecurity.conf -> /usr/local/cwaf/conf/modsec2_plugin.conf
21-12-2015 22:13:48 All Done!

apachectl -m does list security2_module as loaded so I'm guessing it's just a perl thing.


[attachment deleted by admin]

 

Free Endpoint Protection
Seo4Smf 2.0 © SmfMod.Com Smf Destek