• StarDreamer
    link
    fedilink
    English
    arrow-up
    13
    ·
    6 months ago

    As someone who works with 100Gbps networking:

    • why the heck do these routers run Lua of all things???
    • Max-P@lemmy.max-p.me
      link
      fedilink
      English
      arrow-up
      9
      ·
      6 months ago

      OpenWRT uses Lua for its web UI. The interpreter can be really small which works well for tiny embedded devices with mere megabytes of storage, and it’s much safer than writing a web GUI entirely in C.

      • StarDreamer
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 months ago

        Yeah I completely forgot about the consumer side of things. I was expecting there being Cisco iOS/FRR router configs, not a full web dashboard.

    • redcalcium@lemmy.institute
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 months ago

      I imagine the malware binary includes a lua interpreter for executing scripts fetched from its command and control server.