How did I get here?

(how-did-i-get-here.net)

114 points | by zachlatta 6 hours ago ago

33 comments

  • advisedwang 3 hours ago

    > This reverse traceroute is still helpful. The paths will be roughly the same, likely differing only in terms of which specific routers see your packet.

    This is categorically incorrect. While the AS path is often the same, the actual peering points are almost always quite different. Most ASes use hot-potato routing - getting packets to the next AS at the closest peering point to the source of the traffic. (And even if cold-potato routing is used, that's still asymmetric). In addition if there are two options with the same AS-path-length hot-potato routing can lead to different AS paths. This can happen if there's two mutual transit providers between source and destination and various other situations.

    (EDIT: fixed hot/cold mixup)

    • jcims an hour ago

      Dealt with something similar 25 years ago as a new guy at a large bank.

      They had a DS3 to AT&T for Internet and a T1 to Sprint for 'back-up' in case the primary went down. Same AS, but 75% of the Internet traffic perferred the Sprint return route.

      Our 'network guy' couldn't figure out why everyone in this company (100k employees) was experiencing worse than dial-up performance at their desks. Took about 10 minutes to see what the issue was (using reverse traceroute from a looking glass server out there somewhere).

      As soon as we fixed that, ran into the next problem. Dude built a caching proxy server on a Sun e4500 with ONE disk.

      Got to be a hero for a little bit lol.

    • archmaster 2 hours ago

      Anecdotally, I've run a bunch of traceroutes and reverse traceroutes to different locations and they tend to follow the same AS paths — although sometimes the traceroute will surface more routing through your ISP (especially from college networks). In general you are correct, though, and I would love to explain more about hot-potato vs. cold-potato (and other interesting routing decisions) in the future. Either way, the results the reverse traceroute provides are good enough for the purposes of explaining the internet, IMO!

    • immibis 2 hours ago

      FYI what you described is hot-potato routing: each AS gets rid of it as soon as possible.

      You may think this is unfair, and yes, it is, but it's also quite logical when you consider you don't know where the packet is going in the destination AS. If you have a network spanning Berlin and Hamburg and the packet is going to a different network that also spans Berlin and Hamburg, and you interconnect at both points, and you don't know which city it's actually going to, handing it off at the closest interconnect doesn't risk round-tripping it for no good reason.

      • advisedwang 2 hours ago

        ha yes thank you. I worked for a AS that mostly did cold-potato routing so grabbed the wrong term trying to describe the common case.

  • FredPret 4 hours ago

    > "You may have noticed that the traceroute progressively loads in lines above the bottom line. Web pages can only load forward. Since I didn’t want to use any JavaScript, I did the hackiest thing possible: every time I update the traceroute display, I embed a CSS block that hides the previous iteration! Since browsers render CSS as the page is loading, this made it look like the traceroute was being edited over time."

    Love this

  • F00Fbug 4 hours ago

    This is not my beautiful website.

    • reaperducer 3 hours ago

      This is not my beautiful home-page.

      • googlryas 3 hours ago

        There are packets at the bottom of the network stack

        • maybelsyrup 2 hours ago

          And you may find yourself

          Behind the keyboard of a large PC

          • tres 31 minutes ago

            And you may find your website in a beautiful datacenter, on a beautiful server.

          • fragmede an hour ago

            Typing in code you don’t understand

  • aidenn0 5 hours ago

    And if you haven't ever seen it before, run

      tracepath -m60 bad.horse
    
    and also

      openssl s_client -connect signed.bad.horse:443 -servername signed.bad.horse
    • lenova 4 hours ago

      Nice! Dr. Horrible would be proud of this geeky tribute:

        > tracepath -m60 bad.horse
        [...]
        16:  bad.horse                                            81.233ms asymm 10
        19:  he.rides.across.the.nation                           85.365ms asymm 11
        20:  he.got.the.application                               96.067ms asymm 13
        23:  it.needs.evaluation                                 112.377ms asymm 15
        24:  a.heinous.crime                                     114.826ms asymm 17
        25:  a.show.of.force                                     120.842ms asymm 18
        26:  bad.horse                                           133.089ms asymm 20
    • fragmede 5 hours ago

      also

          ssh funky.nondeterministic.computer
  • arionmiles 5 hours ago

    I thought this was going to play a Talking Heads song

  • mjmas 2 hours ago

    > Seems like this hit the Hacker News front page again, and the server's having some trouble pinging all of you. Feel free to read the article, but if you want to see your tracereoute you might need to bookmark and check back tomorrow :)

    > - Lexi, Nov 7, 3:16 PM PST

    • archmaster an hour ago

      somewhat better now! added a bit more concurrency. lesson learned: use tokio next time

  • o11c 2 hours ago

    Hmm, after several seconds it gave up and displayed raw markup ... I'm not sure exactly why in this case, but ...

    One of the major infelicities of the web is that CSS is specified to ignore truncation, and there is no way to fix this. Now think about what happens if something like `display: inline-block` gets truncated before the `-`.

  • bongodongobob 5 hours ago

    Doesn't work. Traceroute showed only 1 hop.

    • decafbad 3 hours ago

      Mine too. Maybe it's CGNAT.

    • metabagel 3 hours ago

      Read the green text

  • ChrisArchitect 6 hours ago

    Previous Show HN: from the dev in 2023:

    https://news.ycombinator.com/item?id=38531604

  • paulddraper 5 hours ago

    Doesn't seem to be working?

    • ninju 5 hours ago

      HN Hug of death ?

      • archmaster 2 hours ago

        It's like when your uncle squeezes you at Christmas. You're glad to see him again, but it's just a liiiitttleee... too... much... for... your... lungssss,.,.,.,

  • andrewshadura 4 hours ago

    Same as it ever was.

  • Razengan 5 hours ago

    I thought this was going to be a review of life choices

    • einpoklum 4 hours ago

      The review of life choices happens in our heads when we click this link on the main HN page.

      (sigh) I'm just thinking those thoughts right now.