Commit Graph

22346 Commits

Author SHA1 Message Date
W. Michael Petullo 08773852a1 gstreamer1: update to 1.18.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2020-11-19 12:54:13 -06:00
Daniel Golle 75cb9949b7 podman: ship storage.conf and use runc by default for now
Ship podman with defaults more coherent with user expectations and
more likely to work out-of-the-box.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-19 18:00:43 +00:00
Florian Eckert 6df16e50fb docker-ce: update PKG_RELEASE version
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-19 14:20:15 +01:00
Florian Eckert 96a11a9c02 docker-ce: do not delete generated iptables by docker-ce
Deleting rules that docker has created is error-prone, because with
every update docker we have  to check if anything has changed.
Cleaning up the firewall rules is part of the docker and should and must be
cleaned up and handeled by them when the service is terminated.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-19 14:20:12 +01:00
Florian Eckert 19fc933330 docker-ce: add device option to expand interface blocking
If docker-ce handles the firewall and fw3 is not envolved because the
rules get not proceed, then not only docker0 should be handled but also
other interfaces and therefore other docker networks.

This commit extends the handling and introduces a new uci option
`device` in the docker config firewall section. This can be used to specify
which device is allowed to access the container. Up to now only docker0
is covert.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-19 14:20:09 +01:00
Florian Eckert 7c9ed12fa1 docker-ce: remove not applicable uciupdate
As the protocol is set to none, this makes no sense here, as it cannot
be controlled and thus processed by the netifd.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-19 14:20:07 +01:00
Florian Eckert f12071add9 docker-ce: set proto for docker bridge device to none
Set proto from `static` to `none`. This makes it clear that this
interface is not handled by the netifd.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-19 14:20:04 +01:00
Florian Eckert 1af5593568 docker-ce: make docker-ce firewall handling configurable
Openwrt has a own firewall service called fw3, that supports firewall zones.
Docker can bypass the handling of the zone rules in openwrt via custom
tables. These are "always" processed before the openwrt firewall.
Which is prone to errors!

Since not everyone is aware that the firewall of openwrt will
not be passed. And this is a security problem because a mapped port is
visible on all interfaces and so also on the WAN side.
If the firewall handling in docker is switched off, then the port in
fw3 must be explicitly released and it cannot happen that the
port is accidentally exported to the outside world via the interfaces on
the WAN zone.

So all rules for the containers should and so must be made in fw3.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-19 14:20:02 +01:00
Florian Eckert dc9d9d2202 docker-ce: add arguments call to uciadd and ucidel
Up to now only the docker0 interface and bridge is created by default.
In order to create other interfaces and to integrate them into the
openwrt these functions can now be called with arguments.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-19 14:19:59 +01:00
Vasily Trotzky 56b842f0b7 watchcat: add nopingtime option + refactoring
nopingtime UCI option rationale:
I want relatively fast reaction(i.e. 1m or 2m) for 'no internet' condition,
but i don't want my router to reboot every 1 minute if there is still no
internet after reboot.

initd_watchcat:
* add: nopingtime uci option support
* add: defaults to all non-critical options
* add: log warnings for non-critical errors(when option is missed and
default is applyed)
* fix: error handling and config_get defaults are somtimes in conflict
because of config_get defaults. They are gone now, error handling improved.
* fix: calling watchcat.sh with 'period' mode instead of 'ping'. Typo?
* fix: pingperiod default changed from period/20 to more reasonable period/5

watchcat.sh:
* add: nopingtime uci option support( sleep if uptime < nopingtime )
* remove: [ "$mode" = "allways" ] && mode="always" - not needed, already
done by initd_watchcat in load_watchcat() func
* add: echo 1 > /proc/sys/kernel/sysrq before sysrq-trigger
* refactor: eliminated once used not needed variables, code size reduced.

* PKG_RELEASE bumped up

Signed-off-by: Vasily Trotzky <trotzky.vas@gmail.com>
2020-11-19 14:50:39 +03:00
Liangbin Lian 1a9323064c libs/libtirpc: fix host compile with clang 12.0.0
1.clang ld not supports symvers
2.macos has not mutex_lock, use pthread_mutex_lock instead
3.macos not define SO_PEERCRED, use LOCAL_PEERCRED instead

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2020-11-18 23:20:38 +08:00
Jan Pavlinec f16d79f5f1
tor: update to version 0.4.4.6 (security fix)
Fixes TROVE-2020- 005

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-11-18 12:47:09 +01:00
Jan Pavlinec f1a30746f9
chrony: add package variant with NTS
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-11-18 12:01:35 +01:00
Florian Eckert 78dd3e05a8
Merge pull request #13908 from aaronjg/mwan3-rpcd
mwan3: remove dependency on rpcd & fix iputils-ping check
2020-11-18 08:30:36 +01:00
Rosen Penev 5b0d83e775
Merge pull request #13938 from neheb/faad2
faad2: update to 2.10.0
2020-11-17 23:15:41 -08:00
Rosen Penev df7b51765c
Merge pull request #13913 from TDT-AG/pr/20201113-libudev-zero-fix
libudev-zero: fix installation of so files.
2020-11-17 23:15:25 -08:00
Martin Schiller 41c2103621 libudev-zero: fix installation of so files.
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2020-11-18 07:34:11 +01:00
Rosen Penev 682227eb35
faad2: update to 2.10.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-17 21:10:04 -08:00
Rosen Penev 766fe44a02
Merge pull request #13928 from Payne-X6/master
knot: update to version 3.0.2
2020-11-17 18:31:02 -08:00
Daniel Golle 6b2ec8bcb5
transmission: convert seccomp filter rules to OCI format
procd-seccomp switched to OCI-compliant seccomp parser instead of our
(legacy, OpenWrt-specific) format. Convert ruleset to new format.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-17 13:16:17 +00:00
Rosen Penev 316f870228
Merge pull request #13927 from ja-pa/ooniprobe-3.0.10
ooniprobe: update to version 3.0.10
2020-11-16 22:27:09 -08:00
Rosen Penev 1b720534ed
Merge pull request #13930 from miska/mariadb_update
mariadb: Update to 10.4.17
2020-11-16 22:26:44 -08:00
Aaron Goodman 8abd5781b9 mwan3: version bump to 2.10.3-3
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-11-16 11:40:50 -05:00
Aaron Goodman 8cc38f933c mwan3: add maintainer
add @aaronjg as maintener as per conversation with @feckert

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-11-16 11:23:10 -05:00
Aaron Goodman 1bfb1a66cd mwan3: support latest iputils ping
iputils upstream changed build params with version s20200821
Latest OpenWRT iputils ping now appears to report the openwrt
version tag, rather than iputils date tag

This commit sends a test ping to localhost to evaluate the
capabilities of iputils ping.

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-11-16 11:23:10 -05:00
Aaron Goodman f014a7f542 mwan3: don't trigger rpcd install hooks if rpcd not installed
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-11-16 11:23:10 -05:00
Aaron Goodman a5f3e6bb6b mwan3: don't call rpcd on 'mwan3 interfaces'
Allow `mwan3 interfaces` to get uptime via an internal function and
thus remove the dependency on rpcd for `mwan3 interface` calls.

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-11-16 11:19:55 -05:00
Michal Hrusecky 33e4899870
mariadb: Update to 10.4.17
Update to the latest version from 10.4 series

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2020-11-16 13:24:44 +01:00
Florian Eckert f644dadfea
Merge pull request #13867 from jamesmacwhite/mwan3-user-file
mwan3: Document hotplug events and $DEVICE not being available on ifdown
2020-11-16 11:50:23 +01:00
James White 8608afa75f
mwan3: Update documentation information for mwan3.user file
Signed-off-by: James White <james@jmwhite.co.uk>
2020-11-16 10:42:45 +00:00
Jan Hák 1f9d6fbb26 knot: disable embedded xdp
Signed-off-by: Jan Hák <jan.hak@nic.cz>
2020-11-16 11:22:24 +01:00
Jan Hák a54828926d knot: update to 3.0.2
Signed-off-by: Jan Hák <jan.hak@nic.cz>
2020-11-16 11:21:48 +01:00
Jan Pavlinec 100facfaf7
ooniprobe: update to version 3.0.10
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-11-16 11:18:33 +01:00
Daniel Golle 58721b218d
postgresql: update to 13.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-15 22:25:57 +00:00
Daniel Golle 1d57c600a4
inotify-tools: update to 3.20.11.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-15 21:57:42 +00:00
Daniel Golle 283d264d74
libudev-zero: update to version 0.4.5
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-15 21:20:33 +00:00
Daniel Golle 15462235c9
gpgme: update to version 1.15.0
Also remove left-overs of unfinished packaging of the Python bindings.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-15 21:20:33 +00:00
Jeffery To bd38850609 golang: Update to 1.15.5
This includes security fixes for:
* CVE-2020-28362: panic during recursive division of very large numbers
* CVE-2020-28366: arbitrary code can be injected into cgo generated
  files
* CVE-2020-28367: improper validation of cgo flags can lead to remote
  code execution at build time

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-11-15 21:43:07 +02:00
Michael Heimpold a561fe0d35
Merge pull request #13893 from nxhack/php_icu4c_681
php7: fix for icu 68.1
2020-11-13 22:27:37 +01:00
Hirokazu MORIKAWA fc9fa48973 php7: fix for icu 68.1
https://github.com/openwrt/packages/pull/13883
https://github.com/php/php-src/commit/8eaaabd

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2020-11-13 09:06:15 +09:00
Yousong Zhou 02b1187af2 xl2tpd: fix invoking xl2tpd-control
Upstream commit 90884c62 ("xl2tpd-control refactoring") introduced in
1.3.16 changed command names

The l2tp protocol handler part was from @danvd in pull request
openwrt/packages#13866

Fixes f07319d6 ("xl2tpd: bump to version 1.3.16")

Ref: https://github.com/openwrt/packages/pull/13866
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-11-12 15:20:16 +08:00
Rosen Penev a8d14109ec
Merge pull request #13875 from Hopbox/udpspeeder
udpspeeder: Add new package udpspeeder to implement FEC for VPN over lossy links
2020-11-11 22:21:20 -08:00
Dirk Brenken 2c1cc0b4a1
Merge pull request #13880 from jmarcet/banip-logd
banip: removed logd check since logd dep has been dropped
2020-11-11 21:13:59 +01:00
Rosen Penev 50a038ebe5
Merge pull request #13892 from commodo/python-updates1
django,numpy,pytz: bump package versions
2020-11-11 10:22:40 -08:00
Florian Eckert 4b2e33a7e0
Merge pull request #13881 from aaronjg/mwan3-owner-procd
mwan3: fixup ipset and install errors
2020-11-11 15:08:09 +01:00
Florian Eckert 3ca4fa7c8b
Merge pull request #13796 from G-M0N3Y-2503/docker-blocked-interfaces
docker-ce: Added blocked_interfaces config option
2020-11-11 14:25:54 +01:00
Daniel Golle cb45a0d268 podman: set PKG_USE_MIPS16:=0
podman fails to compile due to MIPS16 instructions somehow.
Disable use of MIPS16.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-11 11:05:26 +00:00
Daniel Golle aed97243ee cni-plugins: set PKG_USE_MIPS16:=0
cni-plugins fail to compile due to MIPS16 instructions somehow. Don't
use them.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-11 11:05:26 +00:00
Daniel Golle b51b59fe90 cni: set PKG_USE_MIPS16:=0
Compiling cni failes due to MIPS16 somehow. Disable it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-11 11:05:26 +00:00
Alexandru Ardelean 3d2a1f97e1 python-pytz: bump to version 2020.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-11-11 11:11:27 +02:00