Show Posts

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.


Topics - iraqiboy90

Pages: [1] 2
1
Updates / CWP repo issue
« on: April 12, 2022, 11:10:41 AM »
Hello

Im getting this message trying to update my Centos 8 Stream Delayed
Code: [Select]
Problem: problem with installed package centos-stream-repos-8-4.el8.noarch
  - package centos-stream-repos-8-4.el8.noarch requires centos-gpg-keys = 1:8-4.el8, but none of the providers can be installed
  - cannot install both centos-gpg-keys-1:8-5.el8.noarch and centos-gpg-keys-1:8-4.el8.noarch
  - cannot install the best update candidate for package centos-gpg-keys-1:8-4.el8.noarch
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

I managed to update the rest with "--nobest", but this last package is having problems.

Anyone else having the same problem?

2
E-Mail / Tips/Tricks - Daily mail server report
« on: March 05, 2022, 11:17:34 AM »
Hello

I think this could be very useful to keep a lookout on your mail server in order to keep track of possible spam attempt.
This service will email you a report after looking at the entire previous day's log and give you a short and detailed info on what got rejected, which email client sent emails and which email address sent email to your server.

You'll need:

- pflogsumm 1.1.3 (the service that give you the report)
- mailx (Optional: to send email from server to the server email administrator)

Download pflogsumm into /usr/local/sbin/
Code: [Select]
cd /usr/local/sbin/
wget https://raw.githubusercontent.com/KTamas/pflogsumm/5184ce744d549b83e336ce1c1a899ad42138304e/pflogsumm.pl
chmod +x pflogsumm.pl

Install mailx
Code: [Select]
yum install mailx
Configure pflogsumm to send the daily report to your local email
Code: [Select]
crontab -e
0 3 * * * /usr/local/sbin/pflogsumm -d yesterday /var/log/maillog --problems_first --rej_add_from --verbose_msg_detail | mail -s 'Postfix Report' yourEMAIL@address

You can test the command in SSH:
Code: [Select]
/usr/local/sbin/pflogsumm -d yesterday /var/log/maillog --problems_first --rej_add_from --verbose_msg_detail

3
CentOS-WebPanel Bugs / /var/lib/nginx wrong permission by default
« on: February 22, 2022, 03:59:31 PM »
Hello

I was having permission issues uploading files to a website, then I tested another website and it had the same problem.
After some searching and testing, I found out that it's because of this folder not having the ownership set as nobody:root since nginx uses the user called "nobody"

The /var/lib/nginx folder had permission nginx:root <-- Not ok
All subfolders had nobody:root <-- ok

I checked my test server and it had the same values.

I did this:
Code: [Select]
chown nobody -R /var/lib/nginx/ and then restarted nginx and then uploads works fine again.

At what point does the ownership of /var/lib/nginx/ change?

If you are running nginx->varninsh->apache->php setup, can you please post here the value of
Code: [Select]
ls -all /var/lib/nginx/

4
Updates / Adding post-script to auto php updates?
« on: February 04, 2022, 08:27:35 PM »
I currently do not have my php-fpm auto update. I did this because I want to be there when I update it so I can run a script I made that changes some variables at php.ini to secure php. Every php update is a rebuild of php, and it resets the php.ini file.

But, if I want to enable php auto update, is there a way to add my script so it can be automatically executed at the end of a php update?

5
Updates / yum with CWP repos fails
« on: February 02, 2022, 08:13:05 PM »
Code: [Select]
[root@bak ~]# yum update
CentOS-Stream - AppStream                                                                                                                                                                                    686 kB/s | 474 kB     00:00
Errors during downloading metadata for repository 'Stream-AppStream':
  - Status code: 404 for http://repo.centos-webpanel.com/8-cwp-stream/stable/AppStream/x86_64/os/repodata/09255ba7c10e01afeb0d343667190f9c3e42d0a6099f887619abcb92ea0378db-filelists.xml.gz (IP: 5.196.100.135)
  - Status code: 404 for http://repo.centos-webpanel.com/8-cwp-stream/stable/AppStream/x86_64/os/repodata/678056e5b64153ca221196673208730234dd72f03397a3ab2d30fea01392bd87-primary.xml.gz (IP: 5.196.100.135)

These files don't exist:
http://repo.centos-webpanel.com/8-cwp-stream/stable/AppStream/x86_64/os/repodata/

6
CentOS-WebPanel Bugs / CWP still generates certificates when disabled
« on: February 02, 2022, 06:53:01 PM »


Why?

I thought this was fixed.

These two gets added on save.
Why does the first one get added?

7
CentOS-WebPanel GUI / Why do default html pages reset
« on: February 02, 2022, 06:45:14 PM »
/usr/local/cwpsrv/htdocs/resources/admin/tpl/

I saw a dev recommending this once. Why does it keep resetting every update. What's the point?

8
CSF Firewall / CWP firewall GUI overflow pages
« on: January 31, 2022, 02:17:02 PM »
Hello

Does the CWP firewall GUI hide too many bans behind pages or will it show all bans in the same page?
I currently have 20 temp bans and all of them are shown in the same page. If this feature exist, can I change it or maybe a suggestion to change it to 10 bans each page?


9
CSF Firewall / Make Fail2ban puts its bans on CSF banlist
« on: January 25, 2022, 06:56:42 PM »
Title says it all.

I want to see the banned IPs on CWP's firewall banlist.
If I tell fail2ban to use iptables, it will will work in banning, but won't show it in the list. (I have to list iptables rules to see it)
If I tell fail2ban to use nftables, it will also work in banning, but won't show it in the list. (I have to use "nft list ruleset" to see it)

10
CentOS-WebPanel Bugs / [bug] UserPanel "Unlocked" button unresponsive
« on: January 22, 2022, 03:40:04 PM »
After accessing the user panel and login in to a user. The button that says "Unlocked" on the top right of the panel is unresponsive when clicked.
When diagnosed, two things happens when pressed;
- A # added to the end of the URL.
- The console says this when the button is pressed:
Code: [Select]
Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
    complete https://panel.hostname.com:2083/cwp_6745e59e3ad517d1/s4h/?:138
    i https://panel.hostname.com:2083/s4h/cwp_theme/original/js/minified/dashboard.7d6641aeb870196.js:2
    fireWith https://panel.hostname.com:2083/s4h/cwp_theme/original/js/minified/dashboard.7d6641aeb870196.js:2
    A https://panel.hostname.com:2083/s4h/cwp_theme/original/js/minified/dashboard.7d6641aeb870196.js:2
    c https://panel.hostname.com:2083/s4h/cwp_theme/original/js/minified/dashboard.7d6641aeb870196.js:2
    send https://panel.hostname.com:2083/s4h/cwp_theme/original/js/minified/dashboard.7d6641aeb870196.js:2
    ajax https://panel.hostname.com:2083/s4h/cwp_theme/original/js/minified/dashboard.7d6641aeb870196.js:2
    <anonymous> https://panel.hostname.com:2083/cwp_6745e59e3ad517d1/s4h/?:138
    dispatch https://panel.hostname.com:2083/s4h/cwp_theme/original/js/minified/dashboard.7d6641aeb870196.js:2
    handle https://panel.hostname.com:2083/s4h/cwp_theme/original/js/minified/dashboard.7d6641aeb870196.js:2
    add https://panel.hostname.com:2083/s4h/cwp_theme/original/js/minified/dashboard.7d6641aeb870196.js:2
    xa https://panel.hostname.com:2083/s4h/cwp_theme/original/js/minified/dashboard.7d6641aeb870196.js:2
    each https://panel.hostname.com:2083/s4h/cwp_theme/original/js/minified/dashboard.7d6641aeb870196.js:2
    each https://panel.hostname.com:2083/s4h/cwp_theme/original/js/minified/dashboard.7d6641aeb870196.js:2
    xa https://panel.hostname.com:2083/s4h/cwp_theme/original/js/minified/dashboard.7d6641aeb870196.js:2
    on https://panel.hostname.com:2083/s4h/cwp_theme/original/js/minified/dashboard.7d6641aeb870196.js:2
    b https://panel.hostname.com:2083/s4h/cwp_theme/original/js/minified/dashboard.7d6641aeb870196.js:2
    <anonymous> https://panel.hostname.com:2083/cwp_6745e59e3ad517d1/s4h/?:138

The message changes a bit when I use this:
Code: [Select]
echo '{"compress_js":false,"compress_html":false}' > /usr/local/cwp/.conf/.devtools_config
The message is now:
Code: [Select]
Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
    complete https://panel.hostname.com:2083/cwp_6745e59e3ad517d1/s4h/?:4442
    jQuery 6
    <anonymous> https://panel.hostname.com:2083/cwp_6745e59e3ad517d1/s4h/?:4438
    jQuery 9
    <anonymous> https://panel.hostname.com:2083/cwp_6745e59e3ad517d1/s4h/?:4436

11
CentOS-WebPanel GUI / Mod_Security's Security incidents wrong IP
« on: January 11, 2022, 03:34:32 PM »
The Security Incidents tab in Security Center that shows what Mod_Security has blocked is showing server IP as an offender for some specific types of attacks even though the IP is something else.



Here's the audit log showing something else:



I'm running Cloudflare -> Nginx -> Varnish -> Apache (with mod_cloudflare)

12
Information / CWP changelog
« on: January 10, 2022, 12:27:44 PM »
Hello

A lot of updates have happened in the past few weeks without anything written about it in the changelog.

I have already sent an email to support about this but I have not received a reply to it.

What happened between v0.9.8.1113 and v0.9.8.1117?

With the current issues users are having, I'm not comfortable updating until I see a changelog update, including instant new ones upon releases of new updates.

Regards

13
Information / Love the panel, but...
« on: January 05, 2022, 04:17:00 PM »
Hello

I just switched from sentora few weeks ago because its developers disappeared or stopped caring enough to keep the project running..

CWP is an amazing web hosting panel. It has many great tools, the pro version has a lot of features with a reasonable price tag.
Bug and issues are expected within anything in the tech world, but are you guys giving up on the project as well, or are you just low on staff/developers?

Also, why do I get the feeling that in order for me to get answers on issues or bugs reported, I would have to pay a pretty penny for it...?

You guys have a nice tool for reporting bugs which I started using, but I see no indication that my reports or any others being seen or assigned to someone which makes me wonder if I should give up reporting bug and or start looking for a different control panel in the future.

14
E-Mail / Message size limit set to 200MB?
« on: January 04, 2022, 06:21:09 PM »
In the main.cf file, the message_size_limit is set to 204800000.

Yep, that's correct, you are seeing 204,800,000. bytes

Isn't this a zero too many? Most servers don't accept messages above 20MB, so why is this set to 200?

This number is the same on a test server with newly re-built mail server.

15
CentOS-WebPanel Bugs / Three bugs within Usercp
« on: January 03, 2022, 08:41:45 PM »
Hello
I've reported three bugs on the bug tracker but then I noticed there is a forum section for it as well, so I might just mention it here as well.
Addon domain module creates vmail folders with wrong ownership that results in broken email account.
https://bugs.control-webpanel.com/view.php?id=203

Email filter module creates sieve files with wrong ownership that result in inaccessible filters, possibly broken too.
https://bugs.control-webpanel.com/view.php?id=204

Email filter module cannot browse/see all folders results in the module being almost useless if roundcube has access to all folders and can do the same job (after fixing the sieve bug)
https://bugs.control-webpanel.com/view.php?id=205

Pages: [1] 2