Forum Discussion
posiczko_73022
Nimbostratus
Jan 18, 2008How to modify IP payload (UDP checksum)?
Hello,
This may be a novice question, but how does one modify IP payload? I need to modify UDP checksum in a packet, alas this seems close to impossible. UDP has UDP::payload, as does TCP, but IP doesn't?
Would replacing the payload with original payload force calculation of a checksum, like so:
when CLIENT_DATA {
set length [UDP::payload length]
set payload [UDP::payload]
UDP::payload replace 0 0 $payload
}
Thanks!
Pawel
1 Reply
- Deb_Allen_18Historic F5 AccountHi Pawel -
We don't yet have the ability to manipulate L3 payload / L4 headers.
I'm not sure if replacing the payload would recalculate the checksum, but it's worth trying.
/deb
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
