Forum Discussion
Ganesh_Ramamoor
Nimbostratus
Nov 01, 2005UDP iRule question
If I want to have an iRule for UDP data that will distribute based on a string that is in the first 50 bytes, this simple iRule should do it right?
when CLIENT_ACCEPTED { UDP::collect 50 } ...
Ganesh_Ramamoor
Nimbostratus
Nov 01, 2005Oh, on further search and trying out the iRule, I see that UDP::collect is not defined.
So I can either have:
when CLIENT_DATA {
if { [UDP::payload 50] contains "XYZ" } {
pool xyz_servers
} else {
pool web_servers
}
}
or
when CLIENT_ACCEPTED {
if { [UDP::payload 50] contains "XYZ" } {
pool xyz_servers
} else {
pool web_servers
}
}
So, the question is when is CLIENT_ACCEPTED triggered for a UDP client? I suppose CLIENT_DATA is triggered whenever DATA is sent.
Thanks in advance.
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