6 ms·
> Cloudflare.NetworkEngineer Ah, that explains a lot. Not that anyone else couldn't do such a thing, but I feel like even amongst more "hacker" types it takes
by yjftsjthsd-h 4y ago
> Cloudflare.NetworkEngineer
Ah, that explains a lot. Not that anyone else couldn't do such a thing, but I feel like even amongst more "hacker" types it takes a relatively specialized background to pull a trick like this (at least statistically; I'm sure there are outliers).
- DropKiwiFarms 4y ago
- brightball 4y ago
- tyingq 4y agoNot sure how he did it, but my first guess would be just a bunch of virtual interfaces on a linux box with a->b->c->d->e->etc routing, and something like the tc command[1] to add enough latency to each one that traceroute sees them all. If he's scripted it to do all the virtual nic creation and dns ptr entries, it would be interesting to see. [1] https://bencane.com/2012/07/16/tc-adding-simulated-network-latency-to-your-linux-server/ https://bencane.com/2012/07/16/tc-adding-simulated-network-l...
- JoachimSchipper 4y agotraceroute(1) uses the IP Time-To-Live (TTL) field, not network latency. So just a bunch of virtual interfaces on a suitable *nix should be enough.
- tyingq 4y agoAh, right, hop count ceiling and decrement from each hop. Specifically timed latency might be fun to delineate sections for the viewer though.
- mrb 4y agoVirtual interfaces aren't necessary, and would be overkill. All he needs on his server is to listen on a raw network socket, read the incoming packet's IP TTL value, then forge and send an ICMP "time exceeded" response with the source IP address set to a value that depends on the TTL. The entire thing could be done in 20-30 lines of Python. Next to that he set up a DNS server configured with PTR records that map these forged IP addresses to arbitrary hostnames of his choices.
- tyingq 4y agoSure, another way to do it, though the python would have to get the peer address, extract 64 bits of the incoming msg, table lookups of hop count -> forged address, decrement hop counts, etc. A shell script creating virtual interfaces and routing wouldn't likely be much longer than 20-30 lines either.
- mrb 4y agoThere is no need to do "table lookups of hop count" or to "decrement hop counts". The IP TTL value is just a field that can be read from the IP header, which is trivial since the Python would get the entire IP header from the raw socket. If you see a TTL=1 you send back the forged response as coming from $IP_1, if you see a TTL=2 you forge the response as coming from $IP_2, etc. The forged response can always contain the same default TTL.
- tyingq 4y ago> table lookups of hop count -> forged address >> There is no need to do "table lookups of hop count" >> If you see a TTL=1 you send back the forged response as coming from $IP_1, if you see a TTL=2 you forge the response as coming from $IP_2 You're describing a table lookup of the forged address using the hop count.
- mrb 4y agoRight, I understand you now.
- vlan0 4y agoFeels like we’re a dying bread with everything cloud first and serverless.
- irrational 4y agoDying breed? Though dying bread sounds like an interesting metaphor.
- yjftsjthsd-h 4y agoEh, smaller slice of a bigger pie. Somebody has to make "the cloud" work so that everybody else doesn't have to worry about the underlying bits as much.
- mhh__ 4y agoThere are always nerdy kids learning this stuff. Especially when the breed has "died"
- exikyut 4y agoAh so this is how "the next best thing since sliced bread"s die :'(
- prvit 4y agoThis is a very old and oft-repeated trick though. https://github.com/blechschmidt/fakeroute https://github.com/blechschmidt/fakeroute https://github.com/antifork/hopfake https://github.com/antifork/hopfake https://github.com/jprenken/rickroute https://github.com/jprenken/rickroute https://github.com/sams-gleb/ipv4-traceroute-fake https://github.com/sams-gleb/ipv4-traceroute-fake https://github.com/job/ipv6-traceroute-faker https://github.com/job/ipv6-traceroute-faker And so on… I remember being a 13yo kid sitting on IRC doing exactly this for fun years ago back when IP addresses were cheap and easy to come by. But spoofing military IPs in the traceroute was more fun.
- silentsea90 4y agoBelieve it or not, you might have very specific interests :)
- water-your-self 4y agoIf a 13 year old was using irc regularly in 2022 I would be concerned for them. Not thata 13 year old shouldn't use irc but I would wonder how they found that destination, especially given the countless other sinks for internet denizens
- sweetbitter 4y agoI'm curious why you would be concerned. I've seen a good number of teenagers hanging around and playing with computers.
- deleted 4y ago[deleted]
- necovek 4y agoFree software development and chat still largely happens over IRC: witness irc.gnome.org and libera chat. As a 13 year old, if I had access to internet instead of buying Slackware floppies from local software "pirates" (they also had all the DOS stuff like Wordperfect and games), I'd probably be hanging around IRC. I don't think there was much to be concerned about me back then.
- chatmasta 4y agoIt’s because practical experience with technologies like BGP is difficult to acquire without sufficient capital to run a network. You can of course purchase a /24 and dabble (search HN for blog posts describing exactly that). And you can experiment with large deployments in simulators. But network optimization is inherently more of a practical pursuit than a theoretical one, so most broad and consistent learning opportunities are siloed to large organizations where you can accrue daily experience with the stack. This is really unfortunate, and I mostly blame Cisco and Juniper. They suffocated an entire academic discipline with obfuscated terminology driven more by their business models than anything resembling the OSI model or open standards. That’s why WireGuard feels like such a breath of fresh air after 20 years of L2TP/IPSec. I applaud companies like Cloudflare and Fly.io for their openness in sharing techniques and open sourcing so much of their code. It goes a long way toward lowering the barriers to self-teaching and experimenting with the latest networking software. And I’m sure HR is happy about the increasingly large applicant pool of qualified networking engineers – even if some hires do eventually leave by advertising their resume to anyone who sends them an IPv6 trace-route :)
- RF_Savage 4y ago44Net and hamnet are also interesting to those with radio amateur licenses. Many folks run their own AS an BGP in that range.
- lawrenceyan 4y agoYou can contribute to the Solana core tech team, with the incentive alignment of underlying token value as a partial backer! I think they're doing some really cool stuff on the network optimization level. As an example, Solana recently implemented QUIC in its latest release: https://github.com/solana-labs/solana/projects/74 https://github.com/solana-labs/solana/projects/74
- jhugo 4y agoAre they still using that hand-wavy "cryptographic proof that a duration of time has passed"?