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

StackOverflow https://stackoverflow.com/questions/13144120

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?

有帮助吗?

解决方案 2

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.

其他提示

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.

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top