DirectAdmin & InterWorx compatibility with configserver products

Annette
Junior Member
Posts: 8
Joined: 01 Jul 2019, 15:25

Re: DIrectAdmin compatibility of products configserver

Post 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.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: DirectAdmin & InterWorx compatibility with configserver products

Post 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.
Annette
Junior Member
Posts: 8
Joined: 01 Jul 2019, 15:25

Re: DirectAdmin & InterWorx compatibility with configserver products

Post 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.
rsnetworks
Junior Member
Posts: 6
Joined: 12 Jul 2019, 14:26

Re: DirectAdmin & InterWorx compatibility with configserver products

Post by rsnetworks »

Just a question is the CSF for interworx integrated with and in the UI of IW?
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: DirectAdmin & InterWorx compatibility with configserver products

Post 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.
rsnetworks
Junior Member
Posts: 6
Joined: 12 Jul 2019, 14:26

Re: DirectAdmin & InterWorx compatibility with configserver products

Post by rsnetworks »

Oh perfect. You are a hero for us serious.
Your work is extreme appreciated
rsnetworks
Junior Member
Posts: 6
Joined: 12 Jul 2019, 14:26

Re: DirectAdmin & InterWorx compatibility with configserver products

Post 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
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: DirectAdmin & InterWorx compatibility with configserver products

Post 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
rsnetworks
Junior Member
Posts: 6
Joined: 12 Jul 2019, 14:26

Re: DirectAdmin & InterWorx compatibility with configserver products

Post 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.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: DirectAdmin & InterWorx compatibility with configserver products

Post 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.
Post Reply