Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can you use Fiddler (or equivalent) with the emulator in the Windows Phone 8 SDK when on a domain/network that uses IPSEC?

Now that the WP8 Emulator is based on Hyper-V, the old method of using Fiddler to intercept network traffic doesn't work if the network uses IPSEC.

Is there a way to use Fiddler and a WP8 emulator in such a scenario?

like image 272
Matt Lacey Avatar asked Oct 30 '12 17:10

Matt Lacey


3 Answers

Fiddler with exactly the same setup as on WP7 (https://fiddler2.com/fiddler/help/phone.asp) works absolutely fine for me.

You grab the traffic from the host system, so the guest (the WP8 emulator) has to bypass that too.

If it doesn't work let me know, but for me and others I know, it runs without any issues.

like image 152
Marco Avatar answered Nov 15 '22 07:11

Marco


I finally found the answer at http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj684580(v=vs.105).aspx

On a corporate domain, the emulator appears as a separate network device that is not joined to the domain. As a result, you may also have to get an exception from your IT department before the emulator can connect to services that are running on the domain-joined development computer.

A network security exception was required.

like image 39
Matt Lacey Avatar answered Nov 15 '22 09:11

Matt Lacey


You will probably have to use something like wireshark which works at a sub-protocol level and can therefore intercept anything.

Note that analysis won't be nearly as easy as it is in Fiddler though. Also, HTTPS connections might be impossible to analyze because of the whole man-in-the-middle attack prevention brought on by the protocol and certificates and such.

like image 25
Earlz Avatar answered Nov 15 '22 07:11

Earlz