Commit Graph

7215 Commits

Author SHA1 Message Date
Yousong Zhou
fed92c81b6 ovn: bump to version 20.06.2
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-25 15:50:37 +08:00
Yousong Zhou
282038d97b openvswitch: bump to version 2.14.0
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-25 15:50:32 +08:00
Rosen Penev
ad97672726 sshtunnel: correct access of config file
With this change the `/etc/config/sshtunnel` file has the correct access.
It's a sensible file.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-24 13:49:45 -07:00
Rosen Penev
b9000884d6 Merge pull request #12762 from ngrsdhbw/feature_ddns_cloudflare_bearer
ddns-scripts: Support Bearer Token for Cloudflare
2020-08-24 13:09:37 -07:00
Rosen Penev
8f3642e4bb Merge pull request #13193 from sartura/sysrepo
Update sysrepo, libyang, libnetconf2 and netopeer2 packages to latest versions
2020-08-24 13:06:45 -07:00
Rosen Penev
a00b99950a Merge pull request #13174 from neheb/dav
davfs2: update to 1.6.0
2020-08-24 06:57:24 -07:00
Rosen Penev
ec67d94f4d Merge pull request #13192 from peter-stadler/nginx
nginx: update to version 1.19.2
2020-08-23 20:52:18 -07:00
Noah Meyerhans
cf61f7f8ef bind: New upstream version 9.16.6
Several security issures are addressed:

 - CVE-2020-8620 It was possible to trigger an assertion failure by sending
   a specially crafted large TCP DNS message.
 - CVE-2020-8621 named could crash after failing an assertion check in
   certain query resolution scenarios where QNAME minimization and
   forwarding were both enabled. To prevent such crashes, QNAME minimization is
   now always disabled for a given query resolution process, if forwarders are
   used at any point.
 - CVE-2020-8622 It was possible to trigger an assertion failure when
   verifying the response to a TSIG-signed request.
 - CVE-2020-8623 When BIND 9 was compiled with native PKCS#11 support, it
   was possible to trigger an assertion failure in code determining the
   number of bits in the PKCS#11 RSA public key with a specially crafted
   packet.
 - CVE-2020-8624 update-policy rules of type subdomain were incorrectly
   treated as zonesub rules, which allowed keys used in subdomain rules to
   update names outside of the specified subdomains. The problem was fixed by
   making sure subdomain rules are again processed as described in the ARM.

Full release notes are available at
https://ftp.isc.org/isc/bind9/9.16.6/doc/arm/html/notes.html#notes-for-bind-9-16-6

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
2020-08-23 19:58:34 -07:00
Michael Heimpold
7504fddd53 Merge PR #13179 via local branch. 2020-08-23 22:58:12 +02:00
Karl Palsson
75992cc981 net/u2pnpd: convert init to procd
Drops pid files, no longer needed with procd management.
Now properly reloads on reload_config after UCI changes.

Signed-off-by: Karl Palsson <karlp@etactica.com>

[ Fixed two shellcheck warnings and bump PKG_RELEASE ]
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-08-23 22:52:31 +02:00
Rosen Penev
3ff9c91b9d Merge pull request #13137 from neheb/isc
isc-dhcp: fix compilation with GCC 10
2020-08-23 13:32:19 -07:00
Rosen Penev
5333cdcbb9 Merge pull request #13191 from Foxtrot/add-fakepop
fakepop: add new package
2020-08-23 13:31:22 -07:00
David Yang
dec2cab0dd i2pd: Update to 2.32.1
Signed-off-by: David Yang <mmyangfl@gmail.com>
2020-08-23 21:11:31 +08:00
Marc Egerton
8b60f1591a fakepop: Fix PKG_LICENSE, remove libc dependency
Signed-off-by: Marc Egerton <foxtrot@realloc.me>
2020-08-22 22:18:44 +01:00
Peter Stadler
14650d3517 nginx: update to version 1.19.2
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-08-22 19:59:11 +02:00
Jakov Smolic
f8ffabaf08 netopeer2: update to 1.1.39
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
2020-08-22 18:26:04 +02:00
Jakov Smolic
1e5fe18cba sysrepo: update to 1.4.70
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
2020-08-22 18:26:04 +02:00
Marc Egerton
b568005444 fakepop: new package
fakepop is a fake pop3 daemon. It returns always the same messages to all users, it does not care about usernames and passwords. All user/pass combinations are accepted.

Signed-off-by: Marc Egerton <foxtrot@realloc.me>
2020-08-22 16:19:05 +01:00
Rosen Penev
46f727e57d Merge pull request #13097 from lzto/nft-qos-mac
nft-qos: support mac address based speed limit
2020-08-21 17:51:04 -07:00
Stan Grishin
492a49fcc5 simple-adblock: bugfix: update config; use command -v
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-08-21 23:29:02 +00:00
Rosen Penev
5a94dd25c1 Merge pull request #13184 from PolynomialDivision/feature/dawnupdate
dawn: bump to latest version
2020-08-21 15:49:36 -07:00
Nick Hainke
89a093a1f0 dawn: bump to latest version
Includes:
- dawn_uci: fix crashing when uci config is received
- tcpsocket: add option to add server ip

A new config option allows to add a server ip
	option server_ip '10.0.0.2'

However, this server does not send anything back. Therefore it is not
possible to change the node configuration. This will probably be added
soon. The main goal of this commit is to allow monitoring of all nodes
in a network with DAWN, e.g. clients, channel utilization, ...

Also a network option (3) has been added which allows to use TCP but
not to announce your daemon in the broadcast domain. This allows you to
create a monitor-only node that holds only the local information and
forwards it to the central server.

A monitor-only node could be configured like
	option server_ip '10.0.0.1'
	option tcp_port '1026'
	option network_option '3'

Another possible config is
        option server_ip '10.0.0.1'
        option tcp_port '1026'
        option network_option '2'
Here, the node shares information with a central server, which can be
located outside the broadcast domain. Nevertheless, it also shares
information within its broadcast domain and can therefore perform
client steering.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-08-22 00:45:19 +02:00
Rosen Penev
5470cc70bf Merge pull request #13175 from neheb/fpi
fping: update to 5.0
2020-08-21 14:10:36 -07:00
Rosen Penev
f86418eea2 Merge pull request #13177 from aleksander0m/aleksander/mm-1-14-2
modemmanager: bump to 1.14.2
2020-08-20 15:16:38 -07:00
Rosen Penev
95362efd29 Merge pull request #13111 from neheb/tgt
tgt: remove bzero usage
2020-08-20 03:24:57 -07:00
Aleksander Morgado
efda597235 modemmanager: bump to 1.14.2
https://lists.freedesktop.org/archives/modemmanager-devel/2020-August/008099.html

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2020-08-20 10:01:19 +02:00
Rosen Penev
fd18159394 fping: update to 5.0
Minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-19 15:00:34 -07:00
Rosen Penev
c03f25a00a davfs2: update to 1.6.0
Removed now unnecessary gcc10 patch.

Removed neon patch. It's now upstream.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-19 14:35:40 -07:00
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
Tong Zhang
0483b8dc88 nft-qos: support mac address based speed limit
This patch makes it possible to configure and limit per-client internet
speed based on MAC address and it can work with SQM.
This feature is what OpenWRT currently lacks. This patch is largely based
on static.sh and the configuration file is similar to original nft-qos.

New configuration options and examples are listed below

config default 'default'
    option limit_mac_enable '1'
config client
	option drunit 'kbytes'
	option urunit 'kbytes'
	option hostname 'tv-box'
	option macaddr 'AB:CD:EF:01:23:45'
	option drate '1000'
	option urate '50'
config client
	option drunit 'kbytes'
	option urunit 'kbytes'
	option hostname 'my-pc'
	option macaddr 'AB:CD:EF:01:23:46'
	option drate '3000'
	option urate '2000'

limit_mac_enable - enable rate limit based on MAC address
drunit - download rate unit
urunit - upload rate unit
macaddr - client MAC address
drate - download rate
urate - upload rate

Signed-off-by: Tong Zhang <ztong0001@gmail.com>
2020-08-19 09:39:57 -04: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
Norman Gehrsitz
aa8ee7e440 ddns-scripts: cloudflare.com-v4: Simplify Bearer Token support
Signed-off-by: Norman Gehrsitz <gehrsitz.norman@student.dhbw-kahlsruhe.de>
2020-08-18 11:06:34 +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
Rosen Penev
c79c7b7cc8 isc-dhcp: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-15 17:37:22 -07: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
215dd8d96f tgt: remove bzero usage
bzero is deprecated and replaced by memset.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-13 21:34:22 -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