Konstantin Glukhov 8b0195ea67 luci-mod-status: improve RDNS resolution workflow
- Add new RPC declarations:
  - callLuciRpcGetNetworkDevices
  - callLuciRpcGetDHCPLeases
- Add ethers_cache for MAC-to-hostname mapping
- Replace object literals with Object.create(null) for caches:
  dns_cache, service_cache
- Make sure 'Disable DNS lookups' shows addresses
- Change lookup_queue from array to Set to simplify processing
- Introduce updateDnsCache(addr, name) helper to update caches and remove
  addresses from queues
- Update service lookup to match uppercase cache keys
- Rework address resolution workflow as async/await
  1. DHCP leases
  2. Reverse DNS via callNetworkRrdnsLookup
  3. Host hints / MAC-to-host mapping
  4. Network devices / MAC cache
- Re-write pollData() as async
- Update ACL JSON to grant luci-mod-status access to luci-rpc
  methods: getHostHints, getNetworkDevices, getDHCPLeases

This refactor modernizes the connections view host lookup logic, reduces
redundant RPC queries, and improves maintainability and cache reliability.

Signed-off-by: Konstantin Glukhov <KGlukhov@Hotmail.com>
2026-02-09 05:07:45 +01:00
2024-11-22 22:39:46 +01:00
2026-02-02 18:22:15 +01:00
2025-06-08 20:41:25 +02:00
2019-11-07 12:39:24 +01:00
2025-11-07 14:36:39 +01:00

OpenWrt luci feed

Translation status

Description

This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.

Usage

This feed is enabled by default. Your feeds.conf.default (or feeds.conf) should contain a line like:

src-git luci https://github.com/openwrt/luci.git

To install all its package definitions, run:

./scripts/feeds update luci
./scripts/feeds install -a -p luci

API Reference

You can browse the generated API documentation directly on Github.

Development

Documentation for developing and extending LuCI can be found in the Wiki

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.

Translation status

Use Weblate instead of direct editing of the *.po files.

Translation status

Description
LuCI - OpenWrt Configuration Interface
Readme Apache-2.0 538 MiB
Languages
JavaScript 65.1%
C 17.3%
Lua 6.6%
CSS 3.7%
UnrealScript 3%
Other 4.2%