Using a router to intercept HTTP data. Sniffing

httpnetworkingpacket-capturepacket-sniffer

This is my first serverfault post. I've been a member of Stack Overflow for a while and doubt that this question would fly over there.

I have my PS3 and XBOX 360 hard wired to a Linksys Wireless N router. I'd like to find a way to determine the server that these connect to when writing and receiving game leaderboard stats. This isn't meant for hacking leaderboards, but to try to figure out how to scrape the data. There is no API for accessing XBOX Live or PlaystationNetwork stat data, so I'd just simply like to try to look in a log file or watch in real time as connections are made and broken.

I have access to both a Mac on 10.6.3 and a PC on Windows 7. If I have to turn either of these into proxies I can do it. I just need to find out what software I need to start seeing this data.

Can you guys point me in the right direction?

Best Answer

Install squid (an HTTTP proxy) on the MAC, enable logging, and tell the devices to use the proxy. If you need to see more detail then additionally install wireshark (packetsniffer) on the Mac and tell it to sniff port 80.

You don't need to get fancy and install a router or a bridge or set up a transparent (intercept) proxy.