Everything posted by Ling
-
Can not login to CWP user anymore only root works
I am aware of this, i just had followed your recommendation on this board how to install it and it worked. DNS attacks have dissapeared now. So I think DNSSEC would be an important future asset of CWP. What I found out is that the CWP user refers to DNS according to the contents of /home/userblablabla/dnszones But the system refers to dns according to /etc/named.conf (the zone files) and then /var/named where the zone files are Apparently the zone files in /home/userblablabla/dnszones are redundant and are completely ignored. Even I delete them nothing happens. Please clarify if I am wrong in this topic, or maybe I did the installation in a wrong way?
-
Can not login to CWP user anymore only root works
Now I have jumped over my shadow: I did a rollback to the corrupted version, as I was sure I had found a way out before. I had applied your patch CWP-Control Web Panel 500 Internal server Error/Expir above, but only for the user. I can confirm, that even it throw a lot of errors, it worked. I can login over the user panel now and also have DNSSEC back as I have installed it before. So the problem is solved. The only thing remains: The user panel is still not aware that there is DNSSEC installed on the server, but apparently without consequences. So THANKYOU
-
Can not login to CWP user anymore only root works
No. I did a complete server roll back to a 2 weeks earlier version which clearly and definitely worked for sure. This was the 1156 version To my whole surprise, even then I could not log into the userpanel, same as above !!!! How can that be.... Then I did an upgrade back to the 1170 version. Then everything worked again, suddenly. No idea why either. Now I will reapply the DNSSEC modification I did before. If it stops working, that was the reason. I dont think this was the reason but I will investigate this weird case and keep you posted. I remember, I had this case long time ago. Unfortunately my brain is getting Alzheimer so I forgot how I solved it. I am really tempted to roll back to the faulty case and try your fix above if it works or not. What I noticed during the process, is that even I modified the DNSSEC and the websites are using it, the user control panel still is not aware of the modification and searching for the old unsigned files and for sure can not find them. But no errors are produced and the websites work signed according to dig. If there is any connection to the error above, no idea. In prinicple it is not good that I dont know why it did not work even it works now. Usually those errors will reappear, knock on wood.... Anyway I will keep you posted.
-
Can not login to CWP user anymore only root works
# # /etc/fstab # Created by anaconda on Tue Feb 28 12:59:30 2023 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=30cfcfc6-6c1f-4203-975d-120ff2e0552c / ext4 usrjquota=quota.user,jqfmt=vfsv0 1 1 UUID=31e0d1f8-5b9a-46d9-b3fb-49b823209c65 /boot ext4 usrjquota=quota.user,jqfmt=vfsv0 1 1 See, I have installed diskquota now, as it was not there before, but no change. NB. Only the direct access over port https://blablabla.com:2083/login/?acc=logon gives an error 500/blank white page The access over "list accounts" click on the "open panel" wrench symbol (temporary link) works flawlessly and opens the user panel. If I click logout the same blank page opens with error 500.
-
Can not login to CWP user anymore only root works
[18-Sep-2023 19:26:09] WARNING: [pool cwpsrv] child 184941 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: fast_login in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 120" [18-Sep-2023 19:31:14] WARNING: [pool cwpsrv] child 190665 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: logout in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 28" [18-Sep-2023 19:31:14] WARNING: [pool cwpsrv] child 190665 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: login in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 30" [18-Sep-2023 19:31:14] WARNING: [pool cwpsrv] child 190665 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: fast_login in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 120" [18-Sep-2023 19:36:28] WARNING: [pool cwpsrv] child 191065 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: logout in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 28" [18-Sep-2023 19:36:28] WARNING: [pool cwpsrv] child 191065 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: login in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 30" [18-Sep-2023 19:36:28] WARNING: [pool cwpsrv] child 191065 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: fast_login in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 120" [18-Sep-2023 19:41:34] WARNING: [pool cwpsrv] child 191496 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: logout in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 28" [18-Sep-2023 19:41:34] WARNING: [pool cwpsrv] child 191496 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: login in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 30" [18-Sep-2023 19:41:34] WARNING: [pool cwpsrv] child 191496 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: fast_login in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 120" [18-Sep-2023 19:46:13] WARNING: [pool login] child 191981 said into stderr: "NOTICE: PHP message: PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/var/services/users/login/index.php</b> has expired. in Unknown on line 0" [18-Sep-2023 19:46:39] WARNING: [pool cwpsrv] child 192028 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: logout in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 28" [18-Sep-2023 19:46:39] WARNING: [pool cwpsrv] child 192028 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: login in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 30" [18-Sep-2023 19:46:39] WARNING: [pool cwpsrv] child 192028 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: fast_login in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 120" [18-Sep-2023 19:47:09] WARNING: [pool cwpsrv] child 192086 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: logout in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 28" [18-Sep-2023 19:47:09] WARNING: [pool cwpsrv] child 192086 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: login in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 30" [18-Sep-2023 19:47:09] WARNING: [pool cwpsrv] child 192086 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: fast_login in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 120" [18-Sep-2023 19:47:12] WARNING: [pool cwpsrv] child 192086 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: logout in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 28" [18-Sep-2023 19:47:12] WARNING: [pool cwpsrv] child 192086 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: login in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 30" [18-Sep-2023 19:47:12] WARNING: [pool cwpsrv] child 192086 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: fast_login in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 120" [18-Sep-2023 19:47:14] WARNING: [pool cwpsrv] child 192086 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: logout in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 28" [18-Sep-2023 19:47:14] WARNING: [pool cwpsrv] child 192086 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: login in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 30" [18-Sep-2023 19:47:14] WARNING: [pool cwpsrv] child 192086 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined index: fast_login in /usr/local/cwpsrv/htdocs/admin/login/index.php on line 120" [18-Sep-2023 19:47:14] WARNING: [pool cwpsrv] child 192086 said into stderr: "cp: cannot stat '/usr/local/cwpsrv/htdocs/adminOLD/lib/phpMyAdmin': No such file or directory" [18-Sep-2023 19:47:14] WARNING: [pool cwpsrv] child 192086 said into stderr: "cp: cannot stat '/usr/local/cwpsrv/htdocs/adminOLD/lib/roundcube': No such file or directory" [18-Sep-2023 19:47:15] WARNING: [pool cwpsrv] child 192086 said into stderr: "ln: failed to create symbolic link '/etc/init.d/mysqld': File exists" [18-Sep-2023 19:47:15] WARNING: [pool cwpsrv] child 192086 said into stderr: "Redirecting to /bin/systemctl status crond.service" [18-Sep-2023 19:47:15] WARNING: [pool cwpsrv] child 192086 said into stderr: "Redirecting to /bin/systemctl start crond.service" [18-Sep-2023 19:47:15] WARNING: [pool cwpsrv] child 192086 said into stderr: " % Total % Received % Xferd Average Speed Time Time Time Current" [18-Sep-2023 19:47:15] WARNING: [pool cwpsrv] child 192086 said into stderr: " Dload Upload Total Spent Left Speed" [18-Sep-2023 19:47:15] WARNING: [pool cwpsrv] child 192086 said into stderr: " 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0" [18-Sep-2023 19:47:15] WARNING: [pool cwpsrv] child 192086 said into stderr: " 100 112 0 83 100 29 912 318 --:--:-- --:--:-- --:--:-- 1230" [18-Sep-2023 19:47:15] WARNING: [pool cwpsrv] child 192086 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe" [18-Sep-2023 19:47:22] WARNING: [pool cwpsrv] child 192404 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe" [18-Sep-2023 19:47:27] WARNING: [pool cwpsrv] child 192086 said into stderr: "cat: /usr/local/cwp/.conf/quota_part.conf: No such file or directory" [18-Sep-2023 19:47:27] WARNING: [pool cwpsrv] child 192208 said into stderr: "sed: couldn't write 75 items to stdout: Broken pipe" [18-Sep-2023 19:47:37] WARNING: [pool cwpsrv] child 192086 said into stderr: "sed: couldn't write 75 items to stdout: Broken pipe" [18-Sep-2023 19:47:42] WARNING: [pool cwpsrv] child 192404 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe" [18-Sep-2023 19:47:47] WARNING: [pool cwpsrv] child 192086 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe" The webbrowser sees an error 500
-
Can not login to CWP user anymore only root works
Recently I can not login to CWP user panel anymore over the side server:2083/login/ Just a blank page appears, no content Tried rollback to earlier versions, no effect. Checked different browsers, no effect Disabled modsecurity, firewall, no effect A login over the root panel / list users works without problem, as the login page is circumvented here Initially this clearly worked in 1170 version with 2FA. Now the whole thing dissapeared, really dont know why this happened.
-
How to add DNSSEC Records in Bind/Named DNS server
Thanks for updating the recipe. You also should make clear that repeated use of this procedure will most likely lead to errors in the bind file and prevent bind from restart. Even the syntax checker can not find those errors. So this only works with a virgin config not using dnssec yet. Best practice is to make a backup of all config files and roll back from there, if bind refuses to restart due to a typo in the domain name or something like that. Or you write a script which does all this. DNSSEC and mod_evasive helped significantly to reduce overload attacks on our server and is definitely a must for CWP, so you should move this thread over there.
-
How to add DNSSEC Records in Bind/Named DNS server
Now I can confirm that your recipe still works after removing the line dnssec-lookaside auto; from it, as it is not supported any longer. The main problem was that this recipe only can be applied one single time. After rollback to virgin I tried it again without above line and bind can be started now.
-
How to add DNSSEC Records in Bind/Named DNS server
Now I can confirm that your recipe still works after removing the line dnssec-lookaside auto; from it, as it is not supported any longer. The main problem was that this recipe only can be applied one single time. After rollback to virgin I tried it again without above line and bind can be started now.
-
How to add DNSSEC Records in Bind/Named DNS server
This does not work on Almalinux 8 anymore as bind cannot be restarted after the modification. Also dnssec-lookaside auto; is obsolete nowadays and leads to a syntax error. Is there any solution for CWP as of today? We are getting a lot of DNS attacks here and DNSSEC would really help a lot. We have the PRO version so this request is rather basic and trivial.
-
Some CWP errors to remove: A small Thankyou
Corr: of course the temporary entries are temporary and not permanent, a copy paste error
-
2FA for CWP
Yes, I can confirm: Now it works again, finally. Hope it will survive the coming version updates. I have sent you some further small fixes as a thankyou, just some cosmetics, nothing essentiial.
-
Some CWP errors to remove: A small Thankyou
As a thank you to your efforts re 2FA: I tell you some flaws in CWP control panel, so you can remove it 1. In the dashboard 1.1 in the firewall manager 1.1.1. sub control panel for CSF 1.1.1.1 In the blacklist configuration Press delete a permanent entry It says "Remove emporary entry" instead "Remove temporary enry" Actually it should say "Remove permanent entry" because those are permanent entries ----- 1.1.1.2 In the whitelist configuration Press delete a permanent entry It says "Remove emporary entry" instead "Remove temporary enry" Actually it should say "Remove permanent entry" because those are permanent entries ----- 1.1.1.3 In the temporary allow and deny Ip list configuration Press delete a temporary entry It says "Remove emporary entry" instead "Remove temporary enry" Actually it should say "Remove permanent entry" because those are permanent entries
-
2FA for CWP
It took me one week, so I just tell you this from the comparison of our knowledge levels....and yes I am too lazy to do this patch for every new version which comes out...
-
2FA for CWP
Lets see when it is ready. Last time they also have tested it, so it does not mean a lot, especially not that it works. Yeah I should be more positive....the steps here are too incremental. Another year may pass before we have a solution. Can't you write it by yourself then we have it tomorrow and it will work - for both panels.
-
2FA for CWP
I did so, but I doubt it will change anything. If you could not change their attitude, how could I ....
-
2FA for CWP
Even today, as 6 more versions have passed, still no working two factor authentication for both panels available. Apparently anything else is more important than security in CWP. This is a very sad story. Every AI program can write this nowadays, so really no rocket science. Even me, as a bloody beginner, could implement a working "solution" using code fragments from RCSchaff and others, more than 6 months ago. The fact that I had to do this, and YOU guys even hearing my comments for a long time are simply doing NOTHING, throws a bad light on the seriousness of the whole CWP team. As a paying user I feel quite left alone, and I seriously ask myself: what is the point in reporting any topics here if in the end really nothing happens, despite empty promises. In the end this is just a serious flaw of CWP with no remedy. And the tragic is: Not because it is difficult to solve (which I even could understand in general), only because of IGNORANCE.
-
2FA for CWP
Already two more versions of CWP have passed and the issue with the user panel non working 2fa still not resolved. Seems your devs are not listening to you anymore....
-
2FA for CWP
I think there should be an unified and modular solution for both panels, otherwise it always will a source of problems in the future. I have noticed that even ChatGPT can write the PHP code structure on demand, sure it could not integrate it because of missing background knowledge.
-
2FA for CWP
Dear Sandeep You are the brain behind CWP Control Panel. Can you enlighten us, by when CWP will get a fully functional working 2FA for both, the user panel and the Root Main Control Panel? Currently the once working (Version 1156 was the last one) 2FA of the user panel is broken (until today's 1163 version), and the Root Main Control Panel still has to rely on the outdated solution from RCSchaff, which is an inofficial 3rd Party and not officially supported anymore. I mean, nowadays for all existing control panels on the market, 2FA is state of the art. And having a 200 characters long password just for security reasons is not really advisable. CWP is overall very promising, but just in this outmost important security aspect totally falls short. On the other side, I think it is not really rocket science to create such a working 2FA for both panels, I believe you will write that within a couple of hours, I believe. Could I encourage you? BR Ling
-
CWP Apache enable TLS 1.3 - Control Web Panel
Now I understand the logic, I will give it a try. The other runs like a charm man, thank you so far.
-
CWP Apache Enable mod_brotli Brotli Compression - Control Web Panel
Now I understand the logic, I will give it a try. The other runs like a charm man, thank you so far.
-
CWP Apache enable TLS 1.3 - Control Web Panel
I mean brotli for Apache 2.4.57 with http2 and tls1.3 combined. This posts relates to an old apache rebuild.
-
CWP Apache enable TLS 1.3 - Control Web Panel
How to enable mod_brotli in this procedure