• StarDreamer
    link
    fedilink
    English
    127 months ago

    As someone who works with 100Gbps networking:

    • why the heck do these routers run Lua of all things???
    • Max-P
      link
      fedilink
      English
      97 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
        27 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.

    • @[email protected]
      link
      fedilink
      English
      27 months ago

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