Commit Graph

5983 Commits

Author SHA1 Message Date
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
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
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
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
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
Toke Høiland-Jørgensen 81605d8c59 acme: Add dependency on luci-compat for luci-app-acme
Fixes #10564.

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
2019-11-17 16:15:22 +01:00
Christian Lachner 03a7a01f4e haproxy: Update HAProxy to v2.0.9
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-11-17 10:24:27 +01:00
Dirk Brenken 4671a5c2d9 Merge pull request #10562 from dibdot/adblock
adblock: update 3.8.11
2019-11-17 08:42:37 +01:00
Hannu Nyman 8fc4efe3e0 Merge pull request #10561 from Ansuel/nginx
nginx: update to 1.17.5
2019-11-16 21:14:57 +02:00
Dirk Brenken bc299d03f2 adblock: update 3.8.11
* some more init tweaks
* update/cleanup readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-11-16 17:36:08 +01:00
Ansuel Smith 7e20373cde nginx: update to 1.17.5
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-11-16 17:16:00 +01:00
Carey Sonsino 0d5b50c4bf dcwapd: Update init script to use procd
consolidate shell scripts into init script
remove "litter" from uci file
update default UCI values

Signed-off-by: Carey Sonsino <careys@edgewaterwireless.com>
Signed-off-by: Carey Sonsino <csonsino@gmail.com>
2019-11-15 18:06:05 -05:00
Rosen Penev 8892d5f632 Merge pull request #10474 from leonghui/leech
leech: add new package
2019-11-15 14:54:51 -08:00
Jeffery To 47c385eaf9 sysrepo: Remove Lua bindings, build Python bindings in separate package
This change:

* Removes building of Lua bindings. These bindings were already removed
  upstream[1].

* Fixes building of Python bindings:
  * Fix SWIG_DIR path (note that SWIG_VERSION will need to be updated
    whenever the swig package is upgraded)
  * Fix Python module paths and filenames

* Packages the Python bindings in a new package (python3-sysrepo) and
  builds it by default, instead of depending on a config option.

[1]: https://github.com/sysrepo/sysrepo/pull/1429

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-11-16 03:47:00 +08:00
Lucian Cristian df6263b9e6 frr: add missing build options
and some backports in fixing ramips target

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-11-15 21:26:07 +02:00
Dirk Brenken de149441a4 banip: update 0.3.10
* add missing logd dependency
* check if logd is enabled during runtime
* some more init tweaks

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-11-15 16:19:40 +01:00