summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static
AgeCommit message (Collapse)Author
2024-09-02Merge pull request #7198 from schuettecarsten/pr/dnsmasq_edns0_upstreamFlorian Eckert
dnsmasq: Add options for new EDNS0 options
2024-08-30luci-mod-network: routes.js: make interface setting optionalJo-Philipp Wich
Fixes: #7260 Ref: https://git.openwrt.org/5c2e5d5ea4e0dd9a0ed66154d818b96bf81664f4 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-08-02dnsmasq: Add options for new EDNS0 optionsCarsten Schuette
Signed-off-by: Carsten Schuette <schuettecarsten@googlemail.com>
2024-07-26luci-mod-network: wireless.js: expose ocv settingsMichael Yartys
Make it possible to set Operating Channel Validation through luci. Signed-off-by: Michael Yartys <mail@yartys.no>
2024-07-25luci-mod-network: made expandAndFormatMAC return arraysPaul Donald
instead of returning a space separated string follow-up to 5ab0cb1f15bcb31015ae8345d302c6d023ba51e2 Closes #7209 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-07-23luci-mod-network: Correctly assign dnsmasq instance: name not numberPaul Donald
Closes #7199 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-07-19luci-mod-network: revert replacing button tags with div tagsFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-07-18luci-mod-network: Present GCMP (AES) options in wifiPaul Donald
And include ccmp-256 bit Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-07-18luci-mod-network: Present wpa3-192bit option in wifiPaul Donald
Closes #7193 See https://github.com/openwrt/netifd/commit/db3934d2f740bdfe8537933741f71b439a109422 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-07-17Merge pull request #7153 from TDT-AG/pr/20240607-luci-baseFlorian Eckert
treewide: add new css class button-row
2024-07-09luci-mod-network: replace css class right with css class button-rowFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-06-27luci-mod-network: typo-fix: APR -> ARPSergio Nemirowski
Signed-off-by: Sergio Nemirowski <sergio@outerface.net>
2024-06-07luci-mod-network: replace button tag with div tagFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-06-07luci-mod-network: add missing css class btnFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-05-28luci-mod-network: remove debugPaul Donald
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-05-28luci-mod-network: Fill ipset name choice with available firewall ipsetsPaul Donald
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-04-30luci-mod-network: steering flow - permit only integer valueAndrea Pesaresi
An user can insert a strange value right now, with this commit, only integer value can be insert. Signed-off-by: Andrea Pesaresi <andreapesaresi82@gmail.com>
2024-04-30luci-mod-network: remove indentPaul Donald
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-04-30luci-mod-network: manage new packet steering scriptPaul Donald
Due to the changing on script from this commit https://github.com/openwrt/openwrt/commit/7ebcf2fb9c5db8b75666761f5e767c91abb1f437 I suggest these changing to select "old style" or "new style" with steering_flow Signed-off-by: Andrea Pesaresi <andreapesaresi82@gmail.com> Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-04-21luci-mod-network: wireless.js: match AP channel and htmode on joinJo-Philipp Wich
Set a matching HT mode and channel number on joining a wireless network. Fixes: #7066 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-04-20luci-mod-network: fix potential null dereference on deleting VLANsJo-Philipp Wich
Fixes: #7074 Fixes: 61cef9baad ("luci-mod-network: don't trigger uci save on removing bridge vlans") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-04-12luci-mod-network: fix look and feel for DNSMASQ IP-Sets generationFlorian Eckert
On the configuration page of '/admin/network/dhcp' on the IP sets tab, it is possible to make changes directly in the table. However, this is not displayed correctly when using the theme 'luci-theme-material' if the options can be changed directly in this view. The problem is solved by not editing the configuration in the overview page but in the overlay page. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-08luci-mod-network: dhcp.js: group DNS record related options in one tabJo-Philipp Wich
In order to unclutter the default dnmasq configuration view, move the Hostnames (A+PTR), SRV, MX and CNAME sections into a new dedicated "DNS Records" tab. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-04-08luci-mod-network: dhcp.js: improve behavior with default configurationJo-Philipp Wich
- Hide anonymous section title if only one instance is present - Hide section remove button if only one instance is present - In case multiple sections are present, label the first and subsequent anonymous sections as `Default instance` and `Unnamed instance #N` respectively - Label named sections as `Instance "XXX"` - Label delete buttons as `Remove instance "XXX"`, `Remove default instance` or `Remove instance #N` depending on whether the associated instance is the first anonymous one, a subsequent anonymous one or a named one - Label add button as `Add server instance` - Add placeholder text `New instance name…` to the section name input Ref: https://forum.openwrt.org/t/x/194048 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-04-07luci-mod-network: follow-up fix for 723507231566b61750e32284b49acdae0d0162d3Paul Donald
add a null-check before parsing networks loop through available networks on all interfaces except loopback Closes #7047 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-04-02luci-mod-network: add DHCPv6 NTP server config helper to interfacesPaul Donald
Appears under DHCPv6-service when set to 'server' or 'hybrid'. Option 'ntp' is serviced by odhcpd. It sends a DHCPv6 NTP Server option 56 for each 'ntp' list entry. Once uci loads the system section, it provides suggestion presets of system configured upstream NTP servers, and the LAN IP(v6) of the router which are then statically configured by the user. It would make more sense if odhcpd fetches them directly. Alas, it does not (yet). Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-03-29luci-mod-network: change ULA explanationPaul Donald
ULA as defined in RFC4193 mentioned a possible future where the L bit is 0 (implying some global coordinator be used). Locally generated ULA always have the L bit set to 1, so the prefix is always fd00::/8 (though ULA with the L bit set 0 or 1 are treated identically). Technically, fc00::/7 isn't a range, but a prefix which implies a range, conveniently partitioned by and at the L bit. A range would be correctly denoted as fc00::-fdff:ffff:ffff:ffff:ffff:ffff:ffff:ffff. The rewording avoids mention of fc00::/7. The randomly generated prefix in all cases starts fd. The sentences were split to ease i18n. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-03-15luci-mod-network: don't trigger uci save on removing bridge vlansJo-Philipp Wich
Do not trigger a uci save operation on removing bridge VLANs as that might invalidate the ephemeral section ID of a just added network device. Fixes: #6990 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-03-12luci-mod-network: drop trailing whitespaceDaniel Nilsson
This resulted in the sysfs parameter to be invalid as it contained a space. Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
2024-03-03luci-mod-network: Add clarifying note to wireless join dialogHannu Nyman
Add a clarifying note about two different meanings of "network"on the wireless join page. In the dialog title the word "network" refers to the wireless SSID, while in the config item the same "network" refers to the name to be used in OpenWrt network configuration. Reference to forum discussion at https://forum.openwrt.org/t/cant-join-a-scanned-network/189859 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2024-02-19luci-mod-network: dhcp.js: relax CNAME domain validationJo-Philipp Wich
Relax the CNAME domain validation to allow wildcard names. Fixes: #6801 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-02-17luci-mod-network: wireless: RADIUS Access/Accounting-Request attrsPaul Donald
See following for more detail: https://w1.fi/cgit/hostap/commit/?id=af35e7af7f8bb1ca9f0905b4074fb56a264aa12b Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-02-15luci-mod-network: dhcp: separate actual value and display stringPaul Donald
saved value will now be only an integer. Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-02-15luci-mod-network: fix broken formattingPaul Donald
Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-02-14Revert "luci-mod-network: add ppsk option (support for Private PSK)"Paul Donald
This reverts commit 75a2fd233baabf6fa5bafcb13ccc6d7000a4604d. Resolves issue#6902
2024-02-12luci-mod-network: DNS forwardings -> DNS ForwardsPaul Donald
Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-02-08luci-mod-network: put each IPv6 address on a separate lineDavid Härdeman
Right now, when there's active DHCPv6 leases and more than one address per host (e.g. because ULA is used together with GUA prefixes), the two IPv6 addresses will be printed on one line (which may or may not get broken up depending on the length of the addresses, which also looks inconsistent). Putting each address on a separate line makes it much easier to read the addresses (IMHO). Signed-off-by: David Härdeman <david@hardeman.nu>
2024-01-31luci-mod-network: add disabled option for interfacePaul Donald
Enabled by default. If the interface is in use, the user will be asked to confirm. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-01-28luci-mod-network: add ppsk option (support for Private PSK)Manuel Giganto
Include support in luci to enable the Private PSK. When Private PSK is enabled, clients can use a default password (common), or have their own private password that is associated with the client MAC. The password is retrieved from RADIUS server, asking for the client MAC, and when such client MAC is not defined, RADIUS should return a default password. RADIUS can also return other parameters like VLANs, which can be used to put clients dynamically in different VLANs based on their MAC, or the default configuration. Private PSK is not compatible yet with SAE encryption, therefore cannot be used yet with WPA3 or WPA3-mixed. It implements the UI for the PPSK already in master: https://github.com/openwrt/openwrt/pull/3509 Signed-off-by: Manuel Giganto <mgigantoregistros@gmail.com>
2024-01-26luci-mod-network: Fixes for PXE/TFTP tab.Paul Donald
Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-01-26luci-mod-network: Restructure DHCP optionsPaul Donald
DHCP devices: add minport and maxport Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-01-26luci-mod-network: Restructure DHCP optionsPaul Donald
DHCP limits: add [min|max]_cache_ttl Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-01-26luci-mod-network: Restructure DHCP optionsPaul Donald
DHCP logging: add logfacility Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-01-26luci-mod-network: Restructure DHCP optionsPaul Donald
DHCP logging: add logdhcp Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-01-26luci-mod-network: Restructure DHCP optionsPaul Donald
Multiple dnsmasq sections are now enabled (for those who want e.g. separate dnsmasq options per interface). Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-01-26luci-mod-network: Restructure DHCP optionsPaul Donald
DHCP options better structured according to the nature of the option: -Tab titles have been trimmed -Some options moved into new tabs (filter, limits, logging, devices,etc) Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-01-25luci-mod-network: let sourcefilter option available for most protoChen Minqiang
sourcefilter option should be available for proto like: 'dhcpv6' 'directip' 'ppp' 'pppoe' 'pppoa' 'pptp' 'qmi' 'mbim' 'ncm' '3g' Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2024-01-25luci-mod-network: improve static lease ip validation logicPaul Donald
m (mac) is an array, and is zero length or greater. Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-01-25luci-mod-network: repair DHCP relay validation logicPaul Donald
change && to || so as not to backtrace if only one was empty/null. Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-01-23luci-mod-network: wireless.js: fix 802.11r dependenciesJesus Fernandez Manzano
Don't allow enabling 802.11r when using WPA, it needs at least WPA2. This is because 802.11r advertises FT support in-part through the Authentication and Key Management (AKM) suites in the Robust Security Network (RSN) Information Element, which was included in the 802.11i amendment and WPA2 certification program. Pre-standard WPA did not include the RSN IE, but the WPA IE. This IE can not advertise the AKM suite for FT. Also restrict ft_psk_generate_local to psk2 and psk-mixed. Using it with non-psk encryptions breaks roaming. Signed-off-by: Jesus Fernandez Manzano <jesus.manzano@galgus.ai>