Skip to content

IPTables not supported #293

Description

@air101

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!

Activity

  1. WillyXJ commented on Mar 12, 2016

    @WillyXJ
    Collaborator

    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.

  2. air101 commented on Mar 12, 2016

    @air101
    Author

    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"

  3. WillyXJ commented on Mar 14, 2016

    @WillyXJ
    Collaborator

    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.

  4. WillyXJ commented on Mar 14, 2016

    @WillyXJ
    Collaborator

    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.

  5. air101 commented on Mar 14, 2016

    @air101
    Author

    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

  6. air101 commented on Mar 14, 2016

    @air101
    Author

    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

  7. WillyXJ commented on Mar 15, 2016

    @WillyXJ
    Collaborator

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

  8. added a commit that references this issue on Mar 15, 2016
  9. WillyXJ commented on Mar 15, 2016

    @WillyXJ
    Collaborator

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions