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 } ...
Jeroen_De_Wilde
Nimbostratus
Nov 02, 2005Hi,
I'm getting errors when trying to use UDP::payload inside SERVER_CONNECTED.
I've got the following error :
--
Nov 2 12:00:40 tmm tmm[26896]: 01220001:3: TCL error: Rule rad_p2 - More data required (line 1) invoked from within "{UDP::payload}"
--
This is the code part where the error happens :
when SERVER_CONNECTED {
if {[UDP::remote_port] eq 1813} {
log local0. "rulerule sss -- [LB::server addr] ";
set ip1 0; set ip2 0; set ip3 0; set ip4 0;
binary scan [{UDP::payload}] c* str;
...
Does anyone know why this is happening, I noticed already that it is working in CLIENT_ACCEPTED.. but then I don't know to which node the data will go.. And that is also something that I need to know.
Thanks,
Jeroen
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