Forum Discussion
yang_128295
Nov 07, 2004Historic F5 Account
How can I do binary match filter for UDP payload ?
Hi all,
========= V4.5 iRule
rule content_udp {
if (udp_content contains <0x03,0x77,0x77,0x77,0x04,0x64,0x65,0x6c,0x6c,0x03,0x63,0x6f,0x6d>) {
log "Found www.dell.com"
use pool dnstest
}
else if (udp_content contains <0x03,0x77,0x77,0x77,0x02,0x66,0x35,0x03,0x63,0x6f,0x6d>) {
log "Found f5"
use pool dnstest
}
else {
log "Not correct Domain"
discard
In the above V4.5 iRule.
How can I translate “udp_content contains <0x03,0x77,0x77,0x77,0x04,0x64,0x65,0x6c,0x6c,0x03,0x63,0x6f,0x6d> "
into V9 ?
- unRuleY_95363Historic F5 AccountIn Tcl, you can use backslash escape sequences to encode binary characters.
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