pure hip vs. udp encapsulation
Hello everyone,
I noticed that (at least in our scenario in Aachen), we always use UDP encapsulation for HIP transmissions. Furthermore, plain-NAT is the default mode of operation for HIPL. I don't see this situation changing any time soon (i.e. middleboxes such as NATs becoming HIP-aware).
Now, HIPL uses raw sockets for everything. That even includes sending UDP packets! Raw sockets cause extensive overhead in terms of code size and code complexity, as whole IP packets have to be created and routes need to be queried.
My suggestion is to get rid of most of this complexity by focusing on the UDP mode of operation. Doing so would allow to remove raw socket-specific functionality and to let the OS do the IP-based work.
This is an invitation for the discussion of my proposal.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- HIPL Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask René Hummen for more information if necessary.