New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPTables not supported #293

Closed
air101 opened this Issue Mar 12, 2016 · 8 comments

Comments

Projects
None yet
2 participants
@air101

air101 commented Mar 12, 2016

Hello again,

thank you for fixing the firewall issue, I can access the firewall tab now. But on an updated Debian 8 (Jessie) the firewall module tells me this while Installation:

iptables 1.4.21 is not supported.

Which install is supported with debian? Or which fw can I use on Debian and is supported within fmFirewall.

Thanks again!

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented Mar 12, 2016

iptables is supported so something is wrong with the version check sequence in your environment. On your client, could you please edit /usr/local/facileManager/fmFirewalll/functions.php and change line 223

$url = $serverhost . '/buildconf';

to

$url = $serverhost . '/buildconf.php';

Then try the installer again and report back.

@air101

This comment has been minimized.

air101 commented Mar 12, 2016

Ok, I edited the file but it still says "not supported". iptables is the standard one from debian repository.
"iptables --version
iptables v1.4.21"

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented Mar 14, 2016

What OS/distro are you using for your fM server? Running through the fmFirewall client installer on debian 8 worked fine against an EL 6.7 fM server. The iptables version is fine, but it's failing with a check against the server for some reason.

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented Mar 14, 2016

Digging further into the check, the versionCheck() function in /usr/local/facileManager/fmFirewall/functions.php was put in place for future support in case the version actually mattered for particular functionality. You could bypass the check altogether by editing /usr/local/facileManager/fmFirewall/functions.php and putting the following right after line 223:

return true;

That would make the function look like this:

function versionCheck($app_version, $serverhost, $compress) {
    return true;
    $url = $serverhost . '/buildconf';
    $data['action'] = 'version_check';
...

This should get you through the rest of the install and fmFirewall operational.

@air101

This comment has been minimized.

air101 commented Mar 14, 2016

I will check it out in a bit. Server and Client are:
cat /proc/version
Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29)

Latest Debian with all Updates

@air101

This comment has been minimized.

air101 commented Mar 14, 2016

Ok, Installation worked but the clients are not added in the firewall list @ webinterface. When I manually add them, it says -> Client Install Required. I've chosen "cron" as install method

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented Mar 15, 2016

Confirmed bug in that fmFirewall clients are not actually getting added to the database. Working on a solution.

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented Mar 15, 2016

Issue fixed in fmFirewall v1.2.4. Thanks for the report!

In your case, just reinstall the client and you should be all set.

@WillyXJ WillyXJ closed this Mar 15, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment