Commit Graph

6045 Commits

Author SHA1 Message Date
Jo-Philipp Wich b2a890f6ad cgi-io: implement exec action
Implement a new "cgi-exec" applet which allows to invoke remote commands
and stream their stdandard output back to the client via HTTP. This is
needed in cases where large amounts of data or binary encoded contents
such as tar archives need to be transferred, which are unsuitable to be
transported via ubus directly.

The exec call is guarded by the same ACL semantics as rpcd's file plugin,
means in order to be able to execute a command remotely, the ubus session
identified by the given session ID must have read access to the "exec"
function of the "cgi-io" scope and an explicit "exec" permission rule for
the invoked command in the "file" scope.

In order to initiate a transfer, a POST request in x-www-form-urlencoded
format must be sent to the applet, with one field "sessionid" holding
the login session and another field "command" specifiying the commandline
to invoke.

Further optional fields are "filename" which - if present - will cause
the download applet to set a Content-Dispostition header and "mimetype"
which allows to let the applet respond with a specific type instead of
the default "application/octet-stream".

Below is an example for the required ACL rules to grant exec access to
both the "date" and "iptables" commands. The "date" rule specifies the
base name of the executable and thus allows invocation with arbitrary
parameters while the latter "iptables" rule merely allows one specific
set of arguments which must appear exactly in the given order.

    ubus call session grant '{
        "ubus_rpc_session": "...",
        "scope": "cgi-io",
        "objects": [
            [ "exec", "read" ]
        ]
    }'

    ubus call session grant '{
        "ubus_rpc_session": "...",
        "scope": "file",
        "objects": [
            [ "/bin/date", "exec" ],
            [ "/usr/sbin/iptables -n -v -L", "exec" ]
        ]
   }'

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-13 10:38:35 +01:00
Jan Pavlinec 06d36ca794 git: update to version 2.24.1 (security fix)
Fixes
CVE-2019-1348, CVE-2019-1349, CVE-2019-1350, CVE-2019-1351,
CVE-2019-1352, CVE-2019-1353, CVE-2019-1354, CVE-2019-1387, and
CVE-2019-19604

And fix deprecated PKG_CPE_ID

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-12-13 10:31:09 +01:00
Rosen Penev 80a9ca7ccc
ibrdtnd: Remove c++03 option
Needed for libcxx compatibility. It probably generates bigger code.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-12 23:40:46 -08:00
Rosen Penev 9669044008
Merge pull request #10746 from aleksander0m/aleksander/mm-1-12-2
modemmanager: release 1.12.2
2019-12-12 19:42:47 -08:00
Rosen Penev 38e80bdf62
Merge pull request #10717 from WeekendSoftware/safe-search
net/safe-search Update Google host list.
2019-12-12 16:11:51 -08:00
Rosen Penev ed151e8c18
Merge pull request #10767 from James-TR/dnsdist/libcap
dnsdist: add missing dependency on libcap
2019-12-12 16:09:51 -08:00
Rosen Penev 2656dfa262
Merge pull request #10713 from dengqf6/mtr
mtr: update to 0.93
2019-12-12 07:48:56 -08:00
DENG Qingfang ad5615737a mtr: update to 0.93
Update mtr to 0.93
Add size optimization options
ath79 ipk size: 31.9k -> 31.4k

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-12-12 23:22:43 +08:00
James Taylor 64b9bd368f dnsdist: add missing dependency on libcap
When present on the build system dnsdist will try to make use of libcap. This
change adds an explicit dependency to ensure it's present at build time, to
prevent build failures when another package brings the dependency in.

Signed-off-by: James Taylor <james@jtaylor.id.au>
2019-12-12 20:31:49 +11:00
Rosen Penev ad4acb5531
Merge pull request #10704 from neheb/coo
coova-chilli: Update to 1.5
2019-12-11 19:46:50 -08:00
Rosen Penev 68b5a71883
coova-chilli: Update to 1.5
Remove upstreamed patches.

Added patch to fix compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-11 19:39:21 -08:00
Rosen Penev 7656d42f96
Merge pull request #10721 from James-TR/update/dnsdist
dnsdist: update to 1.4.0 w/ new dependencies
2019-12-11 14:24:22 -08:00
Rosen Penev 2b05359350
Merge pull request #10726 from neheb/pro
prosody: Update to 0.11.3
2019-12-11 14:19:38 -08:00
Karl Palsson 79c2781926 net/pagekitec: Update to 20191211 version
Pulls in various bugfixes from the last two years, including changes for
openssl deprecation.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2019-12-11 17:00:54 +00:00
Dirk Brenken 5369d0dbbf
adblock: bugfix 3.8.14
* fix some whitelist issues (see
https://forum.openwrt.org/t/adblock-support-thread/507/1101)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-12-11 12:30:53 +01:00
Rosen Penev 7e39c59e7f
Merge pull request #10735 from ysc3839/vpnbypass
vpnbypass: add procd reload trigger for vpnbypass config
2019-12-10 13:48:31 -08:00
Dirk Brenken 1ed53b31ef
Merge pull request #10747 from dibdot/adblock
adblock: bugfix 3.8.13
2019-12-10 20:14:27 +01:00
Dirk Brenken 21a85fef22
adblock: bugfix 3.8.13
* remove 'ransomware' blocklist by abbuse.ch (discontinued)
  from default adblock config
* fix/switch 'someonewhocares' config to https only
* fix curl download parameters to follow redirects and
  suppress needless output
* made the tmp directory of sort operations configurable,
  set 'adb_sorttmp' accordingly (only supported by 'coreutils-sort')

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-12-10 19:58:06 +01:00
Rosen Penev 15866948c4
Merge pull request #10738 from eglooca/master
netifyd: Updated to v2.98
2019-12-10 07:17:17 -08:00
Richard Yu d279181756
vpnbypass: add procd reload trigger for vpnbypass config
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-12-10 21:52:42 +08:00
Aleksander Morgado 9362a25801 modemmanager: release 1.12.2
This new release also installs additional 'shared utils' loadable
libraries in /usr/lib/ModemManager, so make sure we include them in
the packaging.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2019-12-10 14:12:47 +01:00
James Taylor 32fe1a6741 dnsdist: update to 1.4.0
Update dnsdist to next major release 1.4.0. This release introduces
dependencies on libh2o-evloop and libwslay for support of DNS over
HTTPS.

Release Blog Post: https://blog.powerdns.com/2019/11/20/dnsdist-1-4-0/
Changelog: https://dnsdist.org/changelog.html#change-1.4.0

Also removes compatibility patches required for previous release that have
been incorporated upstream.

Signed-off-by: James Taylor <james@jtaylor.id.au>
2019-12-10 21:33:01 +11:00
Rosen Penev 0c877258c2
Merge pull request #10729 from BKPepe/dnscrypt-proxy2-update
dnscrypt-proxy2: Update to version 2.0.34
2019-12-09 14:25:17 -08:00
Rosen Penev a077eb3c8d
Merge pull request #10733 from James-TR/update/pdns
pdns-recursor: update to 4.2.1
2019-12-09 14:24:50 -08:00
Darryl Sokoloski e94d771197 netifyd: Updated to v2.98
Maintainer: Darryl Sokoloski / @dsokoloski
Compile tested: arm_cortex-a15_neon-vfpv4, TP-Link Archer C2600, master
Run tested: TP-Link Archer C2600

Change log for v2.98:

[FIX] OpenWrt: Silence ABI warnings.
[FIX] Fixed socket buffer dead-lock (pop < 0 bytes).
[FIX] Silenced site UUID errors (moved to debug level).
[FIX] Updated to SPDX identifier for GPL license.

[IMP] Migrated from libjson-c to nlohmann JSON for Modern C++.
[IMP] Updated agent status with CPU utilization and sink service status.
[IMP] Reformatted sink queue utilization status output.
[IMP] Support OS-specific restarting.
[IMP] Added payload upload and update frequency control.
[IMP] Added MAC addresses to JSON interface list.
[IMP] Added option to send established flows to connecting clients.
[IMP] Added offline capture processing script.

Signed-off-by: Darryl Sokoloski <darryl@sokoloski.ca>
2019-12-09 12:46:57 -05:00
Richard Yu d551758310
nlbwmon: add procd reload trigger for nlbwmon config
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-12-09 20:28:11 +08:00
James Taylor d4e00eca55 pdns-recursor: update to 4.2.1
Updates pdns-recursor to current stable 4.2.1. Also includes more complete fix
for boost.m4 BOOST::THREAD detection, removing dependency on boost-thread.

Signed-off-by: James Taylor <james@jtaylor.id.au>
2019-12-09 23:05:22 +11:00
Josef Schlehofer cddf39cbd1
dnscrypt-proxy2: Update to version 2.0.34
Repository was renamed to github.com/DNSCrypt/dnscrypt-proxy

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-12-09 00:58:08 +01:00
Rosen Penev 73d29b9fd7
prosody: Update to 0.11.3
Several Makefile rearrangements for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-08 14:49:13 -08:00
Rosen Penev cbcfc7a3e2 geth: Update to 1.9.9
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-08 14:33:37 -08:00
Rosen Penev 3260950f4c
Merge pull request #10706 from neheb/ss
sstp-client: Update to 1.0.13
2019-12-08 13:42:07 -08:00
James Taylor fd62baea73 pdns: Upgrade to PowerDNS Authoritative 4.2.1
Upgraded to pdns-4.2.1 and corrected issues with dependency management on
modules, in addition to moving zone2ldap under the ldap backend (It's only
compiled if ldap backend is enabled)

Signed-off-by: James Taylor <james@jtaylor.id.au>
2019-12-08 14:03:00 +11:00
Gregory L. Dietsche bce8c6ef0f safe-search: Update Google host list.
Periodic update of the list of Google domains using
https://www.google.com/supported_domains
as a reference.

Signed-off-by: Gregory L. Dietsche <gregory.dietsche@cuw.edu>
2019-12-07 10:48:46 -06:00
Noah Meyerhans 556698cedf iputils: Move the iputils tools to packages
Per discussion in https://github.com/openwrt/openwrt/pull/1804, iputils is
moving from the main openwrt repository to the packages feed, and is switching
from the abandoned skbuff.net upstream to github.com/iputils/iputils

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
2019-12-05 17:06:40 -08:00
Stijn Tintel f32a06a877
Merge pull request #10610 from paulfertser/strongswan-set-reqid
strongswan: allow to specify per-connection reqid with UCI
2019-12-05 14:37:51 +02:00
Rosen Penev b3f52f80ad
sstp-client: Update to 1.0.13
Edited deprecated OpenSSL patch slightly.

Fixed up license information.

Reorganized Makefile for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-04 10:23:51 -08:00
Andy Walsh 1298a4ceda samba4: make host-buildtools private/add suffix
* fix openwrt/packages#10700
* add suffix to asn1_compile, compile_et to avoid krb5 conflicts
* bundle samba's com_err

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2019-12-03 16:06:07 +01:00
Karl Palsson 5da8ae16b2 mosquitto: bump to version 1.6.8
This is a bugfix release.
Full changelog available at:
https://mosquitto.org/blog/2019/11/version-1-6-8-released/

Many smaller fixes in various areas, nothing particularly standout as of
special interest to OpenWrt.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2019-12-03 13:14:16 +00:00
Sergey Urushkin 569e06c82f arp-scan: update to 1.9.7
Signed-off-by: Sergey Urushkin <urusha.v1.0@gmail.com>
2019-12-02 09:51:19 +03:00
Rosen Penev 1d434b00e7
Merge pull request #10688 from neheb/ope
openconnect: Switch to HTTPS for the source URL
2019-12-01 16:51:29 -08:00
Rosen Penev 13513957f8
Merge pull request #10681 from gram25gwh/ddns-scripts-https-afraid-org
ddns-scripts: Change protocols of afraid.org urls to HTTPS.
2019-11-30 23:51:37 -08:00
Kwonjin Jeong e25b558999 ddns-scripts: Change protocols of afraid.org urls to HTTPS.
- Use HTTPS protocol for updating urls for afraid.org to protect the password.
- Bump/align package version number.

Signed-off-by: Kwonjin Jeong <gram25gwh@gmail.com>
2019-12-01 15:24:38 +09:00
Rosen Penev 3b31e4e13b
Merge pull request #10668 from Andy2244/samba4_4.9.16_cleanup
samba4: update to 4.9.16, remove AD-DC/Winbind options
2019-11-30 18:34:55 -08:00
Rosen Penev 4d7c5af6e1 openconnect: Switch to HTTPS for the source URL
Goes through firewalls easier.

Switched to xz tarball, which is both implicit and smaller.

Rearranged some stuff for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-30 18:30:35 -08:00
Dirk Brenken e97f350a00
banip: update 0.3.11
* fix ssh daemon autodetection
* fix 'sshd' logfile parsing

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-11-30 19:31:14 +01:00
Hannu Nyman 52e6151d11
Merge pull request #10655 from gladiac1337/haproxy-2.0.10
haproxy: Update HAProxy to v2.0.10
2019-11-29 17:28:55 +02:00
Christian Lachner 19623a4ef9 haproxy: Update HAProxy to v2.0.10
- Update haproxy download URL and hash
- Add new patches (see https://www.haproxy.org/bugs/bugs-2.0.10.html)
- This fixes CVE-2019-19330 (See: https://nvd.nist.gov/vuln/detail/CVE-2019-19330)

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-11-29 12:25:21 +01:00
Rosen Penev 47772cc9c6
Merge pull request #10657 from neheb/addr
addrwatch: Add missing limits header for PATH_MAX
2019-11-29 02:12:07 -08:00
Rosen Penev 5b3a1591bc
Merge pull request #10654 from leonghui/wiki-link-update
treewide: replace old wiki links
2019-11-28 20:21:31 -08:00
Leong Hui Wong a6f1ff5a85 treewide: update wiki links
Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
2019-11-29 09:16:02 +08:00