Forum Discussion
Vishal_96707
Nimbostratus
May 18, 2009Block ICMP for Virtual Server
How do I block ICMP request to a Virtual Server?
Thanks in advance.
7 Replies
Sort By
- hoolio
Cirrostratus
If you want to block ICMP for a virtual server address, you can define a packet filter which drops protocol ICMP for the VIP address: - The_Bhattman
Nimbostratus
Here is an untested iRule waywhen CLIENT_ACCEPTED { if { [IP::protocol] == 1 } { reject } }
- Vishal_96707
Nimbostratus
Is it safe to use packet filer? Will it have any adverse impact on the performance of the box? - The_Bhattman
Nimbostratus
when CLIENT_ACCEPTED { log local0. "The IP Protocol is [IP::protocol]" if { [IP::protocol] == 1 } { reject } }
- c_p_i_o_17707Historic F5 AccountDoes "bigpipe virtual address arp disable" at the CLI suite your needs?
- dennypayne
Employee
Aaron's solution of using packet filters is the only one that will work here. A virtual server consists of IP address AND port, which is what iRules run on. ICMP is to the virtual *address*. Different things. And since you can have multiple virtual servers on one IP address, there's no way to affect something done on a virtual address with an iRule that runs on a virtual server. - hoolio
Cirrostratus
Disabling ARP would also break all communication with any virtual server on the virtual address (unless the upstream network device had hardcoded arp entries, in which case the setting wouldn't matter).
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects