This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
16
New Modules / Re: [BUG - ERROR] Two Factor Authorization Mod - CWP_2FA by "rcschaff"
« on: May 05, 2020, 03:13:08 AM »...
All problems were solved very quickly thanks to the help provided by "rcschaff" through private messages.
I want to personally thank "rcschaff" who has proven to be an excellent programmer and also very patient, courteous and helpful.
Thanks so much "rcschaff" !
17
New Modules / Re: [BUG - ERROR] Two Factor Authorization Mod - CWP_2FA by "rcschaff"
« on: May 05, 2020, 02:17:45 AM »if you check the github page, I have made updates with an uninstall script, and also do away with the API calls.
I have this error:
my.cwp.admin.ip:port/login/index.php
404 Not Found
cwpsrv
And this error:
** (pkttyagent:5029): WARNING **: 04:17:19.956: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
Redirecting to /bin/systemctl restart httpd.service
** (pkttyagent:5096): WARNING **: 04:17:20.243: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
Redirecting to /bin/systemctl reload httpd.service
** (pkttyagent:5139): WARNING **: 04:17:20.649: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
Please help me, thanks !
18
New Modules / Re: [BUG - ERROR] Two Factor Authorization Mod - CWP_2FA by "rcschaff"
« on: May 05, 2020, 02:14:14 AM »if you check the github page, I have made updates with an uninstall script, and also do away with the API calls.
Hi i have used your uninstall script and unfortunately it no longer lets me access the CWP Administrator Control Panel !
Please help me to solve this problem.
19
New Modules / Re: [BUG - ERROR] Two Factor Authorization Mod - CWP_2FA by "rcschaff"
« on: May 05, 2020, 01:37:21 AM »As for special characters, that should have been resolved. Please tell me what characters aren't working for you.
Hi "rcschaff",
This is the special character i have used:
,@)(+{`&<~=."!']*>~\%|-_
Also i would like to uninstall your module and then do a clean installation again.
You can help me uninstall your module cleanly and completely, you can tell me the commands to use, i would be very grateful to you.
Thanks in advance for the support.
20
New Modules / Re: [BUG - ERROR] Two Factor Authorization Mod - CWP_2FA by "rcschaff"
« on: May 02, 2020, 08:54:24 PM »That specific error has to do with not being able to pull a list of accounts from the api.
Could you verify ...
Hi "rcschaff" and thanks for the support.
I used the command suggested by you:
Code: [Select]
netstat -aptn | grep 2304
This is the output:
"tcp 0 0 0.0.0.0:2304 0.0.0.0:* LISTEN 1489/cwpsrv: master"
It's correct ?
Unfortunately, the reported errors persist and i cannot access the User Control Panel.
In addition, i also have problems with the use of special characters in the Root user password, if i use them, it won't let me down, you could list all the special characters allowed?
Furthermore, in order not to be wrong, i ask you the courtesy of being able to post here the complete commands to uninstall your module, i ask you because i would not want to make mistakes.
If you can help me solve these problems i would be very grateful to you.
Thanks in advance for the support.
21
New Modules / [BUG - ERROR] Two Factor Authorization Mod - CWP_2FA by "rcschaff"
« on: May 02, 2020, 02:09:19 PM »Quote from: rcschaff link=topic=8348.0
...
Quote from: rcschaff link=topic=8239.0
...
Hi "rcschaff"
First of all i want to congratulate you for the excellent work done by "rcschaff".
I did the installation following the official guide provided by "rcschaff" at this link:
https://www.youtube.com/watch?v=Uc9pglbZo6I
I have done all the steps correctly:
1 - Open firewall port number 2304 TCP/IN and TCP/OUT for IPv4 and IPv6
2 - Correctly created CWP PRO Api access management key with correct options:
Flagged List > Account
Flagged List > Account Details
Flagged List > Domains and subdomains
3 - Installed module via ssh shell with this command officialy provided by "rcschaff" at this link https://github.com/rcschaff82/cwp_2fa
Code: [Select]
wget -O - https://github.com/rcschaff82/cwp_2fa/tarball/master | tar xz
Code: [Select]
cd rcschaff82-cwp_2fa-*
Code: [Select]
./install.sh
When prompted, i have put my API key.
Under CWP Admin Panel (Root user) menu > User Accounts > Features,Themes,Languages > Themes i have correctly activated the modified theme disallowed users to chenge the theme and flagged option "Hide theme change.
Having said that i have to report two bugs and / or errors:
Bug and / or Error:
Go to Menu: 2Factor Auth > Manage users
And have this bug and / or errors:
"Notice: Trying to get property 'msj' of non-object in /usr/local/cwpsrv/htdocs/resources/admin/modules/user2fa.php on line 19
Warning: Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/modules/user2fa.php on line 19
Notice: Undefined variable: userpost in /usr/local/cwpsrv/htdocs/resources/admin/modules/user2fa.php on line 62
Warning: Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/modules/user2fa.php on line 62"
The module works for two-factor authentication for Admin Control Panel (Root) but it does not work for the User Control Panel as once the password has been entered it continues to load continuously without ever displaying the field where the 2FA code can be entered.
Screenshot of bug and/or errors:
So i ask you to help me solve these problems.
In addition, i also ask you the courtesy of being able to post here the commands to be able to uninstall your module completely cleanly from the SSH shell if i need it.
I also remind all those who will read this post that if they wanted to do so they can donate to "rcschaff" for creating this very useful module.
If you would like to donate to the project, "rcschaff" accept donations at: https://paypal.me/rcschaff
Dear "rcschaff" thanks in advance for the support.
22
Updates / Re: 190 new updates today!!!
« on: May 01, 2020, 04:28:58 AM »Unable to update via CWP PRO panel. So, tried via console and getting a "conflict file" error message on every package update attempt. Basically every package returns a "el7.x86_64" conflicts with file from package "el7.ius.x86_64". See line sample below.
file /usr/bin/python3.6 from install of python3-3.6.8-13.el7.x86_64 conflicts with file from package python36u-3.6.8-1.el7.ius.x86_64
Hi "jpichardo7",
First try this solution from shell with root user access:
Code: [Select]
rpm -e --nodeps python3-libs python3
If it doesn't work, try this from shell with root user access:
Code: [Select]
yum remove python36u-3.6.8-1.el7.ius.x86_64
Code: [Select]
yum -y update
Code: [Select]
yum -y install cmake3
Good day.
24
Updates / Re: 190 new updates today!!!
« on: April 30, 2020, 11:30:09 PM »As the subject says, as of today i received 190 updates on;
CWPpro version: 0.9.8.966
Distro Name: CentOS Linux release 7.7.1908 (Core)
Kernel Version: 3.10.0-1062.18.1.el7.x86_64
Is this correct?
Complete list of updates are ...
Hi "Jeroen",
Yes, this is correct, upgrades are required to update Centos 7 v7.7.1908 to the latest version of Centos 7 v7.8.2003
Good day !
25
Updates / Re: Update phpMyAdmin to the latest phpMyAdmin v4.9.0.1 for CWP and CWP PRO !
« on: April 30, 2020, 10:32:20 PM »Do you have any news about phpMyAdmin update?
Hi,
I'm sorry but unfortunately i don't have any updates at the moment.
26
Information / Re: CWP User poll
« on: April 24, 2020, 08:18:45 AM »Heres a poll to see who is really using CWP.
Good idea !
27
Updates / Re: Changes detected in the changelog!
« on: April 22, 2020, 06:39:44 AM »I'm so glad to see they're moving the change log.
https://control-webpanel.com/changelog
I hope that from now on you will report changes in the new versions here. This is very useful and it costs very little to report changes.
If the CWP team continues to listen to what we users report, they will be well on their way.
Greetings!
Hi "CoriaWeb Hosting",
Very very good news !
CWP and CWP Pro Team is Number One.
28
Updates / Update PHP-FPM and his selector to latest and stable PHP v7.3.17 for CWP PRO!
« on: April 20, 2020, 03:49:44 AM »
Hi,
First of all i wish to congratulate all the programmers of both CWP (Centos Web Panel) and CWP (Centos Web Panel) PRO for the excellent work they do and for the excellent product they have created, truly excellent from all points of view.
Congratulations also for the new and beautiful official website of CWP and CWP PRO https://control-webpanel.com/
Having said that, i ask you to consider from your next CWP (Centos Web Panel) PRO release,
updating PHP-FPM to the latest and stable version of PHP 7.3.17 which was released on 16 April, 2020.
I know you are always very busy developing CWP but i hope you can consider this suggestion of mine which i believe would be appreciated by all users of CWP (Centos Web Panel) PRO !
Thanks in advance for the support.
First of all i wish to congratulate all the programmers of both CWP (Centos Web Panel) and CWP (Centos Web Panel) PRO for the excellent work they do and for the excellent product they have created, truly excellent from all points of view.
Congratulations also for the new and beautiful official website of CWP and CWP PRO https://control-webpanel.com/
Having said that, i ask you to consider from your next CWP (Centos Web Panel) PRO release,
updating PHP-FPM to the latest and stable version of PHP 7.3.17 which was released on 16 April, 2020.
I know you are always very busy developing CWP but i hope you can consider this suggestion of mine which i believe would be appreciated by all users of CWP (Centos Web Panel) PRO !
Thanks in advance for the support.
29
Updates / Re: Installed cURL Version
« on: April 10, 2020, 01:28:21 PM »We have different CWP servers where we have this problem:QuoteInstalled cURL Version
You currently have version 7.29.0 of cURL installed. This version is known to have security issues. Please update to the latest cURL and ensure it is greater than 7.35.0.
We need CWP to update the version.
Greetings!
hello it will be updated in centos 8 as we use default base version. You can contact centos team for the updtate or use 3rd party resources.
Hi "CoriaWeb Hosting" and "Sandeep", cURL is updated on the latest and stable v7.69.1 on the latest and stable Apache v2.4.43 which was released on 31 March, 2020 as GA.
I have just written and published a topic asking for the update to the latest stable version of Apache v2.4.43 for both CWP (Control Web Panel) and CWP (Control Web Panel) PRO release.
In addition, this upgrade to the latest stable version of Apache v2.4.43 brings many other improvements both in terms of security and speed and also updates many dependencies:
- openssl 1.1.1f
- nghttp2 1.40.0
- jansson 2.12
- curl 7.69.1
- apr 1.7.0
- apr-util 1.6.1
- apr-iconv 1.2.2
- zlib 1.2.11
- brotli 1.0.7
- pcre 8.44
- libxml2 2.9.10
- lua 5.2.4
- expat 2.2.9
If you want you can read the topic that i published at this link:
http://forum.centos-webpanel.com/index.php?topic=8678.msg30202#msg30202
Hoping to have been of help i wish you a good day and a good job.
30
Updates / Update Apache v2.4.41 to latest and stable Apache v2.4.43 for CWP & CWP PRO!
« on: April 10, 2020, 12:57:29 PM »
Hi,
First of all i wish to congratulate all the programmers of both CWP (Control Web Panel) and CWP (Control Web Panel) PRO for the excellent work they do and for the excellent product they have created, truly excellent from all points of view.
Congratulations also for the new and beautiful official website of CWP and CWP PRO https://control-webpanel.com/
Having said that, i ask you to consider from your next CWP (Control Web Panel) and CWP (Control Web Panel) PRO release,
updating Apache to the latest version of Apache v2.4.43 which was released on 31 March, 2020 as GA.
This is the official changelog link for Apache v2.4.43: https://www.apachelounge.com/Changelog-2.4.html
31-March-2020 Changes with Apache v2.4.43 - GA
Apache Lounge changes:
- Upgraded OpenSSL to 1.1.1f from 1.1.1e (Changelog)
ASF changes:
- SECURITY: CVE-2020-1934 (cve.mitre.org)
mod_proxy_ftp: Use of uninitialized value with malicious backend FTP server. [Eric Covener]
- SECURITY: CVE-2020-1927 (cve.mitre.org)
rewrite, core: Set PCRE_DOTALL flag by default to avoid unpredictable matches and substitutions with encoded line break
characters.
The fix for CVE-2019-10098 was not effective. [Ruediger Pluem]
- mod_ssl: Fix memory leak of OCSP stapling response. [Yann Ylavic]
This is the official announcement link for Apache v2.4.43: https://www.apachelounge.com/viewtopic.php?p=38973
Apache httpd 2.4.43 is released as GA.
ASF and Apachelounge changes : https://www.apachelounge.com/Changelog-2.4.html
Attention for mod_md new features and changes listed at 2.4.42 in the change log (2.4.42 was not released).
Documentation: http://httpd.apache.org/docs/2.4/
Build with dependencies:
- openssl 1.1.1f
- nghttp2 1.40.0
- jansson 2.12
- curl 7.69.1
- apr 1.7.0
- apr-util 1.6.1
- apr-iconv 1.2.2
- zlib 1.2.11
- brotli 1.0.7
- pcre 8.44
- libxml2 2.9.10
- lua 5.2.4
- expat 2.2.9
Why we have a VS16 now
Maybe you noticed that we call Visual Studio C++ 2019 VS16 instead of VC16. In consultation with the PHP team we both now going to use VS16. VS16 is the version number of Visual Studio 2019.
The reason is, that VC15 is already a fictional identity, as the real VC++ version is 14.1, as you know. The new default one is now 14.2 still, not 16. Also, the version numbers move a lot faster now that in versions before VS2015. Thus, it turns out better to refer to the Visual Studio version and it's default toolset, than trying to catch up with the VC++ version which became unpredictable. Back in time, we've started to build with a preview of VS2017, which was indeed VC15, but after the GA release the version has been changed to 14.1, where we didn't catch up.
One Redistributable for VC14, VC15 and VS16
For VC14, VC15 and VS16 there is now only one Redistributable, called Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019
When you have already installed the VC14 and/or VC15 Redistributable. Then after install of the new, the Redistributable VC14/15 is updated from 14.0x.xx/14.1x.xx to the new one 14.2x.xx , it is called Microsoft Visual C++ 2015-2019 Redistributable and you can still use VC15/14.
Note from Microsoft: Visual C++ 2015, 2017 and 2019 all share the same redistributable files.
For example, installing the Visual C++ 2015-2019 Redistributable will affect programs built with Visual C++ 2015 and 2017 also. However, installing the Visual C++ 2015 Redistributable will not replace the newer versions of the files installed by the Visual C++ 2015-2019 Redistributable.
This is different from all previous Visual C++ versions, as they each had their own distinct runtime files, not shared with other versions.
VS16, VC14 and VC15 are backward compatible.
VS16 is backward compatible to VC15/14 and VC15 backward to VC14. That means for example, a VC15/14 module can be used inside a VS16 binary (for example PHP VC15/14 as module).
When you have hangs, slow traffic and/or when having in your log entries like Asynchronous AcceptEx failed. You can try the following settings:
AcceptFilter http none
AcceptFilter https none
EnableSendfile off
EnableMMAP off
I know you are always very busy developing CWP but i hope you can consider this suggestion of mine which i believe would be appreciated by all users of CWP (Control Web Panel) and CWP (Control Web Panel) PRO !
Thanks in advance for the support.
First of all i wish to congratulate all the programmers of both CWP (Control Web Panel) and CWP (Control Web Panel) PRO for the excellent work they do and for the excellent product they have created, truly excellent from all points of view.
Congratulations also for the new and beautiful official website of CWP and CWP PRO https://control-webpanel.com/
Having said that, i ask you to consider from your next CWP (Control Web Panel) and CWP (Control Web Panel) PRO release,
updating Apache to the latest version of Apache v2.4.43 which was released on 31 March, 2020 as GA.
This is the official changelog link for Apache v2.4.43: https://www.apachelounge.com/Changelog-2.4.html
31-March-2020 Changes with Apache v2.4.43 - GA
Apache Lounge changes:
- Upgraded OpenSSL to 1.1.1f from 1.1.1e (Changelog)
ASF changes:
- SECURITY: CVE-2020-1934 (cve.mitre.org)
mod_proxy_ftp: Use of uninitialized value with malicious backend FTP server. [Eric Covener]
- SECURITY: CVE-2020-1927 (cve.mitre.org)
rewrite, core: Set PCRE_DOTALL flag by default to avoid unpredictable matches and substitutions with encoded line break
characters.
The fix for CVE-2019-10098 was not effective. [Ruediger Pluem]
- mod_ssl: Fix memory leak of OCSP stapling response. [Yann Ylavic]
This is the official announcement link for Apache v2.4.43: https://www.apachelounge.com/viewtopic.php?p=38973
Apache httpd 2.4.43 is released as GA.
ASF and Apachelounge changes : https://www.apachelounge.com/Changelog-2.4.html
Attention for mod_md new features and changes listed at 2.4.42 in the change log (2.4.42 was not released).
Documentation: http://httpd.apache.org/docs/2.4/
Build with dependencies:
- openssl 1.1.1f
- nghttp2 1.40.0
- jansson 2.12
- curl 7.69.1
- apr 1.7.0
- apr-util 1.6.1
- apr-iconv 1.2.2
- zlib 1.2.11
- brotli 1.0.7
- pcre 8.44
- libxml2 2.9.10
- lua 5.2.4
- expat 2.2.9
Why we have a VS16 now
Maybe you noticed that we call Visual Studio C++ 2019 VS16 instead of VC16. In consultation with the PHP team we both now going to use VS16. VS16 is the version number of Visual Studio 2019.
The reason is, that VC15 is already a fictional identity, as the real VC++ version is 14.1, as you know. The new default one is now 14.2 still, not 16. Also, the version numbers move a lot faster now that in versions before VS2015. Thus, it turns out better to refer to the Visual Studio version and it's default toolset, than trying to catch up with the VC++ version which became unpredictable. Back in time, we've started to build with a preview of VS2017, which was indeed VC15, but after the GA release the version has been changed to 14.1, where we didn't catch up.
One Redistributable for VC14, VC15 and VS16
For VC14, VC15 and VS16 there is now only one Redistributable, called Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019
When you have already installed the VC14 and/or VC15 Redistributable. Then after install of the new, the Redistributable VC14/15 is updated from 14.0x.xx/14.1x.xx to the new one 14.2x.xx , it is called Microsoft Visual C++ 2015-2019 Redistributable and you can still use VC15/14.
Note from Microsoft: Visual C++ 2015, 2017 and 2019 all share the same redistributable files.
For example, installing the Visual C++ 2015-2019 Redistributable will affect programs built with Visual C++ 2015 and 2017 also. However, installing the Visual C++ 2015 Redistributable will not replace the newer versions of the files installed by the Visual C++ 2015-2019 Redistributable.
This is different from all previous Visual C++ versions, as they each had their own distinct runtime files, not shared with other versions.
VS16, VC14 and VC15 are backward compatible.
VS16 is backward compatible to VC15/14 and VC15 backward to VC14. That means for example, a VC15/14 module can be used inside a VS16 binary (for example PHP VC15/14 as module).
When you have hangs, slow traffic and/or when having in your log entries like Asynchronous AcceptEx failed. You can try the following settings:
AcceptFilter http none
AcceptFilter https none
EnableSendfile off
EnableMMAP off
I know you are always very busy developing CWP but i hope you can consider this suggestion of mine which i believe would be appreciated by all users of CWP (Control Web Panel) and CWP (Control Web Panel) PRO !
Thanks in advance for the support.