Skip to main content

ConfigServer closing down and now what?

Pinned

Comments

214 comments

  • User Avatar
    cPRex Jurassic Moderator

    pixelweb - our team has fixed that issue and it will be included in the next version, 16.10.

    RobP - that's odd, but I'm glad that's all it was!

    0
  • User Avatar
    pixelweb

    cPRex  

    Just to follow up on the Cloudflare CSF issue:

    cPanel updated CSF to v16.10, but the update did overwrite the csf.cloudflare configuration file and restored it back to the default template.

    Is that expected, or is this resolved starting with version 16.10 going forward?

    0
  • User Avatar
    cPRex Jurassic Moderator

    pixelweb - moving forward it should no longer happen.

    1
  • User Avatar
    jndawson

    Rex,

    (Thanks for this thread)

    We updated. Ran 'Check server security' and these popped up:

    Firewall Check
    LF_SCRIPT_ALERT option check
    This option will notify you when a large amount of email is sent from a particular script on the server, helping track down spam scripts
    LF_CPANEL option check
    This option helps prevent brute force attacks on your server services or overall server stability
    LF_CPANEL_ALERT option check
    This option helps prevent brute force attacks on your server services or overall server stability
    PT_ALL_USERS option check
    This option ensures that almost all Linux accounts are checked with Process Tracking, not just the cPanel ones

    None of these settings exist in the firewall conf file (csf.conf).

    What's the deal?

    thanks.

     

    0
  • User Avatar
    jndawson

    Also, following this suggestion really screws things up as it removes Thunderbird and Outlook autodiscover and autoconfig support.

    Check proxy subdomains
    This option can mask a users real IP address and hinder security. You should disable WHM > Tweak Settings > Service subdomains

     

    0
  • User Avatar
    Trane Francks

    Also, following this suggestion really screws things up as it removes Thunderbird and Outlook autodiscover and autoconfig support.

    And has nothing whatsoever to do with this thread's topic.

    0
  • User Avatar
    cPRex Jurassic Moderator

    If we could keep this thread related to the core CSF updates and start new threads for individual issues that would be great.  Remember that we're pinging 100+ users now with replies to this mega thread.

    0
  • User Avatar
    TCH

    cPRex I understand that cPanel maintains change logs online, but please also maintain /etc/csf/changelog.txt or publish a note in this file linking to your change logs. 

    0
  • User Avatar
    cPRex Jurassic Moderator

    TCH - good call!  I'll bring that up with the team!

    1
  • User Avatar
    Flyer

    Since the upgrade, the firewall blocks access to accounts on the server with their own IP addresses, when connected with SSH to the server's primary IP address.  I noticed this when trying to use wget to retrieve a web page.  It works if I temporarily disable CSF, but I don't know which aspect of its settings is causing this.  Any suggestions?

    0
  • User Avatar
    jeffschips

    I was upgraded and can easily ssh into my server.  But I ssh in as a user then once onboard, change to root - i.e., I can't ssh in as root.  Don't know if that would help.

    0
  • User Avatar
    cPRex Jurassic Moderator

    Flyer - I'm not sure I follow what you're saying for that situation.  A non-root user is logged into SSH and then wget doesn't work and that is somehow linked to CSF?  Do you see anything in the CSF logs that would help explain this behavior?

    0
  • User Avatar
    Flyer

    I assumed it was related to CSF as it controls the firewall and the problem arose after the update.

    I have a script which runs every 5 minutes which uses wget to determine how long it takes to load the home page of our forum, and it was always timing out.  (The reason for having this is that the forum is frequently under DDOS or AI training attacks which drain gigabytes from its 100 MB contents, so it is automatically disabled when an attack is detected.)  Anyway, as I said in my previous post, it worked while CSF was disabled.  What I have just realised is that it continues to work after CSF was re-enabled.  Inexplicable, but my problem has gone away so sorry to have bothered you.

    0
  • User Avatar
    cPRex Jurassic Moderator

    Glad to hear things are working well now!

    0
  • User Avatar
    jndawson

    Rex - 

    None of these settings exist in the firewall conf file (csf.conf).

    What's the deal?

     

    If we could keep this thread related to the core CSF updates and start new threads for individual issues that would be great.  Remember that we're pinging 100+ users now with replies to this mega thread.

    I thought that pointing out issues with cpanel-csf - such as requiring non-existent settings - would be something of interest. Should I start another thread?

    thanks! 

     

    0
  • User Avatar
    TCH

    jndawson

    These are indeed parts of the CSF "Check Server Security" option, and they are real settings that should not be missing. However, you can see the same warnings and reccomendations in both the original and cPanel versions of CSF if they are not enabled. Since the current changes were minimal, the odds that your config file is missing these options are very low. 

    I would recommend starting a new thread or ticket so someone from cPanel can review your server and the specific CSF configuration. 

     

     

    0
  • User Avatar
    jndawson

    TCH

    However, you can see the same warnings and reccomendations in both the original and cPanel versions of CSF if they are not enabled

    Great! Send a screenshot showing exactly where those settings are, because the UI and grepping through the directory isn't finding them.

     

    0
  • User Avatar
    cPRex Jurassic Moderator

    TCH - it seems like we're just going to remove that file since we have the public change logs both on the cPanel site and on the github at https://github.com/cpanel/cpanel-csf/blob/main/SPECS/cpanel-csf.spec

    1
  • User Avatar
    TCH

    cPRex Thanks for checking and the follow-up. 

    jndawson Sorry, but I am not going to do that in this thread. I still recommend starting a new thread or opening a ticket with cPanel so they can review your configuration. 

    0
  • User Avatar
    jndawson

    Another look shows:

    # ls -l csf.conf*
    -rw------- 1 root root 112251 Mar  2 23:38 csf.conf
    -rw------- 1 root root 118213 Jan 15  2025 csf.conf.orig
    -rw-r--r-- 1 root root 113018 Mar  2 14:22 csf.conf.rpmnew

    csf.conf is the active file - none of the identified missing firewall settings are found 

    csf.conf.orig is the backup of the distro file that we created after install and prior to our conf changes. All of the missing settings were found.

    csf.conf.rpmnew showed up when the update started; it includes all of the missing settings.

    Somehow, during the update, the csf.conf file didn't get properly converted. This is on all of our servers running cpanel-csf. 

     

    0
  • User Avatar
    chris matthews

    Ah! too many csf.conf on our servers, some have the missing settings, some don't.

    /etc/csf/csf.conf
    /opt/csf/csf.conf
    /opt/csf/cpanel/csf.conf
    /etc/csf.backup/csf.conf
    /usr/src/csf/csf.conf
    /usr/src/csf/cpanel/csf.conf

    0
  • User Avatar
    cPRex Jurassic Moderator

    chris matthews - I would bet that most of those created manually at some point.

    0
  • User Avatar
    chris matthews

    Possibly, however there are firewall settings missing. And along with the dovecot 2.4 update messing up the pop3/smtp blocks no longer occurring, suggest the cpanel/csf version was released a little too early eh? :(

    Maybe treat this as a cpanel csf beta !

    0
  • User Avatar
    cPRex Jurassic Moderator

    Nah, I wouldn't say that.  Dovecot made so many changes this year that everyone is going to be catching edge cases for years to come, not just cPanel.

    0
  • User Avatar
    Dezdan

    I’m a lame duck here and am not seeing the csf update, currently at v14.24. I’m running AlmaLinux v9.7.0 and WHM 134.0.10.

    CSF AUTO_UPDATES setting is enabled. CSF is configured to use the original ConfigServer/W2W update source: URLGET = "2"   URLPROXY = ""
    Checking the source csf -u results in “Oops: Unable to download: Can't connect to download.configserver.com:443 (Name or service not known)”

    I’ve manually ran the ‘Upgrade to Latest Version’ three times now, twice yesterday and once today – No Joy. 

    0
  • User Avatar
    cPRex Jurassic Moderator

    Dezdan - it would seem for some reason your system wasn't eligible for the autofixer that changed the update path.

    You could either:

    -remove CSF and reinstall it with the cPanel version
    or
    -create a ticket so this can be investigated on your system

    0
  • User Avatar
    Trane Francks

    cPRex—Reading Dezdan's post, it appears that they're running the upgrade from within the CSF app itself, which wouldn't work. So, to me, the real question is: Should all the 134.x systems have been upgraded by now? If not, they may just be on the slow end of the rollout.

    Dezdan—The cPanel version is installed and updated via the usual cPanel upcp script, not via the old W2W mechanism. It's possible your system is just not seeing the update because the rollout is being staggered.

    0
  • User Avatar
    cPRex Jurassic Moderator

    The rollout was done in a few days so any eligible server would have it by now if they have auto updates enabled.

    0
  • User Avatar
    Dezdan

    -remove CSF and reinstall it with the cPanel version

    cPRex If I do this, will my conf and deny file remain the same. Same with the ips in my temporary IP entries? I'm attempting to submit a ticket, but my host who I purchase my license through is refusing, since my VPS is unmanaged and they want me to move to a $managed tier$. 

    cPRex—Reading Dezdan's post, it appears that they're running the upgrade from within the CSF app itself, which wouldn't work. So, to me, the real question is: Should all the 134.x systems have been upgraded by now? If not, they may just be on the slow end of the rollout.

    Dezdan—The cPanel version is installed and updated via the usual cPanel upcp script, not via the old W2W mechanism. It's possible your system is just not seeing the update because the rollout is being staggered.

    Trane Francks Thanks for the advice, but I was updating the outside of CSF via /usr/local/cpanel/scripts/upcp   The example csf -u I gave was to show that CSF is configured to use the original ConfigServer/W2W source, one of the eligibility requirements. 

    0
  • User Avatar
    cPRex Jurassic Moderator

    Dezdan - no, that is the one problem with this work - all your settings would get reset.

    0

Post is closed for comments.