Capture data sent to external address
-
I have a device (a weather station) which can send data (over HTTP) to a couple of external weather websites but has no way of letting me record data locally. I'd like to have all data sent by it to an external address be diverted to a local machine. What's the simplest way to do this? I could use a local web proxy but that seems rather heavyweight. Is there a way to use some simple firewall rules to redirect the communication?
-
Not easily. You'd need to mirror the traffic. You could do that using a bridge interface with a mirror port but you'd still need something else attached to that capturing traffic. And then you'd need to decode that capture data into something useful.
What sites can it send to? Something you enter yourself?
Potentially you could override the DNS and have it send to something local instead. -