Commits on Source (16)
-
Matthias Schiffer authored
The model names are somewhat confusing. Add the model names that are found on the device labels to make the variants easier to distinguish. Based-on-patch-by:
Andreas Ziegler <dev@andreas-ziegler.de>
-
Christian Middendorf authored
Co-Authored-By:
Jan-Niklas Burfeind <github@aiyionpri.me>
-
Matthias Schiffer authored
Allow checking for TLS support at runtime or for site checks.
-
Matthias Schiffer authored
The autoupdater supports HTTPS when a ustream TLS backend is installed, but we did not allow this in site.conf. However, just allowing HTTPS URLs unconditionally is also a bad idea, as it might result in nodes being unable to reach the mirror, in particular if the `tls` feature is enabled only for some devices. Solve this by allowing https:// URLs only if the marker file installed by gluon-tls is found, failing the site check with an error message like the following otherwise: *** All of the following alternatives have failed: 1) site.conf error: expected autoupdater.branches.test.mirrors.1 to match pattern 'http://', but it is "https://..." (a string value) 2) site.conf error: expected autoupdater.branches.test.mirrors.1 to use HTTPS only if the 'tls' feature is enabled, but it is "https://..." (a string value) 3) site.conf error: expected autoupdater.branches.test.mirrors.1 to match pattern '^//', but it is "https://..." (a string value) In addition, introduce support for protocol-less //server/path URLs, which will use either HTTP or HTTPS depending on the availablility of the `tls` feature. No fallback happens when `tls` is available, but the HTTPS connection fails, preventing downgrade attack. Based-on-patch-by:
Kevin Olbrich <ko@sv01.de>
-
Matthias Schiffer authored
ramips-mt76x8: Add support for Xiaomi Mi Router 4A (100M International Edition v2 - R4ACv2) - closes #3183
-
Matthias Schiffer authored
Use long option names to make the init script more readable.
-
Matthias Schiffer authored
-
Matthias Schiffer authored
Use ujail to restrict dnsmasq privileges, similar to the regular OpenWrt dnsmasq initscript.
-
Matthias Schiffer authored
Custom keys can still be preserved by listing them in sysupgrade.conf. This is a temporary solution for the remaining life of opkg; a better, upstreamable solution will be implemented when switching to apk (if it is still necessary).
-
Matthias Schiffer authored
The file appears to have been added to gluon-mesh-vpn-core by accident.
-
Matthias Schiffer authored
Warnings are either fixed properly, or disabled in a more fine-grained manner.
-
Matthias Schiffer authored
The only warnings that remain disabled globally for now handle the differences between POSIX sh and Busybox ash, as support for the latter was only added in shellcheck 0.10.
-
Andreas Ziegler authored
gluon-wan-dnsmasq privilege reduction
-
Andreas Ziegler authored
gluon-autoupdater: add support for HTTPS and protocol-less URLs
-
Andreas Ziegler authored
opkg: do not preserve opkg keys on upgrades by default
-
Andreas Ziegler authored
Shellcheck fixes + enabling of additional lints
Showing
- docs/multidomain-site-example/site.conf 9 additions, 1 deletiondocs/multidomain-site-example/site.conf
- docs/site-example/site.conf 9 additions, 1 deletiondocs/site-example/site.conf
- docs/user/site.rst 14 additions, 1 deletiondocs/user/site.rst
- docs/user/supported_devices.rst 4 additions, 3 deletionsdocs/user/supported_devices.rst
- package/gluon-alfred/files/usr/lib/autoupdater/abort.d/60gluon-alfred 1 addition, 1 deletion...n-alfred/files/usr/lib/autoupdater/abort.d/60gluon-alfred
- package/gluon-alfred/files/usr/lib/autoupdater/download.d/40gluon-alfred 1 addition, 1 deletion...lfred/files/usr/lib/autoupdater/download.d/40gluon-alfred
- package/gluon-autoupdater/check_site.lua 20 additions, 1 deletionpackage/gluon-autoupdater/check_site.lua
- package/gluon-autoupdater/files/usr/lib/autoupdater/abort.d/90gluon-autoupdater 1 addition, 0 deletions...ter/files/usr/lib/autoupdater/abort.d/90gluon-autoupdater
- package/gluon-autoupdater/files/usr/lib/autoupdater/download.d/10gluon-autoupdater 1 addition, 0 deletions.../files/usr/lib/autoupdater/download.d/10gluon-autoupdater
- package/gluon-autoupdater/luasrc/lib/gluon/upgrade/500-autoupdater 17 additions, 1 deletion...luon-autoupdater/luasrc/lib/gluon/upgrade/500-autoupdater
- package/gluon-core/files/lib/gluon/label_mac.sh 2 additions, 0 deletionspackage/gluon-core/files/lib/gluon/label_mac.sh
- package/gluon-core/files/lib/netifd/proto/gluon_mesh.sh 2 additions, 0 deletionspackage/gluon-core/files/lib/netifd/proto/gluon_mesh.sh
- package/gluon-core/files/lib/netifd/proto/gluon_wired.sh 6 additions, 2 deletionspackage/gluon-core/files/lib/netifd/proto/gluon_wired.sh
- package/gluon-ebtables-limit-arp/files/usr/lib/autoupdater/abort.d/15start-arp-limiter 1 addition, 0 deletions...arp/files/usr/lib/autoupdater/abort.d/15start-arp-limiter
- package/gluon-ebtables-limit-arp/files/usr/lib/autoupdater/upgrade.d/05stop-arp-limiter 1 addition, 0 deletions...rp/files/usr/lib/autoupdater/upgrade.d/05stop-arp-limiter
- package/gluon-mesh-batman-adv/files/lib/netifd/proto/gluon_bat0.sh 8 additions, 3 deletions...luon-mesh-batman-adv/files/lib/netifd/proto/gluon_bat0.sh
- package/gluon-mesh-batman-adv/files/usr/lib/autoupdater/abort.d/10start-network 1 addition, 0 deletions...man-adv/files/usr/lib/autoupdater/abort.d/10start-network
- package/gluon-mesh-batman-adv/files/usr/lib/autoupdater/upgrade.d/10stop-network 1 addition, 0 deletions...an-adv/files/usr/lib/autoupdater/upgrade.d/10stop-network
- package/gluon-mesh-olsrd/files/usr/lib/autoupdater/abort.d/10olsrd 1 addition, 0 deletions...luon-mesh-olsrd/files/usr/lib/autoupdater/abort.d/10olsrd
- package/gluon-mesh-olsrd/files/usr/lib/autoupdater/upgrade.d/10olsrd 1 addition, 0 deletions...on-mesh-olsrd/files/usr/lib/autoupdater/upgrade.d/10olsrd