Forum Discussion
serge_faller_83
Altostratus
Jun 29, 2005How to read a data in the UDP payload ?
I would like to use an UDP payload information (not header) to target a specific node. I need to read and handle this data (6 octets).
IP message example : Field "01007d" (radius).
...
serge_faller_83
Altostratus
Jul 04, 2005Thanks for the irule and your reactivity !
The data I should retrieve in a payload is a radius Type/Length/Value attribute (variable position). So I must test several data.
I have some questions for confirmation (... It's my first use):
example . Radius/UDP Ethereal
-------
UDP / 69 51 81 66 07 14 00 85 8d a9 /end UDP
begin Radius / 01 01 00 7d 26 ...
Are the following lines correct?
- To load the first 50 octets (for example) bytes of the payload
When CLIENT_ACCEPTED { UDP::collect 50 }
- If I want to read Radius Lenght : 007d (?)
binary scan [UDP::payload] x2a4 Radius_Lengh
Thank you for your assistance .
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