Forum Discussion
kaguras_48797
Apr 18, 2011Nimbostratus
iRule and Operators Help
Hi all,
I'a new user and I would like to know is it possible to write an iRule that contorls IP address and cookie which will reject or send a reset package if IP address is not an IP Addres...
kaguras_48797
Apr 19, 2011Nimbostratus
Hi,
Thank you very much for your response, I wrote something but it is not working actually, what can be the problem ?
I'm trying to search some string in GET request and Check one IP, if they dont match, it will not allow the traffic, reject/reset the packet.
when HTTP_REQUEST {
if { [string tolower [HTTP::header "HeaderName"]] contains "Some_String_in_Header" } and ![IP::addr [IP::client_add] equals A.B.C.D]
}
{discard }
Thank you
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