#24 Compile checkbox: v 4.0.0 build-2496

closed-fixed
nobody
None
1
2010-03-10
2010-02-06
andrade
No

I have de following test setup configured:

Centos 5.4 (2.6.18-164.11.1.el5.centos.plusxen x86_64 ,
iptables-1.3.5-5.3.el5_4.1
FWbuilder 4.0.0-b2496
heartbeat-2.1.3-3.el5.centos
conntrack-tools-0.9.11-dm2
libnetfilter_conntrack-0.0.99-1.dm
libnfnetlink-0.0.41-1.dm

An change in “Host OS Settings” or “Firewall Settings” (firewall-object, edit) of an “member firewall”, don’t mark the cluster as “need compile”.

If you try to compile the firewall, the checkbox compile is marked, but if you try to compile the cluster, the checkbox is not marked.

Discussion

  • Vadim Kurland

    Vadim Kurland - 2010-02-07

    I cant reproduce this. I tried this:

    - recompiled the cluster
    - clicked "Compile" button in the toolbar to make sure the checkbox next to the cluster is turned off. Cluster did not need recompile
    - opened "Host OS" settings dialog for a member firewall, changed something, clickied OK (I changed ip forwarding option)
    - clicked "Compile" toolbar button and the checkbox next to the cluster object was turned on.
    - Note that if you double click on the cluster object to open it in the editor, you'll see "Last modified", "Last compiled" and "Last installed" timestamps. The "last modified" time stamp for the cluster matched the one for the member firewall I modified and was later than "last compiled" time stamp. This is correct configuration

    Test 2:

    - recompiled the cluster
    - opened member firewall in the editor, opened "advanced firewall settings" dialog
    - changed something (I used "Ignore empty groups" checkbox), clicked OK
    - the "last modifed" timestamp for the member firewall changed and was after the "last compiled" timestamp
    - double clicked the cluster object and there the "last modifed" timestamp was also later than "last compiled"
    - clicked "Compile" button in the toolbar to make sure checkbox was turned on

    Please explain your scenario where the checkbox does not get turned on

     
  • Vadim Kurland

    Vadim Kurland - 2010-02-07
    • priority: 5 --> 1
    • status: open --> open-works-for-me
     
  • andrade

    andrade - 2010-02-07

    example1:

    . Right click on firewall-cluster, compile (compile checkbox is not set, look at last modified)
    . Double click on “State Sync Group”, click on “Edit protocol parameters”, mark “use unicast packets”, click OK ( edit protocol button is disabled).
    . Right click on firewall-cluster, compile (compile checkbox is not set, last modified is de same)

    ----------------

    example 2:

    . Double click on firewall-node, “host OS settings”, conntrack, HASHSIZE , up (15000 to 15001), OK.
    . Right click on firewall-cluster, compile (compile checkbox is not set, last modified is de same, just firewall-node time has changed)

     
  • andrade

    andrade - 2010-02-07
     
  • andrade

    andrade - 2010-02-07

    my 2 examples whas done with build 2504

     
  • Vadim Kurland

    Vadim Kurland - 2010-02-07

    I confirm scenario 1 (editing state sync group does not trigger recompile) but not 2. In my tests, changes in the host OS dialog correctly change "last modified" timestamp of the cluster object. This includes change to the HASHSIZE parameter

     
  • Vadim Kurland

    Vadim Kurland - 2010-02-07

    issue 1 is fixed in build 2505

     
  • andrade

    andrade - 2010-02-09

    I try v4.0.0.0 build 2506

    #1 (edit protocol button) fixed, OK

    #2 (changes on node's settings don't mark cluster to be compiled)

    In my tests , changes in Host OS Settings, change modified timestamp of the node object ( fw-andrade1 on my example) but don't change de cluster modified timestamp. Only mark node as "need compile", don't mark cluster as need compile.

    obs: my example (.fwd) is atached on this ticket as lab20100207.tgz

     
  • Vadim Kurland

    Vadim Kurland - 2010-02-10

    I still can not reproduce the problem with cluster not being marked for recompile you report. Please give me detailed step by step scenario that leads to the problem. Please attach screenshots to illustrate the steps you are taking and what happens.

     
  • andrade

    andrade - 2010-02-10

    I attached a small move : fw-cluster001.avi

    I am using in my desktop:
    Windows 7 64bits
    Xming
    Putty

    the output of my putty:

    -bash-3.2$
    -bash-3.2$
    -bash-3.2$ uname -a
    Linux fw-andrade0.pgnet.cl 2.6.18-164.11.1.el5.centos.plusxen #1 SMP Wed Jan 20 19:27:16 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
    -bash-3.2$
    -bash-3.2$ cat /etc/redhat-release
    CentOS release 5.4 (Final)
    -bash-3.2$
    -bash-3.2$ id
    uid=1001(fwadmin) gid=1001(fwadmin) groups=1001(fwadmin)
    -bash-3.2$
    -bash-3.2$ rpm -qa|grep fwbu
    fwbuilder-4.0.0-b2506.el5
    libfwbuilder-4.0.0-b2506.el5
    -bash-3.2$
    -bash-3.2$ fwbuilder
    FWCmdBasic::mergeWith(const QUndoCommand *other) other= 0xac6fa70
    cmd: "Edit fw-andrade1"
    FWCmdBasic::mergeWith(const QUndoCommand *other) other= 0xaadfa40
    cmd: "Edit fw-andrade2"
    FWCmdBasic::mergeWith(const QUndoCommand *other) other= 0xab37b08
    cmd: "Edit fw-andrade1"
    FWCmdBasic::mergeWith(const QUndoCommand *other) other= 0xab06ef8
    cmd: "Change action"
    FWCmdBasic::mergeWith(const QUndoCommand *other) other= 0xacdcb60
    cmd: "Edit Rule Action"
    FWCmdBasic::mergeWith(const QUndoCommand *other) other= 0xadd2b58
    cmd: "Change action"
    -bash-3.2$

     
  • andrade

    andrade - 2010-02-10

    I sent you by mail. I can't upload on sourceforge.

     
  • andrade

    andrade - 2010-02-17

    I try build 2546.
    Now the compile checkbox error is fixed

     
  • andrade

    andrade - 2010-02-17
    • status: open-works-for-me --> open-fixed
     
  • andrade

    andrade - 2010-02-17

    I try build 2546.
    Now the compile checkbox error is fixed

     
  • Vadim Kurland

    Vadim Kurland - 2010-03-10
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks