summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/root
AgeCommit message (Collapse)Author
2024-09-06ACL: Add system read for luci-mod-network needed for timezone in wirelessYann Diorcet
2024-04-11luci-base: move and rename ucitrack odhcpd.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: move and rename ucitrack dhcp.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: move and rename ucitrack network.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: move and rename ucitrack wireless.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-01-25luci-mod-network: add getHostHints to luci-rpc permissionsPaul Donald
it would seem that this was forgotten somewhere along the way Signed-off-by: Paul Donald <newtwen@gmail.com>
2023-02-07luci-mod-network: handle dynamic device configuration defaultsJo-Philipp Wich
Most uci network device configuration settings have no specific default value which means that netifd will only alter the related sysfs parameters if an explicit value is specified in uci. When omitted from the configuration, the related sysfs setting is left untouched. This behaviour collides with LuCI's approach of purging boolean options from the configuration if they match their default value, leading to the inability to disable or enable certain settings as described in #6219. Solve this issue by replacing flag widgets with tri-state selects offering an "automatic" (default) as well as an explicit "enabled" and "disabled" choice. Also query sysfs on load and preset the automatic choice with an indication whether the underlying sysfs settings is currently active or not. Fixes: #6219 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-11luci-mod-admin-full: add arp-scan to network diagnosticPaul Spooren
This is a JavaScript rewrite of the PR#5152 It adds the ability to perform ARP scans if the tool `arp-scan` is installed. Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-09-01luci-mod-network: network/routing support for pbrVladislav Grigoryev
Provide comprehensive routing configuration: * Rename the "Network > Routes" page to "Network > Routing". * Unify sorting for the "Status" and "Network" menus. * Add the tabs "IPv4 Rules" and "IPv6 Rules" to the "Routing" page. * Provide configuration for IPv4 and IPv6 routing rules. * Consolidate routing configuration and terminology for IPv4 and IPv6. Policy-based routing is an increasingly popular problem. Netifd natively supports policy-based routing: * Interface-specific options "ip4table" and "ip6table". * Routing rules using the "rule" and "rule6" sections. LuCI is missing configuration for routing rules. Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
2021-08-11network: hide dnamsq (dhcp+dns) itemFritz D. Ansel
.. when no dnsmasq is installed, as it tells only that there are no settings available Signed-off-by: Fritz D. Ansel <fdansel@yandex.ru>
2021-08-09luci-mod-network: merge hosts with dns settingsVladislav Grigoryev
The current location for "Network > Hostnames" is confusing. It is provided by Dnsmasq and partly overlaps with static leases. Merge "Hostnames" with "Network > DHCP and DNS" as an extra tab. Also add a simple explanation of the use case. Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com> [Fix typo in label description string] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-03luci-mod-network: interfaces: restructure DHCPv6 and IPv6 RA optionsJo-Philipp Wich
- Condense overly large IPv6 RA/DHCPv6 description texts and get rid of most embedded markup - Switch ra/ndp/dhcpv6 mode selections to rich dropdown lists and move extended choice descriptions next to the selection options - Drop ndproxy_static option which has been removed from odhcpd long ago - Add format validations to all text input fields - Add ability to configure master/relay modes for non-static interfaces (#2998) - Move extended RA configuration options into a new tab - Prevent enabling master mode on multiple interfaces - Prevent enabling ra/dhcpv6 server mode on non-static or master interfaces - Drop ra_management in favor to ra_flags option (#5083) - Add support for dns_service option - Read current effective IPv6 MTU and hop limit placeholder values from procfs Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-05-26luci-mod-network: migrate network config depending on netifd versionRafał Miłecki
Checking netifd version is important for users of the most recent LuCI that didn't update netifd (e.g. OpenWrt package). Suggested-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-03-15luci-mod-network: add support for network.device sectionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17treewide: add ACL annotations to menu entriesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-09treewide: reorganize base ACLsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-18luci-mod-network: replace controller address check action with cgi-io scriptJo-Philipp Wich
This change removes the last bit of Lua code from luci-mod-network. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16luci-mod-network: reimplement diagnostics page as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16luci-mod-network: convert menu nodes to JSONJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-26luci-mod-network: os-release variables have been renamed to OPENWRT_Bjørn Mork
commit 8a34a54b6aa6 ("base-files: use OPENWRT prefix for os-release variables") changes the prefix of the os-release variables from LEDE_ to OPENWRT_. Use the new name. Signed-off-by: Bjørn Mork <bjorn@mork.no>
2018-09-19modules: Split luci-mod-fullDaniel F. Dickinson
Move some common elements to luci-base, and otherwise make three packages out of status, system, and network. They were mostly separated already, but there were some shared elements between status and network that are now in luci-base. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>