Commit Graph

3910 Commits

Author SHA1 Message Date
David Bauer
8d565cefc9
Merge pull request #2241 from freifunk-gluon/gluon-mesh-vpn-tunneldigger-fix
gluon-mesh-vpn-tunneldigger: fix Lua mesh-vpn provider module location
2021-06-16 10:32:10 +02:00
David Bauer
344f8a47db gluon-mesh-vpn-core: fix two more missing NULL checks
read_stdout can return NULL and thus the return value need to be checked
prior to accessing it.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-06-16 10:31:49 +02:00
Dark4MD
0b00ed9193 ramips-mt76x8: add Xiaomi Mi Router 4A (100M Edition) 2021-06-15 20:12:35 +02:00
Matthias Schiffer
f7e473edfa
gluon-mesh-vpn-tunneldigger: fix Lua mesh-vpn provider module location 2021-06-15 16:32:37 +02:00
David Bauer
7e1e9fe2bd gluon-mesh-vpn-core: avoid reading null pointer
In case the limit_ingress or limit_egress options are not present in
gluon's mesh_vpn section the respondd provider compares a string literal
with a NULL pointer, crashing respondd.

Check both pointers prior to comparing them in order to mitigate this
issue.

Suggested-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: David Bauer <mail@david-bauer.net>
2021-06-14 11:08:38 +02:00
Matthias Schiffer
867b18deeb
Merge pull request #2234 from freifunk-gluon/lua-jsonc-host
treewide: use lua-jsonc instead of lua-cjson for JSON handling during build
2021-06-13 09:06:32 +02:00
Matthias Schiffer
8a422ac0cb treewide: use lua-jsonc instead of lua-cjson for JSON handling during build 2021-06-12 23:30:47 +02:00
Matthias Schiffer
8a41d8d72d modules: update Gluon packages
64148a9baf14 lua-jsonc: add host build support
c2623391bf42 lua-jsonc: do not link against liblua
2021-06-12 23:30:47 +02:00
Martin Weinelt
091230d3ea
README.md: add a teaster, update state of documentation 2021-06-11 00:32:39 +02:00
Martin Weinelt
897efe0759
README.md: add some badges 2021-06-11 00:22:42 +02:00
Martin Weinelt
05199e7e33
docs: expand on multicast improvements in v2021.1
I mixed up two separate improvements into one, this change aims to
clarify them based on a suggestion and conversation with @T-X.
2021-06-11 00:08:24 +02:00
Martin Weinelt
206e0fe5e0
Merge pull request #2230 from freifunk-gluon/release-notes/v2021.1 2021-06-10 23:41:55 +02:00
Martin Weinelt
187386cb79
README, docs: Gluon v2021.1 2021-06-10 23:20:56 +02:00
Martin Weinelt
9c1b943036
docs: Add v2021.1 release notes 2021-06-10 23:20:56 +02:00
David Bauer
3f59fdc648 modules: update OpenWrt packages
476b8b82b Merge pull request #15806 from blocktrron/pr-xr-usb-serial-1907
73c098477 xr_usb_serial_common: add PKG_MIRROR_HASH
7100f4006 xr_usb_serial_common: fix build
465ddb5b2 Merge pull request #15770 from DeathCamel58/libnet-1.2.x-libnet-config-fix
f7d4a6753 Merge pull request #15780 from stangri/19.07-https-dns-proxy
6ab17abde https-dns-proxy: update to 2021-06-03-1
bdbf33f69 libnet: Export `libnet-config` in development enviornments

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-06-08 17:27:41 +02:00
Martin Weinelt
c97be1e18a
Merge pull request #2209 from T-X/pr-batman-adv-noflood+mcast-fw-relax 2021-06-08 01:40:12 +02:00
David Bauer
20f665b16d
Merge pull request #2217 from AiyionPrime/status_page_bandwidth_limit
gluon-status-page: add bandwidth limit
2021-06-08 01:37:36 +02:00
David Bauer
278f6c3b62 modules: update OpenWrt
ffd4452f8b mac80211: Update to backports version 4.19.193-test1
ccc505502e kernel: bump 4.14 to 4.14.235
2021-06-08 01:15:22 +02:00
aiyion.prime
b973c8f133 gluon-status-page: show bandwidth limits 2021-06-07 21:21:42 +02:00
David Bauer
edff676de9
Merge pull request #2216 from AiyionPrime/meshvpn_core_respondd_simple_tc
gluon-mesh-vpn-core: respondd bandwidth_limit
2021-06-07 19:51:58 +02:00
aiyion.prime
c71959df68 gluon-mesh-vpn-core: add simple-tc respondd-provider
omit unlimited bandwidth limit
A value of '-' marks a streamdirection as unlimited.
2021-06-07 11:27:12 +02:00
David Bauer
16c5c64141
Merge pull request #2220 from AiyionPrime/status_page_vpn_protocol
gluon-status-page: vpn protocol
2021-06-06 19:51:48 +02:00
aiyion.prime
b53997836f gluon-status-page: show vpn protocol 2021-06-05 21:39:34 +02:00
David Bauer
ece75b9824
Merge pull request #2227 from blocktrron/master-modules-update-040621
modules: update to latest Git HEAD
2021-06-04 22:30:40 +02:00
David Bauer
b2414ec4a9
Merge pull request #2219 from AiyionPrime/meshvpn_core_respondd_vpn
gluon-mesh-vpn-core: respondd active, enabled
2021-06-04 18:47:01 +02:00
David Bauer
b246300f96 modules: update OpenWrt routing
101632e Merge pull request #658 from ecsv/batadv-for-19.07
a995b62 batman-adv: Merge bugfixes from 2021.1
118536c bird2: Makefile polishing
9d6ef13 bird2: update to version 2.0.8

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-06-04 18:42:27 +02:00
aiyion.prime
b0b80a32b7 gluon-mesh-vpn-core: add vpn protocol respondd provider 2021-06-04 18:41:10 +02:00
David Bauer
c90d6b98a8 modules: update OpenWrt packages
1c90bc08a banip: remove logd dependency
ad6476b4f Merge pull request #15728 from stangri/19.07-https-dns-proxy
2b0cb41c0 https-dns-proxy: 2021-05-14 bugfix: fallback to HTTP/1 by default
e8c0e3c20 netdata: update to version 1.30.1
e23677d86 Merge pull request #15717 from stangri/19.07-https-dns-proxy
b28e2c763 https-dns-proxy: update to 2021-05-14-1; bugfixes for dhcp server backup
2543c33b0 syslog-ng: update to 3.32.1
e05c97a19 nano: update version to 5.7
91e1399cf nextdns: Update to version 1.32.1
9fd4ed8af bind: bump to 9.16.15
aebeefcd5 zerotier: update to 1.6.5
18b564ef5 Merge pull request #15509 from hswong3i/openwrt-19.07-SQUID_enable-ssl-crtd
ad6712d42 squid: Enable dynamic SSL certificate generation
439da3db8 mosquitto: fix log_type config support
221785358 ksmbd-tools: update to 3.3.9
3412c7a45 dnscrypt-proxy2: sync blocked-names to upstream one
139217f8a dnscrypt-proxy2: upgrade to 2.0.45
27678dc75 adblock: fix polish source URL
e426ad56b Merge pull request #15477 from rs/nextdns-1.32.0-openwrt-19.07
6027afee1 nextdns: Update to version 1.32.0
afed88b48 Merge pull request #15468 from rs/nextdns-1.12.5-openwrt-19.07
f1e6b878f nextdns: Update to version 1.12.5
11dc84032 irqbalance: upgrade to version 1.8.0
287154116 pulseaudio: update to 14.0
3bdf75bd2 pulseaudio: fix compilation without deprecated OpenSSL APIs
ba0558e8a pulseaudio: fix compilation with ICONV_FULL
1248994b9 pulseaudio: Update ARM NEON/VFP detection
4021cb65a pulseaudio: do not build NEON with unsupported platforms
8eb7d95ba pulseaudio: add lto and gc-sections to reduce size
15fb6ec36 pulseaudio: fix pkgconfig paths
eac2ca1c6 pulseaudio: update to 13.0
f0aa4486a pulseaudio: Backport upstream patch
e5701228c Merge pull request #15384 from VolunteerComputingHelp/openwrt-19.07
8ca4ab69e Merge pull request #15413 from luizluca/19.07/ruby-2.6.7
5c16a052f ruby: update to 2.6.7
807e088bb netdata: disable shared memory totals by default
09ba05583 https-dns-proxy: bugfix: race condition with dnsmasq
0072fc533 boinc: Transfer v7.16.16 from 21.02 to 19.07
ba1a801f7 adblock: fix games_tracking source url
1cf2e3530 Merge pull request #15254 from dibdot/19.07
74c8fb403 travelmate: minimal change to fix cp detection
56e1674ef rpcd-mod-lxc: add postinst to reload rpcd on update/installation
560a0ea2b ksmbd-tools: update to 3.3.8
0863ab323 ksmbd-tools: Add a mDNS TXT record for the ksmbd service
52d3ce0f6 ksmbd-tools: update to 3.3.7
f275b3f41 ksmbd-tools: update to 3.3.6
ba329c4ea ksmbd-tools: update to 3.3.5
055b1cd58 nut: fix typo in nutshutdown script
e88b4d873 netdata: update to version 1.29.3
f6bc822ff syslog-ng: update to version 3.31.2

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-06-04 18:40:44 +02:00
David Bauer
88224a209a modules: update OpenWrt
1153773c78 ubox: fix init script validation of log_ip option
a1ee0ebbd8 tools/mklibs: Fix compile with GCC 11
84c5dbcf2a openwrt-keyring: Only copy sign key for 19.07 and 21.02
c07c98d28e openwrt-keyring: add OpenWrt 21.02 GPG/usign keys
e10830193c generic: platform/mikrotik: release mtd device after use
f342de468b kernel: bump 4.14 to 4.14.232
ded3ad3c2f Extend checks on build prerequisites for building OpenWRT core
5bec393fcb prereq-build: test for perl's Data::Dumper
a2728a806a tplink-safeloader: fix C7v5 factory flashing from vendor fw > v1.1.x

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-06-04 18:39:07 +02:00
David Bauer
c88ddb4ba6
Merge pull request #2226 from AiyionPrime/pr_doc_refresh_patches
docs: add 'make refresh-patches'
2021-05-27 17:57:59 +02:00
aiyion.prime
9303297b35 docs: add 'make refresh-patches' 2021-05-27 11:25:31 +02:00
David Bauer
71c3b8321b
Merge pull request #2102 from blocktrron/mesh-vpn-abstraction
mesh-vpn: fully abstract VPN methods
2021-05-26 21:15:42 +02:00
David Bauer
98a1c196ed mesh-vpn: fully abstract VPN methods
This fully abstracts VPN methods, making gluon-mesh-vpn-fastd and
gluon-mesh-vpn-tunneldigger completely self-contained.

Provide a LUA interface for generic interacting with VPN methods in
gluon-mesh-vpn-core and web packages.

This also adds the ability to install tunneldigger and fastd to the same
image, selecting the VPN method based on the selected domain.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-05-22 06:54:23 +02:00
David Bauer
17dd5abd75
Merge pull request #2223 from freifunk-gluon/wizard-reconfigure
Simplify save/commit handling of config wizard sections
2021-05-19 13:39:03 +02:00
David Bauer
436b29d767 gluon-config-mode-core: add missing uci save
A missing uci save for gluon-setup-mode caused the initial setup-process
to be stuck in a config-mode loop.
2021-05-18 19:16:18 +02:00
Matthias Schiffer
42335a07c9
gluon-config-mode-core: unconditionally run gluon-reconfigure
Simplify the individual form providers by always running reconfigure. This
also commits all UCI packages, so we can remove all tracking of UCI
sections from the wizard code.

Instead of returning a list of packages to commit, the providers just
save their settings directly. Explicit runs of upgrade scripts are
removed, as they are now run by reconfigure.
2021-05-15 00:03:02 +02:00
Matthias Schiffer
16fab561db
gluon-config-mode-mesh-vpn: override Section:write() instead of Section:handle() 2021-05-15 00:03:02 +02:00
Matthias Schiffer
df9fa32d58
gluon-web-model: add state tracking to sections
This add support for a write() method on sections, in addition to the
value and form level write(). write() is only called when the section is
valid and visible. In addition, write() is empty by default, so it can be
overridden more easily.
2021-05-15 00:02:44 +02:00
Martin Weinelt
bb920eaefc
targets: clarify why ar71xx-mikrotik is marked as broken 2021-05-14 18:34:17 +02:00
Martin Weinelt
9f37489881
Merge pull request #2221 from freifunk-gluon/auto-labeling 2021-05-14 01:31:43 +02:00
Martin Weinelt
d4057c3eb6
.github/labeler.yml: auto label pull requests
according to the paths they touch.
2021-05-14 01:31:14 +02:00
Martin Weinelt
0ac3061225
Merge pull request #2214 from AiyionPrime/status_page_mesh_protocol 2021-05-09 16:53:49 +02:00
David Bauer
10486b1b7a
Merge pull request #2218 from AiyionPrime/fix_respondd_leak
libgluonutil: free getline
2021-05-08 22:54:10 +02:00
aiyion.prime
5c12b037d7 libgluonutil: free getline
Co-Authored-By: lemoer <git@irrelefant.net>
2021-05-08 20:35:24 +02:00
David Bauer
1c38906eef
Merge pull request #2163 from lemoer/pr_vpn_as_gluon_wired
Generalize proto "gluon_wired.sh"
2021-05-07 00:10:27 +02:00
aiyion.prime
a683486514 fixup! gluon-status-page: add mesh protocol to status-page 2021-05-06 19:03:06 +02:00
David Bauer
545713ac9f
Merge pull request #2213 from freifunk-gluon/modules-openwrt
modules: update OpenWrt
2021-05-06 17:14:50 +02:00
aiyion.prime
77a6b9a947 gluon-status-page: add mesh protocol to status-page 2021-05-06 16:37:32 +02:00
Martin Weinelt
47a2f03660
modules: update OpenWrt
1b5a45a4a7 mac80211: Update to backports version 4.19.189-1
a883e3af38 dropbear: Fix CVE-2020-36254
2021-05-06 01:51:12 +02:00
lemoer
bbecd44be1 gluon-core: extend gluon_wired proto for l3 devices
This is a preparation to use the gluon_wired.sh proto on top of
layer 3 tunnel interfaces.
2021-05-06 00:43:01 +02:00