Commit graph

24827 commits

Author SHA1 Message Date
Martin Weinelt
df446adc24 prometheus-node-exporter-lua: Bump PKG_RELEASE
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2021-07-06 13:37:36 -04:00
Martin Weinelt
445d8927f6 prometheus-node-exporter-lua: lower case bssid label value in wifi exporter
To allow cross matching bssids between different exporters we need to
use the same case, as label matching is case senstive.

Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2021-07-06 13:37:36 -04:00
Martin Weinelt
a1b145abb0 prometheus-node-exporter-lua: fix corner case in hostapd_stations
There was a corner case, when a vif had no stations, that
evaluate_metrics for a station that was nil and had no collected metrics
would have been called.

Comment the code, to make it easier to understand and follow, and
simplify some variable names along the way.

Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2021-07-06 13:37:36 -04:00
Martin Weinelt
a98596168a prometheus-node-exporter-lua: normalize metric names in hostapd_stations
Normalizes metrics according to the Prometheus upstream metric
guidelines available at https://prometheus.io/docs/practices/naming/.

Drops the `hostapd_station_wpa` metric, because it is misleading, as it
is not a differentiator between WPA versions, like one could be led to
assume.

Exposes more flags in a more consistent manner. Their metric was
previously only exposed if the flag was present, but not if it wasn't.
The same applies issue was fixed with regards to vht caps.

After this commit the following breaking changes are in place:

- All flags have been moved below `hostapd_station_flags_$flagname`:
  - `hostapd_station_ht` is now `hostapd_station_flag_ht`
  - `hostapd_station_mfp` is now `hostapd_station_flag_mfp`
  - `hostapd_station_vht` is now `hostapd_station_flag_vht`
  - `hostapd_station_wmm` is now `hostapd_station_flag_wmm`

- New flags have been exposed:
  - `hostapd_station_flag_he` for high-efficency connections
  - `hostapd_station_flag_short_preamble` for short preamble connections
  - `hostapd_station_flag_auth` for authentication state
  - `hostapd_station_flag_assoc` for association state

- Some metrics have had their unit normalized to the SI base unit or
  embedded into the metrics name:
  - `hostapd_station_inactive_msec` is now
    `hostapd_station_inactive_seconds`, the value is still float64 and
    as such has enough precision anyway, but becomes easier to reason
    about
  - `hostapd_station_connected_time` has been renamed to
    `hostapd_station_connected_seconds_total` so the unit, as well as
    the nature of the counter is reflected
  - `hostapd_station_signal` now includes its unit and is therefore
    named `hostapd_station_signal_dbm`

- The packet counter metrics have been normalized to what the node
  exporter uses, so it is more in line with the defaults in the
  Prometheus ecosystem:
  - `hostapd_station_rx_packets` is now
    `hostapd_station_receive_packets_total`
  - `hostapd_station_rx_bytes` is now
    `hostapd_station_receive_bytes_total`
  - `hostapd_station_tx_packets` is now
    `hostapd_station_transmit_packets_total`
  - `hostapd_station_tx_bytes` is now
    `hostapd_station_transmit_bytes_total`

Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2021-07-06 13:37:36 -04:00
Martin Weinelt
0a9d2b818d prometheus-node-exporter-lua: handle empty lines in all_sta output correctly
An empty line has a name and value that is nil and setting a table
index to nil breaks metrics for every vif after the first one.

Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2021-07-06 13:37:36 -04:00
Martin Weinelt
6d85547f24 prometheus-node-exporter-lua: increase label density in hostapd_stations
Correlating data is only possible when we have more metadata, this adds
a bunch of labels for each client, that will increase the depth of
dashboards yet to come.

In particular the changes in this commit are:
 - renames the `ifname` label to `vif`
 - adds `frequency`, `channel`, `bssid`, `ssid`, `encryption` and `mode`

Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2021-07-06 13:37:36 -04:00
Alexandru Ardelean
d27d23167b python3: do a simple ls on pip & setuptools if not selected for build
I seem to forget to check/select setuptools and pip (that come bundled with
Python).
This change will do a simple 'ls' on the 2 wheel files, so that the build
fails even if just building Python.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-06 16:20:18 +02:00
Alexandru Ardelean
8b3297e507 python3: update to version 3.9.6
Refreshed patches.
Bumped pip to 21.1.3.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-06 16:20:18 +02:00
Florian Eckert
09b96b52e4
Merge pull request #16047 from oskarirauta/apparmor_utils
apparmor: add missing parser.conf
2021-07-06 10:55:23 +02:00
Florian Eckert
061e0b3e09
Merge pull request #16029 from dangowrt/mwan3-rttables
mwan3: use default routes from additional tables
2021-07-06 07:54:32 +02:00
Daniel Golle
194e7f0286
uvol: fix units with lvm backend
Free and total bytes are now properly returned as bytes by LVM2 as
requested. No longer multiply values.
Fix parameter order of 'create' command in usage output while at it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-07-06 05:27:13 +01:00
Oskari Rauta
18cf9866d0 apparmor: add missing parser.conf
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-07-06 03:38:44 +03:00
Michael Heimpold
42aa15b653
Merge pull request #16038 from mhei/php7-update
php7: update to 7.4.21
2021-07-05 20:58:41 +02:00
Michael Heimpold
7984c71bdd
Merge pull request #16037 from mhei/php8-update
php8: update to 8.0.8
2021-07-05 20:58:30 +02:00
Daniel Golle
cb02b42007
mwan3: use default routes from additional tables
Until now the additional tables listed in gobal 'rt_table_lookup' were
not considered for interfaces.
In order to be able to also use interface-defined routes from tables
other than main, consider also tables listed in 'rt_table_lookup'.
Update version to 2.10.10 as requested by maintainer.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-07-05 18:58:52 +01:00
Rosen Penev
6dee6ce5a6
Merge pull request #16043 from commodo/pillow
pillow: bump to version 8.3.0
2021-07-05 02:55:21 -07:00
Rosen Penev
1315dc6fa7
Merge pull request #16041 from commodo/django-bump
django: bump to version 3.2.5
2021-07-05 02:54:47 -07:00
Alexandru Ardelean
4361d88892 pillow: bump to version 8.3.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-05 11:35:01 +03:00
Alexandru Ardelean
d3a64a36e9 django: bump to version 3.2.5
Several bug-fixes.
Fix CVE-2021-35042

Release notes:
  https://docs.djangoproject.com/en/3.2/releases/3.2.5/

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-05 10:58:30 +03:00
Michael Heimpold
7ddd5280d4 php8: update to 8.0.8
This fixes:
  - CVE-2021-21704
  - CVE-2021-21705

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-07-05 00:15:59 +02:00
Michael Heimpold
f15aba89f7 php7: update to 7.4.21
This fixes:
    - CVE-2021-21704
    - CVE-2021-21705

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-07-05 00:13:35 +02:00
Rosen Penev
f39a2bc32f
Merge pull request #16012 from commodo/python-dateutil
python-dateutil: add setuptools-scm build dep
2021-07-03 15:16:26 -07:00
Rosen Penev
4b6ad9fd0f
Merge pull request #16025 from rs/nextdns-1.34.2-master
nextdns: Update to version 1.34.2
2021-07-03 15:15:21 -07:00
Michael Heimpold
20c884bbd5 libzip: fix typo in patch (fixes #15992)
This prevented expansion of libdir in pkgconfig.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-07-02 23:59:53 +02:00
Olivier Poitrey
687b9b4917 nextdns: Update to version 1.34.2
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2021-07-02 18:54:56 +00:00
Alexandru Ardelean
e2026346cc python-dateutil: add setuptools-scm build dep
Following:
  https://github.com/openwrt/packages/pull/16004
  https://github.com/openwrt/packages/pull/15995
  https://github.com/openwrt/packages/issues/15988

It seems that dateutil requires setuptools-scm to be installed.
As such, this is being added as a dependency.

Also, bump setuptools-scm to version 6.0.1

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-02 16:21:33 +03:00
Philip Prindeville
57a23bfde3
Merge pull request #16010 from pprindeville/strongswan-simplify-stroke-install
strongswan: trivial improvement in 'stroke' packaging
2021-07-01 17:05:41 -06:00
Michael Heimpold
d452429a56
Merge pull request #14716 from mhei/libgpiod-update
libgpiod: update to 1.6.3
2021-07-01 20:40:53 +02:00
Philip Prindeville
40d30f123d strongswan: trivial improvement in 'stroke' packaging
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2021-07-01 12:12:15 -06:00
Rosen Penev
af9a4036c0
Merge pull request #16003 from zorun/tessdata_speed_build
tessdata: uncompress tarball only once to speed up builds
2021-06-30 16:31:10 -07:00
Baptiste Jonglez
7fe513971f tessdata: uncompress tarball only once to speed up builds
The previous approach was to uncompress N times a big tarball (638 MB)
where N=130 is the number of supported languages.  Each iteration would
only extract a single file, but it still needs to uncompress the whole
tarball.  This is of course completely inefficient.

Now, we uncompress the tarball only once to extract all relevant files,
and then iterate N times to copy the file needed for each language.

This massively speeds up builds, at the expense of temporarily requiring
more build space (about 1 GB more)

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
2021-06-30 14:09:42 +02:00
Dirk Brenken
ab0881b0dc
Merge pull request #16000 from dibdot/adblock
adblock: update 4.1.3-2
2021-06-30 12:19:25 +02:00
Daniel Golle
1204cb82f9 auc: update to version 0.1.8
This fixes support for x86, auc now selects the right combined image
depending on the system being booted in EFI mode or not.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-06-30 01:40:37 +01:00
Rosen Penev
dfee9d005d
Merge pull request #15979 from G-M0N3Y-2503/cache-domains-fix-wildcard
cache-domains: Fixed missing wildcard entries
2021-06-29 14:50:12 -07:00
Rosen Penev
ea8083639d
Merge pull request #15950 from rsalvaterra/lolcat
lolcat: add package
2021-06-29 14:45:47 -07:00
Rosen Penev
c61eb3ed98
Merge pull request #15797 from lnslbrty/update/libulfius-2.7.3
libulfius: update to 2.7.3
2021-06-29 14:41:49 -07:00
Rosen Penev
789a4e2a9a
Merge pull request #15877 from neheb/exfatp
exfatprogs: update to 1.1.2
2021-06-29 14:41:19 -07:00
Rosen Penev
e49cb15788
Merge pull request #15996 from PowerDNS/dnsdist-recursor-option-checking
dnsdist, pdns-recursor: remove --enable-option-checking=fatal
2021-06-29 14:41:03 -07:00
Michael Heimpold
4db1fba5a1 libgpiod: update to 1.6.3
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-06-29 21:08:39 +02:00
Dirk Brenken
e5fd19d2e0
adblock: update 4.1.3-2
* add a tcpdump option to resolve IPs in adblock reporting,
  set 'adb_represolve' accordingly (disabled by default). If enabled
  tcpdump will perform a reverse DNS (PTR) lookup for each IP address
* add 'stalkerware' source (provided by @astryzia)
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
2021-06-29 21:03:33 +02:00
David Bauer
5f73d18eb1
Merge pull request #15998 from blocktrron/pr-udhcpsnoop
udhcpsnoop: import package from TIP
2021-06-29 19:50:13 +02:00
David Bauer
b24ff2e1e0 udhcpsnoop: import package from TIP
Import the udhcpsnoop package from the TIP feed.

The original Makefile in TIP repo spcifies GPL-2.0 as the PKG_LICENSE.
However this is a mistake, as the SPDX headers of the repos source files
all specify BSD-3-Clause as their license.

See https://github.com/Telecominfraproject/wlan-ap/blob/uCentral-trunk/feeds/ucentral/udhcpsnoop/Makefile

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-06-29 18:55:24 +02:00
Michael Heimpold
7ce9c89988
Merge pull request #15992 from mhei/libzip-fix-pkgconfig
libzip: fix pkgconfig paths (fixes #15943)
2021-06-29 13:51:11 +02:00
Peter van Dijk
d39c517f84 pdns-recursor: remove --enable-option-checking=fatal
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2021-06-29 12:31:19 +02:00
Peter van Dijk
da9aab57ed dnsdist: remove --enable-option-checking=fatal
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2021-06-29 12:31:19 +02:00
Josef Schlehofer
39dedfee16
Revert "uci2: update revision"
I'm reverting this commit, because it is pulling newer source code, but
without doing a new version bump. This results that users who already
installed this library on their router will have different package
content than users who installed it after the commit.

The another small reason is that commit subject - update revision is cryptic itself and should be more bulletproof like saying update to version 1.1

More details: https://github.com/openwrt/packages/pull/15990#issuecomment-870333695

This reverts commit e779323481.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-06-29 09:12:51 +02:00
Michael Heimpold
851c7a1e0a libzip: fix pkgconfig paths (fixes #15943)
We should use upstream patch here, which can be removed later,
instead of maintaining our own one.

Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-06-29 07:47:51 +02:00
Rosen Penev
0c025e503c
Merge pull request #15889 from flyn-org/podman
podman: change permissions on /usr/share/containers/seccomp.json
2021-06-28 12:50:21 -07:00
Rosen Penev
b09863963c
Merge pull request #15851 from brvphoenix/ariang
ariang: update to 1.2.2
2021-06-28 12:48:55 -07:00
Rosen Penev
ccb9e4d083
Merge pull request #15991 from Andy2244/wsdd2-1.8.5
wsdd2: update to git 2021-06-28 (v1.8.5)
2021-06-28 12:47:42 -07:00