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 :
...
drteeth_127330
Oct 19, 2005Historic F5 Account
The UDP::payload replace command will automatically update the datagram length and checksum. The command syntax is as follows:
UDP::payload replace
It's important to note that is the amount of data to replace. It is not the size of . For example, the following code snippet will insert the client IP address at the beginning of the datagram. The IP address will be inserted as a string. Perhaps you're attempting to insert the IP address as a 32 bit number?
when CLIENT_DATA {
UDP::payload replace 0 0 [IP::remote_addr]
}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