ConfigServer Services Blog

New osm v1.14

Changes:

  • Fixed issue with localhost logfile tracking
  • Modified installer to use a separate script to build Net::Pcap

Running cPanel v76? Want a link to Plugins on the Home Page?

cPanel decided to provide a cut-down home page for WHM for v76+. It makes finding plugins (such as csf) a pain. Here is a simple way to add a Plugins link to the new homepage:

Some caveats:

  • DO THIS AT YOUR OWN RISK! Neither we nor cPanel will likely help if it goes horribly wrong!
  • The change will be overwritten when the next version of cPanel is released or if you run:
    /scripts/upcp --force
  • It might break your WHM home page
  • It might not work in the future

OK, so here’s what to do:

  1. SSH into your server as root (or use the Terminal app from WHM!)
  2. Create a file called /usr/src/main.tmpl.patch
  3. Add the following to that file as-is:
    213a214,225
    > [% IF (Whostmgr.check_flag('addons')) -%]
    > [% varcache.set('locale_str',locale.makevar("Plugins")) %]
    > <li class="application">
    > <a href="[% cp_security_token %]/scripts/command?PFILE=Plugins">
    > <img class="mr-10" src="[% Whostmgr.get_icon_url('icons/plugins.png') %]" alt="[% varcache.locale_str -%]" aria-hidden="true">
    > <div class="application-details">
    > <div class="application-title">[% varcache.locale_str %]</div>
    > <span class="application-description">[% varcache.locale_str %]</span>
    > </div>
    > </a>
    > </li>
    > [% END %]
    
  4. Run the following command:
    patch -bp0 /usr/local/cpanel/whostmgr/docroot/templates/menu/main.tmpl /usr/src/main.tmpl.patch
  5. That should be it

To restore the page back, either:

  • Restore the backup created by the patch command:
    cp /usr/local/cpanel/whostmgr/docroot/templates/menu/main.tmpl.orig /usr/local/cpanel/whostmgr/docroot/templates/menu/main.tmpl

or:

  • Run upcp:
    /scripts/upcp --force

Once again, you do this at your own risk. Have fun!

 

New csf v12.08

Changes:

  • Removed debugging code from lfd output
  • Improvements for reason text information to IPs and CC_LOOKUPS to netblocks for LF_PERMBLOCK and LF_NETBLOCK reports

New osm v1.13

Changes:

  • Fixed Preconfigured Profiles in UI to correctly set the number of trigger levels for each profile

New cxs v9.24

Changes:

  • Improvements to Magento v2 version matching
  • Fix for SupportPal version matching
  • Replace non-ascii characters in decoder output to improve readability

New csf v12.07

Changes:

  • Added commented out regex lines in csf.pignore on cPanel servers for the upcoming ubic implementation by cPanel
  • Added port 53 filters in cpanel.comodo.allow on cPanel servers
  • Added postfix support for LF_DISTSMTP
  • Switched Sendmail and URLGET modules from using croak to carp to avoid unexpected parent death from child failure
  • Double fork external commands in DA UI to work around DA mod_perl restrictions, allowing full functionality
  • Added reason text information to IPs and CC_LOOKUPS to netblocks for LF_PERMBLOCK and LF_NETBLOCK reports and csf.deny entries

New osm v1.12

Changes:

  • osm will now reprocess exim log line events for the total number of
    recipients listed. This ensures that for this type of detection a
    single email sent to hundreds of recipients will not count as a single
    event, but the total number of recipients. This option can be disabled
    if each log line should be treated as a single event in the Main
    Configuration
  • Improved parent/child pipe processing to avoid delays due to buffering

New cxs v9.21

Changes:

  • Reworked storage and retrieval of fingerprints from database
  • Fixed cxs cron and improved diagnostic output for support