Page 2 of 4

Re: DIrectAdmin compatibility of products configserver

Posted: 09 Jul 2019, 18:44
by Annette
Awesome work on CSF/LFD for IW - I pushed it to a testing server (about to be two), configured it, set it off, and it's dumping IPs that need to be dumped.

Really looking forward to a port of MSFE for IW if you're able to do it.

Re: DirectAdmin & InterWorx compatibility with configserver products

Posted: 09 Jul 2019, 20:47
by ForumAdmin
Annette wrote: 09 Jul 2019, 18:44 Awesome work on CSF/LFD for IW - I pushed it to a testing server (about to be two), configured it, set it off, and it's dumping IPs that need to be dumped.

Really looking forward to a port of MSFE for IW if you're able to do it.
MSFE might be tricky with qmail as MailScanner does not officially support it and it apparently requires a rebuild of qmail to possible get it working.

Re: DirectAdmin & InterWorx compatibility with configserver products

Posted: 10 Jul 2019, 13:35
by Annette
If it can be done, you're the guy to do. If it can't, then that's just the way it goes. Fortunately, the spamassassin interface tools for users on the IW side are far better than cPanel's offerings. If you could look at mail queues/mail manage (IW uses mbox) for IW, that would be outstanding.

Re: DirectAdmin & InterWorx compatibility with configserver products

Posted: 12 Jul 2019, 14:50
by rsnetworks
Just a question is the CSF for interworx integrated with and in the UI of IW?

Re: DirectAdmin & InterWorx compatibility with configserver products

Posted: 12 Jul 2019, 15:17
by ForumAdmin
rsnetworks wrote: 12 Jul 2019, 14:50 Just a question is the CSF for interworx integrated with and in the UI of IW?
Yes, it is.

Re: DirectAdmin & InterWorx compatibility with configserver products

Posted: 12 Jul 2019, 15:23
by rsnetworks
Oh perfect. You are a hero for us serious.
Your work is extreme appreciated

Re: DirectAdmin & InterWorx compatibility with configserver products

Posted: 12 Jul 2019, 16:05
by rsnetworks
I have installed it on IW server and working almost perfect.
In the main interface on the panel you have the check if the standard firewall is working that is conflicting because it is ofcourse off but the check sustains and giving a popup with: replyCode: 504
replyText: Server Mislukt to Respond
replyData:
null

I have a screenshot of it

Re: DirectAdmin & InterWorx compatibility with configserver products

Posted: 12 Jul 2019, 16:22
by ForumAdmin
We'll look into the issue for the next release of csf. For now, if you want to stop the error you will need to restore the original Firewall.php:

Code: Select all

cd /usr/local/interworx/include/Ctrl/Nodeworx
cp Firewall.php.orig /usr/local/interworx/plugins/configservercsf/Firewall.php
cp Firewall.php.orig Firewall.php

Re: DirectAdmin & InterWorx compatibility with configserver products

Posted: 12 Jul 2019, 17:51
by rsnetworks
ForumAdmin wrote: 12 Jul 2019, 16:22 We'll look into the issue for the next release of csf. For now, if you want to stop the error you will need to restore the original Firewall.php:

Code: Select all

cd /usr/local/interworx/include/Ctrl/Nodeworx
cp Firewall.php.orig /usr/local/interworx/plugins/configservercsf/Firewall.php
cp Firewall.php.orig Firewall.php
Thank you for your response.
That doesn't replace the old file because it isn't there anymore.

I will wait till the next update because the popup doesn't hurt.

Re: DirectAdmin & InterWorx compatibility with configserver products

Posted: 12 Jul 2019, 17:55
by ForumAdmin
If you replace /usr/local/interworx/plugins/configservercsf/Firewall.php with the following code:

Code: Select all

<?php
	if ($_SERVER['REQUEST_URI'] === '/nodeworx/firewall') {
		throw new IWorx_Exception_ActionBlocked('ConfigServer Plugins > Firewall & Security, has replaced this item');
	} else {
		throw new IWorx_Exception_ActionBlocked('N/A');
	}
?>
Then copy this file into place:

Code: Select all

cp /usr/local/interworx/plugins/configservercsf/Firewall.php /usr/local/interworx/include/Ctrl/Nodeworx/
This should fix the issue for now.