Commit Graph

8046 Commits

Author SHA1 Message Date
Rosen Penev 8003eea2b9 addrwatch: Add missing limits header for PATH_MAX
Fixes compilation on musl.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-27 23:38:35 -08:00
Rosen Penev f0eb182472 Merge pull request #10611 from ldir-EDB0/bumpdns
net/https-dns-proxy: Update to 2019-10-09
2019-11-27 13:50:22 -08:00
Andy Walsh b85a124ff6 cifsd: update to git (2019-11-27), fix reload/restart not applying smb.conf changes
* fix reload/restart not applying luci/smb.conf changes
* remove hotfix for 'read only = no' (fixed by upstream)
* update documentation, example
*cifsd: fix the lost of dos file attributes
*cifsd: store FILE_ATTRIBUTE_SPARSE into xattr
*cifsd: release v2.0.2
*cifsd-tools: add smb.conf.list file to show supported parameters list
*cifsd-tools: set CIFSD_SHARE_FLAG_WRITEABLE flags if read only = no
*cifsd-tools: release cifsd-tools v2.0.2

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2019-11-27 22:11:16 +01:00
Sebastian Kemper 7d4f1b8589 nut: update OpenSSL 1.1.0 patch
Replaces OpenWrt patch with upstream patch. Also removes
0002-Fix-check-for-empty-string.patch as this is included in upstream
OpenSSL 1.1.0 patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-11-27 19:52:30 +01:00
Sebastian Kemper cdd660a41d nut: fix CGI setup
This commit makes

 - the libgd dependency (as well as specifying libs and includes)
 - the configure argument "--with-cgi"

dependant on whether the package nut-web-cgi is selected.

nut-web-cgi is also added to PKG_CONFIG_DEPENDS.

Resolves: #10641

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-11-27 19:42:54 +01:00
Aleksander Morgado 5f11888b12 modemmanager: install common utils in /usr/share/ModemManager
The modemmanager.common file includes several utility functions that
are used in several places like the protocol handler and in hotplug
scripts. These utilities should not be installed in /etc as they're
not configuration.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2019-11-27 09:28:10 +01:00
Aleksander Morgado ecad39fd60 modemmanager: don't flag the 'device' option as 'device' type
Unlike other modem protocol handlers like the ones implemented by uqmi
or umbim, in the modemmanager protocol handler the 'device' option
does not specify a device node in /dev. Therefore, we shouldn't flag
the option as 'device' type (dt_type_device).

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2019-11-27 09:28:10 +01:00
Aleksander Morgado a684cdbab0 modemmanager: fix device unplug handling
When a USB modem device is unplugged, we had to do two different
things: first, cleanup the sysfs cache; and second, set interface as
unavailable.

Those two things were never being done properly due to several
different issues:

 * The parent sysfs path retrieval logic relies on checking for which
 sysfs path has the vid/pid files. This logic obviously only works
 when the device is available, and cannot be used on e.g. removal
 events.

 * The command to cleanup the modem wait status from the sysfs cache
 was not removing the previous state properly, because the sysfs path
 variable wasn't escaped properly for the sed command.

This patch handles those issues in order to have a proper device
removal handling, by making sure the sysfs path is properly escaped in
the sed command, and by introducing a new hotplug script that runs
when the full USB device is removed.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2019-11-27 09:28:10 +01:00
Aleksander Morgado cc4ee2fd3c modemmanager: flag as available and no_device when initializing
Otherwise, if the modem is reseted, netifd will think that the device
is gone forever.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2019-11-27 09:28:10 +01:00
Aleksander Morgado 92781ecc7f modemmanager: add default proto configs
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2019-11-27 09:28:10 +01:00
Rosen Penev 4dbb240c5c Merge pull request #10645 from Andy2244/softethervpn5-9672
softethervpn5: update to 5.01.9672
2019-11-26 14:23:45 -08:00
Sebastian Kemper a08cc5b533 nut: revert 81e6bb7
gdlib pc file doesn't set a version, so "pkg-config --modversion gdlib"
returns nothing. Also, the test

  if test "$?" != "0" -a -n "${GD_VERSION}"; then

is wrong as pkg-config wouldn't return != 0 on success.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-11-26 21:16:47 +01:00
Andy Walsh a6054083dd softethervpn5: update to 5.01.9672
* 5.01.9672 release
* Cedar: handle UDP acceleration and R-UDP versions
* Mayaqua: implement R-UDP version 2, powered by ChaCha20-Poly1305
* Cedar: implement UDP acceleration version 2, powered by ChaCha20-Poly1305
* Cedar: serve new web management interface
* Cedar: implement detailed protocol info
* Mayaqua: add Windows Server 2019 to the supported operating systems list
* Cedar: various fixes
* Cedar: add "DisableIPsecAggressiveMode" option
* Make install dir for unit files configurable
* Protocol.c: adapt ClientConnectGetSocket() for new proxy functions
* Wpc.c: adapt WpcSockConnectEx() for new proxy functions
* Protocol: add ProxyCodeToCedar()
* Move generic proxy stuff from Cedar to Mayaqua
* Proto_OpenVPN.c: improve OvsProcessData(), fix out-of-bounds access found by Coverity
* Proto_OpenVPN.c: fix segmentation fault in OvsProceccRecvPacket()
* Addressing the UDP reflection amplification attack: https://github.com/SoftEtherVPN/SoftEtherVPN/issues/1001
* Mayaqua.h: include <stdarg.h> for "va_list" on Illumos
* Protocol.c: fix bug in ClientConnectGetSocket() causing custom HTTP header not to work
* Mayaqua: move HTTP functions from "Network" to "HTTP"
* Move GetMimeTypeFromFileName() and related structure to Mayaqua
* Mayaqua.h: include <stdio.h> for "FILE"
* Mayaqua.h: include <stddef.h>, for "wchar_t"
* Bump mixin-deep in /src/bin/hamcore/wwwroot/admin/default
* - Fixed the problem occurs when RPC messages between Cluster Members exceed 64Kbytes. - Fixed the RADIUS PEAP client to use the standard TLS versioning. - Implementation of a function to fix the MAC address of L3 VPN protocol by entering e.g. "MAC: 112233445566" in the "Notes" field of the user information. - Implementation of a function to fix the virtual MAC address to be assigned to the L3 VPN client as a string attribute from RADIUS server when authentication.
* Updating built-in Win32 libraries - OpenSSL 1.1.1 -> 1.1.1d - zlib 1.2.3 -> 1.2.11
* Update strtable_cn.stb
* Avoid using hardcoded paths in log file enumeration
* Fix buffer overflow during NETBIOS name resolution
* Update SEVPN.sln
* Create strtable_pt_br.stb
* ci: display error if vpntest failed
* Fix several compile warnings on MS VC++ 2008.
* Enables crash minidump for Win32 vpntest. Minidump files will be saved to the 'C:\Users\<username>\AppData\Local\Temp\vpn_debug' (for normal user) or 'src\bin\vpn_debug\' (for administrator user).
* OpenVPN: use new protocol interface
* Add interface for easy protocol implementation
* add "no-deprecated" to openssl builds "no-deprecated" is widely used in openwrt devices
* Fix LibreSSL support
* Switch to OpenSSL THREADID API
* travis-ci: update openssl, libressl
* enable sonar-scan in travis-ci builds
* Virtual: fix race condition in DHCP server which resulted in multiple clients receiving the same IP
* Mayaqua: Fix compilation without deprecated OpenSSL APIs
* Mayaqua: Replace GNU specific sys/poll.h header with POSIX poll.h
* systemd: replace deprecated CAP_SYS_ADMIN with CAP_SYSLOG

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2019-11-26 15:14:25 +01:00
Paul Fertser a8fa557cd5 strongswan: allow to specify per-connection reqid with UCI
This is useful to assign all traffic to a fw3 zone, e.g.:

/etc/config/ipsec:

config remote 'test'
	list tunnel		'dev'
...

config 'tunnel' 'dev'
	option reqid		'33'
...

/etc/config/firewall:

config zone
	option name		wan
	option extra_src	"-m policy --pol none --dir in"
	option extra_dest	"-m policy --pol none --dir out"
...

config zone
	option name		vpn
	# subnet needed for firewall3 before 22 Nov 2019, 8174814a
	list subnet		'0.0.0.0/0'
	option extra_src	"-m policy --pol ipsec --dir in --reqid 33"
	option extra_dest	"-m policy --pol ipsec --dir out --reqid 33"
...

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2019-11-26 15:27:54 +03:00
Andy Walsh 67e529da18 cifsd-tools: update to git (2019-11-25)
* cifsd-tools: fix Assignment of a signed value which has type 'long'
* init: convert hide_dot_files to yes/no option
* 'read only = no' seems bugged for cifsd/smb.conf, so fix via 'writeable = yes'

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2019-11-25 17:11:46 +01:00
Rosen Penev 6d9ee2ec86 transmission: Disable webseeding
It causes 100% CPU usage in certain situations. Just disable it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-24 19:01:58 -08:00
William Fleurant be4fe496ce yggdrasil: bump to 0.3.12
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2019-11-24 19:18:53 -05:00
Hannu Nyman c6a8853c0d Merge pull request #10519 from BKPepe/git
git: Update to version 2.24.0
2019-11-24 15:49:42 +02:00
Rosen Penev 2707a95d31 clamav: Shellcheck fixes
Fix SC2129

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-23 18:55:22 +01:00
Josef Schlehofer c7ad27ebbd clamav: Update to version 0.101.4
Change deprecated options to a new one:
DetectBrokenExecutables to AlertBrokenExecutables
ArchiveBlockEncrypted to AlertEncrypted

Fixes: CVE-2019-12900 and CVE-2019-12625

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-11-23 18:55:22 +01:00
Dirk Brenken 219abdc5a1 adblock: update 3.8.12
* fix possible dns restart issue with DNS File Reset (race condition)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-11-23 13:44:54 +01:00
Rosen Penev 9d57b11e44 Merge pull request #10616 from Andy2244/samba4-22-11-2019
samba4: add UCI option 'disable_async_io'
2019-11-22 08:33:45 -08:00
Rosen Penev a47004dfbb Merge pull request #10615 from Andy2244/cifsd-22-11-2019
cifsd: update to git (2019-11-22)
2019-11-22 08:27:20 -08:00
Andy Walsh ec3225b495 samba4: add UCI option 'disable_async_io'
* add UCI option 'disable_async_io'
* remove [homes] options

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2019-11-22 13:54:24 +01:00
Andy Walsh 5c2706a9ad cifsd: update to git (2019-11-22)
* cifsd: fix uninitialized fp could be freed
* cifsd: fix potential uninitialized spnego_blob could be freed
* cifsd: smbd: replace spinlock_irqsave with spinlock
* cifsd: smbd: avoid the lack of client's send credits
* cifsd-tools: add version generation script
* cifsd-tools: do not abbrev git describe
* cifsd-tools: use 'unknown' version string if git describe fails

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2019-11-22 13:43:17 +01:00
Chao Liu c233165fe0 kcptun: bump to v20191112
Signed-off-by: Chao Liu <expiron18@gmail.com>
2019-11-22 14:29:51 +08:00
Kevin Darbyshire-Bryant 0b30945de0 net/https-dns-proxy: Update to 2019-10-09
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2019-11-21 21:05:44 +00:00
Florian Eckert 58010dbd88 Merge pull request #10547 from zhoreeq/yggdrasil_uci
yggdrasil: Change package configuration to UCI
2019-11-21 20:01:12 +01:00
Rosen Penev fa0ef9c189 Merge pull request #10605 from rs/nextdns-1.1.5
nextdns: Update version 1.1.5 + add per host config option
2019-11-21 09:35:38 -08:00
Rosen Penev 82d4a10fe8 Merge pull request #10608 from ja-pa/bind-9.14.8
bind: update to version 9.14.8 (security fix)
2019-11-21 09:34:29 -08:00
George Iv 6857fd45c8 yggdrasil: Change package configuration to UCI
Signed-off-by: George Iv <57254463+zhoreeq@users.noreply.github.com>
2019-11-21 11:15:29 -05:00
Jan Pavlinec 46ca2c79ca bind: update to version 9.14.8 (security fix)
Fixes CVE-2019-6477

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-11-21 13:14:23 +01:00
Olivier Poitrey 8619255463 nextdns: Update version 1.1.5 + add per host config option
* Update nextdns to version 1.1.5 which adds IPv6 dual stack support.
* Add the ability to configure per host configuration id from uci.

Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2019-11-21 02:41:28 -08:00
Josef Schlehofer 24667753a2 unbound: Update to version 1.9.5
Fixes CVE-2019-18934

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-11-21 09:01:56 +01:00
Rosen Penev dfe3924f33 Merge pull request #10583 from neheb/cif
cifs-utils: Add smbinfo utility
2019-11-20 16:48:51 -08:00
Rosen Penev 09ac44a5b7 Merge pull request #10587 from Payne-X6/master
knot: update to version 2.9.1
2019-11-19 11:13:05 -08:00
Dirk Brenken 760c3a2240 Merge pull request #10581 from dibdot/travelmate
travelmate: update 1.5.3
2019-11-19 08:31:50 +01:00
Rosen Penev fea1468506 cifs-utils: Add smbinfo utility
Switched to PKG_INSTALL for simplicity.

Added PKG_BUILD_PARALLEL for faster compilation.

Added InstallDev section.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-18 15:21:13 -08:00
Dirk Brenken 05c3153bb7 travelmate: update 1.5.3
* some init tweaks
* use the usual wifi wrapper for reloads
* compatibility fix for latest wifi-related changes
  in master (dynamic wireless radio reconfiguration)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-11-18 19:28:23 +01:00
Jan Hak 559672d6b0 knot: update to version 2.9.1
Signed-off-by: Jan Hak <jan.hak@nic.cz>
2019-11-18 17:13:17 +01:00
Florian Eckert 0150459a78 Merge pull request #10538 from TDT-AG/pr/20191113-mwan3
mwan3: add https ping possibility and a minor fix
2019-11-18 09:28:48 +01:00
Florian Eckert 6d638c3e23 mwan3: change license to SPDX compatible identifier
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-11-18 09:26:51 +01:00
Petr Štetiar 8383c19b90 treewide: fix service status command in procd compatible services
Fix breaking change introduced in the main tree with a commit
7519a36774ca ("base-files,procd: add generic service status") where the
old service `status` callback function doesn't work anymore and needs to
be renamed to `status_service`.  This name was chosen for consistency
with start and stop function callbacks, which are using `start_service`
and `stop_service` naming schemes.

While at it, fix whitespace issues in the status_service as well.

Ref: http://lists.infradead.org/pipermail/openwrt-devel/2019-September/019035.html
Reported-by: Dirk Brenken <dev@brenken.org>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-11-18 06:28:57 +01:00
Rosen Penev e027b47069 Merge pull request #10545 from lucize/frrup
frr: add missing build options
2019-11-17 18:07:47 -08:00
Rosen Penev d8c0baaf9e Merge pull request #10546 from TDT-AG/pr/20191114-xtables-addons
xtables-addons: disable ASLR PIE
2019-11-17 17:53:17 -08:00
Rosen Penev 6ca10a0865 Merge pull request #10551 from aleksander0m/aleksander/mm-fix-any-ip-type
modemmanager: fix 'any' iptype setting
2019-11-17 17:52:58 -08:00
Rosen Penev 0cb776a2e2 Merge pull request #10566 from rs/nextdns-1.1.3
nextdns: update to 1.1.3
2019-11-17 17:52:24 -08:00
Olivier Poitrey 06b649555e nextdns: update to 1.1.3
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2019-11-17 17:41:30 -08:00
Rosen Penev 0023ac151d Merge pull request #10544 from ewsi/dcwapd-procd
dcwapd: Update init script to use procd
2019-11-17 14:14:40 -08:00
Hannu Nyman 5a334383a8 Merge pull request #10571 from gladiac1337/haproxy-2.0.9
haproxy: Update HAProxy to v2.0.9
2019-11-17 19:25:15 +02:00