Age | Commit message (Collapse) | Author |
|
From https://w1.fi/cgit/hostap/commit/?id=34f7c699a6bcb5c45f82ceb6743354ad79296078
add support for multicast_to_unicast conversion in the wireless settings
Tested on: 21.02.1
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
luci-mod-network: diagnostics.js: don't pass IP version flag to ping6
|
|
Provide descriptions for options in the IP routing and rules sections.
Test is based upon that within the OpenWrt documentation[1].
[1] https://openwrt.org/docs/guide-user/network/routing/routes_configuration
Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
|
|
Allow user-specific routing policies to be defined in luci. A single UID
or range of UIDs may be defined.
Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
|
|
Plus placeholders for default ports.
Signed-off-by: Paul Dee <systemcrash@users.noreply.github.com>
[resolved trivial conflicts]
|
|
Fixes: #5651
Fixes: 1c798d1a08 ("luci-base: form.js: allow nesting Grid and Table sections")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #5646
Fixes: 1c798d1a08 ("luci-base: form.js: allow nesting Grid and Table sections")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #5635
Fixes: faad7464a8 ("luci-mod-network: add support for network.device sections")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #5579
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Tested on: 21.02.1
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
Tested on: 21.02.1
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
Fixes: #5564
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #5565
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
The string `<%s>...<%s>` is invalid HTML and will confuse translation software
like poedit as well as human translators. It is not clear that `<%s>...<%s>`
is supposed to interpolate into both a start and end tag and `<%s>` might be
mistaken as a quoted form of `%s` like `«%s»` or `〈%s〉`.
Replace the string with `<a href="%s">...</a>` to make it immediately clear
that the acronym is surrounded by an HTML anchor, only pass the destination
URL via string formatting to avoid mistranslations there.
Fixes: 3bfcf99a68 ("luci-mod-network: fix unbalanced and confusing markup in DHCP translation")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Responses themselves are not RFC1918, but the address types that they
contain may be.
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
Use the new `firewall.getZoneColorStyle()` helper to apply background
zone color styles to the interface boxes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Also resync translations accordingly.
Fixes: #5475
Fixes: 3165d5ea3f ("luci-mod-network: Add PXE Boot options tab under DHCP and DNS")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
This commit adds support for managing `boot` sections in /etc/config/dhcp.
Signed-off-by: Paul Dee <systemcrash@users.noreply.github.com>
[Hide alias interfaces in network select, reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #5453
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
|
|
There is no `type` attribute for `select` elements.
Fixes: 5ac9fd7b3b ("luci-mod-network: diagnostics: remove arp-scan install placeholder")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
We do not want to advertise functionality that is not installed as it may
have been left out intentionally. Referring to "Missing" functionality
is confusing in this case. It is also not comparable to missing protocol
extension hints as those are backed by actual user configuration.
Also replace the freetext input with a dropdown of known network devices
as the hardcoded `br-lan` is not universally applicable to all setups.
In general we want to avoid hardcoding defaults which might deviate from
the system state.
Finaly drop the superfluous width annotations and add a missing space
to the RPC command declaration.
Fixes: 22b7442011 ("luci-mod-admin-full: add arp-scan to network diagnostic")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Allow configuring ipset sections in the dhcp config:
https://openwrt.org/docs/guide-user/base-system/dhcp#ip_sets
This can also be combined with instance-specific IP sets:
https://github.com/openwrt/luci/pull/5402
However, it makes easier to assign domains to IP sets.
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
|
|
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>
|
|
"Setup" is a noun, the thing. "Set up" is a verbal idiom, the action.
One cannot setup a DHCP server, just as one cannot fuckup a test, or
ripup some paper. One can, however, set a DHCP server up, and one can
fuck a test up, and rip some paper up.
Signed-off-by: Paul Dee <systemcrash@users.noreply.github.com>
|
|
luci-mod-network: fix src/dest textvalue for rules
|
|
Allow to modify the ipset option in the dhcp.dnsmasq config.
This makes possible to populate IP sets with dnsmasq.
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
|
|
luci-mod-network: support network.interface.sourcefilter
|
|
Fixes: #5394
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #5383
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Allow to modify the sourcefilter option in the network.interface config.
This is required for custom policy routing with IPv6 MWAN and/or NAT6.
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
|
|
Fix the incorrectly displayed src/dest textvalue for the rules.
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
|
|
Allow adding routes with unspecified interface.
This is required for prohibit, blackhole and unreachable routes.
Allow adding routes with loopback interface.
This can work as a blackhole route.
Fix netmask to prefix conversion for the routes.
Identify the IP family by the UCI section type.
Avoid setting the routing table textvalue for the rules.
The rules should target none table unless specified otherwise.
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
|
|
luci-mod-network: do not remove enable_vlan from config
|
|
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>
|
|
|
|
Use proper label text "Unconfigure" for button which "Remove related device settings".
Ref: #5090, #5092
Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
|
|
luci-mod-network: update dhcp and dns labels and descriptions
|
|
Update labels and descriptions for DHCP and DNS settings.
Add missing descriptions and clarify the existing ones.
Group settings by tab and avoid redundant abbreviations.
Consolidate terminology according to the dnsmasq documentation:
https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
Fix spelling according to the previously adopted policy:
https://github.com/openwrt/luci/commit/88b9d843882cf52a6acf4d08a878fd005120edd4
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
|
|
Fix the wrong value for the "source" option of the "route6" section.
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
|
|
Fix the incorrectly displayed value for the option "ip6table".
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
|
|
.. when no dnsmasq is installed, as it
tells only that there are no settings available
Signed-off-by: Fritz D. Ansel <fdansel@yandex.ru>
|
|
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>
|
|
The recently introduced band option support changed the internal frequency
selector choice values, breaking the legacy rates option dependency.
Fixes: #5234
Fixes: 0829d31290 ("luci-mod-network: support newer wireless.wifi-device.band option")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fix incorrect minimum 60GHz frequency value and ensure that a 60GHz band
choice option is available once corresponding channels are found on the
system.
Ref: http://lists.openwrt.org/pipermail/openwrt-devel/2021-July/035810.html
Suggested-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #5177
Fixes: 7e56289538 ("luci-mod-network: improve static DHCP lease validation")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
- validate current form value IP instead of stored uci one
- ensure to not pass non-string values to the validator
- remove leftover debug code
- simplify obtaining formvalues
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
- Ensure that MAC addresses are unique within the same pool
- Ensure that IP addresses are globally unique
- Ensure that IP addresses are within any DHCP pool range
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
of static IP was fixed"
This reverts commit 463e910119813aaea0755ff5c16c91ce412a8cbb.
This change causes the entire static lease to get deleted when attempting
to change the MAC address.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|