Commit Graph

7183 Commits

Author SHA1 Message Date
Karl Palsson 22ff5c39ac net/mosquitto: Update to 1.6.12
Security release.  From the changelog:

- In some circumstances, Mosquitto could leak memory when handling PUBLISH
  messages. This is limited to incoming QoS 2 messages, and is related
  to the combination of the broker having persistence enabled, a clean
  session=false client, which was connected prior to the broker restarting,
  then has reconnected and has now sent messages at a sufficiently high rate
  that the incoming queue at the broker has filled up and hence messages are
  being dropped. This is more likely to have an effect where
  max_queued_messages is a small value. This has now been fixed. Closes
  https://github.com/eclipse/mosquitto/issues/1793

Changelog: https://mosquitto.org/blog/2020/08/version-1-6-12-released/

Signed-off-by: Karl Palsson <karlp@etactica.com>
2020-08-19 15:30:36 +00:00
Florian Eckert 91bf524845
Merge pull request #13041 from aaronjg/mwan3-startup-performance
mwan3: startup performance improvements and other fixes
2020-08-19 13:59:02 +02:00
Aaron Goodman c07f5230be mwan3: improve startup performance; version 2.9.0
improve startup and runtime performance by

1) moving common startup procedures out of hotplug script when called
from mwan3 start
2) reducing calls to iptables to check status of rules
3) consolidating iptables updates and updating with iptables-restore
4) do not wait for kill if nothing was killed
5) running interface hotplug scripts in parallel
6) eliminate operations in hotplug script that check status on every
single interface unnecessarily
7) consolidate how mwan3track makes hotplug calls
8) do not restart mwan3track on connected events

This is a significant refactor, but should not result in any breaking
changes or require users to update their configurations.

version bump to 2.9.0

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-08-17 22:02:36 -04:00
Jeffery To 722a5b8efa
python3: Use hash-checking mode when installing host pip packages
In hash-checking mode[1], pip will verify downloaded package archives
(source tarballs in our case) against known SHA256 hashes before
installing the packages.

As a consequence, this requires the use of requirements files[2] and
pinning packages to known versions.

The syntax for package Makefiles has changed slightly;
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS no longer accepts requirement
specifiers like "foo>=1.0", only requirements file names (which are the
same as package names in the most common case).

This also updates affected packages, in particular:

* python-zipp: "setuptools_scm[toml]" has been split into
  "setuptools-scm toml" to reuse the requirements file for
  setuptools-scm (the extra depends installed by "setuptools_scm[toml]"
  is toml).

* python-pycparser: This previously used ply 3.10, whereas the
  requirements file will now install 3.11.

[1]: https://pip.pypa.io/en/stable/reference/pip_install/#hash-checking-mode
[2]: https://pip.pypa.io/en/stable/user_guide/#requirements-files

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-08-17 23:05:49 +08:00
Daniel Golle 6855683e3e hs20: prepare server using uci-defaults and ship files
Setup user database if non-existent, configure uhttpd .php interpreter
and patch php scripts to work out-of-the-box.
Also ship Hotspot 2.0 SPP and OMA DM XML schema/DTD files needed at
run-time for both client and server.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-08-17 14:12:05 +01:00
Mateusz Stępień f778b1eea3 ddns-scripts: Add moniker.com DDNS service
Signed-off-by: Mateusz Stępień <mateusz@argc.pl>
2020-08-16 17:42:05 +02:00
Aaron Goodman 39f58789e6 mwan3: use ip monitor route to detect routing changes
use only committed uci changes for updating routing table

use functions.sh functions rather than uci command line tool
to find interfaces for routing table.

consolidate rtmon_ipv4 and rtmon_ipv6 functions into a single function

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-08-15 20:19:56 -04:00
Rosen Penev d47ac3eb40
Merge pull request #13108 from neheb/nets
netsniff-ng: add missing header
2020-08-15 15:32:39 -07:00
Daniel Golle 6d8a3aa71d hs20: add Hotspot 2.0 OSU client and server implementation
Add hs20-server and hs20-client packages correspoding to the
hs20/client and hs20/server folder in hostap.git.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-08-15 16:54:54 +01:00
Matthias Schiffer 8bb7659f08 openvswitch: backport patch to fix build against kernel 4.14.193
(and possibly other recent stable kernels)

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2020-08-15 09:19:59 +08:00
Dirk Brenken 5ba498f7c8
adblock: refresh blocklist sources
* remove 'dshield' and 'sysctl' (discontinued)
* switch 'malwaredomains', 'shallalist' and 'winhelp' to https
* add a second regional list for poland (provided by matx1002)
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-08-14 14:53:57 +02:00
Rosen Penev 40b71e324b
open-isns: fix compilation without deprecated signal API
Upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-13 21:35:05 -07:00
Rosen Penev 42c5bc9f9a
netsniff-ng: add missing header
Needed for ssize_t.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-13 21:29:11 -07:00
Rosen Penev 720b5117fb
Merge pull request #13079 from neheb/oor
oor: fix compilation with GCC 10
2020-08-12 13:09:47 -07:00
Rosen Penev ed08dbb6fe
Merge pull request #13076 from neheb/opn
open-iscsi: fix compilation with musl 1.2.0
2020-08-12 11:19:59 -07:00
Karl Palsson 2537416a11 mosquitto: update to 1.6.11
Full release notes: https://mosquitto.org/blog/2020/08/version-1-6-11-released/

Variety of generally minor bugfixes, mostly in the broker.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2020-08-12 14:00:20 +00:00
Rosen Penev e03633fefe
Merge pull request #13067 from neheb/chao
chaosvpn: fix compilation without sys/cdefs
2020-08-11 11:57:50 -07:00
Rosen Penev f371658967
Merge pull request #13074 from neheb/atf
atftp: completely remove cdefs usage
2020-08-11 11:39:36 -07:00
Rosen Penev 5cdbecf254
Merge pull request #13084 from mstorchak/rsync
rsync: update to 3.2.3
2020-08-11 11:24:50 -07:00
Rosen Penev 1e70e0cb72
Merge pull request #13064 from neheb/linkn
linknx: fix compilation without sys/cdefs
2020-08-11 10:12:27 -07:00
Rosen Penev cddb27503e
Merge pull request #13065 from neheb/knxdd
knxd: fix compilation without sys/cdefs
2020-08-11 10:12:00 -07:00
Maxim Storchak ed6c736a63 rsync: update to 3.2.3
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2020-08-11 12:26:19 +03:00
Rosen Penev df6c468a5a
oor: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 16:19:11 -07:00
Rosen Penev dd639f9aa1
netdiscover: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:54:32 -07:00
Rosen Penev 0c0f6f450d
open-iscsi: fix compilation with musl 1.2.0
GLOB_ONLYDIR is not defined.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:53:58 -07:00
Rosen Penev f3fdcb4288
atftp: completely remove cdefs usage
sys/cdefs.h is not provided by musl.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:35:09 -07:00
Rosen Penev 286e42b3f4
chaosvpn: fix compilation without sys/cdefs
sys/cdefs.h does not come included with musl. It's also deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:26:41 -07:00
Rosen Penev 0b37205d21
knxd: fix compilation without sys/cdefs
sys/cdefs.h does not come with musl. It's also deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:25:04 -07:00
Rosen Penev 95c6c66ed1
linknx: fix compilation without sys/cdefs
sys/cdefs.h is not included with musl. It's also deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:23:59 -07:00
Rosen Penev 11c4323665
Merge pull request #13060 from wodu/linuxptp_maint
linuxptp: Update to version 3.0
2020-08-10 12:25:05 -07:00
Rosen Penev 50db30f8c6
Merge pull request #13059 from aparcar/which
treewide: replace `which` with `command -v`
2020-08-10 12:24:34 -07:00
Yousong Zhou 3f383103ee openvswitch: bump to version 2.13.1
The two backported patches are included in 2.13.1

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-10 20:38:49 +08:00
Wojciech Dubowik ea6d3a3468 linuxptp: Update to version 3.0
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
2020-08-10 09:57:29 +02:00
Paul Spooren 30ea917518 treewide: replace `which` with `command -v`
Fix shellcheck SC2230
> which is non-standard. Use builtin 'command -v' instead.

Once applied to everything concerning OpenWrt we can disable the busybox
feature `which` and save 3.8kB.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-08-09 13:58:14 -10:00
Toke Høiland-Jørgensen 416dccf72a
Merge pull request #13058 from guidosarducci/master-fix-gcc10-netperf
netperf: fix compilation with GCC10
2020-08-09 10:14:25 +02:00
Tony Ambardar c332d5fdf7 netperf: fix compilation with GCC10
GCC10 defaults to -fno-common, which breaks compilation when there are
multiple definitions of implicit "extern" variables. Remove the extra
definitions.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2020-08-09 00:02:48 -07:00
Sebastian Kemper d4addd14c0 apache: security bump to 2.4.46
From CHANGES_2.4:

SECURITY: CVE-2020-11984 (cve.mitre.org)
  mod_proxy_uwsgi: Malicious request may result in information disclosure
  or RCE of existing file on the server running under a malicious process
  environment. [Yann Ylavic]

SECURITY: CVE-2020-11993 (cve.mitre.org)
  mod_http2: when throttling connection requests, log statements
  where possibly made that result in concurrent, unsafe use of
  a memory pool. [Stefan Eissing]

SECURITY:
  mod_http2: a specially crafted value for the 'Cache-Digest' header
  request would result in a crash when the server actually tries
  to HTTP/2 PUSH a resource afterwards.
  [Stefan Eissing, Eric Covener, Christophe Jaillet]

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-08 16:15:46 +02:00
Rosen Penev d179b11410
Merge pull request #13029 from neheb/boinc
boinc: fix compilation without deprecated OpenSSL APIs
2020-08-07 11:57:29 -07:00
Rosen Penev 61b3532fe4
Merge pull request #13051 from ptpt52/miniupnpd-check-running
net/miniupnpd: check by /etc/init.d/miniupnpd running
2020-08-07 09:31:43 -07:00
Chen Minqiang 67b4871322 net/miniupnpd: check by /etc/init.d/miniupnpd running
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-08-08 00:12:38 +08:00
Nick Hainke 26fb6219de dawn: bump version
test_storage: fix compilation with musl 1.2.0
datastorage/test: improve scalability and performance
datastorage: fixed use of wrong client search
general: add memory auditing
memory auditing: bug fixes to memory auditing and hearing map
datastorage: fixes to linked list handling
tcpsocket: fix read callback function and arbitrary memory allocations
tcpsocket: leave loop if we read 0 byte

Furthermore, you can now dump the memory usage by sending a SIGHUP to
dawn process.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-08-07 12:35:59 +02:00
Eric Luehrsen f8ba0fe7bf unbound: follow resolv.conf.auto to new location
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2020-08-07 01:30:52 -04:00
Rosen Penev 8b004dbfba
Merge pull request #12811 from TDT-AG/pr/20200714-ntpd
ntpd: add config include support
2020-08-05 13:29:20 -07:00
Rosen Penev 1be8f072c8
Merge pull request #12976 from pprindeville/update-xtables-addons-3.10
xtables-addons: update for 3.10
2020-08-05 13:18:18 -07:00
Rosen Penev dca6a5b2fd
Merge pull request #13032 from neheb/freer
freeradius3: fix compilation without deprecated OpenSSL APIs
2020-08-05 13:10:49 -07:00
Rosen Penev 70b5ae920e
Merge pull request #13027 from neheb/ina
inadyn: update to 2.7
2020-08-05 13:08:50 -07:00
Karl Palsson 5c4aad9518 net/pagekitec: Update to v0.91.200718
This fixes misleading errors in the status file, and increases buffer
sizes to match the python implementation.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2020-08-05 16:35:17 +00:00
Florian Eckert 8e34825f78 acme: fix alignment space vs tabs
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-08-05 11:33:19 +02:00
Rosen Penev c4254a3824
Merge pull request #11116 from ja-pa/ooni
ooniprobe: new packages
2020-08-04 22:59:23 -07:00
Rosen Penev 9594a85404
freeradius3: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-04 19:17:01 -07:00