Changing Android emulator’s /etc/hosts
If you’re trying to Wireshark to observe SSL traffic (for example, to see if connections are being reused and SSL sessions being resumed), you’ll find yourself needing to filter by ip.addr = XXXX. Unfortunately, Amazon Route 53 appears to pretty aggressively vend different IP addresses every time you ask, which means you’ll want to pick one and throw it in your /etc/hosts so that you can know what your client is using as an IP.
If your client happens to be an Android emulator, though, you might be in for a rude surprise. It seems (?) like it ignores you local /etc/hosts file. Instead, I had to change the /etc/hosts in the emulator itself. I ended up following some great instructions from Brad Curtis. Be sure to pay attention to step 1! Otherwise you’re in for a head scratcher. In Eclipse, you can enter that parameter in Run > Run Configurations > Target > Additional Emulator Command Line Options. And if you’re on a Mac, you’ll probably find adb in ./android-sdks/platform-tools