Re: [OpenWrt-Devel] [CC 15.05] polarssl: Security update (CVE-2015-5291)

2015-11-27 Thread Stefan Peter
Dear all Am 24.11.2015 um 16:43 schrieb j...@openwrt.org: > The polarssl package has been rebuilt and was uploaded to the Chaos > Calmer 15.05 repository due to a reported security issue. Why does this not show up in the CC git tree? > > REFERENCES > ... > * > http://git.openwrt.org/?p=15.05/

[OpenWrt-Devel] [PATCH] lldpd: add STOP=01 param in init script

2015-11-27 Thread Alexandru Ardelean
From: Alexandru Ardelean This should ensure that lldpd is among the first processes to stop, so that it has time to send the shutdown LLDPU to the other side, before the network goes down. Signed-off-by: Alexandru Ardelean --- package/network/services/lldpd/files/lldpd.init | 3 ++- 1 file cha

Re: [OpenWrt-Devel] [CC 15.05] polarssl: Security update (CVE-2015-5291)

2015-11-27 Thread francesco . borromini
Probably because it's in the packages tree, which is separate. You'll find it in the log there. > Message: 3 > Date: Fri, 27 Nov 2015 10:39:12 +0100 > From: Stefan Peter > To: openwrt-devel@lists.openwrt.org > Subject: Re: [OpenWrt-Devel] [CC 15.05] polarssl: Security update > (CVE-2015-529

[OpenWrt-Devel] [PATCH] b53: add 'flush_arl' command per port

2015-11-27 Thread Alexandru Ardelean
This would in essence re-use the current b53_flush_arl() function with the added part that we can select a single port to flush ARL for. Signed-off-by: Alexandru Ardelean --- .../generic/files/drivers/net/phy/b53/b53_common.c | 29 ++ .../generic/files/drivers/net/phy/b53/b5

Re: [OpenWrt-Devel] [PATCH] rtl8xxxu: Add new driver for Realtek WiFi USB devices

2015-11-27 Thread Felix Fietkau
On 2015-11-26 17:22, Bruno Randolf wrote: > On 11/26/2015 04:04 PM, W. Michael Petullo wrote: >>> This new driver supports RTL8723AU, RTL8188CU, RTL8188RU, RTL8191CU, and >>> RTL8192CU and is taken from: >>> https://git.kernel.org/cgit/linux/kernel/git/jes/linux.git/log/?h=rtl8723au-mac80211 >> >>

Re: [OpenWrt-Devel] fstools: factory reset on power failure during startup

2015-11-27 Thread Florian Eckert
Hi, I have tested your patch since last day when I got the patch from you. I am using an programmable dc/dc power supply, who switches the power between startup randomly. I will run the test during the weekend. And then I will see what happend on Monday morning. But for now i havn't lost the confi

[OpenWrt-Devel] [PATCH] mac80211: install new firmware for ath9k-htc on target

2015-11-27 Thread Alexey Brodkin
For quite some time new firmware for ath9k-htc devices is available in http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/ath9k_htc/ Moreover ath9k-htc kernel driver expects this new v1.4 firmware to exist in /lib/firmware/ath9k_htc. What happens currently: -

Re: [OpenWrt-Devel] [PATCH] mac80211: install new firmware for ath9k-htc on target

2015-11-27 Thread Hauke Mehrtens
On 11/27/2015 04:36 PM, Alexey Brodkin wrote: > For quite some time new firmware for ath9k-htc devices > is available in > http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/ath9k_htc/ > > Moreover ath9k-htc kernel driver expects this new v1.4 > firmware to exist in /lib/

Re: [OpenWrt-Devel] [PATCH] mac80211: install new firmware for ath9k-htc on target

2015-11-27 Thread Felix Fietkau
On 2015-11-27 16:36, Alexey Brodkin wrote: > For quite some time new firmware for ath9k-htc devices > is available in > http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/ath9k_htc/ > > Moreover ath9k-htc kernel driver expects this new v1.4 > firmware to exist in /lib/fir

[OpenWrt-Devel] [PATCH v2] mac80211: install new firmware for ath9k-htc on target

2015-11-27 Thread Alexey Brodkin
For quite some time new firmware for ath9k-htc devices is available in http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/ath9k_htc/ Moreover ath9k-htc kernel driver expects this new v1.4 firmware to exist in /lib/firmware/ath9k_htc. What happens currently: -

[OpenWrt-Devel] New Ubiquiti AC products locked against 3rd party firmware?

2015-11-27 Thread Ben West
I'm forwarding a post from listserv discussing the proposed FCC regulations that would (indirectly) compel firmware lockdown. This person is reporting a new Ubiquiti AC AP where there the bootloader does an RSA signature check on the firmware image. Could anyone else confirm if they've observed t

[OpenWrt-Devel] [PATCH] kernel: Hyper-V support for Linux 3.18

2015-11-27 Thread Ning Ye
kernel: Update Hyper-V support for Linux 3.18 and OpenWRT trunk. Now requires at least 96 MB memory for VM. Signed-off-by: Ning Ye --- config/Config-images.in | 10 package/kernel/linux/modules/virtual.mk | 86 + target/linux/x86/config-3.18

[OpenWrt-Devel] [PATCH procd v3 00/17] ujail fs jail rework/fixes/improvements

2015-11-27 Thread Etienne CHAMPETIER
same as v2 serie, just using include guard instead of pragma once Etienne CHAMPETIER (17): ujail: don't add non existant library_path ujail: don't pass unused arg in clone call ujail: stop using extern in elf.h ujail: use more const in elf.* ujail: put #include guard macro in all *.h u

[OpenWrt-Devel] [PATCH procd v3 02/17] ujail: don't pass unused arg in clone call

2015-11-27 Thread Etienne CHAMPETIER
clone() call need a function with "void *" arg (else we have a compilation error) Signed-off-by: Etienne CHAMPETIER --- jail/jail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jail/jail.c b/jail/jail.c index 56dc9ca..9952ed9 100644 --- a/jail/jail.c +++ b/jail/jail.c

[OpenWrt-Devel] [PATCH procd v3 04/17] ujail: use more const in elf.*

2015-11-27 Thread Etienne CHAMPETIER
Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 28 +++- jail/elf.h | 4 ++-- jail/jail.c | 2 +- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/jail/elf.c b/jail/elf.c index 34a5aca..fb046b4 100644 --- a/jail/elf.c +++ b/jail/elf.c @@ -69,7 +69,7

[OpenWrt-Devel] [PATCH procd v3 01/17] ujail: don't add non existant library_path

2015-11-27 Thread Etienne CHAMPETIER
Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jail/elf.c b/jail/elf.c index cbb3051..34a5aca 100644 --- a/jail/elf.c +++ b/jail/elf.c @@ -33,6 +33,10 @@ static LIST_HEAD(library_paths); void alloc_library_path(const

[OpenWrt-Devel] [PATCH procd v3 03/17] ujail: stop using extern in elf.h

2015-11-27 Thread Etienne CHAMPETIER
extern qualifiers for function definitions doesn't really make sense Signed-off-by: Etienne CHAMPETIER --- jail/elf.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jail/elf.h b/jail/elf.h index 3ae311e..19ceb3e 100644 --- a/jail/elf.h +++ b/jail/elf.h @@ -30,9 +30,9

[OpenWrt-Devel] [PATCH procd v3 06/17] ujail: add to log.h

2015-11-27 Thread Etienne CHAMPETIER
headers must include all there dependencies, no more, no less (it uses fprintf) Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 1 - jail/jail.c | 1 - jail/log.h | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/jail/elf.c b/jail/elf.c index fb046b4..6d36215 100644 --- a

[OpenWrt-Devel] [PATCH procd v3 07/17] ujail: add and to seccomp.h

2015-11-27 Thread Etienne CHAMPETIER
headers must include all there dependencies, no more, no less Signed-off-by: Etienne CHAMPETIER --- jail/preload.c | 2 -- jail/seccomp.c | 2 -- jail/seccomp.h | 3 +++ 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/jail/preload.c b/jail/preload.c index a1cc0b6..5466f27 100644 -

[OpenWrt-Devel] [PATCH procd v3 08/17] ujail: remove "#include log.h" from elf.h

2015-11-27 Thread Etienne CHAMPETIER
headers must include all there dependencies, no more, no less Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 1 + jail/elf.h | 2 -- jail/jail.c | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jail/elf.c b/jail/elf.c index 6d36215..5e22606 100644 --- a/jail/elf.c +++

[OpenWrt-Devel] [PATCH procd v3 05/17] ujail: put #include guard macro in all *.h

2015-11-27 Thread Etienne CHAMPETIER
Signed-off-by: Etienne CHAMPETIER --- jail/capabilities.h | 4 jail/elf.h | 3 ++- jail/log.h | 3 +++ jail/seccomp.h | 4 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/jail/capabilities.h b/jail/capabilities.h index e6699e9..11b8cc2 100644 --- a/

[OpenWrt-Devel] [PATCH procd v3 09/17] ujail: search libs in /lib before /lib64

2015-11-27 Thread Etienne CHAMPETIER
musl (openwrt DD r47603 x86-64) looks for lib only in /lib, not in /lib64, and /lib64 is a symlink to /lib, so ujail find all the libs in /lib64, add them in the jail (only under /lib64) and then musl fails to find the libs. uClibc (openwrt CC r47608 x86-64) looks for lib in /lib and /usr/lib, not

[OpenWrt-Devel] [PATCH procd v3 10/17] ujail: use PATH_MAX for path related buffers

2015-11-27 Thread Etienne CHAMPETIER
Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 9 + jail/jail.c | 9 + 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/jail/elf.c b/jail/elf.c index 5e22606..2acac71 100644 --- a/jail/elf.c +++ b/jail/elf.c @@ -22,6 +22,7 @@ #include #include #include +#

[OpenWrt-Devel] [PATCH procd v3 12/17] ujail: fixup code style: "func()" -> "func(void)"

2015-11-27 Thread Etienne CHAMPETIER
Signed-off-by: Etienne CHAMPETIER --- jail/jail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jail/jail.c b/jail/jail.c index 5b24f63..b7e6946 100644 --- a/jail/jail.c +++ b/jail/jail.c @@ -139,7 +139,7 @@ static int mount_bind(const char *root, const char *path, cons

[OpenWrt-Devel] [PATCH procd v3 11/17] ujail: add init_library_search()

2015-11-27 Thread Etienne CHAMPETIER
move all libraries search initialisation stuff into elf.c / init_library_search() for now we don't handle musl specific files Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 13 +++-- jail/elf.h | 3 +-- jail/jail.c | 6 +- 3 files changed, 13 insertions(+), 9 deletions(-) d

[OpenWrt-Devel] [PATCH procd v3 13/17] ujail: remove some debug/dev hack

2015-11-27 Thread Etienne CHAMPETIER
this code is present since first ujail commit (dfcfcca7) Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 7 +-- jail/jail.c | 8 ++-- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/jail/elf.c b/jail/elf.c index c3a392c..7c52880 100644 --- a/jail/elf.c +++ b/jail/elf.

[OpenWrt-Devel] [PATCH procd v3 17/17] ujail: add ELF interpreter (DT_INTERP) to the jail

2015-11-27 Thread Etienne CHAMPETIER
this is needed by musl (openwrt DD) uClibc/glibc is working without this this partly fixes https://dev.openwrt.org/ticket/20785 we still don't handle DT_RPATH, DT_RUNPATH, nodeflib, ... see http://man7.org/linux/man-pages/man8/ld.so.8.html Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 5 +

[OpenWrt-Devel] [PATCH procd v3 14/17] ujail: DT_STRTAB uses d_ptr in d_un union (not d_val)

2015-11-27 Thread Etienne CHAMPETIER
see https://docs.oracle.com/cd/E19683-01/817-3677/chapter6-42444/index.html Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jail/elf.c b/jail/elf.c index 7c52880..46c19df 100644 --- a/jail/elf.c +++ b/jail/elf.c @@ -182,7 +

[OpenWrt-Devel] [PATCH v2 0/2] Add support for TP-LINK TL-WR841N/ND v10 to Chaos Calmer

2015-11-27 Thread Matteo Valentini
v2: previous 2/2 patch was based on wrong sources Matteo Valentini (2): CC: ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2 CC: ar71xx: backport support for TP-LINK TL-WR841N/ND v10 target/linux/ar71xx/image/Makefile| 9 - .../707-MIPS-ath79-add-suppor

[OpenWrt-Devel] [PATCH v2 1/2] CC: ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2

2015-11-27 Thread Matteo Valentini
ath9k expects to get revision id 2 for the QCA9531 ver. 2 rev. 0. This fixes the very low TX power on some devices like the TP-LINK TL-WR841ND v10 As ath79_soc_rev is only used to get the revision number to ath9k on the QCA9533, just set it to the expected value on the ver. 2. Backport of r47262

[OpenWrt-Devel] [PATCH v2 2/2] CC: ar71xx: backport support for TP-LINK TL-WR841N/ND v10

2015-11-27 Thread Matteo Valentini
The TL-WR841N/ND v10 is mostly identical to the v9. Apart from some minor changes, it contains a newer revision of the QCA9533 SoC and the CPU clock is significantly higher. Backport of r47263 Signed-off-by: Matteo Valentini --- target/linux/ar71xx/image/Makefile | 9 - 1 file changed,

[OpenWrt-Devel] [PATCH procd v3 16/17] ujail: automatically add script (#!) interpreter

2015-11-27 Thread Etienne CHAMPETIER
this make simple script work easily with ujail Signed-off-by: Etienne CHAMPETIER --- jail/fs.c | 28 1 file changed, 28 insertions(+) diff --git a/jail/fs.c b/jail/fs.c index aeab730..c848700 100644 --- a/jail/fs.c +++ b/jail/fs.c @@ -79,6 +79,29 @@ void mount_list_

[OpenWrt-Devel] [PATCH procd v3 15/17] ujail: rework fs jail part

2015-11-27 Thread Etienne CHAMPETIER
Change functions to work with full paths (do less split and concat of path) Store "soname" as key and the fullpath as path in "libraries" Remove "extras" list and replace it with "mounts" avl_tree ("mounts" also store fullpath) Add add_path_and_deps() function to handle file/lib openning and

Re: [OpenWrt-Devel] UniFi-AC-LR ( or UniFi-AC-LITE )

2015-11-27 Thread Andrew Margarit | Cucumber WiFI
They have added this Firmware Version: BZ.qca956x.v3.4.7.3284.150911.1650 RSA Signed Firmware. Verfiying please wait... Decrypted hash: f8 2b 45 72 9f e4 5f 46 a0 96 43 37 57 4f 49 ab 43 dc 1e 8c Image hash: f8 2b 45 72 9f e4 5f 46 a0 96 43 37 57 4f 49 ab 43 dc 1e 8c RSA signature check. C

[OpenWrt-Devel] [PATCH] brcm63xx: Add NuCom R5010UNv2 support

2015-11-27 Thread dani
This patch adds support for the NuCom R5010UNv2. It's a BCM6328 based board. It has an onboard BCM43217 wifi chip. For this wifi chip looks like the brcmsmac driver isn't still supported, b43 drivers are used for the profile of the router. It's worth mentioning this board was affected by a bug s

Re: [OpenWrt-Devel] [PATCH v5 1/5] ar71xx: add eth rx delay for qca955x platforms

2015-11-27 Thread Christian Lamparter
On Saturday, November 21, 2015 08:45:23 PM John Crispin wrote: > Hi, > > sorry to jump in this late at a V5 but i have a few concerns. see inline Well, the *beautiful thing* of this platform is that Cisco charges people a yearly fee if they want to stick with the original firmware. So people are d

Re: [OpenWrt-Devel] [PATCH 8/8] ramips: update dtsi files to support second spi device

2015-11-27 Thread Álvaro Fernández Rojas
Dear Mingyu, It works perfectly after adding the second spi clock: https://gist.github.com/Noltari/9231b6c73c3b36e681ef I'm sorry but I couldn't test this before. Regards, Álvaro. El 23/11/2015 a las 2:41, Mingyu Li escribió: Dear Sir. you need to modify kernel file at "arch/mips/ralink/rt30

[OpenWrt-Devel] [PATCH 1/2] ramips: add second SPI clocks

2015-11-27 Thread Álvaro Fernández Rojas
These clocks were missing in the changes introduced in r47573-47580 Signed-off-by: Álvaro Fernández Rojas --- ...0051-SPI-ralink-add-Ralink-SoC-spi-clocks.patch | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 target/linux/ramips/patches-3.18/0051-SPI-ralink-add

[OpenWrt-Devel] [PATCH 2/2] ramips: adapt VoCore to new second spi device code

2015-11-27 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- target/linux/ramips/dts/VOCORE-16M.dts | 58 -- target/linux/ramips/dts/VOCORE-8M.dts | 58 -- target/linux/ramips/dts/VOCORE.dtsi| 20 ++-- 3 files changed, 66 insertions(+), 70

[OpenWrt-Devel] [PATCH] procd: hotplug.json: allow passing hotplug events from all subsystems

2015-11-27 Thread Yousong Zhou
There are time that programs need to be notified of events from subsystems that are not enumerated in the .json definition, e.g. QEMU guest agent by default requires /dev/virtio-ports/org.qemu.guest_agent.0 which is a symlink to /dev/vportMpN from virtio-ports subsystem. Signed-off-by: Yousong Zho

Re: [OpenWrt-Devel] [PATCH] procd: hotplug.json: allow passing hotplug events from all subsystems

2015-11-27 Thread Yousong Zhou
On 28 November 2015 at 12:22, Yousong Zhou wrote: > There are time that programs need to be notified of events from > subsystems that are not enumerated in the .json definition, e.g. QEMU > guest agent by default requires /dev/virtio-ports/org.qemu.guest_agent.0 > which is a symlink to /dev/vportM

[OpenWrt-Devel] [PATCH] Add support for Ubuquiti EdgeRouter X (UBNT-ERX)

2015-11-27 Thread Nikolay Martynov
This router is based on MT7621 SoC, no wifi, nand. Works: * Boots. * Ethernet. * Switch. * Button (reset). * Flashing OpenWrt from stock firmware. * Upgrading OpenWrt. Doesn't work: * No GPIO leds. All leds are controlled by switch, but stock firmware was able to control them. * SoC has crypto

[OpenWrt-Devel] [PATCH v2] Add support for Ubuquiti EdgeRouter X (UBNT-ERX)

2015-11-27 Thread Nikolay Martynov
This router is based on MT7621 SoC, no wifi, nand. Works: * Boots. * Ethernet. * Switch. * Button (reset). * Flashing OpenWrt from stock firmware. * Upgrading OpenWrt. Doesn't work: * No GPIO leds. All leds are controlled by switch, but stock firmware was able to control them. * SoC has crypto