Forum Discussion

What_Lies_Bene1's avatar
What_Lies_Bene1
Icon for Cirrostratus rankCirrostratus
Apr 30, 2014

The FLOW_INIT Event and Event Order

Does this event come before or after the CLIENT_ACCEPTED event? I'm guessing before but would like to know for sure.

 

Also, will this event only fire if packet filters are used or always?

 

  • Hey Nitass, thanks. It's not listed in that article as it's a new event in v11.4.1.

     

    I do mean that and yes packet filters occur first, it's just not 100% clear if this event only fires if packet filters are used. Still, if PFs are applied before even RULE_INIT I don't see how this could be indicated so I'm 99% sure it always triggers.

     

  • it seems it is fired even afm is not provisoned.

    e.g.

    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list sys provision afm
    sys provision afm { }
    
    [root@ve11a:Active:In Sync] config  tmsh list ltm rule qux
    ltm rule qux {
        when FLOW_INIT {
            log local0. ""
    }
    when CLIENT_ACCEPTED {
            log local0. ""
    }
    }
    
    [root@ve11a:Active:In Sync] config  tail /var/log/ltm
    May  1 02:46:17 ve11a info tmm1[14715]: Rule /Common/qux :
    May  1 02:46:17 ve11a info tmm1[14715]: Rule /Common/qux :