Commit Graph

7575 Commits

Author SHA1 Message Date
Aaron Goodman
41d5f486ee mwan3: cleanup mwan3track
- reduce duplicate logging code
- simplify nping track code
- simplify ping result parsing

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:55:40 -04:00
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
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
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
Oldřich Jedlička
53e9a3296a fwknop: Use sensible defaults.
* Change KEY/HMAC_KEY to __CHANGEME__, which is rejected by fwknopd
   during start-up. The value CHANGEME is used only by LuCI package
   luci-app-fwknopd - pull request for generating keys directly from
   LuCI has been created already.
 * Add sensible defaults for ENABLE_IPT_FORWARDING and ENABLE_NAT_DNS,
   which both are/were set by luci-app-fwknopd. Move the defaults here.

Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
2020-10-15 20:11:30 +02: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
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
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
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
Pavel Demkovich
dd586837e8 znc: Add support for many configurable listeners for znc
Function add_listener called from /etc/init.d/znc, but not implemented

Signed-off-by: Pavel Demkovich <finn@finnix.servebeer.com>
2020-10-13 15:40:11 +03: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
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
9fe9aa0493 Merge pull request #13636 from neheb/pdnsr2
pdns-resursor: add missing dependency
2020-10-12 16:12:20 -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
Jeffery To
d183759998 seafile-server: Update to 7.1.5, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-13 06:42:27 +08:00
Jeffery To
a702c90b9a seafile-seahub: Update to 7.1.5, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-13 06:42:26 +08:00
Jeffery To
f841fedd7b seafile-ccnet: Update to 7.1.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-13 06:42:26 +08:00
David Bauer
ed80af94ca Merge pull request #13630 from blocktrron/pr-static-neighbor-reports
static-neighbor-reports: add package
2020-10-12 20:30:11 +02:00
Florian Eckert
7a503ca84b keepalived: update PKG_VERSION to 2.1.5
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-10-12 08:55:18 +02:00
Rosen Penev
bc039f8421 geth: update to 1.9.22
Removed bogus PKGARCH.

Added nls.mk to fix compilation with uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-11 19:13:38 -07:00
Rosen Penev
983e7b34a7 pdns-resursor: add missing dependency
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-11 19:11:15 -07:00
David Bauer
c149813371 static-neighbor-reports: add package
Signed-off-by: David Bauer <mail@david-bauer.net>
2020-10-12 01:40:30 +02:00
Rosen Penev
a506e61978 Merge pull request #13629 from ynezz/upstream/cgi-io-oot-project
cgi-io: move into out of tree project
2020-10-11 15:18:07 -07:00
Rosen Penev
ca8b045814 Merge pull request #13560 from odmdas/odmdas-freeradius3-meta
freeradius3: add meta-package for default modules
2020-10-11 15:16:33 -07:00
Rosen Penev
6953898f61 Merge pull request #13633 from expiron/kcptun-updates
kcptun: bump to v20201010
2020-10-11 15:13:41 -07:00
Olivier Poitrey
a5bd2a78b0 nextdns: Update to version 1.8.6
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2020-10-11 21:19:35 +00:00
Chao Liu
7931ec7972 kcptun: bump to v20201010
Signed-off-by: Chao Liu <expiron18@gmail.com>
2020-10-12 02:23:42 +08:00
Petr Štetiar
08be327942 cgi-io: move into out of tree project
No functional changes, just moved the sources into out of tree
project[1] so it's going to be easier to do CI with unit testing,
fuzzing etc.

1. https://git.openwrt.org/?p=project/cgi-io.git;a=shortlog

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-10-11 14:54:55 +02:00
Rosen Penev
cb2b03a719 Merge pull request #13627 from neheb/pdnsrr
pdns-recursor: update to 4.3.4
2020-10-10 21:13:22 -07:00
Rosen Penev
0bb477c97d Merge pull request #13626 from neheb/pdnsd
pdns: update to 4.3.1
2020-10-10 20:51:27 -07:00
Rosen Penev
af3b2e21dd pdns-recursor: update to 4.3.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-10 19:56:42 -07:00
Rosen Penev
6c654b4d61 pdns: update to 4.3.1
Remove features removed upstream.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-10 18:58:19 -07:00
Rosen Penev
3c1d623606 dnsdist: update to 1.5.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-10 14:27:27 -07:00
Matthias Schiffer
a916211b67 fastd: update to v20
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2020-10-10 19:02:24 +02:00
Rosen Penev
6885fa2645 Merge pull request #13615 from mlichvar/chrony-update-4.0
chrony: update to 4.0
2020-10-10 01:02:48 -07:00
Stan Grishin
92e6b29920 simple-adblock: config update file fix
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-10-09 09:20:55 -10:00