summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network
AgeCommit message (Collapse)Author
2020-02-17luci-mod-network, luci-mod-status: harmonize wifi signal indicatorsJo-Philipp Wich
Fixes: #3636 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-31luci-mod-network: dhcp.js: adjust resolvfile placeholder to OpenWrt defaultJo-Philipp Wich
Ref: https://github.com/openwrt/luci/commit/5d15363408d263fccae90b3b7ab0ebac6329eebb#commitcomment-37059122 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-31luci-mod-network: dhcp.js: fix resolvefile option dependsJo-Philipp Wich
Ref: https://forum.openwrt.org/t/resolvfile-option-not-showing/54229 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-28luci-mod-network: handle missing switch port state informationJo-Philipp Wich
Ref: https://github.com/openwrt/luci/issues/3565 Ref: https://forum.openwrt.org/t/cannot-read-property-link/50766 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-16luci-mod-network: fix missing semicolonsDavid Lam
Corrects missing semicolons from the previous commit. Signed-off-by: David Lam <david@thedavid.net>
2020-01-16luci-mod-network: add system cert bundle validationDavid Lam
This commit adds the ability for users to validate against the system's built-in CA bundle if it is installed. The process is made much easier because the user does not have to first extract the CA certificate from the EAPOL handshake and upload it via LuCI uploads. Dependent on commit openwrt/openwrt#2696. Signed-off-by: David Lam <david@thedavid.net>
2020-01-15Merge pull request #3444 from swg0101/subjectvalidationFlorian Eckert
luci-mod-network: add certificate subj validation
2020-01-12luci-mod-network: add certificate subj validationDavid Lam
This PR is tied to changes being made via openwrt/openwrt#2654, and it allows users to provide certificate constraint(s) when connecting as a STA to an AP using Enterprise modes. The constraints can either be provided via the certificate's X509 subject using a substring (e.g. /CN=wifi.mycompany.com) or subject alternate name values (e.g. DNS:wifi.mycompany.com), although both can be combined for a stricter validation criteria. Other options, such as wildcard and exact domain matches are also available. Signed-off-by: David Lam <david@thedavid.net>
2020-01-03Merge pull request #3391 from TobleMiner/feature-vlan-descriptionFlorian Eckert
luci-mod-network: Add description field to VLANs (trivial)
2019-12-20luci-base: fix typosBalázs Úr
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
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-17luci-base: fix typosBalázs Úr
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
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-12-16luci-mod-network: dhcp.js: fix default state of nonwildcardJo-Philipp Wich
Fixes: #3415 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16luci-mod-network: fix rebind list validationJo-Philipp Wich
Fixes: 62e28f4b0 ("luci-mod-network: dhcp.js: fix address and rebind list validation") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16luci-mod-network: dhcp.js: fix address and rebind list validationJo-Philipp Wich
Fixes: #3130 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16luci-mod-network: re-add DHCPv6 lease status to dnsmasq pageJo-Philipp Wich
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2674 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-04luci-mod-network: Add description field to VLANsTobias Schramm
Having a description attached to a VLAN makes identification a lot easier when dealing with many VLANs Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
2019-11-22luci-mod-network: dnsmasq: correct sense & usage of dnsseccheckunsignedKevin Darbyshire-Bryant
dnsmasq v2.80 made 'dnssec-check-unsigned' the default, reflect this in the gui. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2019-11-08luci-mod-network: dhcp.js: fix DNSSEC feature probingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-08luci-base, luci-mod-network: migrate getDUIDHints method to C pluginJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-07luci-mod-network: wireless.js: restore client disconnect functionalityJo-Philipp Wich
Ref: https://forum.openwrt.org/t/19-07-luci-disconnect-missing/47897 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03treewide: require ui.js explicitlyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03luci-mod-network: remove unused `iface_down` endpointJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03luci-base, luci-mod-network: invoke ifdown directly in interface overviewJo-Philipp Wich
Replace the `iface_down` endpoint with a direct invocation of `/sbin/ifdown` and replace the interface connectivity check with a call to the new `remote_addr` endpoint. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03luci-mod-network: add admin/network/remote_addr endpointJo-Philipp Wich
The remote_addr endpoint allows clients to query their external IP address as seen by the device as well as the inbound network devices and logical interfaces on the router. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01luci-mod-network: fix disabled state in wifi settings modalJo-Philipp Wich
Also auto-enable the radio upon network join. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01luci-mod-network: use declarative dependencies in controllerJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01luci-mod-network: interfaces.js: issue iface restart via file/exec rpc callJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01luci-mod-network: wireless.js: issue wifi restart via file/exec rpc callJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01luci-base: remove unused Lua codeJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01luci-base, luci-mod-network, luci-app-firewall: migrate luci/getHostHintsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01luci-base, luci-mod-network: migrate luci/getDHCPLeases to C pluginJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-15luci-mod-network: wireless.js: fix null access on failing iwinfo callsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-15luci-mod-network: wireless.js: fix null access on unavailable country listJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-30luci-mod-network: display the mesh ID in wireless overview if applicableJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24Merge pull request #2756 from Ansuel/wpsJo-Philipp Wich
luci-mod-network: permit WPS push-button on WPA3
2019-09-24luci-mod-network: permit WPS push-button on WPA3Ansuel Smith
Currently WPS push-button is dropped when SAE or SAE-Mixed is selected. WPS is still supported in WPA3. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-09-24luci-mod-network: add master optionAnsuel Smith
Adds option to set interface as master in dhcpv6 relay mode. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-09-24luci-mod-network: wireless.js: properly handle SAE in join confirmationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-mod-network: interfaces.js: map remove action to network.deleteNetwork()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-mod-network: wireless.js: prompt for passphrase when joining SAE netJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-mod-network: resort zonePromise orderChen Minqiang
This fix #3103 Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2019-09-20luci-mod-network: sort wifi encryption by strength and popularityJo-Philipp Wich
Fixes: #3082 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20luci-mod-network: fix key option quirk when switching wep and wpa modesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20luci-mod-network: default to ieee80211w=2 for OWEJo-Philipp Wich
Ref: https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/network/services/hostapd/files/hostapd.sh;h=46acbefeeeb771de879dd9926ad170042dff2473;hb=HEAD#l327 Fixes: 63f28fd06 luci-mod-network: default to ieee80211w=1 for OWE Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20luci-mod-network: default to ieee80211w=1 for OWEJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20luci-mod-network: wireless.js: fix parsing of wep key slot cfgvalueJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-19luci-mod-network: wireless.js: fix disabled state on disabled radioJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>