I think I’ll use sockets on 127.0.0.1 to make simple IPC for my application. I’m targeting Windows, Mac and Linux. I have few questions:
- Can a firewall or other tool block my connection on any of those 3 OSes
- Is the connection fast? Someone told me on that on Linux, it uses pipes to transmit data.
- Can the connection be sniffed (EDIT: It can be sniffed using RawCap for example.)
127.0.0.1 (localhost) is the loopback interface. It’s all internal, it doesn’t hit the wire.
Can firewall block it? Not an external firewall, but perhaps a software firewall running on the same machine could.
Is it fast? As fast as it can be.
Can the connection be sniffed? Not by an external device, but it could be sniffed by software running on the same machine.