Reimplementing Tor from Scratch for a Single-Hop Proxy

foxmoss.com

54 points by Agreed3750 3 days ago


electsaudit0q - an hour ago

This reminds me of the value of reimplementing stuff yourself even if "better" solutions exist. Yeah he could've just used wireguard but then he wouldnt understand how tor actually works under the hood.

I did something similar years ago - wrote my own HTTP server from scratch in C instead of just using nginx. Was it practical? No. Did I learn more about sockets, parsing, concurrency than I ever would have from just reading docs? Absolutely.

Theres something about actually writing the code that makes the knowledge stick in a way that just using a library never does. Plus you end up with this deep intuition for when things go wrong because youve seen all the edge cases firsthand.

The "broke college student" framing is funny but I think its actually a feature not a bug. Constraints force creativity and deeper understanding.

fishgoesblub - 8 hours ago

So the author doesn't want to cough up the money to buy a VPN but will instead write a custom Tor client that is intentionally weak on anonymity so they can run their own exit node on a VPS they bought. Why not setup Wireguard and use the VPS as a VPN? More power to them, seems like they learned some things and are happy with the results, I just don't get it though.

randomtoast - 4 hours ago

The main motivation of the author seems to be that Tor is slow, but you can significantly speed it up by manually choosing Tor nodes. For instance, if you pick your three fast nodes within a short distance of you location, then the speed is significantly higher then the default tor settings.

goodpoint - 20 minutes ago

> Thankfully the hosting provider I chose BuyVM happens to be borderline bulletproof, and has no qualms with hosting extremist content. I’ve been a happy customer for a while for hosting tiny networking projects and personal website at good prices, and I was pretty blissfully unaware of their darker side when I bought the service. Luckily their very pro-free speech pro-privacy policies comes in handy for this project

...