Author Topic: Client Agent Updates  (Read 20171 times)

Offline vadim

  • Moderator
  • Comodo's Hero
  • *****
  • Posts: 338
Client Agent Updates
« on: January 23, 2014, 05:08:36 AM »
Client agent: 1.0.1 has been released:

* Updated default "mod_security" configuration.
* Bug fixes.

New script is available by link: https://waf.comodo.com/cpanel/cwaf_client_install.sh
--
Vadim Lvovskiy
Development Manager
COMODO Group Inc.

Offline designcentre

  • Comodo Member
  • **
  • Posts: 48
Re: Client Agent Updates
« Reply #1 on: January 23, 2014, 03:08:10 PM »
Nice clean install & exclusion list remembered previous rules  :)

Offline Melih

  • CEO - Comodo
  • Administrator
  • Comodo's Hero
  • *****
  • Posts: 14623
    • Video Blog
Re: Client Agent Updates
« Reply #2 on: January 29, 2014, 04:36:10 PM »
good job guys..
keep improving.

Offline vadim

  • Moderator
  • Comodo's Hero
  • *****
  • Posts: 338
Re: Client Agent Updates
« Reply #3 on: February 11, 2014, 04:30:23 AM »
Client Agent 1.1 has been released:

  • Implementation of the client updating system.
  • New installation dialog.
  • Uninstall script.
  • Improvements and bug fixes.

New script is available by link: https://waf.comodo.com/cpanel/cwaf_client_install.sh
--
Vadim Lvovskiy
Development Manager
COMODO Group Inc.

Offline Gustavo A

  • Newbie
  • *
  • Posts: 17
Re: Client Agent Updates
« Reply #4 on: February 11, 2014, 12:40:07 PM »
Hi,

There is a problem in uninstall and installation of the new version!

Run the command bash /var/cpanel/cwaf/scripts/uninstall_cwaf.sh but the option COMODO WAF is still available in WHM/cPanel. Not completely removed!

Looking at the directorie /usr/local/cpanel/whostmgr/docroot/cgi  there are still files of the plugin:

1. cwaf_catalog.cgi
2. cwaf_main.cgi
3. cwaf_sharedlib.pl

Can I remove the files manually?

And when you try to install again the new install 'waf.comodo.com/cpanel/cwaf_client_install.sh' you provided I get the error:

Verifying archive integrity...Error in MD5 checksums: dbcc9807d3f6c60cf1e49ba4f1a55e6f is different from 0783fa463f1f043a9c1834a1f991acb4

How do I completely remove the plugin and reinstall it again using the new version?
« Last Edit: February 11, 2014, 01:25:15 PM by Gustavo A »
Gustavo Aurélio
-------------------------------------------------------------------------------------------------
We need always to strive for something, reached, doesn't make us without ambition
-------------------------------------------------------------------------------------------------

Offline designcentre

  • Comodo Member
  • **
  • Posts: 48
Re: Client Agent Updates
« Reply #5 on: February 11, 2014, 01:10:36 PM »
Same problem now I have a server with no CWAF protection

Offline vadim

  • Moderator
  • Comodo's Hero
  • *****
  • Posts: 338
Re: Client Agent Updates
« Reply #6 on: February 12, 2014, 05:12:46 AM »
Quote
Same problem now I have a server with no CWAF protection


Seems your install script was downloaded incorrectly. Please try to download it again:

wget https://waf.comodo.com/cpanel/cwaf_client_install.sh

Check MD5 sum:

md5sum cwaf_client_install.sh
61e7cdfd5c41da782a99329d6f1df7bf  cwaf_client_install.sh


There is no need to run uninstall script to update client. Installer will do it automatically and will save your exclude list. Uninstall script, provided in version 1.0.1 is deprecated and reworked completely in new version. So if you really want to uninstall CWAF please use new uninstall script provided with version 1.1.  Please note, that in the case of uninstall, all your exclude entries and CWAF customization will be lost.

If you already run deprecated uninstall script, please try to implement next steps for restoring normal work:

  • Edit /usr/local/apache/conf/modsec2.conf

    Just comment second line counting from bottom (adding '#' at beginning):

    Include "/var/cpanel/cwaf/etc/cwaf.conf"

    after change it should look:

    #Include "/var/cpanel/cwaf/etc/cwaf.conf"

     
  • Run new installer, version 1.1.

    sh ./cwaf_client_install.sh


If second entry of plugin in the WHM still appear do following steps:

  • Clean plugin registration information:

    /usr/local/cpanel/bin/unregister_appconfig /var/cpanel/apps/addon_cwaf.conf

  • Install CWAF 1.1 from scratch:

    sh ./cwaf_client_install.sh

--
Vadim Lvovskiy
Development Manager
COMODO Group Inc.

Offline designcentre

  • Comodo Member
  • **
  • Posts: 48
Re: Client Agent Updates
« Reply #7 on: February 12, 2014, 01:22:40 PM »
Problem was resolved thank you :)

Offline vadim

  • Moderator
  • Comodo's Hero
  • *****
  • Posts: 338
Re: Client Agent Updates
« Reply #8 on: February 19, 2014, 04:00:54 AM »
Client Agent 1.2 has been released:

  • Rules Catalog - flexible exclude list management:
    • List of all Comodo rules divided by groups.
    • Exclude rules and groups of rules.
    • Management of global excludes lists and excludes for virtual hosts.
  • Improvements and bug fixes.

Now you may update your client from cPanel plugin: "Main" -> "New client is available" -> "Update Plugin"

Or download and install new script, available by link: https://waf.comodo.com/cpanel/cwaf_client_install.sh

All your current exclude rules will be stored during update procedure. You may find backup of your exclude list by the path:

for cPanel:

/var/cpanel/cwaf/etc/httpd/global/zzz_exclude_global.conf.backup

for stand-alone mode:

/CWAF_INSTALL_DIR/etc/httpd/global/zzz_exclude_global.conf.backup
--
Vadim Lvovskiy
Development Manager
COMODO Group Inc.

Offline designcentre

  • Comodo Member
  • **
  • Posts: 48
Re: Client Agent Updates
« Reply #9 on: February 19, 2014, 01:39:16 PM »
Nice clean install and all working fine :)

Offline MoovIt

  • Newbie
  • *
  • Posts: 3
Re: Client Agent Updates
« Reply #10 on: February 19, 2014, 10:07:02 PM »
Cheers!

Offline vadim

  • Moderator
  • Comodo's Hero
  • *****
  • Posts: 338
Re: Client Agent Updates
« Reply #11 on: February 27, 2014, 04:04:17 AM »
Client Agent 1.3 has been released:

  • Management of Security Engine (ModSecurity) configuration.
  • Improvements and bug fixes.

Now you may easy change your ModSecurity configuration from cPanel plugin,  e.g. you may set Security Engine Off to disable all rules or change a level of debug log.

You may update your client from cPanel plugin: "Main" -> "New client is available"  or download and install new script, available by link: https://waf.comodo.com/cpanel/cwaf_client_install.sh

--
Vadim Lvovskiy
Development Manager
COMODO Group Inc.

Offline vadim

  • Moderator
  • Comodo's Hero
  • *****
  • Posts: 338
Re: Client Agent Updates
« Reply #12 on: March 06, 2014, 04:05:21 AM »
Client Agent 1.4 has been released:

  • Global search of the rule.
  • Improvements and bug fixes.

Now you may easy find rule by ID from cPanel plugin (Catalog -> Search By Rule ID).

You may update your client from cPanel plugin: "Main" -> "New client is available"  or download and install new script, available by link: https://waf.comodo.com/cpanel/cwaf_client_install.sh
--
Vadim Lvovskiy
Development Manager
COMODO Group Inc.

Offline designcentre

  • Comodo Member
  • **
  • Posts: 48
Re: Client Agent Updates
« Reply #13 on: March 06, 2014, 05:22:03 PM »
The online update for rules works fine, but the online update for the plugin doesn't:

06/03/14 22:16:40 update-client[26749]  debug is ON, level = 10
06/03/14 22:16:40 update-client[26749]  create pid file
06/03/14 22:16:40 update-client[26749]  WARN: another process is started (24497)
06/03/14 22:16:40 update-client[26749]  update process finished!

Page reloads and then it still shows the plugin as 1.3 with 1.4 being available. Even clearing cache, logout then login. Will try a manual update

***Edit***
Manual update sorted it out, now latest plugin & rules :)
« Last Edit: March 06, 2014, 05:37:20 PM by designcentre »

Offline vadim

  • Moderator
  • Comodo's Hero
  • *****
  • Posts: 338
Re: Client Agent Updates
« Reply #14 on: March 12, 2014, 03:38:13 AM »
The online update for rules works fine, but the online update for the plugin doesn't:

06/03/14 22:16:40 update-client[26749]  debug is ON, level = 10
06/03/14 22:16:40 update-client[26749]  create pid file
06/03/14 22:16:40 update-client[26749]  WARN: another process is started (24497)
06/03/14 22:16:40 update-client[26749]  update process finished!

Page reloads and then it still shows the plugin as 1.3 with 1.4 being available. Even clearing cache, logout then login. Will try a manual update

***Edit***
Manual update sorted it out, now latest plugin & rules :)

What browser (version) do you use?   Seems update process was started a several times simultaneously.
--
Vadim Lvovskiy
Development Manager
COMODO Group Inc.

 

Free Endpoint Protection
Seo4Smf 2.0 © SmfMod.Com Smf Destek