Age | Commit message (Collapse) | Author |
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
This reverts commit 75a2fd233baabf6fa5bafcb13ccc6d7000a4604d.
Resolves issue#6902
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
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>
|
|
Enabled by default. If the interface is in use, the user will be asked
to confirm.
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
|
|
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>
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
DHCP devices: add minport and maxport
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
DHCP limits: add [min|max]_cache_ttl
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
DHCP logging: add logfacility
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
DHCP logging: add logdhcp
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
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>
|
|
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>
|
|
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>
|
|
it would seem that this was forgotten somewhere along the way
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
m (mac) is an array, and is zero length or greater.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
change && to || so as not to backtrace if only one was empty/null.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
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>
|
|
Otherwise they produce "Cannot read properties of null".
Tested on 23.05.2
Fixes issue #6799
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
+i18n
Removed Jows widget which hindered management of multi mac entries.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Also remove a reassigned so.validate function (dead code).
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
See also:
https://github.com/openwrt/openwrt/commit/d7f378796f985c902ff7906767c275c40a15347f
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
also unburden translators from some static strings.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
also unburden translators from some static strings.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Do not present alias to self as valid choice in the interface device picker.
Fixes: #6754
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
The logic handling the `migrate` property has been dropped in commit
f689d0d208 ("luci-mod-network: refactor device configuration") so remove
the now redundant property as well.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
When a boolean sysfs option is forcibly set to `0` or `1` in uci, then make
sure to properly reflect that choice state when rendering the widget.
Right now the dropdown incorrectly reverted to "automatic" after saving but
not applying the changes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Ease translators lives.
This introduces the function customi18n for positional string variables.
Word and grammatical ordering of some languages breaks guarantees for
positional string arguments.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Evidently, not all translators get it right.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
luci-mod-network: use network selector for dnsmasq instances
|
|
Fixes #2784
Right now, it is not clear that users in indoor settings should stay clear off this setting and people struggle with it as evidenced in the linked issue.
Signed-off-by: Tomáš Hnyk <tomashnyk@gmail.com>
|
|
luci-mod-network: nitpick of CNAME, MX, SRV syntax formatting
|
|
luci-mod-network: Extend helptext for RFC1918 rebind_protection
|
|
Fixed error wherein luci erroneously saved the iterator integer of the
current dnsmasq config object to a host (and boot/PXE) config entry
'instance' field, instead of correctly referring to its name.
Now we use the correct ".name" field of the dnsmasq config entry.
Anonymous entries have e.g. "cfg01411c". The ".name" field corresponds
to 'myName' in /etc/config/dhcp entries of:
config dnsmasq 'myName'
...
In this way, host and other entry types are bound correctly to specific
dnsmasq instances. For anonymous entries, display "dnsmasq[x]" as name.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
luci-mod-network: fix route defaults
|
|
Fixes: #6696
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Routes inherit metric and table from the relevant interface.
Display route metric and table as `auto` when unspecified.
Consolidate modal view for unspecified options.
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
|
|
Ref: https://forum.openwrt.org/t/x/177040
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Allow RA server mode on all but some known incompatible interface protocols.
Fixes: #6667
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Use widgets.NetworkSelect to select interfaces for dnsmasq.
Different interfaces help implement multi-instance setup.
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
|
|
Fixes: #6571
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
- Drop completely bogus 'ID' option, it's not handled by anything
- Clarify relay from / relay to / accept from options
Fixes: #6639
Fixes: a627744bb5 ("luci-mod-network: 'relay' tab added")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
Fixes: #6521
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|