Commit graph

21743 commits

Author SHA1 Message Date
Aaron Goodman
1990a90702 mwan3: add back support for iputils ping
With the new wrapper code, we can override the broken binding behavior of
iputils ping v20101006.

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:55:40 -04:00
Aaron Goodman
d49ca29eca mwan3: add "use" function to mwan3 utils
Use "mwan3 use" to wrap a command with interface bindings so that you can
avoid the mwan3 rules and test behavior on a specific interface.

eg "mwan3 use wan ping -c1 1.1.1.1"

Additional binding arguments to the command will have their system
calls intercepted and ignored.

eg "mwan3 use wan ping -c1 -I tun0 1.1.1.1" will use the
device associated with "wan", rather than "tun0".

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman
bbbc6127ab mwan3: use helper library for mwan3track
Rather than using a special mwan3 user to manage mwan3track's tracking
packets, this commit implements a small helper library to bind to
device and to set a fwmark so that the tracking packets can be routed
out of the correct interface.

This provides a consistent method for binding to a device rather than
relying on various packages potentially buggy implementations. For
example: #8139 and #12836

This helper issue also allows for more tracking methods to be added
even if they do not have a command line option to bind to device,
such as iperf3 (eg  #13050).

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman
fb4a2d99ef mwan3: give warning if ip of incorrect family specified in a rule
also use global IPv4_REGEX environment variable as consistent IPv4 regex

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman
566293d228 mwan3: use procd for mwan3rtmon and mwan3track
start all mwan3mon and mwan3track instances on mwan3 start
if an interface is down when mwan3track starts, it waits
for a signal from the hotplug script to start

procd can then handle stopping all of the scripts when mwan3
is halted

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman
5faa99f3b8 mwan3: fix bug when one interface is a prefix of another
correctly terminate interface status checks with new lines so that
interface status does not get confused when one interface is a prefix
of another interface.

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman
189f92da4a mwan3: only update src_iface rules on ifup
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman
c8deccc0e7 mwan3: improvements to route creation
handle creation of routing tables in mwan3rtmon to avoid race
conditions and potentially missing routes

handle ipv6 routes that have expiry

update directly connected ipset when routes are added or deleted

add fall through rules so that the default routing table is not
used if no rule in the interface-specific routing table matches

add option to comply with mwan3 source based routing

get default route parameters from main routing table

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman
27492f64f8 mwan3: use MWAN3TRACK_STATUS_DIR variable throughout
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman
b7e26dd431 mwan3: fixup some extra spaces and shellcheck warnings
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Rosen Penev
386f18a7e5
Merge pull request #13664 from neheb/pros
prosody: update to 0.11.7
2020-10-15 20:19:36 -07:00
Rosen Penev
eb46e231cd prosody: fix shellcheck warnings
Remove paxctl stuff. pax is not packaged in OpenWrt.

Add reload support.

Install lua cfg file as 644. It's needed to be readable as prosody user

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-15 18:20:20 -07:00
Daniel Golle
f3a4ca5916
libinput: update to version 1.16.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-16 00:14:31 +01:00
Daniel Golle
66ad52fd1b
libp11: update to version 0.4.11
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-16 00:14:28 +01:00
Rosen Penev
68a3a06e98 prosody: update to 0.11.7
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-15 15:34:51 -07:00
Rosen Penev
2b684a4759
Merge pull request #13669 from neheb/jool2
jool: update to 4.1.4
2020-10-15 13:30:33 -07:00
Rosen Penev
ddcc273f08
Merge pull request #13667 from neheb/glib2
glib2: update to 2.66.1
2020-10-15 03:34:48 -07:00
Rosen Penev
1ff2e6c7f6
Merge pull request #13665 from neheb/idn
libidn: update to 1.36
2020-10-15 03:33:26 -07:00
Rosen Penev
fe30e50178
Merge pull request #13673 from neheb/gerb
gerbera: update to 1.6.4
2020-10-15 03:32:22 -07:00
Rosen Penev
bd4436c427
Merge pull request #13668 from neheb/gam
gammu: update to 1.42.0
2020-10-15 01:27:18 -07:00
Rosen Penev
537f96d458 spdlog: update to 1.8.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:49:43 -07:00
Rosen Penev
6ea95d9720 libnpupnp: update to 4.0.12
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:49:43 -07:00
Rosen Penev
ed4677adeb gerbera: update to 1.6.4
Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:49:43 -07:00
Rosen Penev
cdaf0a8b3d jool: update to 4.1.4
Added BUILDONLY to eliminate warning.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:46:08 -07:00
Rosen Penev
9ea62e1507 gammu: update to 1.42.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:45:13 -07:00
Rosen Penev
4e22fb2560 glib2: update to 2.66.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:43:48 -07:00
Rosen Penev
70c7e1f29b libidn: update to 1.36
Refreshed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:41:58 -07:00
Rosen Penev
9156655ce9
Merge pull request #13663 from nickberry17/update_mm_1.14.6
modemmanager: bump to 1.14.6
2020-10-14 17:41:25 -07:00
Nicholas Smith
87593abb06 modemmanager: bump to 1.14.6
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2020-10-15 09:39:02 +10:00
Rosen Penev
daa6ed8980
Merge pull request #13656 from odmdas/freeradius3-fix_version
freeradius3: move "release_" from PKG_VERSION
2020-10-14 14:04:23 -07:00
Hannu Nyman
6459c0aeb8
Merge pull request #13642 from ja-pa/ooniprobe-3.0.8
ooniprobe: update to version 3.0.8
2020-10-14 18:31:35 +03:00
Hannu Nyman
054c4d8bb6
Merge pull request #13660 from zhaojh329/libuhttpd
libuhttpd: Update to 3.4.0
2020-10-14 18:29:49 +03:00
Jianhui Zhao
3ee48340a0 libuhttpd: Update to 3.4.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-10-14 22:25:17 +08:00
Jan Pavlinec
d8b07415e8
ooniprobe: update to version 3.0.8
Changes:
-Add tag to disable QUIC
-remove dependecy for measurement-kit

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-10-14 13:54:54 +02:00
Alexey Dobrovolsky
11aa0b9653 freeradius3: move "release_" from PKG_VERSION
The substring "release_" does not reflect the version number.
In addition, package names will be shorter.

Signed-off-by: Alexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>
2020-10-14 13:02:22 +03:00
Rosen Penev
bb93351d0a
Merge pull request #13657 from neheb/tran
transmission: fix mbedtls search
2020-10-13 21:28:02 -07:00
Rosen Penev
27ba7533e1
transmission: fix mbedtls search
mbedcrypto should be searched, not mbedtls. Also, there is no pkgconfig
file with mbedtls. Fixed that as well. Removed Makefile hacks.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-13 21:07:46 -07:00
Rosen Penev
c1cec7b134
Merge pull request #13647 from jefferyto/seafile-server-7.1.5
seafile-server: Update to 7.1.5
2020-10-13 15:36:55 -07:00
Rosen Penev
89e47e937a
Merge pull request #13651 from neheb/build
treewide: add missing BUILDONLY
2020-10-13 15:24:35 -07:00
Rosen Penev
dd4bdf47cd
Merge pull request #13645 from aleksander0m/aleksander/libqmi-1-26-6
Update libqmi to 1.26.6 and make QMI-over-MBIM support optional
2020-10-13 02:55:41 -07:00
Florian Eckert
6519bc5b76
Merge pull request #13641 from TDT-AG/pr/20201012-keepalived
keepalived: update to 2.1.5
2020-10-13 11:42:52 +02:00
Aleksander Morgado
540c8f63a3 libqmi: make QMI-over-MBIM support optional
There is no need to force every user of libqmi to require libmbim and
build with QMI-over-MBIM support, if they know they're not going to
use it. Just make it optional and enabled by default.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2020-10-13 09:18:57 +02:00
Rosen Penev
5a7148d112
treewide: add missing BUILDONLY
Fixes Makefile warnings:

WARNING: skipping X -- package has no install section

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-12 17:43:49 -07:00
Rosen Penev
233398ced5
Merge pull request #13648 from neheb/canu
canutils: remove usleep and bzero
2020-10-12 16:29:29 -07:00
Rosen Penev
8ac7fc0d65
Merge pull request #13649 from neheb/pico
picocom: remove usleep
2020-10-12 16:24:08 -07:00
Rosen Penev
2cd89652c1
canutils: remove usleep and bzero
Both removed in POSIX 2008.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-12 16:23:35 -07:00
Rosen Penev
7f91a77daa
picocom: remove usleep
usleep is removed in POSIX 2008.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-12 16:17:32 -07:00
Rosen Penev
9fe9aa0493
Merge pull request #13636 from neheb/pdnsr2
pdns-resursor: add missing dependency
2020-10-12 16:12:20 -07:00
Rosen Penev
7ec063a4cc
Merge pull request #13577 from BKPepe/click
click: update to version 7.1.2
2020-10-12 16:09:45 -07:00
Rosen Penev
9250e521b9
Merge pull request #13639 from neheb/geth
geth: update to 1.9.22
2020-10-12 16:01:02 -07:00