Re: Conclusions from CVE-2024-3094 (libxz disaster)

2024-04-03 Thread Andre Heider
On 03/04/2024 2:11 am, Daniel Golle wrote: ... and that crazy m4 script had to be noticed. As a diff one would ask: Why was that change necessary? While I agree with most of your points, I couldn't disagree more with the "had to be noticed" part :P I occasionally skim over treewide diffs.

Re: [PATCH] urngd: fixes compilation with glibc

2023-09-15 Thread Andre Heider
On 16/09/2023 05:55, Chukun Pan wrote: When compiling with glibc it will result in error: 1. #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] Fix this by compiling with optimization (-O2) by default. 2. jitterentropy-base.c:(.text+0x39f8): undefined reference to

Re: [PATCH] tools: meson: bump to 1.0.0

2023-02-23 Thread Andre Heider
On 24/02/2023 03:41, Rosen Penev wrote: On Fri, Feb 17, 2023 at 2:13 AM Andre Heider wrote: On 17/02/2023 10:18, Koen Vandeputte wrote: Drop upstreamed patch. Tested by compiling the complete gstreamer package which heavily depends on this one. Signed-off-by: Koen Vandeputte

[PATCH] dnsmasq: bump to v2.89

2023-02-21 Thread Andre Heider
n't happen. Thanks to Timo van Roermund for reporting the bug and for his great efforts in chasing it down. Signed-off-by: Andre Heider --- package/network/services/dnsmasq/Makefile | 4 ++-- .../patches/100-remove-old-runtime-kernel-support.patch | 4 ++-

Re: [PATCH] tools: meson: bump to 1.0.0

2023-02-17 Thread Andre Heider
On 17/02/2023 10:18, Koen Vandeputte wrote: Drop upstreamed patch. Tested by compiling the complete gstreamer package which heavily depends on this one. Signed-off-by: Koen Vandeputte Not possible unfortunately, see https://github.com/openwrt/openwrt/pull/10543 We tried a few times to

[PATCH] wireguard-tools: remove unnecessary .mk includes

2023-02-16 Thread Andre Heider
Including kernel.mk moves the package build folder in the linux one, which is confusing since this isn't building any kernel modules. package-defaults.mk is already included my package.mk. Signed-off-by: Andre Heider --- package/network/utils/wireguard-tools/Makefile | 2 -- 1 file changed, 2

[PATCH] elfutils: fix build with GCC 11

2023-02-07 Thread Andre Heider
GCC 11 doesn't know about -Wno-error=use-after-free and aborts compilation. Fixes: 2748c45d "elfutils: Ignore wrong use-after-free error" Signed-off-by: Andre Heider --- package/libs/elfutils/Makefile | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pa

Re: [PATCH] urandom-seed: use seedrng for seeding the random number generator

2023-02-01 Thread Andre Heider
On 04/04/2022 21:35, Etienne Champetier wrote: Hi Jason, Le lun. 4 avr. 2022 à 14:39, Jason A. Donenfeld a écrit : Hey Etienne, On Tue, Mar 29, 2022 at 7:21 AM Jason A. Donenfeld wrote: Hi Etienne, On Tue, Mar 29, 2022 at 1:06 AM Etienne Champetier wrote: Oh that's an interesting set

Re: [PATCH iwinfo] nl80211: restore iterating over all devices in nl80211_phy2ifname()

2023-01-30 Thread Andre Heider
On 30/01/2023 23:18, Christian Marangi wrote: On Mon, Jan 30, 2023 at 07:57:57PM +0100, Andre Heider wrote: This reverts to the earlier behaviour, because: * phys can be renamed, which breaks hardcoding "phy%d" * /sys/class/ieee80211/*/device can return networks of other phys, sin

[PATCH iwinfo] nl80211: restore iterating over all devices in nl80211_phy2ifname()

2023-01-30 Thread Andre Heider
s: 6194aaf0 "nl80211: simplify iterating over phy's devices" Fixes: #11902 Signed-off-by: Andre Heider Tested-by: Olcay Korkmaz --- iwinfo_nl80211.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/iwinfo_nl80211.c b/iwinfo_nl80211.c index 5bc2f51..50bb8f0

[PATCH 3/4] utils: skip comment lines when parsing devices.txt

2023-01-18 Thread Andre Heider
Just a small optimization, skip the line early if it starts with a #. Signed-off-by: Andre Heider --- iwinfo_utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iwinfo_utils.c b/iwinfo_utils.c index ecd1dff..d96cbb3 100644 --- a/iwinfo_utils.c +++ b/iwinfo_utils.c @@ -280,6 +280,9

[PATCH 4/4] devices: add USB devices supported by the mt76 driver

2023-01-18 Thread Andre Heider
A nice and stable working mainline driver deserves first class support, and this adds all USB devices supported by it. The PIDs/VIDs are taken directly from the driver, in the very same order to make future syncs easy. The single left out entry is the unknown 148f:760a. Signed-off-by: Andre

[PATCH 1/4] devices: add MediaTek MT7628 card

2023-01-18 Thread Andre Heider
This adds the single missing compatible supported by the mt76 driver, which is used by a bunch of ramips mt7628an devices. Signed-off-by: Andre Heider --- devices.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/devices.txt b/devices.txt index 4da663d..e316d60 100644 --- a/devices.txt

[PATCH 2/4] cli: describe USB devices as such

2023-01-18 Thread Andre Heider
This makes it clear if the hardware is embedded or usb/pci based. Signed-off-by: Andre Heider --- iwinfo_cli.c | 4 1 file changed, 4 insertions(+) diff --git a/iwinfo_cli.c b/iwinfo_cli.c index f46772b..5dcee9a 100644 --- a/iwinfo_cli.c +++ b/iwinfo_cli.c @@ -367,6 +367,10 @@ static char

Re: [PATCH uhttpd] ucode: respect all arguments passed to send()

2023-01-12 Thread Andre Heider
On 09/12/2022 15:16, Andre Heider wrote: Similar to ucode's print() this now prints any given values to stdout: uhttpd.send(a, b, c, "\n"); Signed-off-by: Andre Heider Friendly ping! Any takers? --- ucode.c | 26 ++ 1 file changed, 14 insertions(+), 12

Re: [iwinfo PATCH v2] devices: add support for declaring compatible matched devices

2023-01-09 Thread Andre Heider
On 09/01/2023 21:44, Andre Heider wrote: On 09/01/2023 20:49, Christian Marangi wrote: From: Jo-Philipp Wich Some device have embedded wifi card that are not connected with usb or internall with pci. Such device have fake device_id and only the vendor_id actually reflect something real

Re: [iwinfo PATCH v2] devices: add support for declaring compatible matched devices

2023-01-09 Thread Andre Heider
Wich Signed-off-by: Christian Marangi Tested-by: Robert Marko # ipq8074 Reviewed-by: Andre Heider ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [iwinfo PATCH] devices: add support for declaring compatible matched devices

2023-01-09 Thread Andre Heider
On 09/01/2023 20:17, Christian Marangi wrote: On Mon, Jan 09, 2023 at 08:14:36PM +0100, Andre Heider wrote: On 09/01/2023 19:58, Christian Marangi wrote: On Mon, Jan 09, 2023 at 07:53:02PM +0100, Andre Heider wrote: On 09/01/2023 19:46, Christian Marangi wrote: On Mon, Jan 09, 2023 at 07:44

Re: [iwinfo PATCH] devices: add support for declaring compatible matched devices

2023-01-09 Thread Andre Heider
On 09/01/2023 19:58, Christian Marangi wrote: On Mon, Jan 09, 2023 at 07:53:02PM +0100, Andre Heider wrote: On 09/01/2023 19:46, Christian Marangi wrote: On Mon, Jan 09, 2023 at 07:44:34PM +0100, Andre Heider wrote: On 09/01/2023 18:28, Christian Marangi wrote: From: Jo-Philipp Wich Some

Re: [iwinfo PATCH] devices: add support for declaring compatible matched devices

2023-01-09 Thread Andre Heider
On 09/01/2023 19:46, Christian Marangi wrote: On Mon, Jan 09, 2023 at 07:44:34PM +0100, Andre Heider wrote: On 09/01/2023 18:28, Christian Marangi wrote: From: Jo-Philipp Wich Some device have embedded wifi card that are not connected with usb or internall with pci. Such device have fake

Re: [iwinfo PATCH] devices: add support for declaring compatible matched devices

2023-01-09 Thread Andre Heider
On 09/01/2023 18:28, Christian Marangi wrote: From: Jo-Philipp Wich Some device have embedded wifi card that are not connected with usb or internall with pci. Such device have fake device_id and only the vendor_id actually reflect something real but internally they don't have any id and are

[PATCH uhttpd] ucode: respect all arguments passed to send()

2022-12-09 Thread Andre Heider
Similar to ucode's print() this now prints any given values to stdout: uhttpd.send(a, b, c, "\n"); Signed-off-by: Andre Heider --- ucode.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/ucode.c b/ucode.c index aa5d5b4..bbb9

Re: [PATCH v2 2/9] uci: maintain option position in uci_set

2022-11-26 Thread Andre Heider
On 20/11/2022 02:08, Jan Venekamp wrote: Maintain the position of an option in the list when updating an option in uci_set. Nice, that's really an annoyance! I assume this doesn't fix wiping '#' comments when saving through luci? That's just as annoying :) Cheers, Andre

Re: [PATCH] iwinfo: nl80211: fix wpa supplicant ctrl socket permissions

2022-11-18 Thread Andre Heider
I updated the patches and added a few more. But instead of posting them here again I opened a PR: https://github.com/openwrt/openwrt/pull/11280 Please let me know if I should post them here again instead. Thanks, Andre ___ openwrt-devel mailing list

Re: GitHub mirror for firmware-utils Inbox

2022-11-16 Thread Andre Heider
On 14/11/2022 12:14, Joseph Mullally wrote: Hi all, Can a GitHub mirror be created for https://git.openwrt.org/project/firmware-utils.git ? That applies to a lot more repos, basically project/* And that may be too much maintenance effort? Since github PRs are not merged directly anyway, but

[PATCH 2/2] iwinfo: nl80211: don't use a random iface when getting phy infos

2022-11-15 Thread Andre Heider
where the latter already doesn't include the values removed here). Signed-off-by: Andre Heider --- iwinfo_nl80211.c | 37 + 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/iwinfo_nl80211.c b/iwinfo_nl80211.c index 77a65ed..1d59676 100644 --- a

[PATCH 1/2] iwinfo: nl80211: don't guess if a name is an ifname

2022-11-15 Thread Andre Heider
$ time iwinfo radio0 info real0m 0.09s $ time ubus call luci-rpc getWirelessDevices real0m 0.17s Signed-off-by: Andre Heider --- iwinfo_nl80211.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/iwinfo_nl80211.c b/iwinfo_nl80211.c index 77fddee

Re: [PATCH] iwinfo: nl80211: fix wpa supplicant ctrl socket permissions

2022-11-15 Thread Andre Heider
On 15/11/2022 15:42, Christian Marangi wrote: On Sun, Nov 13, 2022 at 09:33:46PM +0100, Andre Heider wrote: No data at all can currently be read from the control socket. Set up the permission exactly like hostapd's wpa_cli utility to fix it. Among other this fixes a mesh's encryption being

Re: [PATCH iwinfo 1/4] iwinfo: fix wrong error message

2022-11-15 Thread Andre Heider
On 13/11/2022 16:11, Andre Heider wrote: In this case the specified backend couldn't be found. Signed-off-by: Andre Heider Please ignore this one, it's wrong and the error message is correct as-is. The other patches still stand. Thanks, Andre

[PATCH] iwinfo: nl80211: fix wpa supplicant ctrl socket permissions

2022-11-13 Thread Andre Heider
No data at all can currently be read from the control socket. Set up the permission exactly like hostapd's wpa_cli utility to fix it. Among other this fixes a mesh's encryption being shown as "None". Signed-off-by: Andre Heider --- iwinfo_nl80211.c | 16 1 file c

[PATCH iwinfo 3/4] iwinfo: nl80211: read usb vendor and product id as subsystem ids

2022-11-13 Thread Andre Heider
USB devices can now be added to devices.txt as: 0x | 0x | vendor id | product id | ... Signed-off-by: Andre Heider --- devices.txt | 2 ++ iwinfo_nl80211.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/devices.txt b/devices.txt index b01e4ac..8796276

[PATCH iwinfo 2/4] iwinfo: nl80211: skip ftd and mtd lookups for usb devices

2022-11-13 Thread Andre Heider
using UBI block devices instead." Before: sys 0m 3.56s$ After: sys 0m 0.09s Signed-off-by: Andre Heider --- iwinfo_nl80211.c | 29 + 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/iwinfo_nl80211.c b/iwinfo_nl80211.c index ba9

[PATCH iwinfo 1/4] iwinfo: fix wrong error message

2022-11-13 Thread Andre Heider
In this case the specified backend couldn't be found. Signed-off-by: Andre Heider --- iwinfo_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iwinfo_cli.c b/iwinfo_cli.c index dca86cf..d8851d7 100644 --- a/iwinfo_cli.c +++ b/iwinfo_cli.c @@ -972,7 +972,7 @@ int main(int

[PATCH iwinfo 4/4] devices: add usb device MediaTek MT7921AU

2022-11-13 Thread Andre Heider
Add USB PID/VID as found on e.g. Comfast CF-953AX. Signed-off-by: Andre Heider --- devices.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/devices.txt b/devices.txt index 8796276..7674f85 100644 --- a/devices.txt +++ b/devices.txt @@ -202,3 +202,4 @@ 0x1ae9 0x0310 0x1ae9 0x0

Re: [PATCH] mac80211: fix masking nested A-MSDU support for mesh

2022-10-21 Thread Andre Heider
On 20/10/2022 12:52, Andre Heider wrote: CONFIG_MAC80211_MESH isn't defined for this package, rendering the patch useless. Match protecting the access of sta_info.mesh with the very same define declaring it. To elaborate some more: CPTCFG_ comes from the backports project[0] and is already

Re:

2022-10-21 Thread Andre Heider
On 20/10/2022 17:44, Christian Marangi wrote: On Thu, Oct 20, 2022 at 05:40:37PM +0200, Christian Marangi wrote: Merged in master with commit 9f27c33e4ede180ee6d0ad359d12f4849bd342f2. Thanks. Sorry had to rebase... real commit is edbf9f156f85c90c899a576aff8a9f8aa506d4a5 Nice, thanks!

Re: [PATCH] uboot-fritz4040: build FritzBox 7520 variant

2022-10-20 Thread Andre Heider
Anyone? Bueller? On 27/09/2022 13:35, Andre Heider wrote: Gentle Ping! On 15/07/2022 07:59, Andre Heider wrote: Support was added as variant of 7530 (DEVICE_ALT0_*) in: cb6f4be1 "ipq40xx: add support for FRITZ!Box 7520" u-boot has a distinct config for it [0], built it.

[PATCH] mac80211: fix masking nested A-MSDU support for mesh

2022-10-20 Thread Andre Heider
CONFIG_MAC80211_MESH isn't defined for this package, rendering the patch useless. Match protecting the access of sta_info.mesh with the very same define declaring it. Fixes 45109f69a6 "mac80211: fix compile error when mesh is disabled" Signed-off-by: Andre Heider --- .../800-mac

Re: [PATCH] uboot-fritz4040: build FritzBox 7520 variant

2022-09-27 Thread Andre Heider
Gentle Ping! On 15/07/2022 07:59, Andre Heider wrote: Support was added as variant of 7530 (DEVICE_ALT0_*) in: cb6f4be1 "ipq40xx: add support for FRITZ!Box 7520" u-boot has a distinct config for it [0], built it. [0] https://github.com/chunkeey/FritzBox-4040-UBOOT/pull/6 Signed-off

[PATCH] build: fix grep v3.8 "stray \" warning

2022-09-07 Thread Andre Heider
This fixes the reoccuring warning: grep: warning: stray \ before / Signed-off-by: Andre Heider --- Makefile | 2 +- target/sdk/files/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3ac110367d..c1b0b0a840 100644

Re: [PATCH] arm-trusted-firmware-mvebu: stop cluttering Image Builder

2022-08-31 Thread Andre Heider
in IB tarball. nice catch, I wasn't even aware that it affected IB. Signed-off-by: Tomasz Maciej Nowak One comment below, with that this is Reviewed-by: Andre Heider --- .../boot/arm-trusted-firmware-mvebu/Makefile | 41 +-- 1 file changed, 20 insertions(+), 21 deletions

[PATCH] uboot-fritz4040: build FritzBox 7520 variant

2022-07-15 Thread Andre Heider
Support was added as variant of 7530 (DEVICE_ALT0_*) in: cb6f4be1 "ipq40xx: add support for FRITZ!Box 7520" u-boot has a distinct config for it [0], built it. [0] https://github.com/chunkeey/FritzBox-4040-UBOOT/pull/6 Signed-off-by: Andre Heider --- package/boot/uboot-fritz4040/Ma

[PATCH] openssl: bump to 1.1.1p

2022-06-23 Thread Andre Heider
-off-by: Andre Heider --- package/libs/openssl/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile index b496f2f9f2..ed618568a4 100644 --- a/package/libs/openssl/Makefile +++ b/package/libs/openssl/Makefile

Re: [PATCH 1/4] uclient-fetch: --header option to pass additional raw HTTP headers

2022-06-23 Thread Andre Heider
, Andre The feature is very important from my point of view. The first version I sent a year(s?) ago but still no progress. If there are any problems please let me know On Wed, 22 Jun 2022 at 08:33, Andre Heider wrote: Hi Sergey, any update on this series? I'd be interested in the --header

Re: [PATCH 1/3] hostapd: update to 2022-05-08

2022-06-22 Thread Andre Heider
Seemed easy enough, see attached patch, this fixes it for me. Cheers, AndreFrom 988fcb2a8bfcdca439040e157cd040e5f3dccc51 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Wed, 22 Jun 2022 13:09:07 +0200 Subject: [PATCH] hostapd: fix compilation with OPENSSL_NO_DEPRECATED This fixes the build

Re: [PATCH 1/3] hostapd: update to 2022-05-08

2022-06-22 Thread Andre Heider
On 12/06/2022 03:29, Stefan Lippers-Hollmann wrote: Hi On 2022-06-12, Stefan Lippers-Hollmann wrote: On 2022-06-07, David Bauer wrote: Update hostapd to Git HEAD from 2022-05-08. This allows us to take advantage of background radar-detection ad well as BSS color collision. I'm noticing a

Re: [PATCH 1/4] uclient-fetch: --header option to pass additional raw HTTP headers

2022-06-21 Thread Andre Heider
Hi Sergey, any update on this series? I'd be interested in the --header option. Thanks, Andre On 10/05/2022 11:11, Jo-Philipp Wich wrote: Hi Sergey, a minor nitpick inline below. On 5/9/22 11:59 PM, Sergey Ponomarev wrote: You can add a custom HTTP header(s) to request: wget

Re: libubox: How to terminate uloop orderly?

2022-05-20 Thread Andre Heider
On 17/05/2022 11:04, Koch, Alexander via openwrt-devel wrote: So I'm wondering: what is the correct way to terminate the uloop? It's been a while and details are vague, but this works for me:

Re: Best VSDL modem-router to target?

2021-12-03 Thread Andre Heider
Hi, On 03/12/2021 05:28, Andrew Punch wrote: Hi, I live in a small unit, so the usual advice to have a separate VDSL modem, router and ATA isn't great space wise. Is there an all-in-one VDSL modem + router + ATA that would be worth targeting? for DSL on OpenWrt, lantiq is your only option.

Re: Missing -lpthread for libssl / libcrypto (LibreSSL) when compiling U-Boot

2021-10-22 Thread Andre Heider
Hi, I whipped up a proposal: https://github.com/openwrt/openwrt/pull/4709 Cheers, Andre ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: Missing -lpthread for libssl / libcrypto (LibreSSL) when compiling U-Boot

2021-10-13 Thread Andre Heider
e add them here to not have to worry about fixing all users. Signed-off-by: Andre Heider --- ...-to-always-include-private-libraries.patch | 37 +++ 1 file changed, 37 insertions(+) create mode 100644 tools/libressl/patches/0001-Update-pc-files-to-always-include-private-librarie

Re: Missing -lpthread for libssl / libcrypto (LibreSSL) when compiling U-Boot

2021-10-13 Thread Andre Heider
Close, but: u-boot 2021.10 seems to use OpenSSL 1.1.x APIs, and the currently used LibreSSL 3.3.4 doesn't include those. Updating LibreSSL with [0] plus this patch makes it work: diff --git a/include/u-boot.mk b/include/u-boot.mk index c0a1e87bf3..8c6941b88a 100644 --- a/include/u-boot.mk

Re: Missing -lpthread for libssl / libcrypto (LibreSSL) when compiling U-Boot

2021-10-13 Thread Andre Heider
On 13/10/2021 10:30, Rafał Miłecki wrote: On 13.10.2021 10:23, Andre Heider wrote: On 13/10/2021 10:10, Rafał Miłecki wrote: *** Manual pkg-config test *** I'm not sure if I test it correctly but output looks OK: $ PATH=/home/rmilecki/openwrt/openwrt-master-bcm4908/staging_dir/host/bin

Re: Missing -lpthread for libssl / libcrypto (LibreSSL) when compiling U-Boot

2021-10-13 Thread Andre Heider
Hi Rafał, On 13/10/2021 10:10, Rafał Miłecki wrote: *** Manual pkg-config test *** I'm not sure if I test it correctly but output looks OK: $ PATH=/home/rmilecki/openwrt/openwrt-master-bcm4908/staging_dir/host/bin:$PATH ./staging_dir/host/bin/pkg-config --libs libssl libcrypto -L/lib64

Re: [PATCH v3] arm-trusted-firmware-mvebu: CZ.NIC's Secure Firmware bump to v2021.09.07

2021-10-08 Thread Andre Heider
Hi Josef, On 14/09/2021 20:42, Josef Schlehofer wrote: On 14. 09. 21 20:21, Andre Heider wrote: Building it requires cryptocpp though, which doesn't yet exists as package. We don't really care about crypto since we're building just an untrusted firmware, so I opted to revert to using

Re: kernel: add a bridge feature for filtering BPDU packets on ports

2021-09-28 Thread Andre Heider
On 28/09/2021 12:20, Andre Heider wrote: fyi brport/proxyarp was still "0" too, which probably means that the netidf condition "if (up && ifname != vif->ifname)" doesn't eval to true as that's the only spot setting "dev->wireless_proxyarp". That

Re: kernel: add a bridge feature for filtering BPDU packets on ports

2021-09-28 Thread Andre Heider
Sorry for the spam, last mail for now as I found some log entries that might be related (HEAD=6cd54254e4bbe7ed2b71c17cb2d54ad7b0bc2991): kern.warn kernel: [ 55.820638] netlink: 'iw': attribute type 302 has an invalid length. kern.warn kernel: [ 56.354160] netlink: 'iw': attribute type 302

Re: kernel: add a bridge feature for filtering BPDU packets on ports

2021-09-28 Thread Andre Heider
On 28/09/2021 12:08, Andre Heider wrote: On 28/09/2021 09:54, Andre Heider wrote: [...] But if I now switch back to what I thought was a known working version, it still doesn't work. So maybe it's something different entirely, like a race condition or order of setting up things that doesn't

Re: kernel: add a bridge feature for filtering BPDU packets on ports

2021-09-28 Thread Andre Heider
On 28/09/2021 09:54, Andre Heider wrote: [...] But if I now switch back to what I thought was a known working version, it still doesn't work. So maybe it's something different entirely, like a race condition or order of setting up things that doesn't hit on every boot? Updated again

Re: kernel: add a bridge feature for filtering BPDU packets on ports

2021-09-28 Thread Andre Heider
On 27/09/2021 22:25, Martin Blumenstingl wrote: On Sat, Sep 25, 2021 at 6:53 PM Martin Blumenstingl wrote: Hi Andre, On Sat, Sep 25, 2021 at 1:17 PM Andre Heider wrote: [...] With these 3 reverted (on top of da5bb885 "toolchain/gcc: switch to version 11 by default") it works aga

Re: kernel: add a bridge feature for filtering BPDU packets on ports

2021-09-25 Thread Andre Heider
Hi Felix, I think there's a problem with a4b5bc20 "kernel: add a bridge feature for filtering BPDU packets on ports" My lantiq/xrx200 router has 2 radios with 2 wireless networks each: * nac * mesh point * master * bgn * master * master (guests, isolated) The first three are bridged

Re: [PATCH v3] arm-trusted-firmware-mvebu: CZ.NIC's Secure Firmware bump to v2021.09.07

2021-09-15 Thread Andre Heider
Hi Josef, On 15/09/2021 19:11, Josef Schlehofer wrote: On 15. 09. 21 15:21, Andre Heider wrote: On 14/09/2021 20:42, Josef Schlehofer wrote: On 14. 09. 21 20:21, Andre Heider wrote: On 14/09/2021 19:59, Hauke Mehrtens wrote: On 9/14/21 10:50 AM, sean lee wrote: bump version and remove

Re: [PATCH v3] arm-trusted-firmware-mvebu: CZ.NIC's Secure Firmware bump to v2021.09.07

2021-09-15 Thread Andre Heider
On 14/09/2021 20:42, Josef Schlehofer wrote: On 14. 09. 21 20:21, Andre Heider wrote: On 14/09/2021 19:59, Hauke Mehrtens wrote: On 9/14/21 10:50 AM, sean lee wrote: bump version and remove patches that have been applied 176d701 wtmi: Wait 1s after putting PHYs INTn pin low 2eeccfe wtmi

Re: [PATCH] arm-trusted-firmware-mvebu: Add hash for aarch64 cm3-gcc

2021-09-15 Thread Andre Heider
On 15/09/2021 14:42, Hauke Mehrtens wrote: This adds the hash also for the aarch64 toolchain in addition for the x86_64 toolchain. This gets the build on a Linux aarch64 host one step further. Signed-off-by: Hauke Mehrtens --- package/boot/arm-trusted-firmware-mvebu/Makefile | 4 1

Re: [PATCH v3] arm-trusted-firmware-mvebu: CZ.NIC's Secure Firmware bump to v2021.09.07

2021-09-14 Thread Andre Heider
On 14/09/2021 19:59, Hauke Mehrtens wrote: On 9/14/21 10:50 AM, sean lee wrote: bump version and remove patches that have been applied 176d701 wtmi: Wait 1s after putting PHYs INTn pin low 2eeccfe wtmi: Change comment describing reset workaround e8c94a5 wtmi: Count RAM size from both CS0 and

Re: [PATCH] arm-trusted-firmware-mvebu: CZ.NIC's Secure Firmware bump to v2021.09.07

2021-09-14 Thread Andre Heider
On 13/09/2021 10:44, sean lee wrote: bump version and remove patches that have been applied 176d701 wtmi: Wait 1s after putting PHYs INTn pin low 2eeccfe wtmi: Change comment describing reset workaround e8c94a5 wtmi: Count RAM size from both CS0 and CS1 995979e wtmi: Rename macro e29eb29 wtmi:

Re: Kernel 5.10: Current targets' state

2021-09-11 Thread Andre Heider
On 24/08/2021 14:50, Adrian Schmutzler wrote: Hi, I just created an overview of current 5.4->5.10 conversion state. Sharing it FYI below. Note that targets which are not converted or that nobody cares for always have the risk of being dropped. We probably also won't ask a hundred times like

Re: [PATCH] mvebu/kernel: promote 5.10 to stable

2021-09-07 Thread Andre Heider
On 07/09/2021 23:40, Rui Salvaterra wrote: Hi, Paul, On Tue, 7 Sept 2021 at 22:37, Paul Spooren wrote: This seems to be an ongoing thing, some add it and some remove it, I'm happy to make this consistent: * Remove KERNEL_TESTING_PATCHVER when promoting or * Set KERNEL_{,TESTING}_PATCHVER

Re: [PATCH] prereq-build: require python3-distutils

2021-08-23 Thread Andre Heider
Nice, sounds good, thanks! On 23/08/2021 23:12, Hauke Mehrtens wrote: Hi Andre, I will backport this to 21.02 in the next days. I want to wait if there are more problems showing up in master. Hauke On 8/23/21 10:47 PM, Andre Heider wrote: Hi Hauke, thanks for merging the patch! Can we

Re: [PATCH] prereq-build: require python3-distutils

2021-08-23 Thread Andre Heider
in the future without this in 21.02. Thanks, Andre On 10/08/2021 12:22, Andre Heider wrote: Debian and Ubuntu ship a python3-minimal package which does not include the distutils module. This is not supported by upstream and can be considered a broken python distribution. In practice, many scripts

[PATCH] prereq-build: require python3-distutils

2021-08-10 Thread Andre Heider
/pull/14394 https://github.com/openwrt/packages/pull/12909 https://github.com/openwrt/packages/issues/12443 https://github.com/openwrt/packages/pull/11035 https://github.com/openwrt/packages/issues/10993 Signed-off-by: Andre Heider --- include/prereq-build.mk | 4 1 file changed, 4 insertions

Re: [PATCH uclient] uclient-fetch: allow to overwrite Content-Type header for POST

2021-06-20 Thread Andre Heider
On 19/06/2021 10:37, Baptiste Jonglez wrote: Hi, On 03-06-21, Andre Heider wrote: This is required by some APIs, e.g. matrix's media upload [0]. [0] https://matrix.org/docs/spec/client_server/latest#post-matrix-media-r0-upload @@ -484,6 +485,7 @@ static int usage(const char *progname

[PATCH uclient] uclient-fetch: allow to overwrite Content-Type header for POST

2021-06-03 Thread Andre Heider
This is required by some APIs, e.g. matrix's media upload [0]. [0] https://matrix.org/docs/spec/client_server/latest#post-matrix-media-r0-upload Signed-off-by: Andre Heider --- uclient-fetch.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/uclient-fetch.c b

[PATCH] iw: update to 8fab0c9e

2021-05-17 Thread Andre Heider
wikipage URL b6f2dac iw: Add support for specifying the 160MHz bandwidth when setting the channel/frequency Signed-off-by: Andre Heider --- package/network/utils/iw/Makefile | 11 +++ .../utils/iw/patches/200-reduce_size.patch| 30 +-- 2 files changed, 21

Re: OpenWrt 21.02-rc1

2021-04-19 Thread Andre Heider
On 19/04/2021 23:26, Hauke Mehrtens wrote: On 4/19/21 8:59 AM, Andre Heider wrote: On 19/04/2021 08:51, Florian Eckert wrote: Hello, If there are some other bugs in the 21.02 branch which are fixed in master, we can backport the fixed as long as they are not so big. If there is something

Re: OpenWrt 21.02-rc1

2021-04-19 Thread Andre Heider
On 19/04/2021 08:51, Florian Eckert wrote: Hello, If there are some other bugs in the 21.02 branch which are fixed in master, we can backport the fixed as long as they are not so big. If there is something missing, just ask on the mainling list. Since last weekend the following patch was

Re: [PATCH] build: prereq: drop support for Python 3.5

2021-04-19 Thread Andre Heider
On 17/04/2021 23:45, Sven Roederer wrote: Am Samstag, 17. April 2021, 16:45:01 CEST schrieb Sven Roederer: On my Ubuntu 16.04 based build-system I also have build-failures for meson using Python3.5. Correction: it's a 18.04 LTS ... But 18.04 ships python3.6?

Re: [PATCH] build: prereq: drop support for Python 3.5

2021-04-19 Thread Andre Heider
On 18/04/2021 20:45, Etienne Champetier wrote: Le mar. 16 févr. 2021 à 11:19, Petr Štetiar a écrit : Andre Heider [2021-02-16 08:21:08]: Hi, The meson build system bumped their python requirement to 3.6 for the 0.57.0 release. This patch ensures that OpenWrt can update meson while still

Re: [PATCH v6 1/1] ltq-vdsl-app: extent dsl metrics with state_num and power_state_num

2021-04-13 Thread Andre Heider
_MAP_L3, Signed-off-by: Florian Eckert Reviewed-by: Andre Heider Thanks! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [PATCH v5 1/1] ltq-vdsl-app: extent dsl metrics with state_num and power_state_num

2021-04-13 Thread Andre Heider
On 13/04/2021 08:28, Florian Eckert wrote:   +/* These values are exported via ubus and backwards compability + * needs to be kept! + */ +enum { +    LSTATE_MAP_UNKNOWN = 0, +    LSTATE_MAP_EXCEPTION, +    LSTATE_MAP_IDLE, +    LSTATE_MAP_SILENT, +    LSTATE_MAP_HANDSHAKE, +   

Re: [PATCH v5 1/1] ltq-vdsl-app: extent dsl metrics with state_num and power_state_num

2021-04-12 Thread Andre Heider
_MAP_L3, Signed-off-by: Florian Eckert One note below, but in any case, LGTM, so: Reviewed-by: Andre Heider --- v5: After a discussion off the mailing list with Andre Heider, this is now the favored solution. All other versions have been marked in the patchwork as superseded. .../ltq-vdsl-app/sr

Re: [PATCH v3 1/1] ltq-vdsl-app: extent dsl metrics with boolean power and line states

2021-04-08 Thread Andre Heider
Hi Florian, On 06/04/2021 14:49, Florian Eckert wrote: With the old ubus dsl API, the numbers for the individual line_states and power_states were also returned. These were not ported to the new DSL C-API. This commit changes the following JSON output. Instead of outputting the "line_state"

Re: OpenWrt 21.02-rc1

2021-04-08 Thread Andre Heider
On 08/04/2021 11:14, Mauro Mozzarelli wrote: 2) dsl_control [status|lucistat] was changed with dsl reporting removed https://forum.openwrt.org/t/openwrt-21-02-dsl-control/89962/22 I understand the reason behind this change. I had to write my own command line reporting and adapt batch data

Re: Buildbot infrastructure upgrade

2021-03-17 Thread Andre Heider
On 13/03/2021 07:16, Andre Heider wrote: On 13/03/2021 07:03, Petr Štetiar wrote: Petr Štetiar [2021-03-12 16:38:46]: Hi, I would like to let you know, that we've prepared upgrade of the Buildbot based infrastructure and there is a plan to make those changes alive. we've just finished

Re: Buildbot infrastructure upgrade

2021-03-12 Thread Andre Heider
On 13/03/2021 07:03, Petr Štetiar wrote: Petr Štetiar [2021-03-12 16:38:46]: Hi, I would like to let you know, that we've prepared upgrade of the Buildbot based infrastructure and there is a plan to make those changes alive. we've just finished the migration. Oh nice, didn't see that

Re: [PATCH v2 1/1] ltq-vdsl-app: add line_state number and power_state number

2021-03-09 Thread Andre Heider
Hi Florian, On 09/03/2021 13:05, Florian Eckert wrote: With the old ubus dsl API, the numbers for the individual line_states and power_states were also returned. These were not ported to the new DSL C-API. This commit changes the following JSON output. * current JSON output for state: "state":

Re: [PATCH] build: prereq: drop support for Python 3.5

2021-02-16 Thread Andre Heider
Hi, On 16/02/2021 17:17, Petr Štetiar wrote: Andre Heider [2021-02-16 08:21:08]: Hi, The meson build system bumped their python requirement to 3.6 for the 0.57.0 release. This patch ensures that OpenWrt can update meson while still relying on the host python. Current buildbot images

[PATCH] build: prereq: drop support for Python 3.5

2021-02-15 Thread Andre Heider
Signed-off-by: Andre Heider --- include/prereq-build.mk | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/include/prereq-build.mk b/include/prereq-build.mk index f88e853b52..88064abf98 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -141,21

Re: [PATCH v3 0/6] add ubus support to ltq-[v|a]dsl-app

2021-02-05 Thread Andre Heider
On 26/01/2021 23:02, Hauke Mehrtens wrote: On 1/26/21 9:00 AM, Andre Heider wrote: v3: - copy dsl_cpe_ubus.c from ltq-adsl-app to ltq-vdsl-app instead of using    a symlink - squash PKG_RELEASE patches - move feed patches to PRs:    https://github.com/openwrt/packages/pull/14572    https

Re: [PATCH v3 0/6] add ubus support to ltq-[v|a]dsl-app

2021-01-26 Thread Andre Heider
On 26/01/2021 23:02, Hauke Mehrtens wrote: On 1/26/21 9:00 AM, Andre Heider wrote: v3: - copy dsl_cpe_ubus.c from ltq-adsl-app to ltq-vdsl-app instead of using    a symlink - squash PKG_RELEASE patches - move feed patches to PRs:    https://github.com/openwrt/packages/pull/14572    https

[PATCH v3 2/6] ltq-vdsl-app: add ubus support to get metrics

2021-01-26 Thread Andre Heider
uot;rx_corrupted": 27740, "rx_uncorrected_protected": 27010, "rx_retransmitted": 0, "rx_corrected": 730, "tx_retransmitted": 16222 }, "far": {

[PATCH v3 6/6] ltq-dsl-base: remove usused lantiq_dsl.sh

2021-01-26 Thread Andre Heider
All users have been converted to ubus. Signed-off-by: Andre Heider Tested-by: Martin Schiller --- package/network/utils/ltq-dsl-base/Makefile | 2 +- .../files/lib/functions/lantiq_dsl.sh | 749 -- 2 files changed, 1 insertion(+), 750 deletions(-) delete mode

[PATCH v3 0/6] add ubus support to ltq-[v|a]dsl-app

2021-01-26 Thread Andre Heider
app changes are only compile time tested. Andre Heider (6): ltq-vdsl-app: shutdown upon sigterm ltq-vdsl-app: add ubus support to get metrics ltq-adsl-app: add ubus support to get metrics ltq-vdsl-app: use ubus to provide metrics ltq-adsl-app: use ubus to provide metrics ltq-dsl-bas

[PATCH v3 1/6] ltq-vdsl-app: shutdown upon sigterm

2021-01-26 Thread Andre Heider
procd sends sigterm to stop daemons, hook it up. This speeds up the shutdown sequence and gets rid of the following message: daemon.info procd: Instance dsl_control::instance1 pid 15408 not stopped on SIGTERM, sending SIGKILL instead Signed-off-by: Andre Heider Tested-by: Martin Schiller

[PATCH v3 3/6] ltq-adsl-app: add ubus support to get metrics

2021-01-26 Thread Andre Heider
As with ltq-vdsl-app, see previous commit. Signed-off-by: Andre Heider --- package/network/config/ltq-adsl-app/Makefile | 7 ++- .../ltq-adsl-app/patches/300-ubus.patch | 50 +++ 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 package/network/config

[PATCH v3 4/6] ltq-vdsl-app: use ubus to provide metrics

2021-01-26 Thread Andre Heider
luci now uses ubus directly, so remove 'lucistat'. For manual usage just print the ubus output, use luci for a pretty version. Signed-off-by: Andre Heider Tested-by: Martin Schiller --- package/network/config/ltq-vdsl-app/Makefile | 2 +- package/network/config/ltq-vdsl-app/files

[PATCH v3 5/6] ltq-adsl-app: use ubus to provide metrics

2021-01-26 Thread Andre Heider
luci now uses ubus directly, so remove 'lucistat'. For manual usage just print the ubus output, use luci for a pretty version. Signed-off-by: Andre Heider --- package/network/config/ltq-adsl-app/Makefile | 2 +- package/network/config/ltq-adsl-app/files/dsl_control | 7 --- 2 files

Re: [PATCH 03/12] ltq-adsl-app: add ubus support to get metrics

2021-01-25 Thread Andre Heider
On 25/01/2021 21:13, Hauke Mehrtens wrote: On 12/15/20 10:35 AM, Andre Heider wrote: As with ltq-vdsl-app, see previous commit. Signed-off-by: Andre Heider ---   package/network/config/ltq-adsl-app/Makefile  |  2 +-   .../ltq-adsl-app/patches/300-ubus.patch   | 50

Re: [PATCH v2 0/12] add ubus support to ltq-[v|a]dsl-app

2021-01-25 Thread Andre Heider
On 25/01/2021 21:22, Hauke Mehrtens wrote: On 12/15/20 10:35 AM, Andre Heider wrote: v2: - drop 0002-ltq-vdsl-app-fix-Wundef-warnings.patch - use "/dev/dsl_cpe_api" without the "0" suffix for the adsl daemon:    package/kernel/lantiq/ltq-adsl/patches/100-dsl_compat.patc

Re: [PATCH 10/12] ltq-dsl-base: bump PKG_RELEASE

2021-01-25 Thread Andre Heider
On 25/01/2021 21:22, Hauke Mehrtens wrote: On 12/15/20 10:35 AM, Andre Heider wrote: Signed-off-by: Andre Heider Tested-by: Martin Schiller ---   package/network/utils/ltq-dsl-base/Makefile | 2 +-   1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/utils/ltq-dsl-base

  1   2   3   >