Commit graph

9055 commits

Author SHA1 Message Date
Florian Eckert
bd10c454f4
Merge pull request #17563 from TDT-AG/pr/20220110-stunnel
stunnel: update to 5.61
2022-01-13 10:32:58 +01:00
Josef Schlehofer
8b2003ba34
Merge pull request #17494 from BKPepe/update-atlas
Atlas SW probe to version 5040 and its busybox version
2022-01-13 10:17:14 +01:00
Nick Hainke
53503c4a3a wg-installer: fix shell typo
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-12 18:58:46 +01:00
Nick Hainke
ee879d3747 wg-installer: allow defining link costs for hotplugs
Add options to set link costs in mesh routing daemons.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-12 17:47:26 +01:00
Tiago Gaspar
98ac608fb8 jool: update to 4.1.6, add init files and default configuration
This commit adds support for starting and running jool through init
scripts, with default config files as examples.

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2022-01-12 04:00:30 -08:00
Rui Salvaterra
72974bed43 tor: bump to 0.4.6.9 stable
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-01-12 01:56:39 -08:00
Sergey V. Lobanov
4b23b2df3b iodine: fix build on macos
redefine TARGETOS=Linux due to OpenWrt is always Linux

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-12 01:56:19 -08:00
Nick Hainke
6a59d41fbf wg-installer: private key as parameter
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-12 01:29:48 +01:00
Pascal Coudurier
f9bbc5173c nut: refactor upssched uci-defaults script
Add checks not to overwrite defaultnotify options in the nut-sendmail-notify fashion.
Use lists for defaultnotify instead of option.
Add check not to overwrite notifycmd if already defined.
upssched-cmd script must not be called directly, it is called by the upssched binary with needed arguments.

Signed-off-by: Pascal Coudurier <coudu@wanadoo.fr>
2022-01-11 16:27:19 -08:00
Pascal Coudurier
0f91594e2a nut: refactor nut-monitor uci config file
Convert notifyflags options to lists as supported by the init script, so multiple options can be chosen.
Add SYSLOG default option to individuals notifyflags instead of deprecated flag 1|0.
Add comment for defaultnotify and individuals notifyflags about possible values.

Signed-off-by: Pascal Coudurier <coudu@wanadoo.fr>
2022-01-11 16:27:19 -08:00
Pascal Coudurier
a46fd908df nut: fix typo in nut-monitor init script
This fixes a typo in the nut-monitor init script when building config file from uci config.

Signed-off-by: Pascal Coudurier <coudu@wanadoo.fr>
2022-01-11 16:27:19 -08:00
Sergey V. Lobanov
366c1b6fa7 lynx: fix build on macos
lynx uses host C-compiler to build internal utility that is used to
generate files required for target build. On MacOS it uses internal
clang with MacOS system headers so host build fails due to MacOS is
not Linux

Forced to use OpenWrt host C compiler using --with-build-*
./configure flags

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-11 16:23:58 -08:00
Hauke Mehrtens
d4b2345802 ntpd: Fix compile with glibc 2.34
This adds a patch from Open embedded to fix compilation with glibc 2.34.
This patch was taken from here:
https://github.com/openembedded/meta-openembedded/blob/master/meta-networking/recipes-support/ntp/ntp/0001-libntp-Do-not-use-PTHREAD_STACK_MIN-on-glibc.patch

It fixes the following build problem:
work_thread.c:45:57: error: missing binary operator before token "("
   45 | #if defined(PTHREAD_STACK_MIN) && THREAD_MINSTACKSIZE < PTHREAD_STACK_MIN
      |                                                         ^~~~~~~~~~~~~~~~~
make[7]: *** [Makefile:892: work_thread.o] Error 1

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-01-11 16:23:00 -08:00
Hauke Mehrtens
1de56f8990 radsecproxy: Fix compile with glibc 2.34
This backports a patch from upstream radsecproxy to fix compilation with glibc 2.34.

It fixes the following build problem:
radsecproxy.h:35:5: error: missing binary operator before token "("
   35 | #if PTHREAD_STACK_MIN > PTHREAD_STACK_SIZE
      |     ^~~~~~~~~~~~~~~~~
make[5]: *** [Makefile:623: dtls.o] Error 1

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-01-11 16:21:19 -08:00
Nick Hainke
8ab044712a wg-installer: generate new keys for every connection
Generate new keys on every new connection.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-12 00:51:08 +01:00
Rui Salvaterra
e636e433c1 stubby: explicitly disable static linking
Although undocumented, there's a way to explicitly disable static linking in
Stubby, setting the CMake build option ENABLE_GETDNS_STATIC_LINK to OFF (ON by
default). Make it so.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-01-11 14:54:25 -08:00
Florian Eckert
9c12900aee
Merge pull request #17535 from hgl/ddns-cloudflare
ddns-scripts-cloudflare: allow explicit zone_id
2022-01-11 16:13:04 +01:00
Nick Hainke
5e8301d7dc wg-installer: fix using symlinks for conf files
It is useful to symlink babeld and olsrd to /tmp/ if we frequently
write to those config files.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-11 00:27:43 +01:00
Noah Meyerhans
2978bc1977 iputils: bump to 20211215
Drop the tftpd binary, which is no longer provided upstream.  Users
should switch to the atftp server as a replacement.

Avoid executing runtime tests, which are not supported in cross-build
environments.

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
2022-01-10 11:18:09 -08:00
Florian Eckert
71467fe5ee stunnel: add new protocol option capwin and capwinctrl
The new protocol capwin and capwinctrl was added in version 5.61
https://www.stunnel.org/NEWS.html

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-01-10 14:52:44 +01:00
Florian Eckert
1e17d3b93c stunnel: update to 5.61
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-01-10 14:37:09 +01:00
Florian Eckert
4e0a711bc2 stunnel: add missing sessionResume option
The option sessionResume was added in version 5.60
https://www.stunnel.org/NEWS.html

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-01-10 14:32:03 +01:00
Jeffery To
15008be5cb
Merge pull request #17341 from erdoukki/fail2ban-2to3
fail2ban: fix 2to3 error
2022-01-10 20:48:03 +08:00
Glen Huang
78ef7d7379 ddns-scripts-cloudflare: allow explicit zone_id
When zone id is explicitly provided, there is no need for the API token to have read permission. Inspired by acme.sh's cloudflare logic.

Signed-off-by: Glen Huang <heyhgl@gmail.com>
2022-01-10 20:44:40 +08:00
Nick Hainke
e6afcf8f3c wg-installer: fix cleanup script
The wrong function was called.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-10 13:32:20 +01:00
Christian Lachner
8891db4a91 haproxy: Update HAProxy to v2.4.10
- Update haproxy download URL and hash
- Updated upstream patches

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2022-01-09 13:50:49 -08:00
Kerma Gérald
b4f48b5c23 crowdsec-firewall-bouncer: update to 0.0.21
Update crowdsec-firewall-bouncer to latest upstream release version 0.0.21

Makefile rework
- use tagged version for download

Fixes
- set API_KEY in firewall bouncer config file

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2022-01-09 13:44:20 -08:00
Sergey V. Lobanov
e660ac3398 krb5: fix build on macos
backport of upstream commit
3c66c1fec7
Original author: Nikhil Benesch <nikhil.benesch@gmail.com>

Remove unnecessary flag in macOS build
The configuration logic for adding the `-search_paths_first` linker
flag on Darwin does not correctly handle cross compilation.  It should
check the value of $krb5_cv_host rather than `uname -s` to detect when
the compilation target is Darwin, rather than the build machine.

It turns out `-search_paths_first` has been the default behavior of ld
on macOS since XCode 4.  So just remove that bit of logic entirely.
(The flag was added in commit acd27af0e845f8b93de2e226cc2ec9ac8af52077
in 2004; XCode 4 was released in 2010.)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-09 13:43:48 -08:00
Matthew Hagan
019501fe44 transmission: add ca_bundle support with procd-ujail
With procd-ujail enabled, it is not possible to use HTTPS URLs, for
example when either for downloading torrent files or blocklists. The
followig example occurs when downloading a URL from the "Upload Torrent
Files" dialogue box:

Error adding
"https://releases.ubuntu.com/21.10/ubuntu-21.10-desktop-amd64.iso.torrent":
gotMetadataFromURL: http error 0: No Response

syslog will also hint that no CA_BUNDLE is being used:

transmission-daemon[6683]: [2021-12-30 20:01:30.990] web will verify
tracker certs using envvar CURL_CA_BUNDLE: none (web.c:455)

This patch rectifies this issue by adding a ca_bundle configurable,
enabled by default. This explicitly fixes the ca_bundle file location
to /etc/ssl/certs/ca-certificates.crt and adds this file to the procd
jail. On subsequent testing, HTTPS URL download functionality is
restored.

Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
2022-01-09 21:18:15 +00:00
Stan Grishin
dd81a4878c curl: update to 7.81.0
* changes: https://curl.se/changes.html#7_81_0

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-01-09 19:51:47 +00:00
Nick Hainke
0e416dadd1 wg-installer: fix typo in cleanup function
The delete variable was misspelled leading to devices always being
removed although they had connected neighbors.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-09 13:33:03 +01:00
Nick Hainke
714b51c630 wg-installer: add cleanup script
Add script to cleanup unused wireguard interfaces.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-09 10:21:44 +01:00
Rosen Penev
e7547d980d Revert "pdns-recursor: temp"
This reverts commit 96e355836d.
2022-01-08 19:06:07 -08:00
Rosen Penev
96e355836d pdns-recursor: temp
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-08 19:05:17 -08:00
Kerma Gérald
2a34e4987b crowdsec: update to 1.2.2
Update crowdsec to latest upstream release version 1.2.2

Makefile rework
- use tagged version for download

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2022-01-08 23:04:44 +01:00
Nick Hainke
4302bfd3c8 wg-installer: fix ipv4 meshing via olsr
The ipv4 address space was not allowed.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-08 22:30:47 +01:00
Kerma Gérald
ad0e1a1c3c fail2ban: fix 2to3 error
Issue: 2to3 support has been removed in setuptools since version 58.0.0.

Fix: openwrt/packages#17311

Requirements: 2to3/host openwrt/packages#17429

Add upstream patch: 196c55e931

To install/build for python3 from source, it is necessary to convert to py3
codebase before setup (invoke 2to3 or ./fail2ban-2to3 firstly).
> ./fail2ban-2to3
> python3 setup.py build

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2022-01-08 20:19:32 +01:00
Josef Schlehofer
a4325bc3b9
Merge pull request #17491 from jefferyto/obfs4proxy-0.0.12
obfs4proxy: Update to 0.0.12
2022-01-07 21:40:56 +01:00
Oleg Derevenetz
8bf6a355d4 bwping: update to version 2.4
Signed-off-by: Oleg Derevenetz <oleg-derevenetz@yandex.ru>
2022-01-07 21:38:10 +01:00
Nick Hainke
98d8680a8c wg-installer: add ipv4 support
Add base_v4prefix to allow ipv4 mesh connections.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-07 08:04:00 +01:00
Josef Schlehofer
3b17fd5b30
Merge pull request #17502 from jefferyto/radicale2-2.1.12
radicale2: Update to 2.1.12
2022-01-06 23:29:24 +01:00
Josef Schlehofer
c1e7bab06a
Merge pull request #17500 from jefferyto/radicale-1.1.7
radicale: Update to 1.1.7
2022-01-06 23:29:10 +01:00
Nick Hainke
d35c22951b wg-installer: add hotplug script for olsr
Add hotplug-olsrd to automatically mesh with olsrd via new wireguard
links.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-06 22:24:08 +01:00
Jeffery To
b37f409146
radicale2: Update to 2.1.12
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-05 19:23:55 +08:00
Jeffery To
8d0018f549
radicale: Update to 1.1.7
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-05 18:48:17 +08:00
Stijn Tintel
7fbc5d4db3 miniupnpd: create iptables and nftables variant
The next OpenWrt stable release aims to use firewall4 by default. As
this uses nftables as backend, miniupnpd will no longer work. Create an
iptables and nftables variant of the miniupnpd package so that miniupnpd
can be used with either firewall variant.

See #16818 for more info.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-01-05 11:00:02 +02:00
Stijn Tintel
23ba57418c Revert "miniupnpd: introduce IGDv1 variant"
Since version 2.2.3, miniupnpd will detect MS clients and force IGDv1.

This reverts commit 7f5534ac7a.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-01-05 11:00:02 +02:00
Shaleen Jain
82010861aa miniupnpc: update to version 2.2.3
Signed-off-by: Shaleen Jain <shaleen@jain.sh>
2022-01-05 08:18:38 +01:00
Shaleen Jain
c2e846dae6 miniupnpd: update to version 2.2.3
Signed-off-by: Shaleen Jain <shaleen@jain.sh>
2022-01-05 08:18:38 +01:00
Josef Schlehofer
cf65ca2db0
atlas-probe: update to version 2.4.1
Removed patches:
001-fix-stime-glibc-remove.patch - it is included in upstream
003-Fix-compilation-with-gcc11.patch - no longer necessary

Updated patches:
002-Avoid-problems-with-64-bit-time_t.patch

Refreshed patches:
004-Comment-out-librt-testing.patch

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-01-04 12:57:42 +01:00