[OpenWrt-Devel] [PATCH] uhttpd: serve precompressed files

2020-06-08 Thread Sergey Ponomarev
Follow up on this patch: 1. The patch it was tested and accepted into ArednMesh.org because they works with distant networks https://github.com/aredn/aredn_ar71xx/pull/276. The same problem is actual for a regular WiFi networks e.g. trying to login into Luci when

Re: [OpenWrt-Devel] [PATCH] build, imagebuilder: Do not require libncurses-dev

2020-06-08 Thread Sven Roederer
Am Dienstag, 14. April 2020, 23:14:47 CEST schrieb Paul Spooren: > The buildroot and SDK both require `libncurses-dev` to be installed on > the system, however the ImageBuilder uses precompiled binaries. > > This patch changes the prerequirements checks to skip the > `libncurses-dev` part if runni

[OpenWrt-Devel] [PATCH] hostapd: hostapd_set_psk_file: fix defaut value for mac

2020-06-08 Thread Johann Neuhauser via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Bringing up of station vlan fails

[OpenWrt-Devel] [PATCH v2][umdns] Fix advertised IPv6 addresses

2020-06-08 Thread David Woodhouse
The dns_reply_a() function appears to filter out IPv6 addresses other than link-local. This means that advertised services are unreachable over IPv6 (since on the client side, we drop the interface identifier so link-local addresses aren't usable anyway). Fix it to include all addresses, in accord

Re: [OpenWrt-Devel] Google Season of Docs projects for OpenWrt

2020-06-08 Thread Baptiste Jonglez
Hi, On 08-06-20, Stan Grishin wrote: > I've had a look at the project ideas posted, and I'd like to put my > name forward for a few areas where I'd like to contribute: > > 1. There is a great documentation for creating lua-based luci > applications and model/cbi which allowed me to start creating

Re: [OpenWrt-Devel] openwrt-devel Digest, Vol 50, Issue 39

2020-06-08 Thread Stan Grishin
Baptiste, Thanks for taking a lead on this, it's a fantastic idea! I've had a look at the project ideas posted, and I'd like to put my name forward for a few areas where I'd like to contribute: 1. There is a great documentation for creating lua-based luci applications and model/cbi which allowed

[OpenWrt-Devel] Fwd: [PATCH] hostapd: wpad init script renamed

2020-06-08 Thread Michael T Farnworth
When hostapd is launched as /etc/init.d/wpad it appears in a different location under "ubus call service list" presenting problems with scripts /lib/netifd/hostapd.sh and /lib/netifd/wireless/mac80211.sh. Either these scripts need to be patched to recognise the move, or the init.d script needs to

[OpenWrt-Devel] [PATCH][umdns] Fix advertised IPv6 addresses

2020-06-08 Thread David Woodhouse
The dns_reply_a() function appears to include *only* link-local IPv6 addresses. This seems wrong, and ends up publishing addresses which can't be used to reach the host in question. I believe the logic should be the other way around and we should be *eliding* the link-local addresses but including

[OpenWrt-Devel] [PATCH] hostapd: update to latest Git hostap_2_9-1331-g5a8b366233f5

2020-06-08 Thread Petr Štetiar
Bump to latest Git and refresh all patches in order to get fix for "UPnP SUBSCRIBE misbehavior in hostapd WPS AP" (CVE-2020-12695). General security vulnerability in the way the callback URLs in the UPnP SUBSCRIBE command are used were reported (VU#339275, CVE-2020-12695). Some of the described

[OpenWrt-Devel] [PATCH] hostapd: wpad init script renamed

2020-06-08 Thread Michael T Farnworth
When hostapd is launched as /etc/init.d/wpad it appears in a different location under "ubus call service list" presenting problems with scripts /lib/netifd/hostapd.sh and /lib/netifd/wireless/mac80211.sh Either these scripts need to be patched to recognise the move, or the init.d script needs to

[OpenWrt-Devel] [PATCH 3/3] vxlan: add capability for multiple fdb entries

2020-06-08 Thread Johannes Kimmel
Similar to wireguard, vxlan can configure multiple peers or add specific entries to the fdb for a single mac address. While you can still use peeraddr/peer6addr option within the proto vxlan/vxlan6 section to not break existing configurations, this patch allows to add multiple sections that conigu

[OpenWrt-Devel] [PATCH 2/3] vxlan: remove mandatory peeraddr

2020-06-08 Thread Johannes Kimmel
vxlan can be configured without a peer address. This is used to prepare an interface and add peers later. Signed-off-by: Johannes Kimmel --- package/network/config/vxlan/files/vxlan.sh | 12 1 file changed, 12 deletions(-) diff --git a/package/network/config/vxlan/files/vxlan.sh b

[OpenWrt-Devel] [PATCH 1/3] vxlan: fix udp checksum control

2020-06-08 Thread Johannes Kimmel
So far, passing "rxcsum" and "txcsum" had no effect. Signed-off-by: Johannes Kimmel --- package/network/config/vxlan/files/vxlan.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/network/config/vxlan/files/vxlan.sh b/package/network/config/vxlan/files/vxlan.sh index d055d41..7b1c

[OpenWrt-Devel] [PATCH 0/3] vxlan: add capability for multiple fdb entries

2020-06-08 Thread Johannes Kimmel
This is a small series of patches to add multiple fdb entries for vxlan interfaces. First patch fixes an issue where the options for controlling checksums wasn't working. Second patch removes the requirement to specify a peeraddr, because vxlan interfaces can be created without them. Third patch

Re: [OpenWrt-Devel] [PATCH 4/4] ath79: add support for D-Link DAP-2695-A1

2020-06-08 Thread mail
Hi Stijn, find my comments inline. > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Stijn Tintel > Sent: Montag, 8. Juni 2020 11:37 > To: openwrt-devel@lists.openwrt.org > Subject: [OpenWrt-Devel] [PATCH 4/4] ath79: add support for

Re: [OpenWrt-Devel] [PATCH 3/4] ath79: use separate file for generic D-Link images

2020-06-08 Thread mail
Hi Stijn, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Stijn Tintel > Sent: Montag, 8. Juni 2020 11:37 > To: openwrt-devel@lists.openwrt.org > Subject: [OpenWrt-Devel] [PATCH 3/4] ath79: use separate file for generic D- > Link i

[OpenWrt-Devel] [PATCH 4/4] ath79: add support for D-Link DAP-2695-A1

2020-06-08 Thread Stijn Tintel
Hardware: * SoC: Qualcomm Atheros QCA9558 * RAM: 256MB * Flash: 16MB SPI NOR * Ethernet: 2x 10/100/1000 (1x 802.3at PoE-PD) * WiFi 2.4GHz: Qualcomm Atheros QCA9558 * WiFi 5GHz: Qualcomm Ahteros QCA9880-2R4E * LEDS: 1x 5GHz, 1x 2.4GHz, 1x LAN1(POE), 1x LAN2, 1x POWER * Buttons: 1x RESET * UART: 1x R

[OpenWrt-Devel] [PATCH 1/4] mtd: enable wrgg support for ath79

2020-06-08 Thread Stijn Tintel
This is required for the D-Link DAP-2695-A1. Signed-off-by: Stijn Tintel --- package/system/mtd/src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/system/mtd/src/Makefile b/package/system/mtd/src/Makefile index e504a04478..6da31a04a4 100644 --- a/package/sys

[OpenWrt-Devel] [PATCH 3/4] ath79: use separate file for generic D-Link images

2020-06-08 Thread Stijn Tintel
Move the generic D-Link image definitions to a separate file, as is done for several other vendors. Signed-off-by: Stijn Tintel --- target/linux/ath79/image/Makefile | 1 + target/linux/ath79/image/generic-dlink.mk | 114 + target/linux/ath79/image/generic.mk

[OpenWrt-Devel] [PATCH 0/4] ath79: add support for D-Link DAP-2695-A1

2020-06-08 Thread Stijn Tintel
This series adds support for the D-Link DAP-2695-A1 to the ath79 target. Also available in my staging tree at [0]. Successfully tested sysupgrade from ar71xx to ath79. [0] https://git.openwrt.org/?p=openwrt/staging/stintel.git;a=summary Stijn Tintel (4): mtd: enable wrgg support for ath79 a

[OpenWrt-Devel] [PATCH 2/4] ath79: enable wrgg MTD splitter

2020-06-08 Thread Stijn Tintel
This is required for the D-Link DAP-2695. Signed-off-by: Stijn Tintel --- target/linux/ath79/config-4.19 | 1 + target/linux/ath79/config-5.4 | 1 + 2 files changed, 2 insertions(+) diff --git a/target/linux/ath79/config-4.19 b/target/linux/ath79/config-4.19 index cfa0ebd759..81fd017aba 100644

[OpenWrt-Devel] Google Season of Docs projects for OpenWrt

2020-06-08 Thread Baptiste Jonglez
Hi, As discussed previously, OpenWrt has applied and been accepted for the Season of Docs. We have three mentors (me, Jow, Thomas Hühn), while Hauke and Paul are "project administrators". We started proposing projects here: https://openwrt.org/google-season-of-docs Feel free to discuss the prop