Forum Discussion
OTS02
Cirrus
Apr 18, 2015stream profile to detect only?
Can a stream profile be used to simply detect a unique string of characters, without actually replacing that string? If so, could you point me to an example of how to accomplish this? I would like to...
Kevin_Davies_40
Nacreous
Apr 19, 2015Try this.
when HTTP_RESPONSE {
STREAM::disable
if {[HTTP::header value Content-Type] contains "text"}{
STREAM::expression {&http://.*?example\.com&}
Enable the stream filter for this response only
STREAM::enable
}
}
when STREAM_MATCHED {
log local0. "[IP::client_addr]:[TCP::local_port]: matched: [STREAM::match]"
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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