Forum Discussion

GaryZ_31658's avatar
GaryZ_31658
Historic F5 Account
Jul 29, 2005

Access Packet Filter through an iRule

I would like to create a packet filter and toggle the filter on and off based on node availability.

 

 

I cannot find any documentation that suggests a Packet Filter can be controlled within an iRule.

 

 

Can this be done?

 

 

How about an iRule that triggers iControl to control the Packet Filter?

 

 

Thanks for any information you can provide.

5 Replies

  • drteeth_127330's avatar
    drteeth_127330
    Historic F5 Account
    At present, this is not supported. What sort of packet filter do you have in mind? With the reject and drop commands combined with matchclass, you can do a good bit of packet filtering within iRules.
  • GaryZ_31658's avatar
    GaryZ_31658
    Historic F5 Account
    I have an external process that monitors the BIG-IP VIP using ICMP... If all nodes are "down", I need BIG-IP to stop responding to the Ping. The external process is not advanced enough to monitor a port.

     

     

    The only way I can think to do this is with a Packet Filter.I hoped to detect node status with an iRule and toggle the Packet Filter.
  • I need BigIP not to respond to ICMP Ping requests if there are no healthy nodes in the pool for a specific VIP/Virtual Service.

     

     

    I don't share IP address across Vertual Service.

     

     

    Thus if failure to respond to a ping request would indicate that a service is not available at that IP address.
  • drteeth_127330's avatar
    drteeth_127330
    Historic F5 Account
    That's a tough one. The ability to respond to a ping is fundamental to a virtual server. The only way I can think to do this is to implement an EAV that actually deletes the virtual when the service checks fail. This would be a lot easier with anything besides an ICMP echo request. Good luck!
  • GaryZ_31658's avatar
    GaryZ_31658
    Historic F5 Account
    Thanks for the response... I'm not certain it is a good idea to delete and add Virtuals on the fly like that. We'll look for some other alternative.