Tuesday, August 23, 2011

Android patched QEMU NAT code architecture

Personal Project Android patched QEMU NAT

Intro: The emulator of Android SDK comes from Qemu and is modified to support features such as bandwidth shaping. It is good to most developers, but it seems to be lacking some features, I guess some people out there are also interested in tweaking it to fit your needs.

Technical Background:

Because Qemu runs guest OS, it naturally needs to manipulates packets when it is under NAT mode. And to provide some small utilities, it has tcp/udp IP support in itself by using SLiRP, which was originally designed for PPP back in 90s.

Three pictures are attached in case you want to know the key points of NAT of UDP in Android. Sorry, TCP is not my interest at the moment.




No comments: