Florian Eckert [Fri, 24 Jul 2020 06:09:05 +0000 (08:09 +0200)]
mwan3: update version to 2.8.12
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Mon, 27 Jul 2020 08:24:59 +0000 (10:24 +0200)]
mwan3: unify variable check
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Mon, 27 Jul 2020 07:02:40 +0000 (09:02 +0200)]
mwan3: remove lock file entirely
Removing the lock file ist not necessary
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Fri, 24 Jul 2020 06:02:49 +0000 (08:02 +0200)]
mwan3: revert: also cleanup lock on mwan3 stop
This reverts commit
cde2a77ed3b3b0df9e693e121dccdc97ef163156.
Applying this change has shown that it is even quicker to provoke the
race condtition on simultan mwan3 commands execution.
By reversing the change we have the same behaviour as before.
But the race condition on mwan3 execute at the same time still exists.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Wed, 22 Jul 2020 07:19:55 +0000 (09:19 +0200)]
mwan3: fix race condition on mwan3 restart
This adjustment of the locks fixes the race condition when a mwan3
hotplug script and a mwan3 command are running at the same time.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Rosen Penev [Mon, 27 Jul 2020 06:34:11 +0000 (23:34 -0700)]
Merge pull request #12946 from neheb/gerbbb
gerbera: add support for ffmpeg
Rosen Penev [Mon, 27 Jul 2020 06:33:52 +0000 (23:33 -0700)]
Merge pull request #12939 from jefferyto/python-3.8.5
python3: Update to 3.8.5
Rosen Penev [Mon, 27 Jul 2020 06:33:32 +0000 (23:33 -0700)]
Merge pull request #12941 from jefferyto/python-cryptography-3.0
python-cryptography: Update to 3.0
Rosen Penev [Mon, 27 Jul 2020 03:53:18 +0000 (20:53 -0700)]
gerbera: add support for ffmpeg
Requires BUILD_PATENTED.
Added patch to fix compilation with it.
Removed include file hack. It's incorrect and it's also npupnp that
needs fixing.
Refreshed npupnp patch to the newest version sent upstream.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Mon, 27 Jul 2020 00:10:51 +0000 (17:10 -0700)]
Merge pull request #12944 from neheb/v4l2
v4l-utils: bring back getsubopt patch
Rosen Penev [Sun, 26 Jul 2020 23:14:20 +0000 (16:14 -0700)]
v4l-utils: bring back getsubopt patch
During the update to 1.20.0, this patch was mistakenly removed.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Jeffery To [Sun, 26 Jul 2020 21:40:30 +0000 (05:40 +0800)]
python-cryptography: Update to 3.0
Also:
* Remove patches that are included in the update
* Replace the python3 dependency with a smaller list (python3-urllib is
needed because it is a dependency of python3-email)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Jeffery To [Sun, 26 Jul 2020 20:00:15 +0000 (04:00 +0800)]
python3: Update to 3.8.5
This version includes fixes for:
* CVE-2020-15801 - Fixes python3x._pth being ignored on Windows
* CVE-2019-20907 - Avoid infinite loop when reading specially crafted
TAR files using the tarfile module
This also:
* Remove patches that are included in the update
* Add a dependency in python3-distutils for python3-email[1]
[1]: https://github.com/python/cpython/blob/v3.8.5/Lib/distutils/dist.py#L10
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Hannu Nyman [Sun, 26 Jul 2020 14:54:12 +0000 (17:54 +0300)]
Merge pull request #12936 from rs/nextdns-1.7.1-master
nextdns: Update to version 1.7.1
Olivier Poitrey [Sun, 26 Jul 2020 14:42:46 +0000 (14:42 +0000)]
nextdns: Update to version 1.7.1
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
Rosen Penev [Sun, 26 Jul 2020 09:33:59 +0000 (02:33 -0700)]
Merge pull request #12935 from mstorchak/luaposix
luaposix: update to v35.0
Maxim Storchak [Sun, 26 Jul 2020 09:04:47 +0000 (12:04 +0300)]
luaposix: update to v35.0
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
Rosen Penev [Sun, 26 Jul 2020 09:26:35 +0000 (02:26 -0700)]
Merge pull request #11958 from neheb/glib33
glib2: update to 2.65
Rosen Penev [Sun, 26 Jul 2020 09:23:40 +0000 (02:23 -0700)]
Merge pull request #12929 from peter-stadler/nginx-always-ssl
nginx: enable ssl for all variants and remove nginx-util w/o ssl
Rosen Penev [Sun, 26 Jul 2020 09:18:42 +0000 (02:18 -0700)]
Merge pull request #12915 from lucize/frrup
frr: update to 7.4 and latest backports
Rosen Penev [Sun, 26 Jul 2020 09:12:39 +0000 (02:12 -0700)]
Merge pull request #12925 from neheb/log4
log4cplus: apply cmake options to the host
Rosen Penev [Sun, 26 Jul 2020 09:11:58 +0000 (02:11 -0700)]
Merge pull request #12919 from neheb/ulf
libulfius: fix compilation with newer libmicrohttpd
Rosen Penev [Sun, 26 Jul 2020 09:11:22 +0000 (02:11 -0700)]
Merge pull request #12923 from neheb/gerber
gerbera: update to 1.6.0
Dirk Brenken [Sat, 25 Jul 2020 20:05:25 +0000 (22:05 +0200)]
Merge pull request #12927 from dibdot/mc
mc: update to 4.8.25
Peter Stadler [Thu, 21 May 2020 18:21:59 +0000 (20:21 +0200)]
nginx: enable ssl for all variants and remove nginx-util w/o ssl
Make the plain nginx version the same as nginx-ssl.
In a further change we will replace nginx by a dummy package,
depending on +nginx-ssl instead. This allows a smooth upgrade.
For nginx-util leave the ssl and the ssl-nopcre versions only.
For nginx-mod-luci remove the duplicate ssl version.
Replace the removed packages by dummies for a smooth upgrade.
The dummy packages will be removed after a transition period.
Additionally, enable the http2 module for nginx-ssl by default
and cleanup the nginx.init file.
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
Dirk Brenken [Sat, 25 Jul 2020 08:47:01 +0000 (10:47 +0200)]
mc: update to 4.8.25
* refreshed patches
* release news: http://midnight-commander.org/wiki/NEWS-4.8.25
Signed-off-by: Dirk Brenken <dev@brenken.org>
Rosen Penev [Sat, 25 Jul 2020 08:28:16 +0000 (01:28 -0700)]
log4cplus: apply cmake options to the host
loggingserver was getting built with a bad link path. Instead of fixing
it, just disable it as is done on the target.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Sat, 25 Jul 2020 07:35:56 +0000 (00:35 -0700)]
Merge pull request #12917 from neheb/netwhe
netwhere: fix compilation with newer libmicrohttpd
Rosen Penev [Fri, 24 Jul 2020 21:37:04 +0000 (14:37 -0700)]
netwhere: fix compilation with newer libmicrohttpd
API change.
Cleaned up Makefile.
Fixed license information.
Remove pointless CMAKE_INSTALL. This is not needed in InstallDev.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Sat, 25 Jul 2020 07:26:34 +0000 (00:26 -0700)]
Merge pull request #12920 from neheb/mes-setup
meson: backport no setuptools patch
Rosen Penev [Fri, 24 Jul 2020 23:50:27 +0000 (16:50 -0700)]
meson: backport no setuptools patch
It seems this was cut after the release. Fixes CircleCI compilation.
Remove distutils patch. It looks like it does nothing.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Daniel Engberg [Sat, 25 Jul 2020 05:31:32 +0000 (07:31 +0200)]
Merge pull request #12914 from BKPepe/netdata
netdata: update to version 1.23.2
Rosen Penev [Sat, 25 Jul 2020 02:40:26 +0000 (19:40 -0700)]
gerbera: update to 1.6.0
Removed upstreamed patches.
Refreshed npupnp patch.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Sat, 25 Jul 2020 00:54:43 +0000 (17:54 -0700)]
Merge pull request #12916 from kenkeys/spoofer-v146
spoofer: Update to 1.4.6
Rosen Penev [Fri, 24 Jul 2020 23:44:18 +0000 (16:44 -0700)]
Merge pull request #12918 from neheb/devo
device-observatory: fix compilation with newer libmicrohttpd
Rosen Penev [Fri, 24 Jul 2020 21:47:58 +0000 (14:47 -0700)]
upmpdcli: fix compilation with newer libmicrohttpd
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Fri, 24 Jul 2020 21:26:36 +0000 (14:26 -0700)]
libulfius: fix compilation with newer libmicrohttpd
API change.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Fri, 24 Jul 2020 21:17:58 +0000 (14:17 -0700)]
device-observatory: fix compilation with newer libmicrohttpd
API change.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Ken Keys [Fri, 24 Jul 2020 18:28:03 +0000 (11:28 -0700)]
spoofer: Update to 1.4.6
Includes a new CA file for compatibility with upcoming change to spoofer
server SSL cert
Signed-off-by: Ken Keys <kkeys@caida.org>
Rosen Penev [Fri, 24 Jul 2020 19:44:43 +0000 (12:44 -0700)]
Merge pull request #12576 from neheb/squ
squeezelite: remove WMA support
Rosen Penev [Fri, 24 Jul 2020 19:43:28 +0000 (12:43 -0700)]
Merge pull request #12909 from neheb/meson4
meson: update to 0.55.0
Lucian Cristian [Fri, 24 Jul 2020 15:50:07 +0000 (18:50 +0300)]
frr: update to 7.4 and latest backports
changelogs: https://github.com/FRRouting/frr/releases/tag/frr-7.4
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Josef Schlehofer [Fri, 24 Jul 2020 13:40:07 +0000 (15:40 +0200)]
netdata: update to version 1.23.2
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Rosen Penev [Fri, 24 Jul 2020 10:31:24 +0000 (03:31 -0700)]
Merge pull request #12911 from datafl4sh/datafl4sh/update_gnuplot
Updated gnuplot to 5.4.0
Matteo Cicuttin [Thu, 23 Jul 2020 23:19:00 +0000 (01:19 +0200)]
gnuplot: Updated gnuplot to 5.4.0
Signed-off-by: Matteo Cicuttin <datafl4sh@toxicnet.eu>
Rosen Penev [Fri, 24 Jul 2020 07:20:14 +0000 (00:20 -0700)]
Merge pull request #12910 from wfleurant/ygg-dbl-peer-fix
yggdrasil: Ygg-over-ygg bugfix
William Fleurant [Fri, 24 Jul 2020 03:35:18 +0000 (23:35 -0400)]
yggdrasil: Ygg-over-ygg bugfix
Signed-off-by: William Fleurant <meshnet@protonmail.com>
Rosen Penev [Sun, 19 Apr 2020 21:40:48 +0000 (14:40 -0700)]
spice: add nls.mk
Needs it for uClibc-ng as a result of the glib2 change.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Thu, 23 Apr 2020 00:16:17 +0000 (17:16 -0700)]
glib2: update to 2.65.0
Modified to use meson as upstream has abandoned autotools.
Added license information.
Cleaned up Makefile for consistency between packages.
Added hack to compile static libs.
Removed old patches and add new ones.
Removed BUILD_PARALLEL options. These are default with ninja/meson.
Removed gettext build dependencies. glib2 now includes its own solution.
Added patch to remove distutils host dependency.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Fri, 24 Jul 2020 00:43:50 +0000 (17:43 -0700)]
vala: update to 0.48.7
Adjusted path linker argument to fix wrong linking to the host.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Fri, 24 Jul 2020 00:43:50 +0000 (17:43 -0700)]
meson: update to 0.55.0
Remove upstreamed patch and add distutils one.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Thu, 23 Jul 2020 21:28:25 +0000 (14:28 -0700)]
Merge pull request #12908 from neheb/zerot
zerotier: disable pie support
Rosen Penev [Thu, 23 Jul 2020 21:23:34 +0000 (14:23 -0700)]
squeezelite: add BUILD_PATENTED depends for WMA support
WMA uses ffmpeg, which has patented functionality.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Thu, 23 Jul 2020 20:41:00 +0000 (13:41 -0700)]
zerotier: disable pie support
The Makefile is already patched for it. But PKG_ASLR_PIE still needs
to be disabled.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Thu, 23 Jul 2020 20:15:45 +0000 (13:15 -0700)]
Merge pull request #12822 from neheb/mht
libmicrohttpd: update to 0.9.71
Rosen Penev [Thu, 23 Jul 2020 20:15:08 +0000 (13:15 -0700)]
Merge pull request #12893 from ja-pa/tor-0.4.3.6
tor: update to version 0.4.3.6 (security fix)
Nuno Goncalves [Sun, 5 Jul 2020 12:00:10 +0000 (14:00 +0200)]
gl-mifi-mcu: add GL.iNet GL-MiFI power monitoring kernel module
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
Josef Schlehofer [Thu, 23 Jul 2020 12:38:47 +0000 (14:38 +0200)]
python-urllib3: update to version 1.25.10
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Rosen Penev [Wed, 22 Jul 2020 20:45:16 +0000 (13:45 -0700)]
Merge pull request #12901 from commodo/python-batch1
python-simplejson,python-lxml,python-simplejson: bump versions
Rosen Penev [Wed, 22 Jul 2020 20:44:43 +0000 (13:44 -0700)]
Merge pull request #12903 from ja-pa/measurement-kit-0.10.12
measurement-kit: update to version 0.10.12
Jan Pavlinec [Wed, 22 Jul 2020 12:47:58 +0000 (14:47 +0200)]
measurement-kit: update to version 0.10.12
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
Alexandru Ardelean [Wed, 22 Jul 2020 07:35:47 +0000 (10:35 +0300)]
python-simplejson: bump to version 3.17.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Wed, 22 Jul 2020 07:31:57 +0000 (10:31 +0300)]
pymysql: bump to version 0.10.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Wed, 22 Jul 2020 07:30:31 +0000 (10:30 +0300)]
python-lxml: bump to version 4.5.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Rosen Penev [Wed, 22 Jul 2020 01:59:00 +0000 (18:59 -0700)]
Merge pull request #12799 from aaronjg/openfortivpn/netifd
openfortivpn: use standard 'peerdns' config option on netifd script
Daniel Golle [Wed, 22 Jul 2020 01:42:38 +0000 (02:42 +0100)]
gnunet: update to version 0.13.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Rosen Penev [Tue, 21 Jul 2020 22:00:38 +0000 (15:00 -0700)]
liblz4: fix previous patch
Previous patch was incomplete.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Tue, 21 Jul 2020 21:06:39 +0000 (14:06 -0700)]
liblz4: add patch removing distutils requirement
Allows meson to compile on systems that lack distutils.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Tue, 21 Jul 2020 19:35:40 +0000 (12:35 -0700)]
Merge pull request #12891 from ja-pa/redis-6.0.6
redis: update to version 6.0.6
Jan Pavlinec [Tue, 21 Jul 2020 10:53:01 +0000 (12:53 +0200)]
tor: update to version 0.4.3.6 (security fix)
Fixes
CVE-2020- 15572
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
Jan Pavlinec [Tue, 21 Jul 2020 09:57:27 +0000 (11:57 +0200)]
redis: update to version 6.0.6
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
Florian Eckert [Tue, 21 Jul 2020 08:07:28 +0000 (10:07 +0200)]
Merge pull request #12849 from TDT-AG/pr/
20200717-docker-ce
docker-ce: add reload handling
Florian Eckert [Fri, 17 Jul 2020 12:33:56 +0000 (14:33 +0200)]
docker-ce: add reload handling
If the uci configuration is changed send dockerd a SIGHUP to reload the
generated daemon.json file with the new configuration.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Rosen Penev [Mon, 20 Jul 2020 23:42:37 +0000 (16:42 -0700)]
libnpupnp: update to 4.0.10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Tue, 21 Jul 2020 06:19:59 +0000 (23:19 -0700)]
Merge pull request #12889 from neheb/mpd-25
mpd: update to 0.21.25
Rosen Penev [Tue, 21 Jul 2020 00:50:38 +0000 (17:50 -0700)]
mpd: update to 0.21.25
pulseaudio-daemon depends on alsa-lib, which depends on @AUDIO_SUPPORT.
Enables -full on platforms lacking AUDIO_SUPPORT.
Simplified LDFLAGS slighly.
Removed pointless ICU dependency. I managed to patch meson.build to fix
iconv compilation. The original error was that without the header, it
was prefixing the iconv check with __buildin_ , which does not work
with uClibc-ng.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Gérondal Thibault [Mon, 20 Jul 2020 22:27:47 +0000 (00:27 +0200)]
prometheus-node-exporter-lua: Makefile alphabetical ordering
Signed-off-by: Gérondal Thibault <contact@tycale.be>
Gérondal Thibault [Fri, 3 Jul 2020 21:21:12 +0000 (23:21 +0200)]
prometheus-node-exporter-lua: uci_dhcp_host module
Extract data from configuration file /etc/config/dhcp and create labels
{name, ip, mac, dns} via uci. Those labels are useful in order to craft
complex prometheus queries as replacing the MAC address to a custom
name. E.g.: wifi_station_signal_dbm * on (mac) group_left(name)
uci_dhcp_host or on (mac) label_replace(wifi_station_signal_dbm, "name",
"$1", "mac", "(.+)")
Signed-off-by: Gérondal Thibault <contact@tycale.be>
Rosen Penev [Mon, 20 Jul 2020 21:08:09 +0000 (14:08 -0700)]
Merge pull request #12885 from peter-stadler/django-cors-headers
python3-django-cors-headers: update to version 3.4.0
Josef Schlehofer [Mon, 20 Jul 2020 16:12:53 +0000 (18:12 +0200)]
Merge pull request #12884 from peter-stadler/asgiref
python3-asgiref: update version to 3.2.10
Peter Stadler [Fri, 17 Jul 2020 16:08:41 +0000 (18:08 +0200)]
python3-django-cors-headers: update to version 3.4.0
update to latest version changing the URL and DEPENDS, too.
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
Peter Stadler [Fri, 17 Jul 2020 15:53:39 +0000 (17:53 +0200)]
python3-asgiref: update version to 3.2.10
update to latest version.
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
Rosen Penev [Mon, 20 Jul 2020 10:23:48 +0000 (03:23 -0700)]
Merge pull request #12880 from jefferyto/python-3.8.4
python3: Update to 3.8.4, refresh/rework patches, backport patches
Jeffery To [Sun, 19 Jul 2020 21:48:57 +0000 (05:48 +0800)]
python3: Update to 3.8.4, refresh/rework patches, backport patches
This version includes fixes for:
* CVE-2020-14422: Hash collisions in IPv4Interface and IPv6Interface
* CVE-2020-15523: Python uses invalid DLL path after calling Py_SetPath
on Windows
This version also includes support for OpenSSL 1.1.x builds that use
'no-deprecated' and '--api=1.1.0'[1], and so this removes the previous
OpenSSL-related patches.
This also backports fixes for security issues, including:
* CVE-2019-20907: Infinite loop in the tarfile module
This also updates the setuptools and pip packages to 47.1.0 and 20.1.1,
respectively.
[1]: https://github.com/python/cpython/pull/20566
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Rosen Penev [Mon, 20 Jul 2020 07:36:40 +0000 (00:36 -0700)]
Merge pull request #12879 from TDT-AG/pr/
20200720-mwan3
mwan3: update to version 2.8.11
Rosen Penev [Mon, 20 Jul 2020 07:35:45 +0000 (00:35 -0700)]
Merge pull request #12848 from BKPepe/squid
squid: update to version 4.12 (security update)
Josef Schlehofer [Thu, 16 Jul 2020 17:47:29 +0000 (19:47 +0200)]
squid: update to version 4.12
- Fixes CVEs:
CVE-2019-12519
CVE-2019-12520
CVE-2019-12521
CVE-2019-12523
CVE-2019-12524
CVE-2019-12525
CVE-2019-12526
CVE-2019-12527
CVE-2019-12528
CVE-2019-12529
CVE-2019-12824
CVE-2019-12854
CVE-2019-13345
CVE-2019-18676
CVE-2019-18677
CVE-2019-18678
CVE-2019-18679
CVE-2020-8449
CVE-2020-8450
CVE-2020-11945
CVE-2020-14058
CVE-2020-15049
- Remove patch for cross-compilation
The patch should not be included in the OpenWrt at all without any
commit message/description.
Is not needed and there should be used HOST variables instead of BUILD variables (e.g.
HOSTCXX)
However, the BUILDCXX is set in Makefile to HOSTCXX
- Renumber glibc patch and refresh it
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Florian Eckert [Mon, 20 Jul 2020 06:15:50 +0000 (08:15 +0200)]
mwan3: update version to 2.8.11
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Fri, 28 Jun 2019 11:55:29 +0000 (13:55 +0200)]
mwan3: add online and uptime to detail output
Add also online time value and uptime time value from netifd to the
detail output view.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Fri, 17 Jul 2020 08:34:32 +0000 (10:34 +0200)]
mwan3: add workaround for procd change
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Fri, 17 Jul 2020 08:35:11 +0000 (10:35 +0200)]
mwan3: also cleanup lock on mwan3 stop
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 16 Jul 2020 12:02:57 +0000 (14:02 +0200)]
mwan3: fix rtmon routing table function generation
If the uci option family is not set in the interface section, then there
is no default value set as in the `config_load / config_get` API.
The problem here is that if the family is not set, the default value ipv4
is normaly assumed. But the comparison fails here because the value is empty
and therefore the dedicated routing table for this interface is not compared
with the other routes from the main table and so not updated.
To fix this set the default value for this config option which is`false`
for enabled and `ipv4` for family.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Mon, 20 Jul 2020 06:06:39 +0000 (08:06 +0200)]
Merge pull request #12814 from aaronjg/improvements/mwan3-misc-improvements-rb
mwan3: clean up ipv4/ipv6 duplicated code and misc. improvments
Florian Eckert [Thu, 16 Jul 2020 13:08:04 +0000 (15:08 +0200)]
mwan3: fix IPv6 routing add handling
This fixes routing handling. Introduced with the last version update.
The following message disappears on the shell
when mwan3 is called with 'mwna3 restart`.
`Error: Invalid gateway address.`
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
[aaronjg@stanford.edu: fully unset variable and handle ipv4 as well]
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
Florian Eckert [Wed, 15 Jul 2020 09:46:25 +0000 (11:46 +0200)]
mwan3: fix idx calculation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
[aaronjg@stanford.edu: fix syntax error]
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
Aaron Goodman [Thu, 16 Jul 2020 03:19:13 +0000 (23:19 -0400)]
mwan3: version bump
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
Aaron Goodman [Mon, 20 Jul 2020 03:19:50 +0000 (23:19 -0400)]
mwan3: cleanup duplicate ipv4 and ipv6 logic
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
Aaron Goodman [Thu, 16 Jul 2020 06:09:11 +0000 (02:09 -0400)]
mwan3: don't send iptable setup failures to /dev/null
silencing failing rules makes debugging more difficult
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
Aaron Goodman [Thu, 16 Jul 2020 01:41:46 +0000 (21:41 -0400)]
mwan3: add default rule for ipv6 in example config
default rule only applied to ipv4 with dest_ip 0.0.0.0/0
and error was hidden when trying to apply it in ip6table
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
Aaron Goodman [Thu, 16 Jul 2020 01:40:16 +0000 (21:40 -0400)]
mwan3: don't try to use ipv6 if not installed
fix issue #11826
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>