r/AskProgramming • u/augustcero • Apr 13 '26
Which vpn architecture actually prevents logging?
if a vpn processes traffic, it has access to that traffic. if it has access, it can log it. if it can log it, then privacy depends on policy.
so the next step would be systems where processing does not imply access, which would require some form of isolation at the execution level, which then raises the question of whether such designs are practical and implemented anywhere
1
Upvotes
12
u/SpaceMonkeyAttack Apr 13 '26
It sounds like you are describing TOR. The node you connect to doesn't know the final destination of your packet, and the node that delivers your packet doesn't know its origin. But it's very slow.
4
u/tetlee Apr 13 '26
If your traffic is https they can only tell what you are connecting to unless you've done something stupid like install their certificates
4
u/deceze Apr 13 '26
If data passes through a system, that system can log that data. There's nothing fundamentally you can do about that, architecturally or otherwise. The only thing you can influence is how useful that data is, what that data says.
The Onion Router (TOR) for example passes traffic through multiple nodes with specific encryption layers, such that in the end, no node can correlate the originating IPs to each other. So who communicated with whom cannot be logged. (Though even that could be reconstructed if you got your hands on the logs of all layers.)
However, even in this architecture, if the data is unencrypted (e.g. HTTP traffic, not HTTPS), the nodes will be able to see that data, even if they don't really know where it comes from or where it goes.
3
u/anothercorgi Apr 13 '26
I don't understand how people think VPNs solve their privacy issue. It only moves the privacy issue to the next hop (your vpn provider). This is, unless the sole purpose of the VPN is lying about your location (for tricking Netflix or something) or accessing a site that would normally be inaccessible (like remote access to your business network, for example). Or if you don't trust your first hop, like if you're on an insecure wifi network.
The only thing that comes close to giving privacy is The Onion Router as it scrambles locations randomly. You'll also need to donate yourself as an output node so others who share their nodes can use yours to obfuscate everyone's packets.
Otherwise there's not really a way to prevent logging. Packets come from somewhere and go somewhere, and that's part of the Internet Protocol. You can only embed it in a data packet but the receiver of the embedded packet needs to be able to decode it to send it to the next location, and how to send any response back to you.
1
u/ericbythebay Apr 13 '26
Logging what? The connections between endpoints, nothing.
The data in the pipe, nothing unless you are using e2ee.
1
u/czlowiek4888 Apr 13 '26
But what if traffic is encrypted e2e?