Re: [LEDE-DEV] [PATCH] wireguard: bump to 20180514

2018-05-17 Thread Hans Dedecker
On Wed, May 16, 2018 at 5:14 PM, Kevin Darbyshire-Bryant wrote: > 52be69b version: bump snapshot > 4884b45 ncat-client-server: add wg-quick variant > a333551 wg-quick: add darwin implementation > f5bf84d compat: backport for OpenSUSE 15 > fe1ae1b wg-quick: add wg

Re: [LEDE-DEV] [PATCH] kmod-sched-cake: bump to latest 20180515

2018-05-16 Thread Hans Dedecker
On Tue, May 15, 2018 at 11:00 PM, Kevin Darbyshire-Bryant wrote: > Following changes as part of the kernel > upstreaming attempts. And fix a slight fsck up > when calculating overheads for GSO packets. Patch applied to both master and openwrt-18.06; thx Hans > >

Re: [LEDE-DEV] [PATCH v2] dnsmasq: bump to 2.80test2

2018-05-12 Thread Hans Dedecker
On Sat, May 12, 2018 at 4:37 PM, Kevin Darbyshire-Bryant wrote: > Refresh patches and backport upstream to current HEAD: > > 1f1873a Log warning on very large cachesize config, instead of truncating it. > 0a496f0 Do unsolicited RAs for interfaces which appear after

Re: [LEDE-DEV] [PATCH] kmod-sched-cake: bump to latest cake 2018-05-07

2018-05-08 Thread Hans Dedecker
On Tue, May 8, 2018 at 10:39 AM, Kevin Darbyshire-Bryant via Lede-dev wrote: > 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

[LEDE-DEV] [PATCH] iproute2: update to 4.16

2018-05-01 Thread Hans Dedecker
Update to latest version of iproute2, refresh patches. See https://lkml.org/lkml/2018/4/2/349 for a full overview of the changes in 4.16. Build and tested on AR7xxx against musl Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- package/network/utils/iproute2/Ma

Re: [LEDE-DEV] [PATCH] dropbear: automatically add firewall rules based on the config

2018-04-18 Thread Hans Dedecker
On Wed, Apr 18, 2018 at 12:01 PM, Pierre Lebleu wrote: > An extra option (AllowedClientIPs:list) is available to allow > specific clients to use this service. > > Testing done: > root@OpenWrt:~# uci show dropbear > dropbear.lan=dropbear > dropbear.lan.enable='1' >

Re: [LEDE-DEV] [PATCH netifd] interface: fix "ifup-failed" hotplug event handling

2018-04-10 Thread Hans Dedecker
On Tue, Apr 10, 2018 at 6:21 AM, Martin Schiller wrote: > The ifup-failed event should only be triggered when the former > interface state is IFS_SETUP. > > Otherwise, there will also be an ifup-failed event in the > IFS_TEARDOWN stateif you do an manual ifdown . Patch applied

[LEDE-DEV] [PATCH netifd] interface-ip: fix memory leak in interface_ip_add_target_route()

2018-04-02 Thread Hans Dedecker
-by: Hans Dedecker <dedec...@gmail.com> --- interface-ip.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/interface-ip.c b/interface-ip.c index 1c84d4f..6726a69 100644 --- a/interface-ip.c +++ b/interface-ip.c @@ -229,18 +

Re: [LEDE-DEV] [PATCH] libjson-c: Update to 0.13

2018-03-31 Thread Hans Dedecker
On Sat, Mar 31, 2018 at 12:25 AM, Rosen Penev wrote: > From: Daniel Engberg > > Update (lib)json-c to 0.13 What are the changes? Is there any size increase ? Please be a bit more verbose in the git commit description Hans > > Signed-off-by:

Re: [LEDE-DEV] [PATCH] uci: fix a potential use-after-free in uci_set()

2018-03-26 Thread Hans Dedecker
On Sun, Mar 25, 2018 at 3:30 AM, Jordan Miner wrote: > When calling uci_set() to update an option, if ptr->o != NULL and > ptr->option == NULL, then uci_expand_ptr() will set ptr->option to > ptr->o->e.name (or the caller could set ptr->option to that value). In > this case,

Re: [LEDE-DEV] [PATCH v1] dnsmasq: bump to 2.79 release

2018-03-19 Thread Hans Dedecker
On Sun, Mar 18, 2018 at 11:25 PM, Kevin Darbyshire-Bryant wrote: > 94b6878 Tidy crypto.c of old library compat. Now need libnettle 3. > 8b96552 Fix compiler warning. > > Signed-off-by: Kevin Darbyshire-Bryant Patch applied thanks Hans

Re: [LEDE-DEV] [PATCH] curl: Update to 7.59

2018-03-19 Thread Hans Dedecker
On Mon, Mar 19, 2018 at 1:29 AM, Rosen Penev wrote: > Compile tested on ar71xx. > > Signed-off-by: Rosen Penev Patch applied thanks Hans > --- > package/network/utils/curl/Makefile | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

[LEDE-DEV] [PATCH] openvpn: remove deprecated config options

2018-03-17 Thread Hans Dedecker
Remove deprecated config options in 2.5 as described in [0] [0] https://community.openvpn.net/openvpn/wiki/DeprecatedOptions Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- package/network/services/openvpn/Makefile | 2 +- package/network/services/openvpn

Re: [LEDE-DEV] [PATCH] uci: fix a potential use-after-free in uci_set()

2018-03-13 Thread Hans Dedecker
On Tue, Mar 13, 2018 at 3:44 AM, Jordan Miner wrote: > When calling uci_set() to update an option, if ptr->o != NULL and > ptr->option == NULL, then uci_expand_ptr() will set ptr->option to > ptr->o->e.name (or the caller could set ptr->option to that value). In > this case,

[LEDE-DEV] [PATCH 2/2] glibc: update glibc to 2.26+ and switch to download from git

2018-03-12 Thread Hans Dedecker
=d300041c533a3d837c9f37a099bcc95466860e98 [1] https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=410f0d163145c1549fb73fdd96568f585b5bf62f;hb=refs/heads/release/2.26/master Signed-off-by: Xinxing Hu <xinxing.hu...@gmail.com> Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- toolchain/glibc/common.mk | 10 ++

[LEDE-DEV] [PATCH 1/2] glibc: fix applying of patches

2018-03-12 Thread Hans Dedecker
Commit f4d9d7a removed support for version specific patches; but it also broke applying of patches in the patches glibc dir. Fix the issue by setting PATCH_DIR to $(PATH_PREFIX)/patches similar as musl/common.mk. Signed-off-by: Xinxing Hu <xinxing.hu...@gmail.com> Signed-off-by: Hans De

Re: [LEDE-DEV] [PATCH] wireguard: bump to 20180304

2018-03-05 Thread Hans Dedecker
On Sun, Mar 4, 2018 at 6:59 PM, Jason A. Donenfeld wrote: > Changes: > > * queueing: skb_reset: mark as xnet > > This allows cgroups to classify packets. > > * contrib: embedded-wg-library: add ability to add and del interfaces > * contrib: embedded-wg-library: add key generation

[LEDE-DEV] [PATCH] netifd: support DHCP sendopts as list options

2018-02-24 Thread Hans Dedecker
Support config in the form of add_list sendopts=router:10.10.10.2 add_list sendopts=nissrv:20.20.20.2 add_list sendopts=0x7D:abba This allows to configure sendopts having white spaces as option value Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- p

Re: [LEDE-DEV] [RFC PATCH 2/2] 6in4: support multiple additional user prefixes

2018-02-19 Thread Hans Dedecker
ements feature request FS#1361. > > Signed-off-by: Jo-Philipp Wich <j...@mein.io> Acked-by: Hans Dedecker <dedec...@gmail.com> > --- > package/network/ipv6/6in4/Makefile | 2 +- > package/network/ipv6/6in4/files/6in4.sh | 15 ++- > 2 files changed, 11 inserti

Re: [LEDE-DEV] [RFC PATCH 1/2] odhcp6c: support multiple additional user prefixes

2018-02-19 Thread Hans Dedecker
ements feature request FS#1361. > > Signed-off-by: Jo-Philipp Wich <j...@mein.io> Acked-by: Hans Dedecker <dedec...@gmail.com> > --- > package/network/ipv6/odhcp6c/Makefile| 2 +- > package/network/ipv6/odhcp6c/files/dhcpv6.script | 4 +++- > package/netw

Re: [LEDE-DEV] [PATCH v1] dnsmasq: bump to 2.79rc1

2018-02-17 Thread Hans Dedecker
: Simon Kelley <si...@thekelleys.org.uk> > -Date: Tue, 5 Dec 2017 22:37:29 +0000 > -Subject: [PATCH] Fix infinite retries in strict-order mode. > - > - If all configured dns servers return refused in > - response to a query; dnsmasq will end up in an infinite loop > -

[LEDE-DEV] [PATCH libubox v2] sh/jshn.sh: add json_for_each_item()

2018-02-08 Thread Hans Dedecker
. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- v2 : Pass the key as well to the callback function sh/jshn.sh | 25 + 1 file changed, 25 insertions(+) diff --git a/sh/jshn.sh b/sh/jshn.sh index bf76edb..a7b9b0c 100644 --- a/sh/jshn.sh +++ b/sh/jshn.sh @@

[LEDE-DEV] [PATCH netifd] netifd-proto: add proto_config_add_array wrapper

2018-02-05 Thread Hans Dedecker
Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- scripts/netifd-proto.sh | 4 1 file changed, 4 insertions(+) diff --git a/scripts/netifd-proto.sh b/scripts/netifd-proto.sh index cc7031a..31df91f 100644 --- a/scripts/netifd-proto.sh +++ b/scripts/netifd-proto.sh @@ -16,6

[LEDE-DEV] [PATCH] odhcp6c: change sendopts option into list

2018-02-05 Thread Hans Dedecker
Commit a26045049b added support for sendopts as a string; since multiple sendopts values can be specified it makes more sense to model it as a list of strings. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- package/network/ipv6/odhcp6c/Makefile| 2 +- package/network/ipv6/o

[LEDE-DEV] [PATCH libubox] sh/jshn.sh: add json_for_each_item()

2018-02-05 Thread Hans Dedecker
Function usefull to iterate through the different elements of an array or object; the provided callback function is called for each value. For field types different from array or object the callback is called with the retrieved value. Signed-off-by: Hans Dedecker <dedec...@gmail.com> -

Re: [LEDE-DEV] [PATCH v1] wireguard: bump to 20180202

2018-02-03 Thread Hans Dedecker
On Sat, Feb 3, 2018 at 12:08 PM, Kevin Darbyshire-Bryant wrote: > Bump to latest wireguard release snapshot: > > 2675814 version: bump snapshot > 381d703 qemu: update base versions > c3fbd9d curve25519: break more things with more test cases > 93fa0d9 curve25519:

Re: [LEDE-DEV] kernel: add test MTD driver package

2018-01-26 Thread Hans Dedecker
On Thu, Jan 25, 2018 at 5:58 PM, Florian Fainelli <f.faine...@gmail.com> wrote: > On 01/25/2018 02:46 AM, Hans Dedecker wrote: >> Allows to test MTD driver using RAM > > There appears to be a desire to get rid of those in-kernel MTD tests and > move exclusively towards us

[LEDE-DEV] kernel: add test MTD driver package

2018-01-25 Thread Hans Dedecker
Allows to test MTD driver using RAM Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- package/kernel/linux/modules/other.mk | 16 1 file changed, 16 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 9

[LEDE-DEV] [PATCH] kernel: generic: add 4.9 config option

2018-01-23 Thread Hans Dedecker
When CGROUPS is enabled the new option CONFIG_CGROUP_NET_CLASSID is selectable and not handled. Add this option to the 4.9 kernel configuration. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- target/linux/generic/config-4.9 | 1 + 1 file changed, 1 insertion(+) diff --git a/target

[LEDE-DEV] [PATCH 2/2 procd] trace: check asprintf() return value

2018-01-22 Thread Hans Dedecker
Check asprintf() return value; fixes ignoring return value warnings: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- trace/trace.c | 15 ++- 1 file changed, 10 inse

[LEDE-DEV] [PATCH 1/2 procd] trace: add missing limits.h include

2018-01-22 Thread Hans Dedecker
Fixes compile issue when using glibc as INT_MAX is reported as undeclared. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- trace/trace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/trace/trace.c b/trace/trace.c index b156e2a..1c1e757 100644 --- a/trace/trace.c +++ b/trace/t

Re: [LEDE-DEV] [PATCH v1] dnsmasq: use SIGINT for dnssec time valid

2018-01-15 Thread Hans Dedecker
On Mon, Jan 15, 2018 at 1:45 PM, Kevin Darbyshire-Bryant wrote: > Dnsmasq used SIGHUP to do too many things: 1) set dnssec time validation > enabled, 2) bump SOA zone serial, 3) clear dns cache, 4) reload hosts > files, 5) reload resolvers/servers files. > > Many

Re: [LEDE-DEV] [PATCH v2] .gitignore: add .project & .cproject for eclipse users

2018-01-10 Thread Hans Dedecker
On Tue, Jan 9, 2018 at 3:39 PM, Catrinel Catrinescu wrote: > For eclipse users, .project is always created inside the project. > For users of CDT within Eclipse, add also .cproject, thanks Dirk > Feytons. Hi, The patch is missing a SoB; see

Re: [LEDE-DEV] [PATCH odhcpd v2] Support muliple RAs on single interface

2018-01-04 Thread Hans Dedecker
On Thu, Jan 4, 2018 at 11:12 AM, Pierre Pfister (ppfister) wrote: > Hello Hans and happy new year ! > > As requested in your comment to v1, I have updated the README file. > Would you mind reviewing this new version of the patch ? > > Thanks, > > - Pierre Hi Pierre, Also a

Re: [LEDE-DEV] [PATCH netifd] proto: allow dumping protocol handlers without config_params

2018-01-04 Thread Hans Dedecker
On Thu, Jan 4, 2018 at 9:01 AM, Olof Sivertsson wrote: > Hi Hans, > >> >> I'm unable to reproduce the reported netifd crash by using a proto >> shell handler having no proto_init_config function. >> Looking into the code the proto_handler config_params parameter is >>

Re: [LEDE-DEV] [PATCH netifd] proto: allow dumping protocol handlers without config_params

2018-01-03 Thread Hans Dedecker
On Wed, Jan 3, 2018 at 10:35 AM, Olof Sivertsson wrote: > When ubus invokes proto_dump_handlers, and a struct proto_handler has > been added with a NULL config_params, a segmentation fault occurs. > > Avoid this segmentation fault by checking for a NULL config_params >

Re: [LEDE-DEV] [PATCH] odhcp6c: Replace strerror(errno) with %m

2018-01-03 Thread Hans Dedecker
On Tue, Jan 2, 2018 at 11:01 PM, Rosen Penev wrote: > On Mon, Dec 25, 2017 at 3:23 PM, Florian Fainelli > wrote: >> Le 12/25/17 à 15:05, Rosen Penev a écrit : >>> Reduction of 48 bytes in compiled size. No functional difference. >>> >>> -pedantic was

[LEDE-DEV] [PATCH uci 2/2] list: remove unncessary increment of n_section (FS#1182)

2017-12-21 Thread Hans Dedecker
The package n_section counter is already incremented in uci_alloc_section; so no need to increment it again in uci_fixup_section. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- Output of uci -n export foo before the fix package foo config foo 'cfg027389' config foo 'cfg047389' conf

[LEDE-DEV] [PATCH uci 1/2] file: remove unnecessary uci_fixup_section calls

2017-12-21 Thread Hans Dedecker
uci_add_section is eventually called which in the end constructs a name for an unnamed section. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- file.c | 2 -- list.c | 5 +++-- uci_internal.h | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/file.c b/

Re: [LEDE-DEV] [netifd] Fix incorrect eui64 IPv6 address with ula prefix for br-lan

2017-12-14 Thread Hans Dedecker
On Tue, Dec 12, 2017 at 1:05 PM, John Crispin wrote: > > > On 04/12/17 07:04, wendy2001...@163.com wrote: >> >> From: Wendy Wu >> >> Issue description: >> Configurate /etc/config/network, >> Set the ula_prefix in globals section, >> config globals

[LEDE-DEV] [PATCH 1/2 netifd] interface-ip: fix race condition in IPv6 prefix address generation

2017-12-14 Thread Hans Dedecker
metric assignment as this is already done by the function interface_set_route_info. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- interface-ip.c | 33 +++-- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/interface-ip.c b/interface-ip.c

[LEDE-DEV] [PATCH 2/2 netifd] interface-ip: harden eui64 IPv6 prefix address generation

2017-12-14 Thread Hans Dedecker
by resetting the IPv6 prefix address in the assignment structure when it gets deleted. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- device.c | 2 +- device.h | 1 + interface-ip.c | 26 ++ 3 files changed, 24 insertions(+), 5 deletions(-) diff

Re: [LEDE-DEV] [PATCH odhcpd] Support muliple RAs on single interface

2017-12-08 Thread Hans Dedecker
On Fri, Dec 8, 2017 at 10:33 AM, wrote: > From: Pierre Pfister > > IETF is moving toward implementing IPv6 multihoming by sending > multiple RAs on a single interface: > - draft-ietf-intarea-provisioning-domains-00 > -

Re: [LEDE-DEV] [PATCH] netifd: always send DHCPv4 hostname

2017-12-08 Thread Hans Dedecker
= 1 ] && broadcast="-B" || broadcast= >> [ "$release" = 1 ] && release="-R" || release= >> [ -n "$clientid" ] && clientid="-x 0x3d:${clientid//:/}" || >> clientid="-C" > Acked-by: Stijn

Re: [LEDE-DEV] [PATCH odhcpd v2] dhcpv4: notify DHCP ACK and RELEASE via ubus

2017-12-06 Thread Hans Dedecker
On Tue, Nov 28, 2017 at 3:08 PM, Borja Salazar wrote: > if the ubus object has any subscription > notify DHCP ACK and DHCP RELEASE events > using ubus notifications. > > Signed-off-by: Borja Salazar > --- > src/dhcpv4.c | 16 >

Re: [LEDE-DEV] [PATCH] base-files: config_generate: keep ipv6 interface in sync

2017-12-05 Thread Hans Dedecker
On Tue, Dec 5, 2017 at 5:22 PM, Roman Yeryomin wrote: > It's better not to configure ifname separately since they > are tied together. > > Signed-off-by: Roman Yeryomin > --- > package/base-files/files/bin/config_generate | 2 +- > 1 file changed, 1 insertion(+),

Re: [LEDE-DEV] Trouble with dnsmasq

2017-12-01 Thread Hans Dedecker
On Thu, Nov 30, 2017 at 8:28 PM, e9hack wrote: > Am 22.11.2017 um 18:01 schrieb e9hack: > >> It look likes that reload_service()/start_service() is called twice. The >> first call generates the host file properly and >> starts dnsmasq. Before dnsmasq is able to read the host

Re: [LEDE-DEV] [PATCHv2] iproute2: update to v4.14.1

2017-11-28 Thread Hans Dedecker
Merged into my staging tree with https://git.lede-project.org/?p=lede/dedeckeh/staging.git;a=commit;h=345388104121999fcd321685ad4db6059c63d4d6 Thanks Hans ___ Lede-dev mailing list Lede-dev@lists.infradead.org

Re: [LEDE-DEV] [PATCH v1] dnsmaq: add interface to ubus notification

2017-11-28 Thread Hans Dedecker
On Tue, Nov 28, 2017 at 3:11 PM, Borja Salazar wrote: Hi The patch is missing a SoB; see https://lede-project.org/submitting-patches#submitting_patches. Please also increase PKG_RELEASE in the dnsmasq Makefile Hans > --- >

Re: [LEDE-DEV] [PATCH odhcpd] dhcpv4: notify DHCP ack messages via ubus

2017-11-27 Thread Hans Dedecker
DHCP ACK and RELEASE notifications with dnsmasq; but just as in dnsmasq only send the notifications when there's a subscriber. Hans > > Thanks > > Borja > > > On Mon, Nov 27, 2017 at 10:47 AM, Hans Dedecker <dedec...@gmail.com> wrote: >> On Fri, Nov 24, 2017 at 11

Re: [LEDE-DEV] [PATCH v1] wireguard: bump to snapshot 20171127

2017-11-27 Thread Hans Dedecker
On Mon, Nov 27, 2017 at 11:14 AM, Kevin Darbyshire-Bryant wrote: > == Changes == > > * compat: support timespec64 on old kernels > * compat: support AVX512BW+VL by lying > * compat: fix typo and ranges > * compat: support 4.15's netlink and barrier changes > *

Re: [LEDE-DEV] [PATCH odhcpd] dhcpv4: notify DHCP ack messages via ubus

2017-11-27 Thread Hans Dedecker
On Fri, Nov 24, 2017 at 11:56 AM, Borja Salazar wrote: > Signed-off-by: Borja Salazar Hi, Could you describe why you want an ubus event per sent DHCP ack message as potentially this could generate a lot of ubus traffic depending on the leasetime and

Re: [LEDE-DEV] odhcpd: possible regression in make DHCPv4 support compiletime configurable

2017-11-23 Thread Hans Dedecker
Hi, On Thu, Nov 23, 2017 at 6:38 AM, Eric Luehrsen wrote: > FS#1188 has been raised due to problems for optional build recipes in > "dhcpv4: make DHCPv4 support compiletime configurable" > (d80621fea5cafcdca3f7fe762fede374a66e4b2) because no odhcpd-full package is > build

Re: [LEDE-DEV] [PATCH v1] wireguard: bump to 0.0.20171111

2017-11-16 Thread Hans Dedecker
On Thu, Nov 16, 2017 at 8:09 PM, Kevin Darbyshire-Bryant wrote: > edaad55 (tag: 0.0.2017) version: bump snapshot > 7a989b3 tools: allow for NULL keys everywhere > 46f8cbc curve25519: reject deriving from NULL private keys > 9b43542 tools: remove ioctl cruft >

Re: [LEDE-DEV] [PATCH netifd] interface-ip: add missing IPv6 policy rule

2017-11-16 Thread Hans Dedecker
commit is https://git.lede-project.org/?p=project/netifd.git;a=commit;h=2f31bff38d4dc2f36006ded6b8a7d039cb569eaa Hans > > Paul > >> Op 16 nov. 2017, om 15:42 heeft Hans Dedecker <dedec...@gmail.com> het >> volgende geschreven: >> >> Commit 2f31bff38d4dc2f3600

[LEDE-DEV] [PATCH netifd] interface-ip: add missing IPv6 policy rule

2017-11-16 Thread Hans Dedecker
. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- interface-ip.c | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/interface-ip.c b/interface-ip.c index 45ffc66..1490ca4 100644 --- a/interface-ip.c +++ b/interface-ip.c @@ -787,6 +

Re: [LEDE-DEV] [PATCH] luarocks: allow building for the host

2017-11-10 Thread Hans Dedecker
On Fri, Nov 10, 2017 at 1:12 AM, Enrico Mioso wrote: > Allow building luarocks for the host-side, thus making luarocks-based LUA > modules packging easier. Given the extensive use of LUA in LEDE/OpenWRT, > I think it's worth having the luarocks tool available. Hi, Package

Re: [LEDE-DEV] [PATCH procd] service: Start services normally when seccomp is disabled

2017-11-05 Thread Hans Dedecker
because it could be easy > for attackers to disable seccomp support. This changes is a follow-up > to the mentioned commit. With it, procd decides about whether to use > seccomp sandbox based only on compile-time configuration. > > Signed-off-by: Michal Sojka <sojk...

Re: [LEDE-DEV] [PATCH v1] wireguard: version bump to 0.0.20171101

2017-11-05 Thread Hans Dedecker
On Sun, Nov 5, 2017 at 11:41 AM, Kevin Darbyshire-Bryant <ke...@darbyshire-bryant.me.uk> wrote: > > >> On 4 Nov 2017, at 17:16, Hans Dedecker <dedec...@gmail.com> wrote: >> >> On Fri, Nov 3, 2017 at 6:01 PM, Kevin Darbyshire-Bryant >> <l...@darbysh

Re: [LEDE-DEV] [PATCH v1] wireguard: version bump to 0.0.20171101

2017-11-04 Thread Hans Dedecker
On Fri, Nov 3, 2017 at 6:01 PM, Kevin Darbyshire-Bryant wrote: > Update wireguard to latest snapshot: > > 9fc5daf version: bump snapshot > 748ca6b compat: unbreak unloading on kernels 4.6 through 4.9 > 7be9894 timers: switch to kees' new timer_list functions >

Re: [LEDE-DEV] [PATCH] dropbear: make syslog support configurable

2017-11-04 Thread Hans Dedecker
On Sat, Nov 4, 2017 at 10:14 AM, Petr Štetiar <yn...@true.cz> wrote: > Hans Dedecker <dedec...@gmail.com> [2017-11-03 13:46:14]: > > Hi, > >> By default dropbear logs to syslog which discloses info about account names >> when doing connection attempts (e.g.

[LEDE-DEV] [PATCH] dropbear: make syslog support configurable

2017-11-03 Thread Hans Dedecker
sensitive info via syslog. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- package/network/services/dropbear/Config.in | 6 ++ package/network/services/dropbear/Makefile | 7 --- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/package/network/services/dropb

[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

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

2017-10-24 Thread Hans Dedecker
On Tue, Oct 24, 2017 at 7:17 PM, Mathias Kresin wrote: > 2017-10-24 16:59 GMT+02:00 Zoltan HERPAI : >> Hi Jo, >> >> On Tue, 24 Oct 2017, Jo-Philipp Wich wrote: >> >>> Hi, >>> >>> comments inline. >>> Signed-off-by: Imre Kaloz >>> >>> >>>

Re: [LEDE-DEV] [OpenWrt-Devel] OpenWrt -> LEDE git tree merge

2017-10-22 Thread Hans Dedecker
On Sun, Oct 22, 2017 at 10:28 PM, Zoltan HERPAI wrote: > Hi, > > > Zoltan HERPAI wrote: >> >> Hi Hauke, >> >> On Sun, 22 Oct 2017, Hauke Mehrtens wrote: >> >>> I am working on merging the missing commits from the OpenWrt git >>> repository into the LEDE repository. >>> >>> Here

[LEDE-DEV] [PATCH netifd 2/2] ubus: display the point-to-point IPv4 address

2017-10-17 Thread Hans Dedecker
Display the point-to-point IPv4 address as well when dumping the IP address list in ubus. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- ubus.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/ubus.c b/ubus.c index ebf9891..96bc247 100644 --- a/ubus.c +++ b/ubus.c @@

[LEDE-DEV] [PATCH netifd 1/2] proto: add point-to-point IPv4 address config support (FS#1037)

2017-10-17 Thread Hans Dedecker
support already present for the protocol handlers. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- interface-ip.c | 5 +++-- proto.c| 25 +++-- 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/interface-ip.c b/interface-ip.c index 140ef34..45ffc66

Re: [LEDE-DEV] using 464XLAT in LEDE (or OpenWRT)

2017-10-07 Thread Hans Dedecker
k Hans > > Thanks a lot! > > Regards, > Jordi > > > -Mensaje original- > De: Hans Dedecker <dedec...@gmail.com> > Responder a: <dedec...@gmail.com> > Fecha: domingo, 10 de septiembre de 2017, 22:19 > Para: Jordi Palet Martinez <jordi.pa...@consulin

Re: [LEDE-DEV] [PATCH netifd] system-linux: add support for hotplug event 'move'

2017-10-06 Thread Hans Dedecker
On Thu, Sep 28, 2017 at 10:32 AM, Martin Schiller <m...@dev.tdt.de> wrote: > If you rename a network interface, there is a move uevent > invoked instead of remove/add. > > This patch adds support for this kind of event. > > Signed-off-by: Martin Schiller <m...@dev.tdt.

[LEDE-DEV] [PATCH 1/2] nghttp2: add libnghttp2 package

2017-10-06 Thread Hans Dedecker
The nghttp2 library is an implementation of the Hypertext Transfer Protocol version 2 in C; it supports RFC7540 and RFC7541. The package enables only the reusable C library; binary size is 130K (X86) Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- package/libs/nghttp2/Makefil

[LEDE-DEV] [PATCH 0/2] add nghttp2 support in curl

2017-10-06 Thread Hans Dedecker
Patche series add nghttp2 support to curl; as the nghttp2 lib was not yet available in the source tree it's added in the libs folder. Hans Dedecker (2): nghttp2: add libnghttp2 package curl: add nghttp2 support package/libs/nghttp2/Makefile| 47

Re: [LEDE-DEV] [PATCH] openvpn: add "extra-certs" option

2017-09-25 Thread Hans Dedecker
On Mon, Sep 25, 2017 at 2:27 AM, Sven Roederer wrote: > On Dienstag, 5. September 2017 18:27:02 CEST Sven Roederer wrote: >> This option is used to specify a file containing PEM certs, to complete the >> local certificate chain. Which is quite usefull for "split-CA"

Re: [LEDE-DEV] using 464XLAT in LEDE (or OpenWRT)

2017-09-10 Thread Hans Dedecker
rm if it works well, thanks a lot! > > Regard, > Jordi > > > -Mensaje original- > De: Hans Dedecker <dedec...@gmail.com> > Responder a: <dedec...@gmail.com> > Fecha: sábado, 9 de septiembre de 2017, 15:36 > Para: Jordi Palet Martinez <jordi.pa...@cons

Re: [LEDE-DEV] [PATCH] netifd-proto.sh: add ip4table & ip6table to `proto_add_dynamic_defaults()`

2017-09-05 Thread Hans Dedecker
On Tue, Sep 5, 2017 at 1:39 PM, Alexandru Ardelean wrote: > The `proto_add_dynamic_defaults()` seems to be called mostly > in the context of LTE/3G modems (via wwan, qmi, etc) setup. > > When they get setup, these devices override default routes. > > However, depending on

Re: [LEDE-DEV] [PATCH] netifd: update to git HEAD version (add veth-support)

2017-09-05 Thread Hans Dedecker
On Tue, Sep 5, 2017 at 8:15 AM, Sven Roederer wrote: > rollup-patch from master (Fri, 21 Jul 2017) > > f107656 netifd: Add option to configure locktime for each device > cdc0e80 interface: add prefix assignment priority support > 6397f5e device: add veth support > 6228d0f

Re: [LEDE-DEV] RFC [PATCH] odhcpd: don't enable server mode on dhcp lan

2017-09-01 Thread Hans Dedecker
On Thu, Aug 31, 2017 at 11:35 PM, Karl Palsson wrote: > > Daniel Golle wrote: >> Hi Karl, >> >> On Thu, Aug 31, 2017 at 05:17:38PM +, Karl Palsson wrote: >> > Instead of blindly enabling the odhcpd v6 server and RA server on the >> > lan port, only

[LEDE-DEV] [PATCH ubox 2/2] kmodloader: log error message in case of out of memory

2017-08-31 Thread Hans Dedecker
Log "out of memory" error message in case of OOM Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- kmodloader.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/kmodloader.c b/kmodloader.c index 94cfc42..1b6488f 100644 --- a/kmodloader.c ++

[LEDE-DEV] [PATCH ubox v3 1/2] kmodloader: lift restriction on module alias info

2017-08-31 Thread Hans Dedecker
code in case NULL is returned. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- v2: Check get_module_info return value setting an error code in scan_module_folder in case NULL is returned v3: log error in case of OOM kmodloader.c | 26 -- 1 file changed, 16 inse

[LEDE-DEV] [PATCH ubox v2] kmodloader: lift restriction on module alias info

2017-08-31 Thread Hans Dedecker
code in case NULL is returned. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- v2: Check get_module_info return value setting an error code in scan_module_folder in case NULL is returned kmodloader.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff

Re: [LEDE-DEV] [PATCH ubox 2/3] kmodloader: lift restriction on module alias info

2017-08-31 Thread Hans Dedecker
On Wed, Aug 30, 2017 at 4:09 PM, Yousong Zhou <yszhou4t...@gmail.com> wrote: > On 30 August 2017 at 21:24, Hans Dedecker <dedec...@gmail.com> wrote: >> kmodloader has a restriction of storing only 32 aliases for a given >> module; as modules can have easily more t

[LEDE-DEV] [PATCH ubox 2/3] kmodloader: lift restriction on module alias info

2017-08-30 Thread Hans Dedecker
kmodloader has a restriction of storing only 32 aliases for a given module; as modules can have easily more than 32 aliases let's remove the restriction by using a dynamic allocation mechanism when retrieving the aliases. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- kmodloader.

[LEDE-DEV] [PATCH ubox 3/3] kmodloader: fix possible segfaults

2017-08-30 Thread Hans Dedecker
Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- kmodloader.c | 12 1 file changed, 12 insertions(+) diff --git a/kmodloader.c b/kmodloader.c index 2ece0c2..1ddde0d 100644 --- a/kmodloader.c +++ b/kmodloader.c @@ -565,6 +565,9 @@ static int insert_module(char *path, cons

[LEDE-DEV] [PATCH ubox 1/3] kmodloader: fix endianess check

2017-08-30 Thread Hans Dedecker
Use __BYTE_ORDER macro to check system endianess as the macro's __LITTLE_ENDIAN, __BIG_ENDIAN are defined irrespective of the sytem endianess leading to an endianess check failure on big endian systems. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- kmodloader.c | 4 ++-- 1 file c

Re: [LEDE-DEV] [PATCH] dnsmasq: forward.c: fix CVE-2017-13704

2017-08-29 Thread Hans Dedecker
> The client that exposed the problem provided a payload udp size of 0. > > Signed-off-by: Kevin Darbyshire-Bryant <ke...@darbyshire-bryant.me.uk> Acked-by: Hans Dedecker <dedec...@gmail.com> > --- > package/network/services/dnsmasq/Makefile | 2 +- > .../dnsma

[LEDE-DEV] [PATCH netifd] system-linux: parse map-e fmrs parameters as nested data json object

2017-08-27 Thread Hans Dedecker
Parse map-e fmrs parameters IPv6 prefix, IPv4 prefix, ealen and offset as array elements nested in a data json object. At the same time remove the now obsolete TUNNEL_ATTR_FMRS tunnel attribute. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- system-linux.

Re: [LEDE-DEV] [PATCH] dnsmasq: backport upstream fix for segfault

2017-08-24 Thread Hans Dedecker
On Thu, Aug 24, 2017 at 8:01 PM, Ash Benz via Lede-dev wrote: > 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

Re: [LEDE-DEV] busybox ntpd not syncing if any server is bad

2017-08-17 Thread Hans Dedecker
On Thu, Aug 17, 2017 at 1:25 PM, Karl Palsson wrote: > > Ok, so this was broken after busybox 1.23.2 and not fixed until > 1.27 via > > https://git.busybox.net/busybox/commit/networking/ntpd.c?id=b62ea34afed7d3bf60a6c8ef5a030fea52f55b10 > > Presumably updating busybox in

Re: [LEDE-DEV] [PATCH] netifd: allow negative neighlocktime values

2017-08-17 Thread Hans Dedecker
On Thu, Aug 17, 2017 at 1:27 PM, Alin Nastac wrote: > When -1 is written in /proc/sys/net/ipv4/neigh//locktime, If the locktime proc file accepts a negative value it makes sense to change the type of neigh4locktime from unsigned integer to integer. This will avoid cppcheck

Re: [LEDE-DEV] wifi and wan ipv6 connectivity

2017-08-11 Thread Hans Dedecker
using local addresses >> only for domain invalid >> Tue Aug 8 17:36:06 2017 daemon.info dnsmasq[7773]: using local addresses >> only for domain example.net >> Tue Aug 8 17:36:06 2017 daemon.info dnsmasq[7773]: using local addresses >> only for domain example.org >

Re: [LEDE-DEV] wifi and wan ipv6 connectivity

2017-08-07 Thread Hans Dedecker
On Sat, Aug 5, 2017 at 8:57 AM, e9hack wrote: > Hi, > > executing of command wifi disables ipv6 connectivity on wan interface. The > wan interface is pppoe-wan. To get ipv6 > connectivity again, I've to execute manually > > ubus call network add_dynamic '{ "name": "wan_6",

Re: [LEDE-DEV] [RFC] kernel patches cleanup

2017-08-02 Thread Hans Dedecker
On Wed, Aug 2, 2017 at 6:36 AM, John Crispin wrote: > > > On 31/07/17 18:11, John Crispin wrote: >> >> Hi, >> >> I rebased my ages old kernel patch cleanup series. It can be found here >> [1]. >> >> the series annotates all patches and splits them up into 3 folders >>

Re: [LEDE-DEV] [PATCH ubox] Add logd priority filtering option

2017-07-06 Thread Hans Dedecker
On Wed, Jul 5, 2017 at 5:01 PM, Ron Brash wrote: > Hello all, > > Here is a repost of the previous patch split into a single one. Please leave the above lines out as the patch comment only needs to explain what the patch is about as is done in the lines below > > This patch

Re: [LEDE-DEV] [PATCH ubox] Fix logread starvation

2017-07-06 Thread Hans Dedecker
On Wed, Jul 5, 2017 at 5:01 PM, Ron Brash wrote: > Hello all, > > Here is a repost of the previous concatonated patch. Please leave the above lines out as the patch comment only needs to explain what the patch is about as is done in the lines below > > This patch contains the

Re: [LEDE-DEV] [PATCH ubox] Fix logger starvation and Add feature log priority filtering

2017-07-05 Thread Hans Dedecker
On Tue, Jul 4, 2017 at 8:33 PM, Ron Brash wrote: > Hello all, > > We had an issue with a customer's recent deployment and needed to > perform the following: > * Add a syslog filtering functionality into the logger > * Fix a condition where ubox's logd would continue running,

[LEDE-DEV] [PATCH procd] watchdog: add support for starting/stopping kernel watchdog

2017-06-19 Thread Hans Dedecker
again. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- system.c | 6 + watchdog.c | 76 +++--- watchdog.h | 10 + 3 files changed, 74 insertions(+), 18 deletions(-) diff --git a/system.c b/system.c index 4bbceee..a

Re: [LEDE-DEV] [PATCH v2] dropbear: fix service trigger syntax error

2017-06-15 Thread Hans Dedecker
On Thu, Jun 15, 2017 at 1:46 PM, Kevin Darbyshire-Bryant wrote: > The classic single '&' when double '&&' conditional was meant. > > Signed-off-by: Kevin Darbyshire-Bryant > --- > > v2 - bump pkg release number - always forget that! >

Re: [LEDE-DEV] [PATCH] dnsmasq: fix error in call of list_contains()

2017-06-13 Thread Hans Dedecker
On Mon, Jun 12, 2017 at 11:11 PM, Paul Oranje wrote: > Fixes the first parameter to the call of list_contains() in dnsmasq_ismain() > > Signed-off-by: Paul Oranje > --- > Commit a53f8ba6771de64c9c82a2e6867791226f3003cb introduces an error that has > not > shown

Re: [LEDE-DEV] [PATCH] dnsmasq: manage resolv.conf iff when listening on 127.0.0.1#53

2017-06-08 Thread Hans Dedecker
ted to make sure it always manages > resov.conf when it owns localhost:domain. > > Background: > This patch has been discussed with Hans Dedecker and Eric Luerhsen and > replaces > an earlier patch that is hereby retracted: > dnsmasq: write resolv.conf also when noresol

Re: [LEDE-DEV] /lib/functions/network.sh & ip6ifaceid

2017-06-08 Thread Hans Dedecker
On Thu, Jun 8, 2017 at 10:01 AM, Eric Masson <e...@free.fr> wrote: > Le 07/06/2017 à 21:59, Hans Dedecker a écrit : > > Hi Hans, > >> This is definitely a bug; > > > Ok, thanks > >> can you log an issue in flyspray (https://bugs.lede-project.org/) ?

Re: [LEDE-DEV] /lib/functions/network.sh & ip6ifaceid

2017-06-07 Thread Hans Dedecker
On Wed, Jun 7, 2017 at 7:33 PM, Eric Masson wrote: > Hello, > > I'm considering upgrading my Chaos Chalmer TL-WDR3600 to Lede 17.07.1 or > later to get the shiny latest release and solve some issues. > > It seems to me that /lib/functions/network.sh located in base-files packages >

  1   2   >