Age | Commit message (Collapse) | Author |
|
Ref: https://github.com/openwrt/luci/commit/2be01cbfcb34746d9713173a60c3f8a69c554a68#commitcomment-111035308
Fixes: 2be01cbfcb ("luci-mod-network: restrict peerdns option to protocols that implemenent it")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Linux wireless interface names have the following restrictions:
* It must not be an empty string
* It must not be '.' or '..'
* It must not contain any /, : or space character ( , \t, \n, ...)
* It must be less than 16 chars
* It likely must not contain any % either
Fixes: 8673aef8db ("luci-mod-network: remove uciname validation from wireless interface")
Signed-off-by: Glenn Washburn <development@efficientek.com>
[reword validation error messages, remove extended description text as it would be
shown as part of the validation errors]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Adjust DNS cache size placeholder value to 1000 to
match the OpenWrt default after
https://github.com/openwrt/openwrt/commit/a57796b137494fc20e984d0049e8e7430e9ebb25
Fixes #6254
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
luci-mod-network: enable configuring wifi ax networks on the 6G band
|
|
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>
|
|
Ensure that just created uci device sections are removed if the edit
option modal is cancelled without saving. This prevents empty, but
harmless `config device` sections from being created on a subsequent
Save & Apply operation.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Ensure that the output textarea uses a monospace font and preformatted text.
Fixes: 5f2d305476 ("luci-mod-network: convert diagnostic page to LuCI look and feel")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Instead of mapping it by frequency.
Signed-off-by: Andre Heider <a.heider@gmail.com>
|
|
Tested on a MT7921 device.
Signed-off-by: Andre Heider <a.heider@gmail.com>
|
|
This prevents offering e.g. 'Legacy' on ac/n only radios or
ax if hostapd wasn't compiled with ax support.
Signed-off-by: Andre Heider <a.heider@gmail.com>
|
|
Remove the 'uciname' validation rule, as it prevents using '-' that
is a valid character.
Fixes: 0c1be9ae5 luci-mod-network: Add length restriction to wireless
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Based on issue #6101, add a maxlength of 15 chars to the wireless
interface's optional name field. Also validate it as uciname.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
luci-mod-network: Expose WPA Enterprise RADIUS VLAN settings.
|
|
Collectd all WLAN roaming related options to a new dedicated tab.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Tested on: 21.02.1
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
luci-mod-network: Expose 802.11v settings.
|
|
Tested on: 21.02.1
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
luci-mod-network: fix address validation
|
|
Stop using the word useless both in the name and the description and call
the feature what it actually is (Filter SRV/SOA service discovery).
Signed-off-by: Lukas Tribus <lukas@ltri.eu>
[slightly reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #6107
Fixes: a627744bb5 ("luci-mod-network: 'relay' tab added")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes --server validation for:
- /domain[/domain]
- //
- /#/
Fixes hostname validation for:
- *.domain
- *domain
Changes ..domain to be an invalid hostname
Signed-off-by: Kyle Schwarz <zeranoe@gmail.com>
|
|
Only some supported protocol extensions honour the `peerdns` options.
Fixes: #6093
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Support Dnsmasq 2.87-5 feature to filter DNS results:
* remove IPv6 AAAA records and return only IPv4 addresses
* remove IPv4 A records and return only IPv6 addresses
Especially the removal of IPv6 AAAA records can be useful with
ISPs that provide IPv6 address resolving but do not actually
offer IPv6 routing/connectivity.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
luci-mod-network: 'relay' tab added
|
|
Adds LuCI GUI for dnsmasq DHCP 'relays'.
The helper functions in dnsmasq/files/dnsmasq.init limit behaviour
whereby it is not possible to omit server_addr, where to omit
it (dnsmasq supported) would result in a broad- or multicast further on.
Tested on 22.03.2
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
Avoid undefined value access when the channel list is empty.
Fixes: #5937, #5951
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Unify the network name display as shown in the overview by removing the
uppercase conversion.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
In the overview page, the name of the interface is converted to
uppercase. However, this is not the name in the configuration. From my
point of view, this makes no sense. The name displayed should correspond
exactly to the name in the configuration.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Since the LuCI network admin module was rewritten into client side views,
there is no server side Lua processing anymore. The iwinfo routines are
utilized through the corresponding rpcd plugin.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Placeholder hint also reflects syntax.
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
[replace asdf.com with example.com, use … instead of ..., remove uneeded
entities]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
DHCP Help does not document mxhost, but they are available in dnsmasq.
This effectively implements MX records within DNS.
Tested on 22.03.2
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
[fix _() calls, fix commit subject, rebase onto current master]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
DHCP Help does not document srv-host, but they are available in dnsmasq.
This effectively implements SRV records within DNS.
Tested on 22.03.2
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
[fix _() calls, join translation strings on the same line, replace …
with …, fix commit subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Make it clear that this option also filters some not-so-useless queries.
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
|
|
OpenWrt commit 2984a0420 changed the default 802.11r Fast Transition
method to be ft-over-air instead of ft-over-ds.
Offer ft-over-air as the first item in the drop-down list, so that
it gets selected by default when 802.11r option is enabled.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
luci-mod-network: Expose RSN Preauth WPA2-EAP setting.
|
|
luci-mod-network: Expose multicast_to_unicast setting
|
|
Ref: #5899
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Ensure to return [-1, 0, 1] from the sort callback instead of [0, 1]
which fails in non-FF browsers.
Fixes: #5859
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #5845
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Do not show the original values for MAC and MTU in device list tooltips
anymore as the values we read from the netdev might already stem from
overridden config settings.
Since there's no generic way to acquire that information, remove the
potentially confusing information.
Fixes: #5820
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
In the worst case, traceroute might take up to 30s to complete when tracing
a completely unreachable path, due to the default limit of 30 hops multiplied
by the per-hop deadline of 1 second (-w 1).
Limit the maximum amount of hops to the configured rpc execution timeout,
20 second by default, in order to avoid running into timed out rpc requests.
Fixes: #5782
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci-mod-network: switch: Fix multi instances handling
|
|
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
|
|
Fixes: #5725
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Added code to display fcdn-name in DHCPv4 lease table.
(based on code in DHCPv6 lease table)
Signed-off-by: Max S Kash <asukms@ya.ru>
Indentation adjused and wrapped commit message
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|