J_Saunders_4728
Jan 30, 2013Nimbostratus
Reject based on string in HTTP header
All,
I want the F5 to reject (or drop) packets that have specific string/text in the HTTP header. I found this:
when HTTP_REQUEST {
if { [HTTP::header exists Morfeus Scanner] } {
reject
}
}
When I try to add the above iRule I get an error that there are too many arguments in line 2. I removed the second word (Scanner) and it accepted the iRule. BUT, I would prefer to have both words included. Is there a way to do that? Do I use quotes?
Thanks