Forum Discussion
RTP Wrapped in UDP Packet
Hello,
im trying to find a solution for a client sending me rtp traffic wrapped inside udp since he has to modify the udp header without touching the rtp. im trying to achieve that using an iRule with UDP::Payload and replace. i saw the example in DevCentral but im not sure how to remove the current header and use the rtp header and payload inside.
help would be appriciated.
thanks O.
- What_Lies_Bene1Cirrostratus
Sorry but I'm confused, RTP is normally carried over UDP. What exactly are you trying to do with an iRule?
- Eldad_162351Nimbostratus
Yes youre right but this time im getting in wrapped twice. rtp packet wrapped by udp. [udp[rtp]]
thanks O.
- What_Lies_Bene1Cirrostratus
So you mean [udp[udp[rtp]]]?
If not, I'd expect [udp[rtp]]. What exactly do you need to modify please?
- Eldad_162351Nimbostratus
correct, i mean [udp[udp[rtp]]]
i would like to remove the first udp header, to stay with [udp[rtp]], meaning normal rtp packet to deliver to an rtp server.
- What_Lies_Bene1Cirrostratus
OK, well, I'm sure this is possible, the packet header is a fixed length right so you could use UDP::collect and payload and strip off the first 8Bytes of every packet.
However, whether this would break things in relation to the outer UDP header checksum I don't know.
Apologies but I don't have the time to give this the thought it deserves, hopefully this helps you make a start.
Recent Discussions
Related Content
* 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