‹ BackHN Continuity

Thread

Nobody Is Listening on Port 8125

22 points · 15 comments · zasc

  1. theamk · · focus · HN ↗
    > We replaced the listener with an eBPF program that watches port 8125 at the traffic control layer of every interface, and a JavaScript decoder that turns the lines into Prometheus families.

    this is insane! Why on earth would one to replace a short, simple, highly debugable program with this crazy combination. Why would you trade a simple socket(2) call which shows up in ss, netstat, strace etc.. with something that opaque? Especially given the bandwidth is minuscule and the destination is already localhost.

    1. tucnak · · focus · HN ↗
      Maybe they wanted to play a bit with eBPF... The only reasonable conclusion. Wait till they go beyond localhost and discover XDP!
      1. r3tr0 · · focus · HN ↗
        haha we got xdp, tcx, BPF_MAP_TYPE_ARENA you name it ;)

        check the docs.

        <a href="https:&#x2F;&#x2F;yeet.cx&#x2F;docs" rel="nofollow">https:&#x2F;&#x2F;yeet.cx&#x2F;docs

    2. cookiengineer · · focus · HN ↗
      Web developers make web developer choices while vibe coding.

      Your past experience limits your thinking, especially in agentic environments.

      But I suppose their whole business model is built upon that, given that yeet is a bun&#x2F;node&#x2F;deno library with bpf support.

      1. r3tr0 · · focus · HN ↗
        founder here. we are not a bun&#x2F;node&#x2F;deno library.

        we embed V8 directly and just point it at bpf

        1. r3tr0 · · focus · HN ↗
          the choice of javascript was very intentional.

          it has some really nice properties for dynamically instrumenting the OS.

          and provides lightweight isolation for agents to control probes and do deep packet analysis.

          1. lloydatkinson · · focus · HN ↗
            Which popular systems if any use this? So I can avoid it.
        2. [deleted] · · focus · HN ↗

          [deleted]

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.