Commit graph

11167 commits

Author SHA1 Message Date
Christian Marangi
cb1f7c7ee4
aircrack-ng: backport patch and move package to pcre2
Backport patch merged upstream for PCRE2 support and move package to
pcre2.

Also add an additional patch pending to fix linking both pcre and pcre2
if autotools detect both library. (aircrack-ng prefer pcre2 in presence
of both)

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-10-01 00:45:06 +02:00
Christian Marangi
41922f33b5
aircrack-ng: bump to release 1.7
Bump aircrack-ng to release 1.7

Changelog from [1]

Airdecap-ng: Endianness fixes
Airdecap-ng: Output PCAP as little endian
Airodump-ng: Fixed blank encryption field when APs have TKIP (and/or CCMP) with WPA2
Airodump-ng: Updated encryption filter (-t/--encrypt) for WPA3 and OWE
Airodump-ng: Fixed out-of-order timestamp captures
Airodump-ng: Ignore NULL PMKID
Airodump-ng: Fixed dropping management frames with zeroed timestamp
Airodump-ng: Fixed sorting where sometimes it started with a different field
Airodump-ng: Allow setting colors only in AP selection mode
Airodump-ng: Fix crash on 4K Linux console
Airodump-ng: Fixed issue where existing clients not linked to an AP become hidden when hitting 'o'
Airodump-ng: Allow use of WiFi 6E 6GHz frequencies
Airodump-ng: Look for oui.txt in /usr/share/hwdata
Airgraph-ng: Fixed graphviz package conflict
Airgraph-ng: Fixed downloading OUI with python3
Airgraph-ng: Ensure support/ directory is created when installing
Aircrack-ng: Fixed static compilation
Aircrack-ng: Fix handshake replay counter logic
Aircrack-ng: Handle timeout when parsing EAPOL
Aircrack-ng: Fixed WEP display
Aircrack-ng: Fixed spurious EXIT messages
Aircrack-ng: Improved handshake selection by fixing EAPOL timing and clearing state
Aircrack-ng: Ignore NULL PMKID
Aircrack-ng: Added Apple M1 detection
Aireplay-ng: In test mode, detect tampering of sequence number by firmware/driver
Aireplay-ng: Fixed incorrectly rewritten loops affecting fragmentation attack, and in some cases, SKA fake auth
Aireplay-ng: Fixed a bunch of instances where packets had their duration updated instead of the sequence number
Airmon-ng: Fix avahi killing
Airmon-ng: rewrite service stopping entirely
Airmon-ng: Codestyle fixes and code cleanup
Airmon-ng: Added a few Raspberry Pi hardware revisions
Airmon-ng: Fixes for 8812au driver
Airmon-ng: Fix iwlwifi firmware formatting
Airmon-ng: Remove broken KVM detection
Airmon-ng: Show regdomain in verbose mode
Airmon-ng: Updated Raspberry Pi hardware revisions
Airmon-ng: Document frequency usage
Airmon-ng: Add a sleep to help predictable names due to udev sometimes renaming interface
Airmon-ng: Added warning for broken radiotap headers in kernel 5.15 to 5.15.4
Airmon-ng: shellcheck fixes
Airmon-ng: support systemctl as some systems don't support 'service' anymore
Airmon-ng: Fixes for pciutils 3.8, backward compatible
Airbase-ng: use enum for frame type/subtype
Airbase-ng: remove a few IE in association responses
Besside-ng: Support and detect all channels in 5GHz in Auto-Channel mode
OSdep: Search additional IE for channel information
OSdep: Android macro fixes
Patches: Add missing patches that were on https://patches.aircrack-ng.org but not in repo
Patches: Updated freeradius-wpe patch for v3.2.0
Patches: Updated hostapd-wpe patch for v2.10
Patches: Added docker containers to test WPE patches
Autotools: make dist now creates VERSION file
Autotools: Added maintainer mode
Autotools: Initial support for Link Time Optimization (LTO) builds
Integration tests: Added a new test, and improved some existing ones
Airgraph-ng: switch airodump-join to Python 3
Manpages: Fixes (typos, tools name, etc.) and improvements
README: Updated dependencies and their installation on various distros in README.md and INSTALLING
README: Fixed typos and spelling in README.md and INSTALLING
Packages: Packages on PackageCloud now support any distro using .deb and .rpm, however, it requires reinstalling repo (BREAKING CHANGE)
General: Fix compilation with LibreSSL 3.5
General: Fix issues reported by Infer
General: Updated buildbots
General: Add Linux uclibc support
General: Compilation fixes on macOS with the Apple M1 CPU
General: Removed TravisCI and AppVeyor
General: Use Github Actions for CI (Linux, Win, macOS, code style, and PVS-Studio)
General: Added vscode devcontainer and documentation
General: Fix warnings from PVS-Studio and build with pedantic (See PR2174)
General: Shell script fixes thanks to shellcheck
General: Fixes for GCC 10 and 11
General: Fixed cross-compilation
General: Code refactoring, deduplication, cleanup, and misc code improvements
General: Coverity Scan fixes, which includes memory leaks, race conditions, division by 0, and other issues
General: PVS Studio improvements,fixes and updates
General: Code formatting/style fixes
General: Various fixes and improvements (code, CI, integration tests, coverity)
General: Update bug reporting template and update the process

[1] https://aircrack-ng.blogspot.com/2022/05/aircrack-ng-17.html
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-10-01 00:43:21 +02:00
Christian Marangi
daf29ecbb2
net-snmp: move to PCRE2 library
Add upstream patch adding support for pcre2 and update dependency to
require libpcre2 instead of libpcre.

--with-pcre2-8 is now needed to exclude support for pcre and only
require pcre2 as net-snmp still use and try to use pcre by default.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-30 20:30:31 +02:00
Stan Grishin
002ff0dd11
Merge pull request #22241 from stangri/master-adblock-fast
adblock-fast: better error reporting when nothing to do
2023-09-29 12:00:13 -06:00
abfb9d4637
Merge branch 'openwrt:master' into master 2023-09-29 18:30:28 +05:30
Josef Schlehofer
52def58084 kismet: drop the package
This package is no longer maintained in OpenWrt even though it is maintained by upstream.
The last update was done in August 2016 and because we have 2023, drop this package
without replacement.

If anyone from the community wants to step in and retake the maintainership together with the update,
feel free to do it.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-09-29 08:17:42 +02:00
7dd664d10c
Merge branch 'openwrt:master' into master 2023-09-29 07:12:38 +05:30
Stan Grishin
ed6729c251 adblock-fast: better error reporting when nothing to do
* also nicer file type output in high verbosity

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-09-28 21:31:35 +00:00
Rosen Penev
5958fd068f openthread-br: fix actually building
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-09-28 13:08:38 -07:00
Rosen Penev
e0c85eb485 mdnsresponder: move libdns_sd into own directory
Prevents conflicts with avahi, which is better maintained.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-09-28 13:08:38 -07:00
Stan Grishin
90d12de8fc
Merge pull request #22221 from stangri/master-adblock-fast
adblock-fast: bugfix: better detect ABP lists
2023-09-27 21:35:46 -06:00
Florian Eckert
000fa810f0 stunnel: update version to 5.71
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-09-27 16:37:19 -07:00
Noah Meyerhans
835b105151 bind: bump to 9.18.19
Fixes CVEs:

CVE-2023-3341 - Previously, sending a specially crafted message over the
control channel could cause the packet-parsing code to run out of available
stack memory, causing named to terminate unexpectedly.

CVE-2023-4236 - A flaw in the networking code handling DNS-over-TLS queries
could cause named to terminate unexpectedly due to an assertion failure under
significant DNS-over-TLS query load.

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
2023-09-27 16:00:56 -07:00
Zephyr Lykos
eeb1e0f057 tailscale: Update to 1.50.0
Signed-off-by: Zephyr Lykos <git@mochaa.ws>
2023-09-27 11:14:21 -07:00
Christian Marangi
d14fe0c51c apache: move to PCRE2
Move apache to PCRE2 now that PCRE is flagged EOL and won't receive any
security update.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-27 11:10:45 -07:00
Christian Marangi
86f9af41c1 apache: bump to release 2.4.57
Bump apache to release 2.4.57 and refresh patch automatically.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-27 11:10:45 -07:00
Wojciech Dubowik
2c6add78b4 linuxptp: Bump to version 4.1
From release notes:
"This release is the first of our regular quarterly releases.
It includes a new feature (multi-domain synchronization for phc2sys)
and several minor bug fixes. Users are encouraged to upgrade."

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@westermo.com>
2023-09-27 11:09:55 -07:00
Christian Marangi
f81a1a1212
atftp: move to PCRE2
Move atftp to PCRE2 as PCRE is flagged as EOL and won't receive security
updates anymore.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-27 19:11:57 +02:00
Christian Marangi
364fe00b17
atftp: bump to release 0.8.0
Bump to release 0.8.0. Autorecong is now needed to correctly compile the
package.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-27 19:11:56 +02:00
John Audia
c17a97ee35 snort3: update to 3.1.71.0
Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

   ,,_     -*> Snort++ <*-
  o"  )~   Version 3.1.71.0
   ''''    By Martin Roesch & The Snort Team
           http://snort.org/contact#team
           Copyright (C) 2014-2023 Cisco and/or its affiliates. All rights reserved.
           Copyright (C) 1998-2013 Sourcefire, Inc., et al.
           Using DAQ version 3.0.12
           Using LuaJIT version 2.1.0-beta3
           Using OpenSSL 3.0.11 19 Sep 2023
           Using libpcap version 1.10.4 (with TPACKET_V3)
           Using PCRE version 8.45 2021-06-15
           Using ZLIB version 1.2.13
           Using Hyperscan version 5.4.2 2023-09-23

Signed-off-by: John Audia <therealgraysky@proton.me>
2023-09-27 18:57:36 +02:00
Matthias Schiffer
496f17607c
Merge pull request #22194 from neocturne/ovs-master
openvswitch: disable groff manpage check
2023-09-27 18:12:06 +02:00
Florian Eckert
56111297af modemmanger: bump PKG_RELEASE
The PKG_RELEASE was not incremented during the last merge, the commit shows
that it is incremented by one, but this was already done during the last
change. Very strange. Hence this commit which increments PKG_RELEASE by
one.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-09-27 15:56:49 +02:00
Florian Eckert
5c63540762
Merge pull request #21993 from osedl/pr/20230901-modemmanager-hardcoded-proto
modemmanager: Remove hardcoded proto check
2023-09-27 13:39:02 +02:00
Matthias Schiffer
0a3e5dd122 tunneldigger: set PKG_SOURCE_DATE
opkg requires monotonically increasing version numbers to know which
version of a package is newer. As git commit IDs do not satisfy this
condition, PKG_SOURCE_DATE must be set to the date of the referenced
commit, resulting in the complete version number '2021-03-08-4f72b305-1'.

As the source date also becomes part of the paths inside the download
archive, the source hash must be updated as well.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2023-09-27 09:19:19 +02:00
Matthias Schiffer
21dd77f6c4 tunneldigger: add group option to UCI config
The group can be used for policy routing and similar purposes.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2023-09-27 09:19:19 +02:00
Stan Grishin
cfe85fbde3 adblock-fast: bugfix: better detect ABP lists
* bugfix: better detect ABP lists
* update Makefile with BUSYBOX features dependencies
* update the type of dnsmasq_instance setting
* add error message when file type can't be detected
* add reporting when file type can't be detected
* bugfix: include URL on errors related to URL processing/parsing
* rename resolver function to resolver_config to better reflect its use

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-09-26 22:48:37 +00:00
Florian Eckert
f9403708f3
Merge pull request #22158 from TDT-AG/pr/20230920-mwan3
mwan3: update ubus and status view
2023-09-26 12:54:31 +02:00
Christian Marangi
b738e42c4d nginx-util: move to pcre2
Convert to pcre2 library as pcre is EOL. No functional change intended.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-25 14:41:54 -07:00
Christian Marangi
5c1bcb6133
treewide: add HAS_LUAJIT_ARCH dependency to luajit user
Add HAS_LUAJIT_ARCH dependency to any user of luajit to fix circular
dependency limitation.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-25 17:42:02 +02:00
39669ff1d5
Merge branch 'openwrt:master' into master 2023-09-25 14:49:18 +05:30
Michal Hrusecky
1a3a85aa30 samba4: update to 4.18.6
Fixes various security issues. For detailed history see:

* https://www.samba.org/samba/history/samba-4.18.6.html
* https://www.samba.org/samba/history/samba-4.18.5.html
* https://www.samba.org/samba/history/samba-4.18.4.html
* https://www.samba.org/samba/history/samba-4.18.3.html
* https://www.samba.org/samba/history/samba-4.18.2.html
* https://www.samba.org/samba/history/samba-4.18.1.html

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2023-09-23 19:15:08 -07:00
Liangbin Lian
2311e79218 transmission: fix depends on libmbedtls
If a firmware build with curl without mbedtls, install transmission from openwrt official repo will fail to start

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2023-09-23 18:48:31 -07:00
S. Brusch
7528bf7682 crowdsec: new upstream release version 1.5.4
Update crowdsec to latest upstream release version 1.5.4

Signed-off-by: S. Brusch <ne20002@gmx.ch>

Maintainer: Kerma Gérald <gandalf@gk2.net>
Build tested: package build checked, no run test due to limited space

Description: update to latest version of upstream
2023-09-23 18:45:10 -07:00
Alexander Couzens
e97f763a72 net/iperf3: assign PKG_CPE_ID
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2023-09-23 18:43:58 -07:00
Alexander Couzens
85a9ea33ec net/iperf: assign PKG_CPE_ID
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2023-09-23 18:43:58 -07:00
0e93325da8
Merge branch 'openwrt:master' into master 2023-09-24 04:21:45 +05:30
Matthias Schiffer
db34f33cc7
openvswitch: disable groff manpage check
The openvswitch build trips over a number of warnings during the
manpage-check step if groff 1.23 is installed on the build host,
resulting in a failed build.

As this check is optional, and we don't even install the manpages, simply
override the groff configure check to never detect groff.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2023-09-23 18:10:30 +02:00
Dengfeng Liu
5b3e517be4 apfree-wifidog: Update to v6.08.1950
Fixed some memory leak bug

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2023-09-23 23:56:56 +08:00
Tyler Young
992807ca35 tailscale: update to version 1.48.2
Release notes:
https://github.com/tailscale/tailscale/releases/tag/v1.48.2

Signed-off-by: Tyler Young <git@yfh.addy.io>
2023-09-23 17:49:13 +02:00
Tianling Shen
eb711e2eb2
dnslookup: Update to 1.10.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-23 22:48:27 +08:00
Tianling Shen
830552b624
dnsproxy: Update to 0.55.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-23 22:48:16 +08:00
Dengfeng Liu
6cd80e0727 xfrpc: update to version 2.9.644
Release notes:
https://github.com/liudf0716/xfrpc/releases/tag/2.9.644

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2023-09-23 12:17:45 +08:00
Christian Marangi
4374c3250f
uwsgi: add experimental pcre2 patch and drop pcre
Add experimental pcre2 patch and drop pcre in favor of pcre2 library.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-22 20:14:34 +02:00
Christian Marangi
94ded8ff31
uwsgi: bump to release 2.0.22
Bump to release 2.0.22 to make it easier to apply patch for pcre2
support.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-22 20:14:31 +02:00
Christian Marangi
0e0b90812a
nginx: switch to real name for Ansuel maintainer
Switch to real name for Ansuel maintainer and drop nickname.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-22 15:54:02 +02:00
Christian Marangi
30b85f4954
nginx: bump naxsi module to latest git HEAD
Bump naxsi module to latest git HEAD to fix compilation error with pcre2
library.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-22 15:47:44 +02:00
Christian Marangi
f0754531c4
nginx: move to PCRE2
Move nginx to PCRE2 now that lua modules supports it.
nginx ebaled PCRE2 by default so we simply revert the config to revert
it.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-22 14:55:02 +02:00
Christian Marangi
6bba36078e
nginx: add patches to lua modules for experimental PCRE2 support
Add patches to lua modules for experimental PCRE2 support.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-22 14:55:02 +02:00
Christian Marangi
fa1001268c
nginx: update lua modules to latest git HEAD
Update lua modules to latest git HEAD to prepare for support for PCRE2
patches.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-22 14:55:02 +02:00
Javier Marcet
266be55d55
nginx: add required modules for Openresty lua module
Add nginx-mod-lua-resty-core and nginx-mod-lua-resty-lrucache new module
required for the lua module to correctly works.

The module are based on luajit2 from Openresty.

Signed-off-by: Javier Marcet <javier@marcet.info>
[ improve commit description/tile and fix redundant dependency ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-22 14:55:01 +02:00
Tiago Gaspar
7a585741e4 nginx: brotli: update to the latest version
Update brotli to the latest version.

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2023-09-22 13:16:27 +02:00
Tiago Gaspar
c3c5018742 nginx: update nginx to 1.25.2
Update nginx to the latest version.
This brings mainly fixes to HTTP/3 (QUIC).

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2023-09-22 13:16:27 +02:00
Darryl Sokoloski
41c9155a80 netifyd: Updated to v4.4.7
Bug Fixes

- Fixed mbedTLS crashes and TLS handshake errors when the nDPI-bundled libgcrypt "lite" version conflicts with the system version (via libcurl).
- Fixed linking order issue with libini.
- Fixed non-portable static linking warning with libndpi.
- Write flows to sockets regardless if "add_flows" is true.
- Fixed compilation error if _DIRENT_HAVE_D_RECLEN isn't defined.
- Fixed Agent path.
- [OpenWrt] Switch to "grep -E" as "egrep" is deprecated.
- Fixed possible ndAddr crash: return a const reference for cached strings.

Signed-off-by: Darryl Sokoloski <darryl@sokoloski.ca>
2023-09-22 09:23:26 +08:00
Matthias Schiffer
ac897e05dd
fastd: update repository URL
I've changed my username to neocturne.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2023-09-20 21:01:01 +02:00
Florian Eckert
f021b9416b mwan3: refactoring mwan3_report_iface_status output
The tracking and interface status was mixed up in the report. To fix
this, the interface status and the tracking status are now used
directly. The online, uptime and error information are appended to the
status line if needed. If certain routing tables and routing rules are
missing, the error number is also given.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-09-20 16:10:34 +02:00
Florian Eckert
002439594c mwan3: also show tracker state via ubus
The tracker state is not shown via ubus. Only if the tracker was in
active state, then the boolean running was set or not. By adding the
tracking state to the ubus information we could also evaluate the state
of the tracker. To remain compatible, the runnig flag of the tracker is
not removed, which in fact displays the same information, but only if
the tracker is in state 'active' or not.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-09-20 16:10:06 +02:00
Florian Eckert
28e058e92f mwan3: rename tracking state from 'not enabled' to 'disabled'
The expression 'disabled' is more meaningful than 'not enabled' and can
therefore be better processed in the ubus output, since it is only one
word.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-09-20 16:05:13 +02:00
Florian Eckert
4f59c248e0 mwan3: remove notracking in mwan3track ubus status
The function 'get_mwan3_status' is reading the internal state from the
tracker via the status file. Do not use the state 'notracking' status
anymore. If the mwan3track is not running always return 'unknown'
and not 'notracking'. There is already an other function that evaluates
the external state of the tracker.

We have now the following states of the tracker:
internal (mwan3track):
- offline
- online
- diconnecting
- connecting
- disabled
- unknown

external (via pgrep and config):
- paused
- active
- down
- not enabled

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-09-20 16:05:08 +02:00
Josef Schlehofer
6a8d3565f0 bind: update to version 9.18.18
Release notes:
https://downloads.isc.org/isc/bind9/9.18.18/doc/arm/html/notes.html#notes-for-bind-9-18-18
https://downloads.isc.org/isc/bind9/9.18.17/doc/arm/html/notes.html#notes-for-bind-9-18-17

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-09-20 06:23:25 -07:00
8bba75cb39
Merge branch 'openwrt:master' into master 2023-09-19 17:24:03 +05:30
Jan Hák
2a6dc24882 knot: update to version 3.3.1
Signed-off-by: Jan Hák <jan.hak@nic.cz>
2023-09-19 13:13:56 +02:00
Tianling Shen
1b75de7e5c
rclone: Update to 1.64.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-19 09:58:18 +08:00
Philip Prindeville
2faa29c550 isc-dhcp: Allow per-subnet domain names
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-09-17 14:28:10 -06:00
Philip Prindeville
4590decf5b isc-dhcpd: Generate correct delimiter in hex strings
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-09-17 14:28:10 -06:00
Leo Douglas
8a223d4724 iperf3: update to 3.15
see changelog: https://github.com/esnet/iperf/releases/tag/3.15.

Signed-off-by: Leo Douglas <douglarek@gmail.com>
2023-09-17 07:38:54 +02:00
Stan Grishin
22d21e28a7 https-dns-proxy: improve boot up startup
Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-09-16 23:45:20 +00:00
Stan Grishin
3653eb3d4a
Merge pull request #22118 from stangri/master-adblock-fast
adblock-fast: bugfix: remove domains on allow
2023-09-16 16:43:31 -07:00
Oskari Rauta
75064f1bf7 aardvark-dns: update to 1.7.0
Changelog: https://github.com/containers/aardvark-dns/compare/v1.6.0...v1.7.0

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-09-16 21:43:46 +08:00
Oskari Rauta
efb06993d7 netavark: update to 1.7.0
Changelog: https://github.com/containers/netavark/compare/v1.6.0...v1.7.0

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-09-16 21:43:27 +08:00
Stan Grishin
bce310bfcd adblock-fast: bugfix: remove domains on allow
* fix sed command to properly remove allowed domains from block-file

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-09-16 13:13:49 +00:00
Stan Grishin
6105cb2752
Merge pull request #22109 from BKPepe/curl-update
curl: update to version 8.3.0
2023-09-16 03:25:03 -07:00
Josef Schlehofer
07c0a5eab8 curl: update to version 8.3.0
Release notes:
https://curl.se/changes.html#8_3_0

Fixes:
CVE-2023-38039 [1]

[1] https://curl.se/docs/CVE-2023-38039.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-09-16 11:23:06 +02:00
90cd3ae75d
Merge branch 'openwrt:master' into master 2023-09-16 00:22:00 +05:30
Olivier Poitrey
66b72b6db3 nextdns: Update to version 1.40.1
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2023-09-15 23:41:21 +08:00
Tianling Shen
c1fbf1f419
Merge pull request #22104 from douglarek/zt
zerotier: update to 1.12.2
2023-09-15 23:41:05 +08:00
Josef Schlehofer
536569ca62 dnscrypt-proxy2: update to version 2.1.5
Fixes compilation with Go 1.21+.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-09-15 10:23:20 +02:00
Leo Douglas
0343dffefa
zerotier: update to 1.12.2
see changelog: https://github.com/zerotier/ZeroTierOne/releases/tag/1.12.2.

Signed-off-by: Leo Douglas <douglarek@gmail.com>
2023-09-15 10:17:57 +08:00
Leo Douglas
b76a0d6aa6 sing-box: update to 1.4.3
see changelog: https://github.com/SagerNet/sing-box/releases/tag/v1.4.3

Signed-off-by: Leo Douglas <douglarek@gmail.com>
2023-09-15 09:50:14 +08:00
Tyler Young
ccde8d18a1 tailscale: set nftables as default
This changes the default firewall method used by Tailscale to nftables.
The 'autodetection' mode is only supported by arm64 and amd64 for now[1].
This causes mips devices to not do proper detection and incorrectly default back to
iptables.

I added a fw_mode variable to the tailscale.conf file that could be
set to iptables for easy conversion for someone still using iptables.
I was able to test on an older mips device and my current aarch64
without issues.

Also a few readme updates to bring it up to the current status.

1. dc7aa98b76/util/linuxfw/linuxfw_unsupported.go (L4C58-L4C58)

Signed-off-by: Tyler Young <git@yfh.addy.io>
2023-09-15 09:49:47 +08:00
John Audia
633950a384 snort3: update to 3.1.70.0
Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

   ,,_     -*> Snort++ <*-
  o"  )~   Version 3.1.70.0
   ''''    By Martin Roesch & The Snort Team
           http://snort.org/contact#team
           Copyright (C) 2014-2023 Cisco and/or its affiliates. All rights reserved.
           Copyright (C) 1998-2013 Sourcefire, Inc., et al.
           Using DAQ version 3.0.12
           Using LuaJIT version 2.1.0-beta3
           Using OpenSSL 3.0.10 1 Aug 2023
           Using libpcap version 1.10.4 (with TPACKET_V3)
           Using PCRE version 8.45 2021-06-15
           Using ZLIB version 1.2.13
           Using Hyperscan version 5.4.2 2023-09-07

Signed-off-by: John Audia <therealgraysky@proton.me>
2023-09-14 23:46:46 +02:00
46ae31e978 nginx: update uci config 2023-09-14 19:42:13 +05:30
d0b8cf1a12 nginx: add paths for ari, wss, aghome and difuse 2023-09-13 20:43:08 +05:30
7839b8cce7
Merge branch 'openwrt:master' into master 2023-09-13 20:35:41 +05:30
Peter van Dijk
e25bb510de dnsdist: update to 1.8.1
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2023-09-13 12:39:34 +08:00
f8b19ef053
Merge branch 'openwrt:master' into master 2023-09-13 03:42:32 +05:30
Florian Eckert
a56e111c49 mwan3: fix mwan3_connected ubus output
During the renameing of mwan3_connected_v4 to mwan3_connected_ipv4 and
mwan3_connected_v6 to mwan3_connected_ipv6 the adjustment in the ubus
call was forgotten. This commit fixes this.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-09-12 16:03:18 +02:00
Carsten Schuette
d9acb54dc4 dawn: Add PKG_BUILD_FLAGS:=no-lto because lto causes strange SegFaults
Signed-off-by: Carsten Schuette <schuettecarsten@googlemail.com>
2023-09-11 09:01:26 +02:00
Carsten Schuette
6c5c99d206 dawn: Update to 2023-05-14
Signed-off-by: Carsten Schuette <schuettecarsten@googlemail.com>
2023-09-11 09:01:26 +02:00
Alexandru Ardelean
1de5a85a93
Merge pull request #21856 from AuthorReflex/ovpn-2.6.6
openvpn: update to 2.6.6
2023-09-10 20:04:08 +03:00
Eric Luehrsen
03f70dcfd5 unbound: update to 1.18.0
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2023-09-09 10:05:22 +02:00
Peter van Dijk
86bc1fd4d3 pdns: update to 4.8.2
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2023-09-08 19:05:38 +08:00
Christian Lachner
1efcdb3374 haproxy: update to v2.8.3
- Update haproxy PKG_VERSION and PKG_HASH
- See changes: http://git.haproxy.org/?p=haproxy-2.8.git;a=shortlog

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2023-09-08 19:05:09 +08:00
c4844df444
Merge branch 'openwrt:master' into master 2023-09-08 03:49:33 +05:30
Florian Eckert
d6ccb92551
Merge pull request #22055 from pprindeville/modem-manager-fix-no-mbim-install
modemmanager: handle no *.conf files being installed
2023-09-06 08:08:53 +02:00
Philip Prindeville
aa03634cbc modemmanager: handle no *.conf files being installed
To begin with, there are only a couple of .conf files, and
one of them is for testing, and the other is only installed
when MBIM is enabled, so if you build without MBIM you'll
have a failing install:

  install -m0644 /home/pprindeville/work/openwrt/build_dir/target-x86_64_musl/modemmanager-1.20.6/ipkg-install/usr/share/ModemManager/*.conf /home/pprindeville/work/openwrt/build_dir/target-x86_64_musl/modemmanager-1.20.6/.pkgdir/modemmanager/usr/share/ModemManager
  install: cannot stat '/home/pprindeville/work/openwrt/build_dir/target-x86_64_musl/modemmanager-1.20.6/ipkg-install/usr/share/ModemManager/*.conf': No such file or directory
  make[2]: *** [Makefile:161: /home/pprindeville/work/openwrt/build_dir/target-x86_64_musl/modemmanager-1.20.6/.pkgdir/modemmanager.installed] Error 1
  make[2]: Leaving directory '/home/pprindeville/work/openwrt/feeds/packages/net/modemmanager'

So make sure there's anything there to copy over first.

Signed-off-by: Philip Prindeville <pprindeville@netgate.com>
2023-09-05 21:38:27 -06:00
Tianling Shen
a0c6ba40d9
v2ray-geodata: Update to latest version
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-06 11:09:05 +08:00
Tianling Shen
058413daa4
v2raya: Update to 2.2.4
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-06 11:08:39 +08:00
Florian Eckert
a2f2d6a5d3
Merge pull request #21992 from osedl/pr/20230901-modemmanager-fix-permission-denied
modemmanager: Fix Permission Denied error
2023-09-05 13:50:28 +02:00
danielpinto8zz6
f425e37fb0 ddns-scripts: desec.io - update url to https
Signed-off-by: Daniel Pinto <danielpinto8zz6@gmail.com>

desec.io ddns update is not working, after testing the endpoint I got a 301, after a bit of search I found out we are
supposed to use https instead of http
more info here: https://talk.desec.io/t/301-from-update-dedyn-io/644/2

bump PKG_RELEASE
2023-09-04 23:17:58 +01:00
Josef Schlehofer
1e1b2051db treewide: change my no longer used email
Since February 2023, I decided to no longer work with Turris, I mean CZ.NIC company
due to some reasons how the development goes and since that day my work address is not
available and not sure if there is some redirect to someone else, but if anyone wants to
reach me, use my email address, where they can find me.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-09-04 16:02:56 +02:00
Jeffery To
0001bc8848
Merge pull request #21965 from jonasjelonek/croc
croc: new package
2023-09-04 11:59:05 +08:00
Stan Grishin
abb910523f
Merge pull request #21943 from stangri/master-adblock-fast
adblock-fast: initial commit
2023-09-03 18:04:13 -07:00
Stan Grishin
9a2c5ae18c https-dns-proxy: fix dns resolution not working on boot
* fix dns resolution not working on boot
* add hotplug-online script
* reorganizes files/ and Makefile to reflect files destinations

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-09-03 20:35:22 +00:00
John Audia
9220572129 snort3: update to 3.1.69.0
Upstream bump

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Signed-off-by: John Audia <therealgraysky@proton.me>
2023-09-03 14:39:03 +02:00
Josef Schlehofer
a531468114 knot-resolver: update to version 5.7.0
Changelog:
https://www.knot-resolver.cz/2023-01-26-knot-resolver-5.6.0.html
https://www.knot-resolver.cz/2023-08-22-knot-resolver-5.7.0.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-09-03 10:02:16 +02:00
Rui Salvaterra
1b2c1ddbb2 tor: update to 0.4.8.4 stable
First release of the 0.4.8.x series, see the changelog [1] for what's new.

[1] https://gitlab.torproject.org/tpo/core/tor/-/raw/tor-0.4.8.4/ChangeLog

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2023-09-03 01:14:29 +02:00
Tiago Gaspar
26bf35bb43 jool: update package to version 4.1.10
Update jool to version 4.1.10 and remove a no longer needed patch.
There was also a need to backport a patch to fix compile in some archs.

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2023-09-02 16:50:16 +02:00
Tianling Shen
f8082bebbe
v2raya: Update to 2.2.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-02 08:39:39 +08:00
Oliver Sedlbauer
29590e5d6d modemmanager: Remove hardcoded proto check
Modified the code to correctly determine modem availability based on the
sysfs path provided in the 'device' option, instead of relying  on the
'proto' value. This ensures proper configuration for custom-made protos
that do not match the "modemmanager" identifier.

Signed-off-by: Oliver Sedlbauer <osedlbauer@tdt.de>
2023-09-01 14:07:05 +02:00
Oliver Sedlbauer
ac806e9921 modemmanager: Fix Permission Denied error
The proto_send_update function is sending a notification to netifd
during the teardown section. However, netifd filters link update
notifications executed during teardown, as indicated here:
https://git.openwrt.org/?p=project/netifd.git;a=blob;f=proto-shell.c#l515
This was leading to a Permission Denied error due to its behavior,
making proto_send_update ineffective during teardown.

To address the issue, the proto_send_update function has been removed
from the teardown section. This prevents the Permission Denied error
while ensuring proper operation during teardown.

Additionally, in the 10-report-down helper script, a check has been
implemented to determine if the interface is already down. This check
is crucial to avoid triggering a Permission Denied error, especially
in cases where netifd is already aware of a controlled ifdown operation.

Signed-off-by: Oliver Sedlbauer <osedlbauer@tdt.de>
2023-09-01 13:46:45 +02:00
Jonas Jelonek
cd548cea54 croc: new package
croc is a tool written in Go for sending files from one device to
another over the internet using a relay. It runs on multiple platforms,
provides end-to-end encryption and works without port forwarding and
fixed IP/DynDNS.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2023-09-01 08:37:44 +02:00
Lucian Cristian
5a1b878010 libreswan: update to 4.12
fix CVE-2023-38710, CVE-2023-38711, CVE-2023-38712

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2023-08-31 19:28:31 -07:00
Moritz Warning
6cf39ba626 zerotier: update to 1.12.1
* split up "fix makefile" patch logical distinct parts
* add libatomic dependency needed for prometheus-cpp-lite-1.0
* refresh patch series
* improve warning message in init script

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2023-08-31 07:49:31 +08:00
Tianling Shen
3b8921d1ae xray-core: Update to 1.8.4
Removed upstreamed patch.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-30 20:22:24 +08:00
Florian Eckert
4c9415d766
Merge pull request #21857 from TDT-AG/pr/20230818-modemmanager
modemmanager: copy dbus interfaces file to staging
2023-08-30 09:25:03 +02:00
Peter van Dijk
c7661072bd pdns-recursor: update to 4.9.1
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2023-08-30 10:04:35 +08:00
7620b831cc
Merge branch 'openwrt:master' into master 2023-08-30 03:31:45 +05:30
Van Waholtz
073aae7f4e sing-box: update to 1.4.0
Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2023-08-29 22:46:14 +02:00
Jan Hák
dea3e7acb6 knot: enable QUIC support
Signed-off-by: Jan Hák <jan.hak@nic.cz>
2023-08-29 22:41:36 +02:00
Jan Hák
e79e441513 knot: update to version 3.3.0
Signed-off-by: Jan Hák <jan.hak@nic.cz>
2023-08-29 22:41:36 +02:00
56517fae9c
Merge branch 'openwrt:master' into master 2023-08-29 16:04:04 +05:30
Jo-Philipp Wich
643ece1612
Merge pull request #21928 from stangri/miniupnpd-nftables
miniupnpd: remove uci-defaults and fw4-include files for nftables variant
2023-08-29 09:51:03 +02:00
Stan Grishin
be69e34ce3 adblock-fast: initial commit
* this package replaces simple-adblock package
* it was impossible to keep existing config structure and continue
  improving the simple-adblock the way I wanted, hence the new
  package name
* the migration script for existing simple-adblock config is included in
  the uci-defaults file

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-08-28 21:17:03 +00:00
782c35de5b
Merge branch 'openwrt:master' into master 2023-08-28 21:28:57 +05:30
Tyler Young
40d5ba9378 tailscale: enable autodect of fw type
Signed-off-by: Tyler Young <git@yfh.addy.io>
2023-08-28 21:59:55 +08:00
Tianling Shen
a86c47044d
v2raya: Update to 2.2.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-27 09:51:22 +08:00
Stan Grishin
4c934aea71 miniupnpd: remove uci-defaults and fw4-include files for nftables variant
* remove firewall4.include file as it is not needed and procuces a firewall
  error on service miniupnpd restart
* remove the uci-defaults file as its sole purpose was to install the
  firewall include file
* modify the Makefile to reflect the deleted files

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-08-25 17:59:22 +00:00
3615942b98
Merge branch 'openwrt:master' into master 2023-08-25 00:10:57 +05:30
Tianling Shen
2d078f9e3c xray-core: backport pending patch for Go 1.21 update
Fix build for Go 1.21.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-24 17:18:24 +08:00
Jan Hoffmann
9871979707 vnstat2: update to version 2.11
This release breaks the noexit patch, because the code for removing old
now returns an error when no interfaces are configured. As it is run on
startup, the daemon exits in this case. To avoid this, add an additional
check so an error is only returned in an actual error case.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2023-08-24 11:14:05 +08:00
Zephyr Lykos
a9373d6dd1 tailscale: Update to 1.48.1
Signed-off-by: Zephyr Lykos <git@mochaa.ws>
2023-08-24 11:11:06 +08:00
Karl Palsson
1eef58684c net/mosquitto: bump to 2.0.17
This is a security and bug fix release.

Security:
- CVE-2023-28366: Fix memory leak in broker when clients send multiple QoS 2
  messages with the same message ID, but then never respond to the PUBREC
  commands.
- CVE-2023-0809: Fix excessive memory being allocated based on malicious
  initial packets that are not CONNECT packets.
- CVE-2023-3592: Fix memory leak when clients send v5 CONNECT packets with a
  will message that contains invalid property types.
- Broker will now reject Will messages that attempt to publish to $CONTROL/.
- Broker now validates usernames provided in a TLS certificate or TLS-PSK
  identity are valid UTF-8.
- Fix potential crash when loading invalid persistence file.
- Library will no longer allow single level wildcard certificates, e.g. *.com

Bugfixes of note or relevance to OpenWrt:
- Fix bridges with non-matching cleansession/local_cleansession being expired
  on start after restoring from persistence. Closes #2634.
Client library:
- Use CLOCK_BOOTTIME when available, to keep track of time. This solves the
  problem of the client OS sleeping and the client hence not being able to
  calculate the actual time for keepalive purposes. Closes #2760.

Full changelog available at: https://github.com/eclipse/mosquitto/blob/v2.0.16/ChangeLog.txt
plus: https://github.com/eclipse/mosquitto/blob/v2.0.17/ChangeLog.txt
(2.0.17 fixes regressions from the 2.0.16 release)

Signed-off-by: Karl Palsson <karlp@tweak.au>
2023-08-23 20:40:08 +00:00
Tianling Shen
a8ac5861f6 v2ray-core: backport upstream Go 1.21 updates
Fix build for Go 1.21.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-23 12:24:18 -07:00
Zhi-Jun You
3abdb2887e mdio-tools: update to 1.3.0
Update the mdio-netlink kmod and userspace mdio-tools to version 1.3.0.

[v1.3.0] - 2023-07-24
---------------------

Primarily widen the gamut of supported kernel versions, now supporting
all kernels from 5.2 and onwards.

- mvls: Support for 88E6320/88E6321

- mdio-netlink: Adapt to the upstream C22/C45 refactor.

Signed-off-by: Zhi-Jun You <hujy652@protonmail.com>
2023-08-23 21:57:56 +08:00
Ray Wang
d5b99f9e8a natmap: update to 20230820
Signed-off-by: Ray Wang <r@hev.cc>
2023-08-23 08:23:18 +08:00
Toke Høiland-Jørgensen
0ded22fd33 sqm-scripts: Bump to v1.6.0
Fixes an issue with DSA switch compatibility

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2023-08-22 12:51:53 +02:00
96dd95c4cb
Merge branch 'openwrt:master' into master 2023-08-22 12:32:28 +05:30
Ted Hess
676c3edc63
Merge pull request #21874 from thess/unbound-SSL-workaround
Unbound: Silence SSL unexpected eof messages
2023-08-21 18:39:28 -04:00
Ted Hess
2a71e17ca1 Unbound: Silence SSL unexpected eof messages
Refs: https://github.com/NLnetLabs/unbound/issues/812
      https://github.com/NLnetLabs/unbound/issues/846

This is a backport of: https://github.com/NLnetLabs/unbound/commit/d7e7761
and can be removed with the next release/update of the Unbound package

Signed-off-by: Ted Hess <thess@kitschensync.net>
2023-08-21 16:01:11 -04:00
Dobroslaw Kijowski
11230bb580 adguardhome: update quic-go to v0.37.6
* quic-go v0.36.x cannot be compiled with Go 1.21. Update that
  AdGuardHome dependency to latest one from v0.37 series.
* It fixes following compilation error:
  go-mod-cache/github.com/quic-go/quic-go@v0.36.2/internal/qtls/go121.go:5:13: cannot use "The version of quic-go you're using can't be built on Go 1.21 yet. For more details, please see https://github.
  com/quic-go/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.21 yet.

Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
2023-08-21 15:30:25 +02:00
Hannu Nyman
d4fa3d0a1a adguardhome: update to v0.107.36
* Full changelog available at:
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.34
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.35
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.36

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

[ Reword commit message ]
Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
2023-08-21 15:14:44 +02:00
Zephyr Lykos
750faf5942 tailscale: Update to 1.48.0
Everything is working on pure upstream code.
Patching is not longer needed.

Added entire /etc/tailscale/ directory to conffiles for persistent ssh
host key & https certificate across sysupgrades.

Signed-off-by: Zephyr Lykos <git@mochaa.ws>
2023-08-21 08:19:39 +02:00
Perry Melange
93a102e21a tunneldigger-broker: update to v0.4.0
Include new hook script to build

Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
2023-08-20 02:25:27 +02:00
Perry Melange
0d1085fe9e tunneldigger-broker: add rate-limit hook
Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
2023-08-20 02:25:27 +02:00
Perry Melange
49cdf15da4 tunneldigger-broker: add option to isolate bridge ports
Add new option to a config bridge section to indicate
if a bridge port added to the bridge should be isolated
or not.  The default is 0 (no isolation).

example

config bridge
     option interface 'br-mybridge1446'
     option mtu '1446'
     option isolate '1' # default '0'

Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
2023-08-20 02:25:27 +02:00
Perry Melange
ab2b1ade27 tunneldigger-broker: update lib functions
Use config_foreach instead of config_cb

Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
2023-08-20 02:25:27 +02:00
Perry Melange
99dfea7730 tunneldigger-broker: update config file and init for v0.4.0
Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
2023-08-20 02:25:27 +02:00
Florian Eckert
161fd74fa2 modemmanager: copy dbus interfaces file to staging
In order to use the dbus interfaces via the command gdbus-codegen, the
xml files must be copied into the building staging directory, so that other
programmes can use them during compilation.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-18 13:31:19 +02:00
Van Waholtz
115e209a74 sing-box: update to 1.4.0-beta.5
Add support for GO 1.21.

Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2023-08-18 13:28:47 +08:00
Ivan Pavlov
cb8508c41b openvpn: update to 2.6.6
Small bugfix release
For details refer to https://github.com/OpenVPN/openvpn/blob/v2.6.6/Changes.rst

Also, set depends on DCO kernel module when ENABLE_DCO flag is set.

Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
2023-08-18 06:17:38 +03:00
Lucian Cristian
d01460fe93 frr: updat to 9.0
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2023-08-17 18:35:06 +08:00
Van Waholtz
14dd31ef27 frp: update to 0.51.3
Includes some bug fixes and adds support for GO 1.21.

Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2023-08-17 11:47:07 +02:00
Stan Grishin
06cedf9455
Merge pull request #21828 from stangri/master-simple-adblock
simple-adblock: bugfixes for uci_load_validate
2023-08-16 13:42:33 -07:00
e4a1e90091
Merge branch 'openwrt:master' into master 2023-08-16 23:35:57 +05:30
Florian Eckert
e350e8b894
Merge pull request #21766 from TDT-AG/pr/20230808-modemmanager
modemmanager: setting allowed and preferred mode
2023-08-16 15:58:01 +02:00
Tianling Shen
eb2fe11957
dnslookup: Update to 1.9.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-16 17:22:46 +08:00
Tianling Shen
f464134262
dnsproxy: Update to 0.54.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-16 17:22:38 +08:00
0e2ad04f60
Merge branch 'openwrt:master' into master 2023-08-16 01:03:11 +05:30
Stan Grishin
ad8aa084c1 simple-adblock: bugfixes for uci_load_validate
* fix validation for force_dns_port when missing in config
* fix validation for dns_instance when * or - are used

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-08-15 16:31:28 +00:00
Maxim Storchak
83f60a6ee7 tgt: update to 1.0.87
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2023-08-15 09:43:36 +02:00
a18250cfb5
Merge branch 'openwrt:master' into master 2023-08-14 23:21:15 +05:30
Hannu Nyman
89593b5b08
Merge pull request #21800 from yogo1212/wget_pcre2
wget: use pcre2
2023-08-14 17:34:56 +03:00
Nick Peng
60ce4c6970 smartdns: bump to 1.2023.43
Signed-off-by: Nick Peng <pymumu@gmail.com>
2023-08-14 08:27:31 +08:00
04f129d4fb
Merge branch 'openwrt:master' into master 2023-08-14 05:08:37 +05:30
Leon M. Busch-George
379946951c wget: use pcre2
Pcre (1) is unmaintained and reached its end of life in 2021.
The base system provides pcre2 exclusively since May.

Signed-off-by: Leon M. Busch-George <leon@georgemail.eu>
2023-08-14 00:06:55 +02:00
Tianling Shen
162ca6ad7f
v2raya: Update to 2.1.3
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-13 11:16:05 +08:00
Sibren Vasse
7fb8e823b9 openssh: update to 9.4p1
Signed-off-by: Sibren Vasse <github@sibrenvasse.nl>
2023-08-13 10:53:39 +08:00
Christian Lachner
fce22d0d84 haproxy: update to v2.8.2
- Update haproxy PKG_VERSION and PKG_HASH
- See changes: http://git.haproxy.org/?p=haproxy-2.8.git;a=shortlog

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2023-08-11 17:23:45 +03:00
Stijn Tintel
e3d2109bfd
Merge pull request #19218 from stintel/openthread
openthread-br: new package
2023-08-11 12:11:12 +03:00
Miroslav Lichvar
13647da79d chrony: update to 4.4
Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
2023-08-10 20:01:47 +03:00
f0ae6dbbea
Merge branch 'openwrt:master' into master 2023-08-10 18:25:03 +05:30
Florian Eckert
015106346c modemmanager: add setting for allowed and preferred mode
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-09 14:13:06 +02:00
Florian Eckert
5fa043000f modemmanager: remove unneeded teardown error reporting
Teardown error reporting is not needed, bacause it overrides init error
reporting.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-09 14:10:25 +02:00
Florian Eckert
dbf23705c5 modemmanager: fix white spaces
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-09 14:10:20 +02:00
Philip Prindeville
c3299c1a52 xtables-addons: add packaging for xt_asn, et al
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-08-08 15:23:46 -07:00
Philip Prindeville
7a234fa74e xtables-addons: add MaxMind versions of xt_geoip_dl, etc.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-08-08 15:23:46 -07:00
Stan Grishin
173d163f09 simple-adblock: force_dns_port validation bugfix
Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-08-08 09:28:31 +00:00
Philip Prindeville
ead95a26b6 openssh: add server config subdirectory
Most distros allow dropping site configuration files into
/etc/sshd_config.d/ so that you don't have to tweak the main
server configuration file.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-08-07 16:39:56 -07:00
Stijn Tintel
711950cd36 openthread-br: new package
Add a new package for the OpenThread Border Router. Comes with a netifd
protocol handler. See README.md for more information.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2023-08-07 23:13:51 +03:00
R4SAS I2P
d7b0d3f83d i2pd: update to version 2.48.0
Signed-off-by: R4SAS I2P <r4sas@i2pmail.org>
2023-08-06 10:03:07 +03:00
Tianling Shen
1003f84ead
v2fly-geodata: Update to latest version
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-06 09:38:03 +08:00
Tianling Shen
4faa0e88fe
v2raya: Update to 2.1.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-06 09:38:02 +08:00
Tianling Shen
d1f4f875fa
cloudreve: Update to 3.8.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-06 09:38:02 +08:00
Daniel Golle
bef5da553f gnunet: update to version 0.19.4
v0.19.4:
  - No changes

v0.19.3:
  - We now detect MySQL's strange, version-dependent my_bool type on configure.
  - Add pkg-config definitions for gnunet messenger.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-08-05 12:18:44 +01:00
Daniel Golle
7eaa2cd284 libcurl-gnutls: update to version 8.2.1
See cURL changes for details:
https://curl.se/changes.html

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-08-05 12:18:36 +01:00
Sibren Vasse
731f0d70a8 openssh: update to 9.3p2
Signed-off-by: Sibren Vasse <github@sibrenvasse.nl>
2023-08-04 16:51:45 +08:00
John Audia
db02254ae5 snort3: update to 3.1.67.0
Upstream bump

Signed-off-by: John Audia <therealgraysky@proton.me>
2023-08-04 01:45:41 +08:00
Jan Hák
f6aa1198eb knot: update to version 3.2.9
Signed-off-by: Jan Hák <jan.hak@nic.cz>
2023-08-01 18:53:51 +02:00
d1ea99722b
Merge branch 'openwrt:master' into master 2023-08-01 15:44:54 +05:30
Stan Grishin
c1c11e2b44
Merge pull request #21687 from stangri/master-curl
curl: update to 8.2.1
2023-07-31 22:30:35 -07:00
c365afd98e
Merge branch 'openwrt:master' into master 2023-08-01 01:10:15 +05:30
Stan Grishin
82dbc1c4d5 curl: update to 8.2.1
* https://curl.se/changes.html#8_2_1

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-07-31 04:11:07 +00:00
Philip Prindeville
1e48b28c3f isc-dhcp: some IoTs need forced rebinding/renewal times
I've noticed my AppleTV's refresh their leases ever minute unless
I explicitly force their renewal time higher, because it doesn't
default to 50% of the lease time.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-07-30 16:09:51 -06:00
Philip Prindeville
95829546d0 isc-dhcp: fix handling multiple instances of 'routes' list
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-07-30 16:08:18 -06:00
Tianling Shen
08f3dccccd
cloudflared: Update to 2023.7.3
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-31 00:41:02 +08:00
cf7474114e
Merge branch 'openwrt:master' into master 2023-07-29 21:53:36 +05:30
Stan Grishin
7524879731
Merge pull request #21638 from stangri/master-curl
curl: update to 8.2.0
2023-07-27 17:15:17 -07:00
Philip Prindeville
17770aa222
Merge pull request #21666 from pprindeville/isc-dhcp-drop-uci_get_state
isc-dhcp: deprecate use of uci_get_state in client scripts
2023-07-26 17:48:41 -06:00
Philip Prindeville
8a52c2b742 isc-dhcp: use network_get_device in client scripts
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-07-25 15:55:14 -06:00
Martin Schiller
0eedafdbda openvpn: update to 2.6.5 and add DCO support
This commit updates openvpn to version 2.6.5 and add DCO support.

There are several changes:

- Starting with version 2.6.0, the sources are only provided as .tar.gz
  file.

- removed OPENVPN_<variant>_ENABLE_MULTIHOME:
  multihome support is always included and cannot be disabled anymore
  with 2.6.x.

- removed OPENVPN_<variant>_ENABLE_DEF_AUTH:
  deferred auth support is always included and cannot be disabled
  anymore with 2.6.x.

- removed OPENVPN_<variant>_ENABLE_PF:
  PF (packet filtering) support was removed in 2.6.x.

- The internal lz4 library was removed in 2.6.x; we now use the liblz4
  package if needed

- To increase reproducibility, _DATE_ is only used for development
  builds and not in release builds in 2.6.x.

- wolfSSL support was integrated into upstream openvpn

- DES support was removed from openvpn

The first two wolfSSL patches were created following these 2 commits:
4cf01c8e43
028b501734

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2023-07-24 22:50:06 -07:00
Marius Dinu
f0926b44f4 transmission: add copy_file_range syscall to seccomp
Fixes this crash:

root@RPi3OpenWrt:/# grep -i seccomp /var/log/audit/audit.log
type=SECCOMP msg=audit(1689503903.597:16): auid=4294967295 uid=224 gid=1012 ses=4294967295 pid=1752 comm="transmission-da" exe="/usr/bin/transmission-daemon" sig=31 arch=c00000b7 syscall=285 compat=0 ip=0x7fa3b0eefc code=0x80000000
root@RPi3OpenWrt:/# ausyscall 285
copy_file_range
root@RPi3OpenWrt:/#

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
2023-07-24 22:44:32 -07:00
Othmar Truniger
f2f9ec1253 knxd: new upstream version 0.14.59
Signed-off-by: Othmar Truniger <github@truniger.ch>
2023-07-24 22:41:48 -07:00
Florian Eckert
89391d4213 modemmanager: improve 'simple connection' option handling
The line to generate the argument list for 'simple connect' is quite
long and is not maintainable. To improve the handling a function
'append_param' was added for appending the 'simple connect' options.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-07-24 13:46:39 +02:00
Francisco Jose Alvarez
7ba2c969b2 modemmanager: Adding support for 'allow_roaming' option
Signed-off-by: Francisco Jose Alvarez <francisco.alvarez@galgus.net>
* Update commit head
* Rebase patch to the latest changes
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-07-24 12:57:39 +02:00
Florian Eckert
2f00e4b8d7 modemmanger: add missing proto_init_update in teardown
Inform netifd with missing 'proto_update', that the interface is not
up anymore.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-07-24 09:42:12 +02:00
Florian Eckert
30911865b2 modemmanager: do not set proto_notify_error on teardown
If on teardown the 'proto_notify_error' is set to 'MM_TEARDOWN_IN_PROGRESS',
then an error which is set on 'setup' is not visible in the ubus
network.interface.<iface> status output.

{
  "up": false,
  "pending": false,
  "available": true,
  "autostart": false,
  "dynamic": false,
  "proto": "modemmanager",
  "data": {
  },
  "errors": [
    {
      "subsystem": "dualsim",
      "code": "MM_TEARDOWN_IN_PROGRESS"
    }
  ]
}

It alway shows the code 'MM_TEARDWON_IN_PROGRESS'!

By removing the line 'proto_notify_error "${interface}" MM_TEARDOWN_IN_PROGRESS'
in teardown, the last error is show in the proto stack from setup.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-07-24 09:41:51 +02:00
Florian Eckert
7513c483dd
Merge pull request #16300 from maxrd2/modemmanager-plmn-support
modemmanager: support setting plmn
2023-07-24 09:02:06 +02:00
Stan Grishin
1c65d30ba7
Merge pull request #21631 from stangri/master-https-dns-proxy
https-dns-proxy: improve CLI messaging
2023-07-23 08:52:51 -07:00
Stan Grishin
0e15388a84
Merge pull request #21431 from stangri/master-nebula
nebula: update to 1.7.2 (and cosmetic fixes)
2023-07-23 08:52:31 -07:00
Stan Grishin
a276cebd9e curl: update to 8.2.0
* https://curl.se/changes.html#8_2_0

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-07-23 15:48:38 +00:00
Stan Grishin
5bc8caf33b
Merge pull request #21628 from stangri/master-simple-adblock
simple-adblock: dnsmasq access bugfix & misc improvements
2023-07-23 08:14:11 -07:00
Stijn Tintel
4bdf55d352 softflowd: bump to 1.1.0
The tag is now prefixed with v; update PKG_SOURCE_URL and PKG_BUILD_DIR
to reflect this.
Drop upstreamed patches. Refresh leftover patch.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2023-07-23 10:59:58 +03:00
Stan Grishin
649fbcf9fc https-dns-proxy: improve CLI messaging
Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-07-23 05:22:04 +00:00
Stan Grishin
dea274cc33 simple-adblock: dnsmasq access bugfix & misc improvements
* fix permission to dnsmasq files for ad-blocking
* add pause function to pause the ad-blocking temporarily
* introduce pause_timeout option to control default pause time
* update default config and config-update file
* use $param instead of $1 in adb_start()

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-07-23 05:06:49 +00:00
John Audia
6c94d8d06e snort3: update to 3.1.66.0
Upstream bump

Build system: x86/64
Build-tested: x86/64
Run-tested: x86/64

Signed-off-by: John Audia <therealgraysky@proton.me>
2023-07-22 07:11:31 +02:00
Tianling Shen
34d1c310b3
rclone: Update to 1.63.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-22 03:01:19 +08:00
Mladen Milinkovic
f3943dbb2a modemmanager: support setting plmn
Signed-off-by: Mladen Milinkovic <maxrd2@smoothware.net>
2023-07-21 16:39:01 +02:00
bf60ce0b81
Merge branch 'openwrt:master' into master 2023-07-19 17:12:36 +05:30
Tianling Shen
dc3af571d7
dnsproxy: Update to 0.52.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-19 15:46:15 +08:00
Tianling Shen
498343e2c0
cloudflared: Update to 2023.7.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-19 15:46:07 +08:00
Nick Hainke
0281f7594b snowflake: update to 2.6.0
Tor projects tries to migrate away from git.torproject.org [0,1]. We
need to adjust PKG_SOURCE and GO_PKG name. Further, we need to backport
patches to fix compiling on riscv64, so add:
- 0001-Bump-minimum-required-version-of-go.patch
- 0002-Update-dependencies.patch

Changelog:
2fa8fd9188

[0] - https://gitlab.torproject.org/tpo/anti-censorship/team/-/issues/86
[1] - 82cc0f38f7

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-07-18 23:25:46 +02:00
Marius Dinu
a037254588 transmission: add ftruncate syscall to seccomp
Fixes many crashes.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
2023-07-18 14:56:50 +01:00
Alexandru Ardelean
05640ec156
Merge pull request #21577 from commodo/tcpreplay
tcpreplay: bump to version 4.4.4
2023-07-16 21:03:33 +03:00
d9deffdcd5
Merge branch 'openwrt:master' into master 2023-07-16 23:04:42 +05:30
Dirk Brenken
1c14eb6d8c
banip: release 0.9.0-1
* supports allowing / blocking of certain VLAN forwards in segregated network environments,
   set 'ban_vlanallow', ''ban_vlanblock' accordingly
* simplified the code/JSON to generate/parse the banIP status
* enclose nft related devices in quotation marks , e.g. to handle devices which starts with a number '10g-1'
* made the new vlan options available to LuCI (separate commit)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-07-16 07:32:48 +02:00
Alexandru Ardelean
4b4e549af9 tcpreplay: bump to version 4.4.4
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-07-16 00:50:07 +03:00
Tianling Shen
5e0c715a51
cloudflared: Update to 2023.7.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-14 14:13:35 +08:00
Jeffery To
dc7382ec65 ooniprobe: Update to 3.18.0
This version includes support for Go 1.20 (specifically 1.20.5).

This also:

* Adds a workaround for musl 1.2.4 compatibility in mattn/go-sqlite3[1]

* Sets GO_PKG_BUILD_PKG to build the main binary (ooniprobe) only

* Updates the package license; the project was relicensed in 3.13.0[2]

[1]: https://github.com/mattn/go-sqlite3/issues/1164
[2]: https://github.com/ooni/probe-cli/pull/446

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-13 16:18:01 -07:00
fff4b3dbe7
Merge branch 'openwrt:master' into master 2023-07-13 15:07:49 +05:30
Dobroslaw Kijowski
46bf47d855 adguardhome: bump to 0.107.33
* Full changelog available at:
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.30
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.31
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.32
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.33

Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
2023-07-13 14:51:47 +08:00
Nikos Mavrogiannopoulos
1b31efc2b2 ocserv: updated to 1.2.0
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2023-07-11 19:09:59 +02:00
Rosen Penev
d71e28de37 nginx-util: fix compilation with GCC13
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-07-11 08:38:13 -07:00
434b6202d2
Merge branch 'openwrt:master' into master 2023-07-11 10:33:56 +05:30
Zephyr Lykos
2ee93efe5d tailscale: update to 1.44.0
Signed-off-by: Zephyr Lykos <git@mochaa.ws>
2023-07-10 19:49:00 -07:00
John Audia
1c671bc10b snort3: update to 3.1.65.0
Upstream bump

Build system: x86_64
Build-tested: x86_64/AMD 5800U
Run-tested: x86_64/AMD 5800U

Signed-off-by: John Audia <therealgraysky@proton.me>
2023-07-10 19:48:43 -07:00
John Audia
8c0afc4cab iperf3: update to 3.14
Release Notes:
https://github.com/esnet/iperf/blob/master/RELNOTES.md

Signed-off-by: John Audia <therealgraysky@proton.me>
2023-07-10 19:46:59 -07:00
Dirk Brenken
5e2a9f082a
banip: update 0.8.9-4
* made the etag id parsing more bulletproof (to catch unverified etags as well)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-07-09 07:01:17 +02:00
Dirk Brenken
88e64a2ae4
banip: update 0.8.9-3
* prevent superflous etag function calls during start action (on start backups will be used anyway)
* changed the ipthreat feed download URL (load a compressed file variant to save bandwidth)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-07-08 19:51:52 +02:00
Peter van Dijk
bc718f43bf pdns: update to 4.8.1
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2023-07-08 08:14:39 +02:00
Van Waholtz
62901b7895 frp: update to 0.51.0
XTCP is incompatible with previous versions since 0.49.0.

Changelog:
https://github.com/fatedier/frp/releases/tag/v0.49.0
https://github.com/fatedier/frp/releases/tag/v0.50.0
https://github.com/fatedier/frp/releases/tag/v0.51.0

Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2023-07-08 02:29:46 +08:00
Dirk Brenken
137045faa9
banip: update 0.8.9-2
* fix a corner case backup issue with empty feed downloads

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-07-07 20:03:08 +02:00
Dirk Brenken
68cdc3952d
banip: release 0.8.9-1
* added HTTP ETag or entity tag support to download only ressources that have been updated on the server side,
  to save bandwith and speed up banIP reloads
* added 4 new feeds: binarydefense, bruteforceblock, etcompromised, ipblackhole (see readme)
* updated the readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-07-07 18:28:58 +02:00
Peter van Dijk
381a5515c7 pdns-recursor: update to 4.9.0
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2023-07-07 16:39:44 +02:00
Josef Schlehofer
60757f8202
Merge pull request #21496 from Ansuel/add-mtools
net-mtools: Add new package to debug multicast setups
2023-07-07 14:05:48 +02:00
Christian Marangi
4470062c16
net-mtools: Add new package to debug multicast setups
Add new package to debug multicast setups. This is required to use
kselftests script for network testing.

net-mtools is used instead of mtools as it does conflicts with another
package that is also called mtools.

Some additional patch from Vladimir Oltean are added to make the tool
works on kernel selftests scripts.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-07-07 13:24:30 +02:00
Christian Marangi
3d0183e9c5
nginx: don't install all module for FULL variant
We currently have a more or less circular dependency with nginx ssl and
full variant.

FULL variant depends on every nginx module. Every nginx module depends
on nginx-ssl.

Since nginx-full depends on an nginx module, nginx-ssl is installed as
module depends on it and then the installation fails as nginx-full
conflicts with nginx-ssl.

nginx-full in it's meaning is nginx built with every config selected and
it should not have module as dependency. In fact an user should always
install them separetly as while other things, local modification to the
nginx config file are required to include the just installed module.

To fix this circular dependency problem, drop the dependency of every
nginx module for FULL variant.

Fixes: #21300
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-07-07 12:50:12 +02:00
Tiago Gaspar
34e73bddab nginx: add quic modue
This commit  adds support for http/3. This is an experimental version
and isn't fully supported because nginx is being built with the regular
OpenSSL and the regular one doesn't support quic.

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2023-07-05 21:27:16 +02:00
Tiago Gaspar
f2c0fa9206 nginx: update to 1.25.1
Update nginx to 1.25.1.

    *) Feature: the "http2" directive, which enables HTTP/2 on a per-server
       basis; the "http2" parameter of the "listen" directive is now
       deprecated.

    *) Change: HTTP/2 server push support has been removed.

    *) Change: the deprecated "ssl" directive is not supported anymore.

    *) Bugfix: in HTTP/3 when using OpenSSL.

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
[ improve commit title and add nginx changelog ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-07-05 21:27:16 +02:00
Javier Marcet
659fe23a90 nginx: add support for MaxMind GeoIP2 databases
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-07-05 20:54:44 +02:00
44c8433cd2
Merge branch 'openwrt:master' into master 2023-07-04 23:55:23 +05:30
Christian Lachner
ac470379c0 haproxy: update to v2.8.1
- Update haproxy PKG_VERSION and PKG_HASH
- See changes: http://git.haproxy.org/?p=haproxy-2.8.git;a=shortlog

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2023-07-05 02:22:53 +08:00
Tianling Shen
952844c976
rclone: Update to 1.63.0
While at it fixed a typo error of license files variable.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-04 16:04:54 +08:00
Tianling Shen
9cf533dffe
dnsproxy: Update to 0.51.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-03 22:05:28 +08:00
Van Waholtz
ae3629f56a sing-box: update to 1.3.0
Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2023-07-01 04:45:07 -07:00
Salem Huang
35b668b6ca netbird: update to 0.21.7
1. Release notes:
   https://github.com/netbirdio/netbird/releases/tag/v0.21.2
   https://github.com/netbirdio/netbird/releases/tag/v0.21.3
   https://github.com/netbirdio/netbird/releases/tag/v0.21.4
   https://github.com/netbirdio/netbird/releases/tag/v0.21.5
   https://github.com/netbirdio/netbird/releases/tag/v0.21.6
   https://github.com/netbirdio/netbird/releases/tag/v0.21.7
2. Update GO_PKG_LDFLAGS, because of 292ee260ad
3. Define the configuration file.

Signed-off-by: Salem Huang <solohoh@hotmail.com>
2023-07-01 04:44:50 -07:00
Robert Högberg
185630ba45 inadyn: update to 2.11.0
Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2023-07-01 04:43:00 -07:00
Philip Prindeville
08158d2718 strongswan: Update to 5.9.11
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-06-30 19:50:31 +02:00
Dirk Brenken
e1fa285f32
adblock: update to 4.1.5-8
* adapt adguard_tracking source changes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-06-30 07:28:16 +02:00
John Thomson
778ce3c977 coova-chilli: fix kernel >= 5.17 compile
Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
2023-06-29 17:44:08 -07:00
John Audia
df0313880e snort3: update to 3.1.64.0
Upstream bump

Signed-off-by: John Audia <therealgraysky@proton.me>
2023-06-30 01:10:02 +08:00
Christian Marangi
5ae750da10
netsniff-ng: backport patch fixing wrong args handling with musl
Backport a patch from upstream fixing wrong args handling with musl.
Before this patch non args must be passed at the end of the command due
to a musl limitation.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-06-29 18:26:16 +02:00
Stan Grishin
a055c59cb8 nebula: update to 1.7.2 (and cosmetic fixes)
* update binaries to 1.7.2
* move sharedMemoryOutput variable declaration into output function as it doesn't
  need to be global
* rename parse_yaml function to yaml_parse
* add TODOs for future development
* update copyright datestamps

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-06-29 01:25:43 +00:00
Philip Prindeville
3522e9b89a
Merge pull request #21410 from pprindeville/isc-dhcp-dont-require-pools
isc-dhcp: don't require subnet pools
2023-06-27 15:48:38 -06:00
Jan Hák
9517ef080a knot: update to version 3.2.8
Signed-off-by: Jan Hák <jan.hak@nic.cz>
2023-06-26 21:30:02 +02:00
Noah Meyerhans
9ac79ad469 bind: bump to 9.18.16
Fixes CVEs:

- CVE-2023-2828: The overmem cleaning process has been improved, to
  prevent the cache from significantly exceeding the configured
  max-cache-size limit.
- CVE-2023-2911: A query that prioritizes stale data over lookup
  triggers a fetch to refresh the stale data in cache. If the fetch is
  aborted for exceeding the recursion quota, it was possible for named
  to enter an infinite callback loop and crash due to stack overflow.

The complete list of changes is available in the upstream release
notes at
https://ftp.isc.org/isc/bind9/cur/9.18/doc/arm/html/notes.html#notes-for-bind-9-18-16

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
2023-06-25 21:28:12 -07:00
Jeffery To
e88b7d25a2
Merge pull request #21366 from zhanhb/haproxy
haproxy: update to v2.8.0
2023-06-24 20:20:47 +08:00
Dirk Brenken
c3084be415
banip: update 0.8.8-2
* process local lists in strict sequential order to prevent possible race conditions
* support ranges in the IP search, too
* fix some minor search issues

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-06-24 13:09:40 +02:00
Huangbin Zhan
3e454f418d haproxy: update to v2.8.0
- New major LTS release (https://www.mail-archive.com/haproxy@formilux.org/msg43600.html)

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2023-06-23 12:13:39 +08:00
Tianling Shen
a9cda91502 vsftpd: fix compilation with musl 1.2.4
musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-23 07:13:38 +03:00
Remi Gacogne
2b19da613f dnsdist: Move the configuration to Config.in
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2023-06-22 21:45:47 +03:00
Remi Gacogne
ca01c1bf59 dnsdist: Split in two packages dnsdist and dnsdist-full
`dnsdist-full` has all optional features enabled, but is a big package
in term of both flash and memory footprint.
`dnsdist` only keeps the features that make the most sense
on embeded devices, but can also be customised to match the
user's needs, up to the point where it matches `dnsdist-full`.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2023-06-22 21:45:47 +03:00
Wojciech Dubowik
be829c1486 linuxptp: Update to 4.0
Major changes since version 3.1.1:
* Officially supports the 2019 version of IEEE 1588
* Improved unicast messaging
* Enhanced G.8275.2 profile
* More flexible Pulse Per Second (PPS) handling
* Virtual clock support
* Power profile support
* VLAN over bond support.
* Parallel Redundancy Protocol (PRP) trailer handling.
* Non-privileged read-only monitoring port.
* New statistics reporting.

[V2]
 * reset package release
 * adapt license name to the new format

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@westermo.com>
2023-06-22 21:35:44 +03:00
Jeffery To
c8cb72c3dd
Merge pull request #21147 from cottsay/openelp
openelp: Add new package
2023-06-22 01:02:07 +08:00
Tianling Shen
1aa41e92ac
cloudflared: Update to 2023.6.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-21 20:47:19 +08:00
Dirk Brenken
b9bd6cdb0d
banip: release 0.8.8-1
* Support MAC-/IPv4/IPv6 ranges in CIDR notation
* Support  concatenation of local MAC addresses with IPv4/IPv6 addresses, e.g. to enforce dhcp assignments (see readme)
* small fixes & cosmetics
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-06-21 10:53:43 +02:00
Florian Eckert
19bb9251b5
Merge pull request #21378 from TDT-AG/pr/20230615-modemmanager
modemmanager: do not cache virtual device events
2023-06-21 08:51:06 +02:00
Stan Grishin
bd8f4926df
Merge pull request #21411 from stangri/master-https-dns-proxy
https-dns-proxy: update to 2023-05-25-2
2023-06-20 09:58:05 -06:00
Scott K Logan
00a9308112 openelp: Add new package
OpenELP is an open source EchoLink proxy for Linux and Windows. It aims
to be efficient and maintain a small footprint, while still implementing
all of the features present in the official EchoLink proxy.

Signed-off-by: Scott K Logan <logans@cottsay.net>
2023-06-20 02:40:59 -07:00
Tianling Shen
e4a22284cb
v2ray-geodata: Update to latest version
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-20 13:11:16 +08:00
Tianling Shen
c912e2bced
xray-core: update to 1.8.3
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-20 13:11:04 +08:00
Stan Grishin
a31640ac7c https-dns-proxy: update to 2023-05-25-2
bugfix: proper mdns object creation
bugfix: prevent fw errors by allowing custom interfaces in config

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-06-20 02:02:51 +00:00
Philip Prindeville
fc4cd3aee5 isc-dhcp: don't require subnet pools
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-06-19 19:31:45 -06:00
Philip Prindeville
f9be61715f isc-dhcp: force sending unrequested parameters
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-06-19 19:27:49 -06:00
Tianling Shen
194cf52a82
cloudflared: Update to 2023.6.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-19 14:44:12 +08:00
Philip Prindeville
7f8aea6d86 strongswan: make parsing more consistent
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-06-15 18:33:08 -06:00
Florian Eckert
fd63e400ba modemmanager: if an alias name is used do not check sysfs path
If an alias name is used for the modem, then a check if the device exists
in sysfs does not work. To fix this remove the check if the sysfs device
exists. The protocoll handler already checks if the modem is responsible
for this device on the next line.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-06-15 15:45:16 +02:00
Florian Eckert
e66fead6d4 modemmanager: do not cache virtual device events
On small systems with many virtual devices, the modem manager sometimes
could not start because it took too long until all devices for the modem
were recognised. This is because all system events that are stored in
the file events.cache have to be processed. To speed up the processing,
all devices under /sys/devices/virtual are now filtered out so that they
do not have to be processed.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-06-15 15:09:55 +02:00
W. Michael Petullo
4a5dc03ddb krb5: update to 1.21
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-06-15 12:37:55 +02:00
e74562f40a
Merge branch 'openwrt:master' into master 2023-06-15 00:49:26 +05:30
Tianling Shen
27e6796a83 cloudreve: Update to 3.8.0
- Fixed packing web frontend assets
- Enabled build for riscv64

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-14 13:46:44 +08:00
Christian Marangi
9365622f27
nginx: create empty directory for module.d include
Fix a bug on installation of nginx-mod-luci where module.d directory
is not found and luci.module creation fails.
Correctly create empty directory for module.d include for dynamic module
loading by placing file in this directory.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-06-12 17:08:40 +02:00
Baptiste Fouques
1ea13ed8a1 ddns: Prevent clearing of desec.io entries
When using both ipv4 and ipv6 entries on the same host, ddns is clearing A
(or AAAA) record depending on the connection (ipv4 or ipv6).

see https://desec.readthedocs.io/en/latest/dyndns/update-api.html#determine-ip-addresses

Signed-off-by: Baptiste Fouques <bateast@duck.com>
Update comment and bump PKG_RELEASE number.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-06-12 16:03:04 +02:00
Nick Hainke
bd2b4f311a tunneldigger: add package for establishing L2TPv3 tunnels over UDP
In the previous commit we already added tunneldigger-broker. Add the
corresponding client.

This PR is just a refactoring of the already existing opkg package from
wlanslovenija [0].

[0] - https://github.com/wlanslovenija/firmware-packages-opkg/tree/master/net/tunneldigger

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-06-12 14:54:58 +02:00
Nick Hainke
8298ce8234 tunneldigger-broker: add broker for tunneldigger
In mesh communities, tunneldigger is widely used to create L2TPv3 tunnels
and mesh via them. Since the broker is typically installed on other
distributions, the openwrt broker package has not received any
maintenance in recent years [0]. I  take now care of the further maintaince
of this package. Furthermore, I consulted with the maintainers to ensure
that they were comfortable with the change [1].

This PR is just a refactoring of the already existing opkg package from
wlanslovenija. It fixes config parsing and in general the config, adapts
to the new python syntax and fixes dependency handling.

- [0] https://github.com/wlanslovenija/firmware-packages-opkg/tree/master/net/tunneldigger-broker
- [1] https://github.com/wlanslovenija/firmware-packages-opkg/issues/24

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-06-12 14:54:58 +02:00
Oskari Rauta
da8c4ee3b8 netavark: update to v1.6.0
netavark v1.6.0 was released, so instead of using
git version, use release. Does not contain very
much of changes, but list is available from netavark's
commit log.

Software now comes with additional tool named
netavark-dhcp-proxy-client which is now included
in package.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-06-12 14:15:06 +08:00
Christian Marangi
e182b15eb7
xtables-addons: fix compilation error on kernel 6.1
Fix compilation error on kernel 6.1.
Fix compilation error:
In file included from /mnt/Data/Sources/openwrt/x-wrt/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/xtables-addons-3.24/extensions/LUA/controller.h:24,
                 from /mnt/Data/Sources/openwrt/x-wrt/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/xtables-addons-3.24/extensions/LUA/xt_LUA_target.c:27:
/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/xtables-addons-3.24/extensions/LUA/lua/lua.h:12:10: fatal error: stddef.h: No such file or directory
   12 | #include <stddef.h>
      |          ^~~~~~~~~~
compilation terminated.

The error is caused by commit 04e85bbf71c9 ("isystem: delete global
-isystem compile option") present upstream from kernel 5.16. This
commit dropped the inclusion of system headers by default and caused
error on LUA module.
Following what is done in the commit for the required code, modify the
LUA Kbuild to include these header and restore correct compilation of
the LUA module.

Fixes: #21294
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-06-11 14:33:50 +02:00
Oskari Rauta
b6c2ed0b8d aardvark-dns: update to v1.6.0
aardvark-dns v1.6.0 was released,
so instead of using git version, use release -
similarly like netavark.
Very much hasn't changed but list of changes
is in git commit log of aardvark-dns.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-06-12 00:58:35 +08:00
Tianling Shen
eda669c819
dnsproxy: Update to 0.50.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-12 00:55:32 +08:00
Christian Marangi
3f080e484e
nginx: bump to new 1.25.0 release
Bump nginx to new 1.25.0 release.
Changes:

 *) Feature: experimental HTTP/3 support.

Every patch automatically refreshed.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-06-11 10:07:43 +02:00
Stan Grishin
36799888ca
Merge pull request #21282 from stangri/master-curl
curl: update to 8.1.2
2023-06-11 08:01:38 -06:00
Christian Marangi
add3cbfcd3
nginx: fix problem with migration of uci conf template
Fix some problem with migration of uci conf template and include of
module.d directive.

Fix 2 case:
- uci.conf.template not versioned but with the include module.d
  resulting in double include module.d

- uci.conf.template version 1.1 with the include module.d at the end
  of the config. This is problematic for nginx as modules must be
  included before any http directive.

Handle this 2 case to restore a working uci.conf.template configuration
on migrated config.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-06-11 04:36:12 +02:00
Christian Marangi
15271cb467
nginx-util: bump uci conf template version
Bump uci conf template version to 1.2 to sync with nginx version
handling some migration problem.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-06-11 04:36:12 +02:00
Leonid Bogdanov
c662aefd9a transmission: Fix env variables passing
It's not possible to configure custom Transmission web home as corresponding
env var gets overwritten by the command that sets CA bundle env var.

Signed-off-by: Leonid Bogdanov <leonidbogdanov86@gmail.com>
2023-06-11 12:14:17 +01:00
Oskari Rauta
9bc2733f31 netbird: update to 0.21.1
Release notes: https://github.com/netbirdio/netbird/releases

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-06-11 12:16:47 +02:00
c40069eab8
Merge branch 'openwrt:master' into master 2023-06-10 18:38:20 +05:30
Toke Høiland-Jørgensen
1a9f2b66fe acme-acmesh: Bump to version 3.0.6
Important security fix.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2023-06-09 19:57:25 +02:00
Ivan Pavlov
808f67d615 openvpn: fix ipchange hotplug event
In f8a8b71e26 openvpn introduced new hotplug events.
For server config, ipchange hotplug event produces an error.
So, make ipchange hotplug event for client only

Fixes https://github.com/openwrt/packages/issues/21200

Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
2023-06-09 14:46:03 +03:00
S. Brusch
1813bf2c6e crowdsec: new upstream release version 1.5.2
Update crowdsec to latest upstream release version 1.5.2

Signed-off-by: S. Brusch <ne20002@gmx.ch>

Maintainer: Kerma Gérald <gandalf@gk2.net>
Run tested: ipq40xx/generic, Fritzbox 4040, Openwrt 22.03.5

Description: update to latest version of upstream
2023-06-08 13:11:26 +08:00
ee57376761
Merge branch 'openwrt:master' into master 2023-06-07 22:44:32 +05:30
Jan Hák
439694a012 knot: update to version 3.2.7
Signed-off-by: Jan Hák <jan.hak@nic.cz>
2023-06-07 16:57:52 +02:00
Peter van Dijk
fe2c009d68 pdns: update to 4.8.0
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2023-06-06 19:52:59 +03:00
Dobroslaw Kijowski
684010e9cb adguardhome: bump to 0.107.29
* Full changelog available at:
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.26
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.27
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.28
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.29

Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
2023-06-06 16:28:35 +08:00
Stan Grishin
5afd8e088a curl: update to 8.1.2
* https://curl.se/changes.html#8_1_2

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-06-05 19:35:15 +00:00
Dirk Brenken
767d1ec663
banip: release 0.8.7-1
* Optionally auto-add entire subnets to the blocklist Sets based on an additional RDAP request with the
   monitored suspicious IP, set 'ban_autoblocksubnet' accordingly (disabled by default).
   For more information regarding RDAP see
   https://www.ripe.net/manage-ips-and-asns/db/registration-data-access-protocol-rdap for reference.
* small fixes & cosmetics
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-06-05 17:20:42 +02:00
John Audia
c5737be112 snort3: update to 3.1.63.0
Upstream bump

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <therealgraysky@proton.me>
2023-06-05 17:47:39 +08:00
Oskari Rauta
c5bf970241 speedtestcpp: add new package
speedtestcpp is a fork of Taganaka's speedtest, rewritten.

It has some improvements such as
 - interactive result show
 - use server recommended profiles, which makes it faster (can be disabled)
 - and more..

It also provides it's functions in shared and static libraries
and offers development headers for integrating speedtest to
features to another projects.

This commit replaces speedtestpp since this fork has
all the same features + more.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-06-04 20:18:35 +08:00
44c212cdc6
Merge branch 'openwrt:master' into master 2023-06-04 16:01:12 +05:30
Dengfeng Liu
fc8cc7aa8f xfrpc: update to 2.6.633
support socks5

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2023-06-04 13:59:08 +08:00
fb7db46440
Merge branch 'openwrt:master' into master 2023-06-03 00:05:36 +05:30
Tianling Shen
d717bace8d
dnsproxy: Update to 0.49.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-02 21:15:04 +08:00
Maxim Storchak
33e1deadf8 nfs-kernel-server: remove libwrap from the dependencies
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2023-06-02 15:53:04 +03:00
David Bauer
55389bd3f3
Merge pull request #20747 from blocktrron/respondd-20230330
respondd: add new package
2023-06-01 23:23:07 +02:00
Tianling Shen
56de9f91fd
v2ray-geodata: Update to latest version
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-01 16:20:20 +08:00
Tianling Shen
b95ec1db56
v2ray-core: Update to 5.7.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-01 16:00:21 +08:00
Tianling Shen
0625f038b3
cloudflared: Update to 2023.5.1
Fixed build issue with Go 1.20.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-01 16:00:05 +08:00
Toke Høiland-Jørgensen
cc78c5e2ba
Merge pull request #21079 from hgl/acme-common
acme: improve
2023-05-31 11:06:04 +02:00
Dengfeng Liu
6cf2103774 apfree-wifidog: Update to 6.02.1939
1. support fw4
2. support openssl3.0

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2023-05-31 08:17:34 +03:00
Jianhui Zhao
dda8ba0ca7 freeradius3: Update to 3.0.26
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2023-05-29 18:13:06 +03:00
Glenn Strauss
19291ee195 lighttpd: update to lighttpd 1.4.71 release hash
remove patches included upstream

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-05-28 09:29:41 +03:00
Zephyr Lykos
3d368ddc35 tailscale: update to 1.42.0
Signed-off-by: Zephyr Lykos <git@mochaa.ws>
2023-05-27 13:14:01 +08:00
Stan Grishin
f0b30847da
Merge pull request #21177 from stangri/master-https-dns-proxy
https-dns-proxy: update to 2023-05-25-1
2023-05-26 08:17:30 -06:00
Glen Huang
7b91373bd1 nginx: refactor Makefile
Make modules follow a naming convention, which enables:

1. Inline ADDITIONAL_MODULES into CONFIGURE_ARGS
2. Consolidate some parts of Quilt and Download for each module into
BuildModule

Signed-off-by: Glen Huang <me@glenhuang.com>
[ fix conflict error ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-26 13:51:50 +02:00
Glen Huang
f5d7a26531 nginx: make nginx-mod-luci depend on nginx-ssl
Change dependency from nginx virtual migration package to nginx-ssl for
nginx-mod-luci nginx module package.

Signed-off-by: Glen Huang <me@glenhuang.com>
[ add commit description ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-26 13:51:50 +02:00
Alexandru Ardelean
59c8be32fa mstpd: drop package (replaced by ustp in core)
OpenWrt core has a package called ustp which is an OpenWrt adaptation (from
mstpd) for OpenWrt (using libubox, libubus, etc).

No sense in keeping mstpd anymore.
We can just update ustp.
Also, if mstpd has any updates, they can be ported over to ustp too.

Abandoned PR:
   https://github.com/openwrt/packages-abandoned/pull/30

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-05-26 13:30:34 +03:00
60599620c1
Merge branch 'openwrt:master' into master 2023-05-26 14:14:56 +05:30
38a8a08e6e
nginx: Update uci.conf.template
Signed-off-by: Hayzam Sherif <hayzam@gmail.com>
2023-05-26 14:13:07 +05:30
Stan Grishin
b9cb40b28d
Merge pull request #21149 from stangri/master-curl
curl: update to 8.1.1
2023-05-26 02:43:02 -06:00
Stan Grishin
eb40aa1b5d https-dns-proxy: update to 2023-05-25-1
* update to a new upstream commit, fixes #19366
* update patches/010-cmakelists-remove-cflags.patch as upstream file was update
* remove patches/020-cmakelists-add-version.patch as version is now set elsewhere
* add patches/020-src-options.c-add-version.patch to set the version information
* adjust PROCD START time to 95

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-05-26 08:30:31 +00:00
4a059a1f16
Merge branch 'openwrt:master' into master 2023-05-26 12:14:45 +05:30
Luiz Angelo Daros de Luca
7b71d000da openvpn-easy-rsa: update to 3.1.3
Version 3.0.9 of EasyRSA introduces OpenSSL 3 (3.0.3) support.

For other changes, see:
- https://github.com/OpenVPN/easy-rsa/releases/tag/v3.0.9
- https://github.com/OpenVPN/easy-rsa/releases/tag/v3.1.0
- https://github.com/OpenVPN/easy-rsa/releases/tag/v3.1.1
- https://github.com/OpenVPN/easy-rsa/releases/tag/v3.1.2
- https://github.com/OpenVPN/easy-rsa/releases/tag/v3.1.3

Closes #21142

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2023-05-26 06:28:38 +03:00
Jeffery To
4d8cc440a4 uwsgi: Update to 2.0.21, refresh patches
This version includes support for Python 3.11.

This also:

* Updates Build/Compile to only build selected subpackages.

* Removes the submenu in menuconfig; there are too few subpackages to
  justify the extra complexity.

Fixes: https://github.com/openwrt/packages/issues/21163
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-26 06:28:18 +03:00
Stan Grishin
b126e765cc curl: update to 8.1.1
* https://curl.se/changes.html#8_1_1

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-05-23 22:26:31 +00:00
Stan Grishin
b9c7aa50f4 curl: update to 8.1.0
* https://curl.se/changes.html#8_1_0

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-05-23 22:14:13 +00:00
John Audia
84b1ce49a9 snort3: update to 3.1.62.0
Upstream bump

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <therealgraysky@proton.me>
2023-05-23 15:52:59 +08:00
b81f68027f
Merge branch 'openwrt:master' into master 2023-05-23 03:23:53 +05:30
Thlv Alivs
8dd2a6edf2 ocserv: add otp config option
and also fix build error:
Package ocserv is missing dependencies for the following libraries:
liboath.so.0

Signed-off-by: Thlv Alivs <zgmzzzz18@gmail.com>
2023-05-21 19:42:53 +08:00
Marius Dinu
f66bcdd1b6 transmission: add missing nls.mk include
Fixes issue #21016.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
2023-05-21 12:29:36 +03:00
Zephyr Lykos
0da92a74aa tailscale: update to 1.40.1
Signed-off-by: Zephyr Lykos <git@mochaa.ws>
2023-05-21 14:08:25 +08:00
Glen Huang
57eb73ae63
nginx: add configure flag --with-compat
Without it, nginx could complain about incompatible dynamic modules

Signed-off-by: Glen Huang <me@glenhuang.com>
[ fix conflict error on cherry-pick ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-20 23:18:00 +02:00
Christian Marangi
6a3cc76ea5
nginx: introduce migration for old uci conf template
Introduce support for migration of old uci conf template to new version.
Uci conf template are saved in config backup. This cause problem on config
restore as old config template might have compatibility problem with new
nginx implementation.

Add logic to migrate the template script at runtime to correctly align
to latest change from nginx and nginx-util.

Fixes: 65a676ed56 ("nginx: introduce support for dynamic modules")
Fixes: #20904
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-20 23:18:00 +02:00
Christian Marangi
e499f0adf1
nginx-util: add version to UCI conf template
Add versioning to UCI conf template as a commented version.
This permits the introduction of migration script since the template is
saved and restored config restore. The migration script are handled by
nginx init.d script.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-20 23:18:00 +02:00
Michal Hrusecky
f8a8b71e26 openvpn: Add more hotplug events
OpenVPN supports more hooks than just 'up' and 'down'. Especially
reacting to 'route-up' and 'route-pre-down' events could be important.
When routing table changes, it can make sense to adapt firewall, run
some tests or change even more routes. This change passes those events
to hotplug, so it is easy to react to them without changing
configuration files provided by VPN provider.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2023-05-20 12:58:33 +03:00
W. Michael Petullo
1abea58fec scapy: update to 2.5.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 14:25:37 +08:00
W. Michael Petullo
78c7e8079e nfdump: update to 4.2.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:16:41 +08:00
Tianling Shen
e31dfd4a9e
Merge pull request #21103 from jefferyto/gensio-without-go
gensio: Fix build on build host with Go compiler
2023-05-20 13:09:04 +08:00
Scott McKenzie
61106a8df2 cloudflared: support setting tunnel token
Allows user to provide a token for Cloudflare tunnel.
When provided along with credentials, this will take precedence.

Signed-off-by: Scott McKenzie <scott@noizyland.net>
2023-05-20 13:04:04 +08:00
Ray Wang
c2ed86d59f natmap: add myself to maintainers
Signed-off-by: Ray Wang <r@hev.cc>
2023-05-20 07:55:27 +08:00
Ray Wang
ad612d813c natmap: update to 20230519
Signed-off-by: Ray Wang <r@hev.cc>
2023-05-20 07:55:27 +08:00
Jeffery To
b9f23d957d
gensio: Fix build on build host with Go compiler
If the build host has the Go compiler installed, then configure will
detect this and will try to compile gensio's Go support, leading to a
build failure.

This disables Go support entirely to fix this build failure.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-19 20:03:43 +08:00
c656895b01
Merge branch 'openwrt:master' into master 2023-05-19 09:29:58 +05:30
Daniel Golle
142bbc77f1
transmission: add missing ftruncate64 syscall
Transmission 4.0.3 started using the ftruncate64 syscall.
Add it to the list of allowed syscalls.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-05-19 02:55:07 +01:00
Nick Hainke
5cd812bd6a arp-scan: fix missing libcap dependency
arp-scan complains about missing libcap dependency. Disable the
dependency.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-18 12:46:15 +03:00
S. Brusch
0c15327f98 crowdsec: new upstream release version 1.5.1
Update crowdsec to latest upstream release version 1.5.1

Signed-off-by: S. Brusch <ne20002@gmx.ch>

Maintainer: Kerma Gérald <gandalf@gk2.net>
Run tested: ipq40xx/generic, Fritzbox 4040, Openwrt 22.03.5

Description: update to latest version of upstream
2023-05-18 17:32:40 +08:00
Tianling Shen
710ef135cf tgt: Update to 1.0.86
musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-18 16:36:53 +08:00
Glen Huang
6d61014e51 acme: standardize key_type
keylength, being an acme.sh value type, uses pure numbers for rsa keys.
This can be disorienting for other acme clients. This change introduces
a new option "key_type" that aims to remove this ambiguity, and makes
all key type names follow the same pattern, making acme-common more
client agnostic.

Signed-off-by: Glen Huang <me@glenhuang.com>
2023-05-18 12:48:47 +08:00
Daniel Golle
6afcc1bc88
transmission: add new syscall needed with musl 1.2.4
Apparently the "revcmsg" syscall is now needed, add it to the list
of allowed syscalls.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-05-18 03:18:33 +01:00
Nick Hainke
4ec0459fd3 crowdsec: fix compilation with musl 1.2.4
_LARGEFILE64_SOURCE has to be defined in the source, or CFLAGS can be used
to pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Fixes errors in the form of:

Building targets
github.com/mattn/go-sqlite3
sqlite3-binding.c:35901:42: error: 'pread64' undeclared here (not in a function); did you mean 'pread'?
35901 |   { "pread64",      (sqlite3_syscall_ptr)pread64,    0  },
      |                                          ^~~~~~~
      |                                          pread
sqlite3-binding.c:35919:42: error: 'pwrite64' undeclared here (not in a function); did you mean 'pwrite'?
35919 |   { "pwrite64",     (sqlite3_syscall_ptr)pwrite64,   0  },
      |                                          ^~~~~~~~
      |                                          pwrite
sqlite3-binding.c: In function 'seekAndRead':
sqlite3-binding.c:35905:49: error: unknown type name 'off64_t'; did you mean 'off_t'?
35905 | #define osPread64 ((ssize_t(*)(int,void*,size_t,off64_t))aSyscall[10].pCurrent)
      |                                                 ^~~~~~~
sqlite3-binding.c:38767:11: note: in expansion of macro 'osPread64'
38767 |     got = osPread64(id->h, pBuf, cnt, offset);
      |           ^~~~~~~~~
sqlite3-binding.c:35905:58: error: expected ')' before 'aSyscall'
35905 | #define osPread64 ((ssize_t(*)(int,void*,size_t,off64_t))aSyscall[10].pCurrent)
      |                   ~                                      ^~~~~~~~
sqlite3-binding.c:38767:11: note: in expansion of macro 'osPread64'
38767 |     got = osPread64(id->h, pBuf, cnt, offset);
      |           ^~~~~~~~~
sqlite3-binding.c: In function 'seekAndWriteFd':
sqlite3-binding.c:35923:57: error: unknown type name 'off64_t'; did you mean 'off_t'?
35923 | #define osPwrite64  ((ssize_t(*)(int,const void*,size_t,off64_t))\
      |                                                         ^~~~~~~
sqlite3-binding.c:38896:17: note: in expansion of macro 'osPwrite64'
38896 |   do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR);
      |                 ^~~~~~~~~~
sqlite3-binding.c:35924:21: error: expected ')' before 'aSyscall'
35924 |                     aSyscall[13].pCurrent)
      |                     ^~~~~~~~
sqlite3-binding.c:38896:17: note: in expansion of macro 'osPwrite64'
38896 |   do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR);
      |                 ^~~~~~~~~~
sqlite3-binding.c:35923:21: note: to match this '('
35923 | #define osPwrite64  ((ssize_t(*)(int,const void*,size_t,off64_t))\
      |                     ^
sqlite3-binding.c:38896:17: note: in expansion of macro 'osPwrite64'
38896 |   do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR);
      |                 ^~~~~~~~~~

make[2]: *** [Makefile:153: /home/nick/openwrt/build_dir/target-aarch64_cortex-a53_musl/crowdsec-1.4.6/.built] Error 1
make[2]: Leaving directory '/home/nick/openwrt/feeds/packages/net/crowdsec'

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-17 22:01:35 +08:00
Glen Huang
38eeca5df9 acme-common: no exporting webroot
ACME clients shouldn't deal with deprecated values. They should be
processed by acme-common.

Reformatting is done by shfmt.

Signed-off-by: Glen Huang <me@glenhuang.com>
2023-05-17 17:27:38 +08:00
b6a6558c10
Merge branch 'openwrt:master' into master 2023-05-17 14:01:30 +05:30
Tianling Shen
79e507cb34 nfs-kernel-server: fix compilation with musl 1.2.4
musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-17 16:03:28 +08:00
Darren Tucker
74c4ad2c0c openssh: sftp no longer needs crypto or zlib.
OpenSSH 9.1p1 removed remaining dependencies and stopped linking sftp,
sftp-server and scp against libcrypto or libz.  This change moves those
package dependencies from the default to those that still need them.
In particular, this will allow sftp-server to be installed for use with
Dropbear without needing to install zlib or openssl.

Signed-off-by: Darren Tucker <dtucker@dtucker.net>
2023-05-17 11:02:19 +03:00
Darren Tucker
1daddd582f openssh: Use CDN first for source downloads.
Also point to https for website.

Signed-off-by: Darren Tucker <dtucker@dtucker.net>
2023-05-17 11:02:19 +03:00
d0a513a41c
Merge branch 'openwrt:master' into master 2023-05-17 11:41:51 +05:30
Lucian Cristian
a5c2eececb libreswan: update to 4.11
Fixes https://libreswan.org/security/CVE-2023-30570

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2023-05-17 07:23:50 +02:00
Lucian Cristian
0f40d9f404 openfortivpn: update to 1.20.3
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2023-05-17 07:45:34 +08:00
S. Brusch
fa771eead4 crowdsec-firewall-bouncer: new upstream release version 0.0.27
Update crowdsec-firewall-bouncer to latest upstream release version 0.0.27

Signed-off-by: S. Brusch <ne20002@gmx.ch>

Maintainer: Kerma Gérald <gandalf@gk2.net>
Run tested: ipq40xx/generic, Fritzbox 4040, Openwrt 22.03.5
2023-05-17 07:45:09 +08:00
f3280a3d73
Merge branch 'openwrt:master' into master 2023-05-17 00:33:13 +05:30
Nick Hainke
c64d6135bf arp-scan: update to 1.10.0
ieee-iab is removed, see:
2a56a06649

Release Notes:
https://github.com/royhills/arp-scan/releases/tag/1.10.0

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-16 19:00:05 +02:00
Lucian Cristian
4c9ab981e2 frr: update to 8.5.1 branch
also fixes gcc 13 compile

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2023-05-16 18:56:30 +02:00
Dirk Brenken
cf4ac0301d
banip: update 0.8.6-2
* fix/rework no-op loop
* small fixes & cosmetics
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-05-16 12:34:27 +02:00
5368a89e2e
Merge branch 'openwrt:master' into master 2023-05-16 08:34:28 +05:30
Andrew Sim
f6c43e7c5a transmission: Update to v4.03
Update transmission to latest stable v4.0.3 release

Changelog: https://github.com/transmission/transmission/releases/tag/4.0.3

Signed-off-by: Andrew Sim <andrewsimz@gmail.com>
2023-05-15 18:28:01 +02:00
Christian Marangi
89731e6f4d
jool: fix compilation warning
Add patch fixing compilation warning due to wrong cast.
Fix compilation warning:
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/xlator.c: In function 'offset_equals':
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/xlator.c:878:32: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  878 |         return (offset->ns == ((__u64)instance->jool.ns & 0xFFFFFFFF))
      |                                ^
cc1: all warnings being treated as errors

In file included from ./include/linux/kernel.h:19,
                 from ./include/linux/skbuff.h:13,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/../../mod/common/skbuff.h:4,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:1:
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c: In function 'print_skb_fields':
./include/linux/kern_levels.h:5:25: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Werror=format=]
    5 | #define KERN_SOH        "\001"          /* ASCII Start Of Header */
      |                         ^~~~~~
./include/linux/printk.h:422:25: note: in definition of macro 'printk_index_wrap'
  422 |                 _p_func(_fmt, ##__VA_ARGS__);                           \
      |                         ^~~~
./include/linux/printk.h:535:9: note: in expansion of macro 'printk'
  535 |         printk(KERN_CONT fmt, ##__VA_ARGS__)
      |         ^~~~~~
./include/linux/kern_levels.h:24:25: note: in expansion of macro 'KERN_SOH'
   24 | #define KERN_CONT       KERN_SOH "c"
      |                         ^~~~~~~~
./include/linux/printk.h:535:16: note: in expansion of macro 'KERN_CONT'
  535 |         printk(KERN_CONT fmt, ##__VA_ARGS__)
      |                ^~~~~~~~~
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:38:17: note: in expansion of macro 'pr_cont'
   38 |                 pr_cont(text "\n", ##__VA_ARGS__); \
      |                 ^~~~~~~
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:112:9: note: in expansion of macro 'print'
  112 |         print(tabs, "data:%ld", skb->data - skb->head);
      |         ^~~~~
./include/linux/kern_levels.h:5:25: error: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'sk_buff_data_t' {aka 'unsigned char *'} [-Werror=format=]
    5 | #define KERN_SOH        "\001"          /* ASCII Start Of Header */
      |                         ^~~~~~
./include/linux/printk.h:422:25: note: in definition of macro 'printk_index_wrap'
  422 |                 _p_func(_fmt, ##__VA_ARGS__);                           \
      |                         ^~~~
./include/linux/printk.h:535:9: note: in expansion of macro 'printk'
  535 |         printk(KERN_CONT fmt, ##__VA_ARGS__)
      |         ^~~~~~
./include/linux/kern_levels.h:24:25: note: in expansion of macro 'KERN_SOH'
   24 | #define KERN_CONT       KERN_SOH "c"
      |                         ^~~~~~~~
./include/linux/printk.h:535:16: note: in expansion of macro 'KERN_CONT'
  535 |         printk(KERN_CONT fmt, ##__VA_ARGS__)
      |                ^~~~~~~~~
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:38:17: note: in expansion of macro 'pr_cont'
   38 |                 pr_cont(text "\n", ##__VA_ARGS__); \
      |                 ^~~~~~~
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:113:9: note: in expansion of macro 'print'
  113 |         print(tabs, "tail:%u", skb->tail);
      |         ^~~~~
./include/linux/kern_levels.h:5:25: error: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'sk_buff_data_t' {aka 'unsigned char *'} [-Werror=format=]
    5 | #define KERN_SOH        "\001"          /* ASCII Start Of Header */
      |                         ^~~~~~
./include/linux/printk.h:422:25: note: in definition of macro 'printk_index_wrap'
  422 |                 _p_func(_fmt, ##__VA_ARGS__);                           \
      |                         ^~~~
./include/linux/printk.h:535:9: note: in expansion of macro 'printk'
  535 |         printk(KERN_CONT fmt, ##__VA_ARGS__)
      |         ^~~~~~
./include/linux/kern_levels.h:24:25: note: in expansion of macro 'KERN_SOH'
   24 | #define KERN_CONT       KERN_SOH "c"
      |                         ^~~~~~~~
./include/linux/printk.h:535:16: note: in expansion of macro 'KERN_CONT'
  535 |         printk(KERN_CONT fmt, ##__VA_ARGS__)
      |                ^~~~~~~~~
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:38:17: note: in expansion of macro 'pr_cont'
   38 |                 pr_cont(text "\n", ##__VA_ARGS__); \
      |                 ^~~~~~~
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:114:9: note: in expansion of macro 'print'
  114 |         print(tabs, "end:%u", skb->end);
      |         ^~~~~
cc1: all warnings being treated as errors

/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/nl/instance.c: In function 'serialize_instance':
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/nl/instance.c:40:46: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
   40 |         error = nla_put_u32(skb, JNLAIE_NS, ((__u64)entry->ns) & 0xFFFFFFFF);
      |                                              ^
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-15 00:30:17 +02:00
Georgi Valkov
216ac068ce
xtables-addons: bump to 3.24
fa35c29 Xtables-addons 3.24
9db4d8d DHCPMAC: resolve cppcheck warnings
4599c30 ipv4options: resolve cppcheck warnings
5a714b6 geoip: set autoflush on stdout
f16ed5c geoip: Use stdout for output and stderr for errors/diag
a711985 build: resolve compiler warnings with gcc-13
97181e3 doc, src: improve spelling
30ddb4f doc, src: improve spelling
f3f8155 xt_geoip: bump number of territories per rule
e426ad9 Xtables-addons 3.23
51761c3 build: support for Linux 6.2
409cb5a build: replace `AC_DISABLE_STATIC` macro with an argument to `LT_INIT`
0454ff6 build: replace obsolete `AC_PROG_LIBTOOL` macro with `LT_INIT`
5b3fae8 Xtables-addons 3.22
71396f9 build: support for Linux 6.1
7ad55ad build: eliminate geoip/ make recursion
b950dae build: fix failure to recurse into asn/
cd77880 xt_asn: new module

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
[ add changelog from 3.21 to 3.24 ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-14 18:17:20 +02:00
Georgi Valkov
a2a61f1d52
xtables-addons: fix build warnings treated as errors since b2d1eb7
Use kcalloc and remove conflicting #include <stdarg.h> to fix
the following build warnings treated as errors since b2d1eb7:

error: ISO C90 forbids variable length array 'buf' [-Werror=vla]
error: "va_start" redefined [-Werror]
error: "va_arg" redefined [-Werror]
error: "va_copy" redefined [-Werror]
getstr(s)==NULL is always false

/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/byte_array.c: In function 'byte_array_to_string':
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/byte_array.c:110:9: error: ISO C90 forbids variable length array 'buf' [-Werror=vla]
  110 |         uint8_t buf[(array->length * 3) + 255];
      |         ^~~~~~~
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/byte_array.c:112:9: error: ISO C90 forbids variable length array 'res' [-Werror=vla]
  112 |         char res[255 + (array->length * 3)]; /* make sure the buffer is big enough*/
      |         ^~~~
cc1: all warnings being treated as errors

In file included from ./include/linux/string.h:9,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/include/string.h:1,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/ldebug.c:10:
./include/linux/stdarg.h:6: error: "va_start" redefined [-Werror]
    6 | #define va_start(v, l)  __builtin_va_start(v, l)
      |
  CC [M]  /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lstrlib.o
In file included from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/ldebug.c:8:
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:47: note: this is the location of the previous definition
   47 | #define va_start(v,l)   __builtin_va_start(v,l)
      |
./include/linux/stdarg.h:8: error: "va_arg" redefined [-Werror]
    8 | #define va_arg(v, T)    __builtin_va_arg(v, T)
      |
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:49: note: this is the location of the previous definition
   49 | #define va_arg(v,l)     __builtin_va_arg(v,l)
      |
./include/linux/stdarg.h:9: error: "va_copy" redefined [-Werror]
    9 | #define va_copy(d, s)   __builtin_va_copy(d, s)
      |
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:52: note: this is the location of the previous definition
   52 | #define va_copy(d,s)    __builtin_va_copy(d,s)
      |
  CC [M]  /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/ltable.o
In file included from ./include/linux/kernel.h:5,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/luaconf.h:16,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:15,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/ldump.c:12:
./include/linux/stdarg.h:6: error: "va_start" redefined [-Werror]
    6 | #define va_start(v, l)  __builtin_va_start(v, l)
      |
In file included from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:12:
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:47: note: this is the location of the previous definition
   47 | #define va_start(v,l)   __builtin_va_start(v,l)
      |
./include/linux/stdarg.h:8: error: "va_arg" redefined [-Werror]
    8 | #define va_arg(v, T)    __builtin_va_arg(v, T)
      |
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:49: note: this is the location of the previous definition
   49 | #define va_arg(v,l)     __builtin_va_arg(v,l)
      |
./include/linux/stdarg.h:9: error: "va_copy" redefined [-Werror]
    9 | #define va_copy(d, s)   __builtin_va_copy(d, s)
      |
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:52: note: this is the location of the previous definition
   52 | #define va_copy(d,s)    __builtin_va_copy(d,s)
      |
In file included from ./include/linux/kernel.h:5,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/luaconf.h:16,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:15,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lfunc.c:13:
./include/linux/stdarg.h:6: error: "va_start" redefined [-Werror]
    6 | #define va_start(v, l)  __builtin_va_start(v, l)
      |
In file included from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:12:
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:47: note: this is the location of the previous definition
   47 | #define va_start(v,l)   __builtin_va_start(v,l)
      |
./include/linux/stdarg.h:8: error: "va_arg" redefined [-Werror]
    8 | #define va_arg(v, T)    __builtin_va_arg(v, T)
      |
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:49: note: this is the location of the previous definition
   49 | #define va_arg(v,l)     __builtin_va_arg(v,l)
      |
./include/linux/stdarg.h:9: error: "va_copy" redefined [-Werror]
    9 | #define va_copy(d, s)   __builtin_va_copy(d, s)
      |
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:52: note: this is the location of the previous definition
   52 | #define va_copy(d,s)    __builtin_va_copy(d,s)
      |
In file included from ./include/linux/kernel.h:5,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/luaconf.h:16,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:15,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lmem.c:13:
./include/linux/stdarg.h:6: error: "va_start" redefined [-Werror]
    6 | #define va_start(v, l)  __builtin_va_start(v, l)
      |
In file included from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:12:
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:47: note: this is the location of the previous definition
   47 | #define va_start(v,l)   __builtin_va_start(v,l)
      |
./include/linux/stdarg.h:8: error: "va_arg" redefined [-Werror]
    8 | #define va_arg(v, T)    __builtin_va_arg(v, T)
      |
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:49: note: this is the location of the previous definition
   49 | #define va_arg(v,l)     __builtin_va_arg(v,l)
      |
./include/linux/stdarg.h:9: error: "va_copy" redefined [-Werror]
    9 | #define va_copy(d, s)   __builtin_va_copy(d, s)
      |
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:52: note: this is the location of the previous definition
   52 | #define va_copy(d,s)    __builtin_va_copy(d,s)
      |
In file included from ./include/linux/kernel.h:5,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/include/stdio.h:1,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lobject.c:10:
./include/linux/stdarg.h:6: error: "va_start" redefined [-Werror]
    6 | #define va_start(v, l)  __builtin_va_start(v, l)
      |
In file included from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lobject.c:7:
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:47: note: this is the location of the previous definition
   47 | #define va_start(v,l)   __builtin_va_start(v,l)
      |
./include/linux/stdarg.h:8: error: "va_arg" redefined [-Werror]
    8 | #define va_arg(v, T)    __builtin_va_arg(v, T)
      |
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:49: note: this is the location of the previous definition
   49 | #define va_arg(v,l)     __builtin_va_arg(v,l)
      |
./include/linux/stdarg.h:9: error: "va_copy" redefined [-Werror]
    9 | #define va_copy(d, s)   __builtin_va_copy(d, s)
      |
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:52: note: this is the location of the previous definition
   52 | #define va_copy(d,s)    __builtin_va_copy(d,s)
      |
In file included from ./include/linux/kernel.h:5,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/luaconf.h:16,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:15,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/llimits.h:12,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lopcodes.h:10,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lopcodes.c:11:
./include/linux/stdarg.h:6: error: "va_start" redefined [-Werror]
    6 | #define va_start(v, l)  __builtin_va_start(v, l)
      |
In file included from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:12:
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:47: note: this is the location of the previous definition
   47 | #define va_start(v,l)   __builtin_va_start(v,l)
      |
./include/linux/stdarg.h:8: error: "va_arg" redefined [-Werror]
    8 | #define va_arg(v, T)    __builtin_va_arg(v, T)
      |
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:49: note: this is the location of the previous definition
   49 | #define va_arg(v,l)     __builtin_va_arg(v,l)
      |
./include/linux/stdarg.h:9: error: "va_copy" redefined [-Werror]
    9 | #define va_copy(d, s)   __builtin_va_copy(d, s)
      |
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:52: note: this is the location of the previous definition
   52 | #define va_copy(d,s)    __builtin_va_copy(d,s)
      |
In file included from ./include/linux/kernel.h:5,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/luaconf.h:16,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:15,
                 from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lstate.c:13:
./include/linux/stdarg.h:6: error: "va_start" redefined [-Werror]
    6 | #define va_start(v, l)  __builtin_va_start(v, l)
      |
In file included from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:12:
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:47: note: this is the location of the previous definition
   47 | #define va_start(v,l)   __builtin_va_start(v,l)
      |
./include/linux/stdarg.h:8: error: "va_arg" redefined [-Werror]
    8 | #define va_arg(v, T)    __builtin_va_arg(v, T)
      |
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:49: note: this is the location of the previous definition
   49 | #define va_arg(v,l)     __builtin_va_arg(v,l)
      |
./include/linux/stdarg.h:9: error: "va_copy" redefined [-Werror]
    9 | #define va_copy(d, s)   __builtin_va_copy(d, s)
      |
/home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:52: note: this is the location of the previous definition
   52 | #define va_copy(d,s)    __builtin_va_copy(d,s)
      |
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/ldump.c: In function 'DumpString':
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/ldump.c:63:26: error: the comparison will always evaluate as 'false' for the pointer operand in 's + 24' must not be NULL [-Werror=address]
   63 |  if (s==NULL || getstr(s)==NULL)
      |                          ^~
cc1: all warnings being treated as errors

Fixes: #20993
Fixes: #21006
Co-developed-by: Chen Minqiang <ptpt52@gmail.com>
Co-developed-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2023-05-14 18:54:16 +03:00
c91693d848
Merge branch 'openwrt:master' into master 2023-05-14 20:26:03 +05:30
Stan Grishin
5098dd0cf1
Merge pull request #20991 from stangri/master-pbr
pbr: bugfix: create IPv6 routes
2023-05-14 08:55:38 -06:00
Oskari Rauta
9c1aee4ec1 aardvark-dns: add new package
aardvark-dns is companion for netavark, recent cni replacement on podman
git version used instead of release, to maintain maximal compatibility
with netavark, also using git version.

Description:
Aardvark-dns is an authoritative dns server for A/AAAA container records.
It can forward other requests to configured resolvers.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-05-14 08:57:43 +08:00
Oskari Rauta
f9639f0dae netavark: add new package
podman is moving from cni to netavark. Netavark supports currently
only iptables, so I was in touch some time ago with mainstream
maintainer and provided a "none" firewall driver - to make it possible
to use netavark without firewalling features. Driver cannot be selected
at this time without environment variable that selects it, so I made
a config file for openwrt and a wrapper script that takes advantage of
it.

Available options are iptables, nftables and none - but selecting
nftables just tells user that nftables isn't yet supported.

firewall "none" driver is not yet included in release, so that's why
we use git version instead. I chose latest commit instead of commit
with none driver.

Description:
Netavark is a rust based network stack for containers.
It is being designed to work with Podman but is also applicable for other OCI container management applications.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-05-14 08:56:45 +08:00
Christian Marangi
24beb46bbe
siit: fix compilation warning
Fix compilation warning for stack limit and variable length array.
Fix compilation warning:
  CC [M]  /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/siit-1.2/siit.o
../siit-1.2/siit.c: In function 'ip4_fragment':
../siit-1.2/siit.c:988:9: error: ISO C90 forbids variable length array 'buff' [-Werror=vla]
  988 |         char buff[FRAG_BUFF_SIZE+hdr_len]; /* buffer to form new fragment packet */
      |         ^~~~
../siit-1.2/siit.c: In function 'siit_xmit':
../siit-1.2/siit.c:1359:1: error: the frame size of 2144 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
 1359 | }
      | ^
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-13 22:51:29 +02:00
Glenn Strauss
391f097947 lighttpd: select mbedtls for default cryptolib
wolfssl has been the base TLS library in openwrt since 21.02
mbedtls will once again be the base TLS library in openwrt 23.??

Default to mbedtls for digest functions in lighttpd

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-05-13 15:56:13 +03:00
Glenn Strauss
f4152fccad lighttpd: include mod_h2 in base package
The next version of lighttpd will move HTTP/2 support from the lighttpd
base executable into a separate module: mod_h2

Include patch to do so now, and update packaging to handle it.

HTTP/2 support is enabled by default since lighttpd 1.4.59, but if
HTTP/2 support is explicitly disabled in the configuration, then mod_h2
will not be loaded, thereby reducing lighttpd memory use.

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-05-13 15:56:13 +03:00
Glenn Strauss
a171b6a28c lighttpd: select wolfssl for default cryptolib
wolfssl has been a base TLS library in openwrt since 21.02

Default to wolfssl instead of Nettle for digest functions in lighttpd

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-05-13 15:56:13 +03:00
Glenn Strauss
0d5b110077 lighttpd: update to lighttpd 1.4.70 release hash
remove patches included upstream

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-05-13 15:56:13 +03:00
Dirk Brenken
4920d96df0
banip: release 0.8.6-1
* made the fetch utility function/autodetection more bullet proof
* no longer add suspicious IPs to the local blocklist when the nft set timeout has been set
* restructure internal functions & small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-05-12 22:30:55 +02:00
04143bcb34
Merge branch 'openwrt:master' into master 2023-05-13 01:36:10 +05:30
Nikos Mavrogiannopoulos
6ae1811ea4
Merge pull request #20970 from nmav/tmp-ocserv
ocserv: updated to 1.1.7
2023-05-12 15:53:44 +02:00
Stan Grishin
643e501c8d pbr: bugfix: create IPv6 routes
* add missing space in str_contains
* unquote variable to make sure IPv6 rotues are added
* add IPv6 routes display to status output in nft mode

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-05-11 23:07:04 +00:00
Rafał Miłecki
6020ca52bf wsdd2: fix stopping service
Function start_service() is called whenever service may need reloading.
If SMB server is not running it could be simply because it has been
stopped. Reloading service in such case is not an error so:
1. Don't log error as it isn't one
2. Don't exit with error code as it was confusing procd

This change fixes scenario like:
/etc/init.d/ksmbd stop
/etc/init.d/wsdd2 reload
(previously above wasn't stopping wsdd2)

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2023-05-11 18:21:42 +03:00
Jeffery To
8a36b03870
Merge pull request #20801 from jefferyto/python-pyproject
python: Add proper support for pyproject.toml-based builds, update Python packages for new build process
2023-05-10 12:11:07 +08:00
815fe11fea
Merge branch 'openwrt:master' into master 2023-05-10 04:53:09 +05:30
Nikos Mavrogiannopoulos
8e498b214d ocserv: updated to 1.1.7
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2023-05-09 06:20:05 +02:00
Stan Grishin
ee794aab11
Merge pull request #20944 from stangri/master-https-dns-proxy
https-dns-proxy: fixes/improvements
2023-05-08 19:44:57 -06:00
Stan Grishin
34a5faf6c3
Merge pull request #20942 from stangri/master-simple-adblock
simple-adblock: add family to firewall json objects
2023-05-08 19:44:48 -06:00
Stan Grishin
9bd9458812
Merge pull request #20930 from stangri/master-pbr
pbr: ipv6 & migration bugfixes
2023-05-08 19:41:31 -06:00
526598c63a nginx: add missing include into template 2023-05-08 13:45:32 +05:30
Anna Tikhomirova
bc2c6e63ee mwan3: bump PKG_VERSION to 2.11.7
Signed-off-by: Anna Tikhomirova <vamp@vampik.ru>
2023-05-08 09:47:08 +02:00
Florian Eckert
5f0461be8b mwan3: reset score to up+down on connected
Set the score value to the maximum value when the connected function is
called. The same happens with a disconnected event, the score value is
there set to zero.

Suggested-by: Anna Tikhomirova <vamp@vampik.ru>
Suggested-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-05-08 09:47:08 +02:00
Florian Eckert
1f6bd672fe mwan3: refactoring mwan3track action handling
Refactoring the score handling, so that only one action could take place
during run. The behaviour should be more comprehensible, since several
score actions are not processed at the same time.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-05-08 09:47:08 +02:00
Dirk Brenken
f3054a90ea
banip: release 0.8.5-2
* fixed a log parser regression introduced in latest 0.8.4 update

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-05-08 09:17:07 +02:00
251bb81d40 Resolved merge conflicts with upstream repo 2023-05-08 12:08:37 +05:30
S. Brusch
05bc30fbb2 crowdsec-firewall-bouncer: new upstream release version 0.0.26
Signed-off-by: S. Brusch <ne20002@gmx.ch>

Maintainer: Kerma Gérald <gandalf@gk2.net>
Run tested: ipq40xx/generic, Fritzbox 4040, Openwrt 22.03.5

Update crowdsec-firewall-bouncer to latest upstream release version 0.0.26
2023-05-08 10:34:37 +08:00
John Audia
47b4ceac82 snort3: update to 3.1.61.0
Upstream bump

Removed upstreamed patch: 900-fix_build_for_archs_contain_plus.patch[1]

1. 4de62ca9b9

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <therealgraysky@proton.me>
2023-05-08 00:17:18 +08:00
Christian Lachner
47ae88c379 haproxy: update to v2.6.13
- Update haproxy PKG_VERSION and PKG_HASH
- See changes: http://git.haproxy.org/?p=haproxy-2.6.git;a=shortlog

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2023-05-07 19:44:11 +08:00
Tianling Shen
4bd7befa6a
cloudflared: Update to 2023.5.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-07 17:33:16 +08:00
Nick Peng
e042899ef9 smartdns: bump to 1.2023.42
Signed-off-by: Nick Peng <pymumu@gmail.com>
2023-05-07 17:10:23 +08:00
Stan Grishin
25801ddf74 https-dns-proxy: fixes/improvements
* use shared memory to store output data
* add family option to firewall json objects, due to reports that IPv6 hijacking
  doesn't work without explicit family declaration

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-05-07 02:55:39 +00:00
Stan Grishin
0b84504670 simple-adblock: add family to firewall json objects
Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-05-07 02:29:53 +00:00
Dirk Brenken
7ac5f0a3d9
banip: release 0.8.5-1
* add support for external allowlist URLs to reference additional IPv4/IPv6 feeds, set 'ban_allowurl' accordingly
* make download retries in case of an error configurable, set 'ban_fetchretry' accordingly (default 5)
* small fixes
* readme update
* LuCI update (separate commit)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-05-06 22:42:20 +02:00
Christian Marangi
8c704f2ccc
nginx: fix compilation error for nginx-full
Fix compilation error for stream module not converted to use the PACKAGE
config flag and a missing required dependency for the DAV ext module.

Drop additional config for STREAM module since they are now included and
built by default.

Fixes: 65a676ed56 ("nginx: introduce support for dynamic modules")
Fixes: #20906
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-06 07:17:25 +02:00
Glen Huang
b2ec3ff76d uwsgi: make LuCI work
LuCI is no longer powered by lua, but ucode

Signed-off-by: Glen Huang <me@glenhuang.com>
2023-05-05 14:36:46 +02:00
Stan Grishin
c2739705b9 pbr: ipv6 & migration bugfixes
* suppress RTNETLINK errors when inserting ipv6 routes
* only display global scope IPv6 gateways in status/WebUI
* stop and disable vpn-policy-routing when migrating

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-05-05 01:48:33 +00:00
Stan Grishin
60dcf5826a
Merge pull request #20912 from stangri/master-pbr
pbr: update to 1.1.1-1
2023-05-04 19:41:14 -06:00
Dirk Brenken
7e70de77d0
banip: update 0.8.4-5
* fix remaining small issues
* standardize log wording
* polished up for branch 23.x

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-05-04 22:40:48 +02:00
Dirk Brenken
97d6c8bf77
banip: update 0.8.4-4
* add housekeeping to the autoallow function, only the current uplink will be held
* fix small issues
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-05-04 12:07:32 +02:00
Anna Tikhomirova
d079652396 mwan3: bump PKG_VERSION to 2.11.6
Signed-off-by: Anna Tikhomirova <vamp@vampik.ru>
2023-05-04 12:01:08 +02:00
Anna Tikhomirova
84b3de9eda mwan3: fix addition of routes to mwan3_connected ipset
Addition of routes to mwan3_connected ipset is broken. The ipset name was
changed from mwan3_connected_v4/6 to mwan3_connected_ipv4/6, but this
change was not reflected in mwan3rtmon.

Signed-off-by: Anna Tikhomirova <vamp@vampik.ru>
* Update commit message
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-05-04 12:00:27 +02:00
Anna Tikhomirova
fd2e20f66b mwan3: bump PKG_VERSION to 2.11.5
Signed-off-by: Anna Tikhomirova <vamp@vampik.ru>
2023-05-04 11:50:06 +02:00
Anna Tikhomirova
66257510d9 mwan3: fix addition of iptables rules for mwan3 sticky rules
Addition of iptables rules for mwan3 sticky rules is broken, resulting
in non-working sticky rules. The required parameters for the function
'mwan3_set_sticky_iptables' were passed in the wrong order.

Signed-off-by: Anna Tikhomirova <vamp@vampik.ru>
* Update commit message
* Quoting function arguments
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-05-04 11:49:56 +02:00
Zephyr Lykos
69c983391f tailscale: update to 1.40.0
Signed-off-by: Zephyr Lykos <git@mochaa.ws>
2023-05-03 10:49:10 +08:00
Dirk Brenken
829a9a61c2
banip: update 0.8.4-3
* add the option 'ban_autoallowuplink' to limit the uplink autoallow function: 'subnet' (default), 'ip' or 'disable'

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-05-02 21:43:13 +02:00
Stan Grishin
152280812c
Merge pull request #20768 from stangri/master-simple-adblock
simple-adblock: implement curl_additional_param compressed_cache_dir
2023-05-01 19:35:55 -06:00
Van Waholtz
b9b641df03 sing-box: update to 1.2.6
Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2023-05-01 15:11:44 +03:00
Philip Prindeville
10ac45abb7 kea: procd_close_instance doesn't take a parameter
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-05-01 13:36:25 +03:00
Philip Prindeville
f544e95099 kea: Update to 2.2.0
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-05-01 13:36:25 +03:00
Erik Karlsson
7029af834c openssh: add respawn and reloading via signal
Configure the openssh server to respawn. Reload by sending SIGHUP

Signed-off-by: Erik Karlsson <erik.karlsson@genexis.eu>
2023-05-01 13:34:10 +03:00
Glenn Strauss
90d5bd6dab lighttpd: build fixes
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-05-01 13:31:17 +03:00
Stan Grishin
cdfff4a693 pbr: update to 1.1.1-1
*** MAKEFILE ***
* remove libubus dependency as it was causing issues
  https://forum.openwrt.org/t/policy-based-routing-pbr-package-discussion/140639/318
* move firewall hotplug directory/file creation out of default section into
  pbr and pbr-iptables packages sections in preparation for dropping it from pbr
* fix no new line after output when uninstalling packages

*** UCI-DEFAULTS ***
* only add firewall include to firewall config if the include file exists
* add shellcheck exception to netifd uci-defaults file

*** SCRIPTS ***
* more informative logging for firewall and iface hotplug scripts
* more informative logging for firewall include script

*** SERVICE ***
* introduce lock-file to prevent package starting on external events if it hasn't
  been auto- or manually started before
* use the `ip`, not `ip-full` command to prevent errors on OpenWrt 21.02
* parse firewall WAN zone to append list of interfaces
* append error and warning "arrays" with new messages
* used shared memory to store the service output/logging messages
* improve is_ovpn function to filter out false positives when interface names started
  with `tun`
* introduce is_valid_ovpn to find OpenVPN tunnels where the device name in OpenVPN config
  matches the device name in network config
* introduce opkg_get_version to compare versions of principal and luci packages
* better code to obtain AdGuardHome version with betas installed
* optimize code and add better logging for errors when inserting policies with iptables
* optimize code and add better logging for errors when inserting policies with nft
* bugfix: insert policies in all specified protocols
* bugfix: support using physical devices in policies in nft mode
* bugfix: use iptPrefix, not nftPrefix in iptables commands
* implement Tor support in nft mode
* bugfix: fix spelling for User File Syntax error
* restart service fully (instead of quick reload) for OpenVPN interface events, as
  the order/number of supported interfaces
* more verbose output (showing handles) of status in nft mode
* improve `icmp_interface`, `ignored_interface`, `supported_interface` validation
  regexes
* improve `interface`, validation regex

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-05-01 00:44:58 +00:00
Javier Marcet
ab94144b87 samba4: decouple quotas from vfs option
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-04-29 13:44:21 +03:00
Dirk Brenken
16acda2262
banip: update 0.8.4-2
* fix domain lookup function (parse banIP config vars)
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-04-28 12:07:06 +02:00
Nick Hainke
130e63931f libreswan: update to 4.10
Release Notes:
https://github.com/libreswan/libreswan/releases/tag/v4.10

Fixes: CVE-2023-23009
Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-04-27 21:14:00 +02:00
Christian Marangi
c4b27ff6d5
nginx: rename nginx-all-module to nginx-full
Rename nginx-all-module to nginx-full to follow pattern used by other
package and other projects.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-04-27 06:14:58 +02:00
Christian Marangi
4611ca0b0a
nginx: update to 1.24.0 and update headers-more module
Update nginx to 1.24.0 and update headers-more module to fix compilation
error.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-04-27 06:14:58 +02:00
Christian Marangi
cfce21ffea
nginx: update lua module to latest openresty version
Update lua module to latest openrestry version. Additional config are
required to correctly use it.

Switch it to luajit from liblua as this is what is currently supported
for the module since plain lua support was dropped from the module.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-04-27 06:14:58 +02:00
Christian Marangi
65a676ed56
nginx: introduce support for dynamic modules
Start building sub package that provide dynamic modules.

Each module needs to be loaded using load_modules.
Refer to nginx documentation on how to use this.

This should result in lower memory usage as only used module are loaded.

Also fix the uci-default scripts to add the required ubus module for
luci module.

-fvisibility=hidden is needed to be dropped to correctly support loading
dynamic modules.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-04-27 06:14:57 +02:00
Christian Marangi
0a67d0e129
nginx-util: add support for loading dynamic module in uci template
Add support for loading dynamic module in uci template by adding .module
file in module.d directory.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-04-27 06:14:55 +02:00
Glen Huang
8589f298a1 acme: remove redundant postinst
opkg runs uci-defaults if a package installs one, in acme-common's case
that's identical to postinst.

prerm shouldn't be run a image builder, so it's unnecessary to check
IPKG_INSTROOT

Signed-off-by: Glen Huang <me@glenhuang.com>
2023-04-26 22:42:26 +02:00
31490d6a29
Merge branch 'openwrt:master' into master 2023-04-26 22:37:43 +05:30
Nick Hainke
1bfd2f7ade iperf3: update to 3.13
Release Notes:
https://software.es.net/iperf/news.html#iperf-3-13-released

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-04-26 10:52:16 +03:00
Tianling Shen
42d340bce0 librespeed-go: update file permissions for ujail
This fixes "permission denied" error when access files as a normal user.

Reported-by: Anya Lin <hukk1996@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-04-26 10:51:08 +03:00