Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH v2] merge: add OpenWrt branding

2017-10-30 Thread Mike Baker
On 10/28/2017 4:52 PM, Hartmut Knaack wrote: Philip Prindeville wrote on 28.10.2017 23:20: Hi all, Does it seem to anyone else that we’re making this more complicated than it needs to be? If one of the goals we’re going for from here on out is “equality”, then a basic litmus test to be

[LEDE-DEV] [PATCH] libubux: add 2 missing free calls and change a char to const char.

2017-10-30 Thread Rosen Penev
Reduces compiled size by 48 bytes. Signed-off-by: Rosen Penev --- jshn.c| 4 +++- ustream.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/jshn.c b/jshn.c index 4989099..d47e98d 100644 --- a/jshn.c +++ b/jshn.c @@ -103,7 +103,7 @@ static void

Re: [LEDE-DEV] jshn.sh: json_load replaces "-" with "_"

2017-10-30 Thread Matthias Schiffer
On 10/30/2017 09:58 PM, Paul Spooren wrote: > On 10/30/17 3:28 AM, Matthias Schiffer wrote: >> On 10/29/2017 09:21 PM, Paul Spooren wrote: >>> Hi all, >>> >>> I'm currently trying to use jshn.sh but it changes the data and makes it >>> unusable. >>> >>> Below an example: >>> >>> root@LEDE:~#

[LEDE-DEV] dropping/rejecting without logging in zone set for logging

2017-10-30 Thread Brian J. Murrell
Hi, I have a firewall configuration that includes: config zone option name 'lan' option forward 'ACCEPT' option network 'lan' option log '1' option input 'REJECT' option output 'REJECT' Because of course with any firewall there are the exceptions

Re: [LEDE-DEV] jshn.sh: json_load replaces "-" with "_"

2017-10-30 Thread Paul Spooren
On 10/30/17 3:28 AM, Matthias Schiffer wrote: > On 10/29/2017 09:21 PM, Paul Spooren wrote: >> Hi all, >> >> I'm currently trying to use jshn.sh but it changes the data and makes it >> unusable. >> >> Below an example: >> >> root@LEDE:~# json_string="{ \"foo-bar\": 10 }" >> root@LEDE:~# echo

[LEDE-DEV] [PATCH] ar71xx: add support for TP-Link TL-WDR7500v6

2017-10-30 Thread Bizon
Add support for TP-Link TL-WDR7500 V6. Specifications: - WiSoC: QCA9563 - 3x3 2.4GHz - Radio2: QCA9880 - 3x3 5GHz - RAM: 64MB DDR2 - Storage: 8MB NOR SPI flash, can be replaced with 16M - Switch: RTL8367S, now unmanaged - Ethernet: 5x1G - Misc: 2x button, 2x LED Signed-off-by: Karol Bizewski

Re: [LEDE-DEV] [PATCH] openssl: Enable assembler optimizations for aarch64

2017-10-30 Thread Baptiste Jonglez
On 28-10-17, Baptiste Jonglez wrote: > The awesome AES performance was too good to be true: it seems to produce > incorrect results when encrypting on the pine64 and decrypting on a x86_64 > machine :( > Possibly some assembler is optimized away by the compiler, which would > explain why it's so

[LEDE-DEV] [PATCH 3/3] ubox: Remove unused debug variable.

2017-10-30 Thread Rosen Penev
Reduced compiled size from 43912 to 43840. Signed-off-by: Rosen Penev --- log/logd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/log/logd.c b/log/logd.c index 9b481cd..e90f12f 100644 --- a/log/logd.c +++ b/log/logd.c @@ -26,7 +26,6 @@ #include "syslog.h" -int debug

[LEDE-DEV] [PATCH 2/3] ubox: Replace { 0 } with {}.

2017-10-30 Thread Rosen Penev
The latter is more compatible with older GCC versions like 4.9. Additionally, initializing with { 0 } produces a warning that only the first field was initialized. Signed-off-by: Rosen Penev --- log/logd.c | 2 +- validate/cli.c | 2 +- 2 files changed, 2 insertions(+),

[LEDE-DEV] [PATCH 1/3] log/syslog: Add missing static to two structs.

2017-10-30 Thread Rosen Penev
On x86, binary size goes down by 16 bytes. Signed-off-by: Rosen Penev --- log/syslog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/log/syslog.c b/log/syslog.c index 856fa60..754baa9 100644 --- a/log/syslog.c +++ b/log/syslog.c @@ -172,12 +172,12 @@

Re: [LEDE-DEV] arc770 uclibc usage

2017-10-30 Thread Alexey Brodkin
Hi Hans, On Mon, 2017-10-30 at 18:36 +0100, Hans Dedecker wrote: > Hi Alexey, > > The arc770 target still uses uClibc which causes a build failure in > iproute2 on the phase 1 buildbot >

[LEDE-DEV] arc770 uclibc usage

2017-10-30 Thread Hans Dedecker
Hi Alexey, The arc770 target still uses uClibc which causes a build failure in iproute2 on the phase 1 buildbot (http://phase1.builds.lede-project.org/builders/arc770%2Fgeneric/builds/411/steps/pkgbuild/logs/stdio) due to IPPROTO_MH not being defined. Other targets using either glibc or musl have

[LEDE-DEV] transparent proxy firewall redirect kills Luci interface

2017-10-30 Thread Brian J. Murrell
Hi. Using LEDE 17.01.4, if I add the prescribed transparent proxy configuration for the firewall per: https://wiki.openwrt.org/doc/uci/firewall#transparent_proxy_rule_external config redirect option src lan option prototcp option src_ip

[LEDE-DEV] [PATH] uhttpd: store relative query string offset

2017-10-30 Thread Jo-Philipp Wich
Instead of storing a pointer to the beginning of the query string within the request url, store the byte offset instead. Since the URL is usually kept in the per-client blob buffer which might change its memory location due to reallocations triggered by blobmsg_add_*, it is not safe to point to

Re: [LEDE-DEV] [PATH] uhttpd: store relative query string offset

2017-10-30 Thread Jo-Philipp Wich
Hi, please give this patch a try. I was able to reproduce your issue and this patch fixed the issue for me. ~ Jo ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev