Forum Discussion
serge_faller_83
Altostratus
Oct 19, 2005Add a new data on the UDP payload
Hi,
I wish to find a way with an iRule to save a src_adress (client) at the end of the
UDP payload before SNAT. ( use RADIUS )
I implemented the irules according to :
...
unRuleY_95363
Oct 20, 2005Historic F5 Account
Just to add to Dr. Teeth's post. You problem is that:
A) You don't set the length using UDP::payload length. The length is automatically determined by the amount of payload.
B) You can't replace 4 bytes starting at the end of the payload. You can insert 4 bytes at the end by using:
UDP::payload replace $udp_size 0 $Ip_src_adrAlso, if you do want to insert the IP address as a 32-bit (4 byte) number, you may want to search the forum for some examples of converting the IP address to a integer value.
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