On 03/28/12 13:21, Tetsuya Murakami wrote:
Depends how you implement it. I can think of at least one way to do
it on Linux without touching the IPv6 stack. (with NF hooks)
Yes. It could be possible. But NAT44 requires a network device. If
NAT44 is also utilized, a 4rd-u module attached to IPv6 stack similar
to a tunnel/pseudo device is reasonable from the implementation point
of view.
Yes of course.
IPv6 to IPv4:
- NF hook to receive IPv6 packets.
- Translate IPv6 into IPv4.
- Inject into v4 stack.
IPv4 to IPv6:
- Route(s) pointing to 4rd device.
- Translate IPv4 into IPv6.
- Inject into v6 stack.
We did something very similar in our Linux NAT64 implementation, as part
of the Ecdysis project. See URL in my signature for source code.
That's just one possible way to implement 4rd-U on Linux. I'm sure there
are others. And the vast majority of the code would be identical with a
MAP or 4rd implementation since they all are so similar.
Simon
--
DTN made easy, lean, and smart --> http://postellation.viagenie.ca
NAT64/DNS64 open-source --> http://ecdysis.viagenie.ca
STUN/TURN server --> http://numb.viagenie.ca
_______________________________________________
Softwires mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/softwires