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

2017-03-11 Thread Hans Dedecker
Hi, On Wed, Mar 8, 2017 at 10:23 PM, JORDI PALET MARTINEZ wrote: > Hi Hans, > > I believe you’re the maintainer of 464XLAT. I want to do demonstrations of > OpenWRT/LEDE in scenarios where you run out of IPv4 addresses for the WAN > links. > > Sorry to write you directly, but I’ve been trying f

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

2017-03-13 Thread Hans Dedecker
t at the moment .. You can revert netifd commit https://git.lede-project.org/?p=project/netifd.git;a=commit;h=39d9ceeb96162a83a3f5fa63e6aaa1ccb38caa62 and based on this netifd version do further 464xlat tests. Other bug reports/feature requests need to be opened in github openwrt routing as an issu

[LEDE-DEV] [PATCH netifd 1/2] system-linux: parse gre specific settings as nested json data object

2017-03-14 Thread Hans Dedecker
Parse gre specific settings ikey, okey, icsum, ocsum, iseqno and oseqno as nested json data object Signed-off-by: Hans Dedecker --- system-linux.c | 48 +--- system.c | 14 ++ system.h | 11 +++ 3 files changed, 54

[LEDE-DEV] [PATCH netifd 2/2] system-linux: parse vti specific settings as nested json data object

2017-03-14 Thread Hans Dedecker
Parse vti specific settings ikey and okey as nested json data object. At the same time remove the now obsolete TUNNEL_ATTR_INFO attribute. Signed-off-by: Hans Dedecker --- system-linux.c | 29 - system.c | 11 ++- system.h | 8 +++- 3 files

Re: [LEDE-DEV] [PATCH netifd 1/2] system-linux: parse gre specific settings as nested json data object

2017-03-15 Thread Hans Dedecker
On Tue, Mar 14, 2017 at 11:32 PM, Felix Fietkau wrote: > On 2017-03-14 21:36, Hans Dedecker wrote: >> Parse gre specific settings ikey, okey, icsum, ocsum, iseqno and oseqno >> as nested json data object >> >> Signed-off-by: Hans Dedecker > Are you sure this

Re: [LEDE-DEV] [PATCH 1/3][RFC] netifd: propagate error code on netifd_reload()

2017-03-26 Thread Hans Dedecker
On Mon, Mar 20, 2017 at 3:08 PM, Alexandru Ardelean wrote: > From: Alexandru Ardelean > > The context is that we generate some of the UCI config > for netifd via scripts/programs. > > Every once in a while, there's a goof when doing that > UCI generation, and netifd prints out the error at > stde

Re: [LEDE-DEV] [PATCH 1/3][RFC] netifd: propagate error code on netifd_reload()

2017-03-26 Thread Hans Dedecker
On Sun, Mar 26, 2017 at 6:21 PM, Alexandru Ardelean wrote: > On Sun, Mar 26, 2017 at 7:06 PM, Hans Dedecker wrote: >> On Mon, Mar 20, 2017 at 3:08 PM, Alexandru Ardelean >> wrote: >>> From: Alexandru Ardelean >>> >>> The context is that we generate

Re: [LEDE-DEV] [PATCH 1/3][RFC] netifd: propagate error code on netifd_reload()

2017-03-26 Thread Hans Dedecker
On Sun, Mar 26, 2017 at 6:45 PM, Alexandru Ardelean wrote: > On Sun, Mar 26, 2017 at 7:38 PM, Hans Dedecker wrote: >> On Sun, Mar 26, 2017 at 6:21 PM, Alexandru Ardelean >> wrote: >>> On Sun, Mar 26, 2017 at 7:06 PM, Hans Dedecker wrote: >>>> On Mon, Mar 20,

Re: [LEDE-DEV] [PATCH][V4] netifd: propagate error code on netifd_reload()

2017-03-27 Thread Hans Dedecker
but returns 0 (success) err-code. > > This change will fail the ubus call if UCI config > is invalid or missing for /etc/config/network. > > Signed-off-by: Alexandru Ardelean Acked-by: Hans Dedecker > --- > config.c | 10 -- > config.h | 2 +- > main.c | 4 ++

Re: [LEDE-DEV] [PATCH 2/3][RFC] base-files: add option to rc.common to disable default reload behavior

2017-03-28 Thread Hans Dedecker
On Mon, Mar 20, 2017 at 3:08 PM, Alexandru Ardelean wrote: > From: Alexandru Ardelean > > Traditionally if a reload script fails, it will fallback to restart. > > That seems to be the default behavior in case no reload > handler has been specified, and `reload` will return 1. > > That also has th

[LEDE-DEV] [PATCH netifd] interface-ip: fix device name for IPv6 link-local DNS server

2017-04-03 Thread Hans Dedecker
referenced layer 3 device. Signed-off-by: Hans Dedecker --- interface-ip.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/interface-ip.c b/interface-ip.c index dd4e01c..140ef34 100644 --- a/interface-ip.c +++ b/interface-ip.c @@ -1287,13 +1287,14

Re: [LEDE-DEV] [PATCH odpcpd] dhcpv6: allow creating new bindings on REBIND

2017-04-11 Thread Hans Dedecker
On Mon, Apr 10, 2017 at 11:08 AM, Lubomir Rintel wrote: > There might be unassigned IAs among the options the client sends when it > issues a REBIND. In fact, that's how the ISC dhclient reqests new IA_PDs > to be assigned. However, odhcpd would just return the IA_PDs back > without assigning a pr

Re: [LEDE-DEV] [PATCH netifd] ubus: add interface method to trigger renew event

2017-04-13 Thread Hans Dedecker
On Wed, Apr 12, 2017 at 7:53 PM, Matthias Schiffer wrote: > Not all topology or connectivity changes may be detected by netifd, > depending on the underlying technology (e.g. VPN software); this adds a way > to explicitly trigger a renew. > > Signed-off-by: Matthias Schiffer

Re: [LEDE-DEV] [PATCH netifd] Revert: set prefix indicator flag when IPv6 prefix lifetime, changes

2017-04-23 Thread Hans Dedecker
On Mon, Apr 24, 2017 at 4:24 AM, Eric Luehrsen wrote: > This reverts commit a03216660797173fbe67866f75564e3fec9c1e8d. The previous > change causes IFUP events to occur from 30 seconds to 30 minutes depending > on various conditions at the WAN6 (typ.) interface. If a DHCPv6 lease is > 24 hours and

Re: [LEDE-DEV] [OpenWrt-Devel] openwrt and lede - remerge proposal

2017-05-09 Thread Hans Dedecker
On Tue, May 9, 2017 at 9:50 AM, John Crispin wrote: > > > On 09/05/17 09:49, Rafał Miłecki wrote: >> >> On 8 May 2017 at 15:19, John Crispin wrote: >>> >>> *) domain >>> - transfer owner ship to SPI for openwrt.org and lede-project.org >>> (...) >>> >>> *) SPI >>> - TBD post remerge >> >> This is

Re: [LEDE-DEV] [PATCH] dnsmasq: add IPv6 nameserver configuration in server mode

2017-05-12 Thread Hans Dedecker
On Wed, May 10, 2017 at 9:29 PM, Arjen de Korte wrote: > When in ra server mode, configure nameservers passed in router > announcements from the dns value (which is already used by odhcpd). > > This also fixes FS#677 by using the global IPv6 address of the router > instead of the link local addres

Re: [LEDE-DEV] Merged: display two hex digits per octet in syslog

2017-05-12 Thread Hans Dedecker
Merged into project/odhcpd; master branch: https://git.lede-project.org/?p=project/odhcpd.git;a=commit;h=a2d8bf66186df66b6e2b645e59c23f8ae2be49c4 Thanks Hans ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/list

Re: [LEDE-DEV] [PATCH v5] dnsmasq: also write /tmp/resolv.conf when UCI dhcp.dnsmasq.noresolv is '1'

2017-05-18 Thread Hans Dedecker
On Sun, May 14, 2017 at 8:22 PM, Paul Oranje wrote: > > fixes FS#785 > Hi, Thanks for the patch but be more verbose in the comment description what problem you're trying to solve; the commit subject should be limited to 50 characters. See also https://lede-project.org/submitting-patches > > Signe

Re: [LEDE-DEV] [netifd]Merged: Remove redundant check for strtoul() return value

2017-05-19 Thread Hans Dedecker
Merged into project/netifd.git, branch master with https://git.lede-project.org/?p=project/netifd.git;a=commit;h=a063705a03a6c5a41b5f7aed251bfb3ba5c844c3 Thanks ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/li

[LEDE-DEV] [PATCH netifd] system-linux: parse 6rd specific settings as nested json data object

2017-05-19 Thread Hans Dedecker
Parse 6rd specific settings prefix, relay-prefix as nested json data objects. At the same time improve 6rd error handling. Signed-off-by: Hans Dedecker --- system-linux.c | 89 ++ system.c | 12 ++-- system.h | 7 + 3

Re: [LEDE-DEV] [PATCH v5] dnsmasq: also write /tmp/resolv.conf when UCI dhcp.dnsmasq.noresolv is '1'

2017-05-19 Thread Hans Dedecker
17, om 12:58 heeft Paul Oranje het volgende >> geschreven: >> >> Oké, I’ll submit another version with the requested changes later today. >> This trivial change is turning out a ping pong lesson. Thanks anyway, >> Paul >> >> >>> Op 18 mei 2017, om 16

Re: [LEDE-DEV] [PATCH] dnsmasq: write resolv.conf also when noresolv = 1

2017-05-20 Thread Hans Dedecker
On Sat, May 20, 2017 at 12:41 AM, Paul Oranje wrote: > When UCI dhcp.dnsmasq.noresolv is true, dnsmasq ignores the (wan) resolv.conf > for upstream name resolution and the dnsmasq init script ialso skips writing > /tmp/resolv.conf (/etc/resolv.conf soft links that file). > > Not using the local ru

Re: [LEDE-DEV] [OpenWrt-Devel] openwrt and lede - remerge proposal V3

2017-05-29 Thread Hans Dedecker
On Mon, May 29, 2017 at 9:03 AM, John Crispin wrote: > (resend, this time as plain text) > > > Hi, > > here is a V3 of the remerge proposal, I tried to fold all the comments > people made into it, if anything is missing let me know. Please remeber that > post remerge anything can be voted on, so c

Re: [LEDE-DEV] Question regarding wan6 interface defaults

2017-05-30 Thread Hans Dedecker
On Mon, May 29, 2017 at 10:45 AM, Sebastian Moeller wrote: > Sear list, dear Hans, > > CONTEXT: > As described in > https://forum.lede-project.org/t/build-for-wndr3700v1-v2-wndr3800/64/56?u=moeller0 > I had issues with using IPv6 and IPv4 DNS on my home network (deutsche > Telekom, vdsl2 @BRAS

Re: [LEDE-DEV] [PATCH] dnsmasq: write resolv.conf also when noresolv = 1

2017-06-03 Thread Hans Dedecker
xists or not. > > Q3: > What would be the desired state of /tmp/resolv.conf after dnsmasq has been > stopped ? In case dnsmasq is stopped /tmp/resolv.conf needs to use only the wan DNS servers; which are written by netifd in /tmp/resolv.conf.auto; and not anymore 127.0.0.1. Hans > &g

Re: [LEDE-DEV] [PATCH] dnsmasq: write resolv.conf also when noresolv = 1

2017-06-03 Thread Hans Dedecker
On Sat, Jun 3, 2017 at 3:33 PM, Paul Oranje wrote: > Thanks, please see a few quick reactions of mine inline ... > Paul > >> Op 3 jun. 2017, om 14:18 heeft Hans Dedecker het >> volgende geschreven: >> >> On Thu, Jun 1, 2017 at 12:00 PM, Paul Oranje wrote: >

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 > still exhibits

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 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/) ? > > > I'

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

2017-06-08 Thread Hans Dedecker
.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 noresolv = 1 > > Paul > > --- > ..

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 up in my tests of that commit (tes

[LEDE-DEV] [PATCH netifd] ubus: remove superfluous error check in netifd_add_dynamic

2017-06-13 Thread Hans Dedecker
7;wan (7803): Command failed: Unknown error' after each DHCP renew. Signed-off-by: Hans Dedecker --- ubus.c | 5 - 1 file changed, 5 deletions(-) diff --git a/ubus.c b/ubus.c index 6f7c3e1..bf72672 100644 --- a/ubus.c +++ b/ubus.c @@ -129,7 +129,6 @@ netifd_add_dynamic(struct ubus_co

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! > > package/network/services/dropbear/Makefile| 2 +

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

2017-06-19 Thread Hans Dedecker
be created again. Signed-off-by: Hans Dedecker --- 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..a5d197e 10

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, but needed > to be res

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 fix we needed to stop

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 adds the logger priorit

[LEDE-DEV] procd: cherry-pick kernel watchdog start/stop to lede-17.01 branch

2017-07-11 Thread Hans Dedecker
Hi, I would like to cherry-pick the start/stop kernel watchdog support to the lede-17.01 procd branch : e5e99c4 watchdog: add support for starting/stopping kernel watchdog It allows to gracefully stop the kernel watchdog via ubus which was before not possible as only the user space watchdog kick

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 >> backports/pending/hacks. >> >

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", "ifname": "@wan", "prot

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

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

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

2017-08-12 Thread Hans Dedecker
On Sat, Aug 12, 2017 at 3:32 PM, e9hack wrote: > Am 11.08.2017 um 10:27 schrieb Hans Dedecker: >> I've exactly the same configuration in use as yours but I can't >> reproduce the issue. > > I found the bug. It's my fault. My network config contains an entry for

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 flagging this again as a

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 master isn't exactly on th

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

2017-08-17 Thread Hans Dedecker
On Thu, Aug 17, 2017 at 3:13 PM, Karl Palsson wrote: > > Hans Dedecker wrote: >> 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 >> > >> &

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 wrapped > automatically by the mailin

[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 --- system-linux.c | 81

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

2017-08-29 Thread Hans Dedecker
the problem provided a payload udp size of 0. > > Signed-off-by: Kevin Darbyshire-Bryant Acked-by: Hans Dedecker > --- > package/network/services/dnsmasq/Makefile | 2 +- > .../dnsmasq/patches/020-fix-CVE-2017-13704.patch | 37 > ++ > 2 files changed,

[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 --- kmodloader.c | 4 ++-- 1 file changed, 2 insertions(

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

2017-08-30 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- 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, const char *options

[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 --- kmodloader.c | 14 -- 1

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 wrote: > On 30 August 2017 at 21:24, Hans Dedecker wrote: >> 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

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

2017-08-31 Thread Hans Dedecker
error code in case NULL is returned. Signed-off-by: Hans Dedecker --- 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 --git a/kmodloade

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

2017-08-31 Thread Hans Dedecker
error code in case NULL is returned. Signed-off-by: Hans Dedecker --- 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 insertions(+), 10 dele

[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 --- 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 +++ b/kmodloader.c @@ -9

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 do that if the lan port isn't set to DHCP. >

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

2017-09-04 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 wireless: fix _wireless_a

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 setup, we want these mode

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

2017-09-06 Thread Hans Dedecker
inion of other Lede developers about the idea of backporting features to lede-17.01 Hans > > Am 5. September 2017 08:44:42 MESZ schrieb Hans Dedecker : >>On Tue, Sep 5, 2017 at 8:15 AM, Sven Roederer >>wrote: >>> rollup-patch from master (Fri, 21 Jul 2017) >>&

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

2017-09-09 Thread Hans Dedecker
remember. > > Or alternatively maybe an OpenWRT snapshot has it working? > > Thanks in advance! Hi, The 464xlat package is working in Lede trunk; however the 464xlat package is not enabled by default and as such won't be present in a snapshot build Hans > > Regards, &

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

2017-09-10 Thread Hans Dedecker
> > Regard, > Jordi > > > -Mensaje original- > De: Hans Dedecker > Responder a: > Fecha: sábado, 9 de septiembre de 2017, 15:36 > Para: Jordi Palet Martinez > CC: LEDE Development List > Asunto: Re: using 464XLAT in LEDE (or OpenWRT) > >

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" setups. >> >> Signed-off-by: Sv

[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

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

2017-10-06 Thread Hans Dedecker
Add config option support for nghttp2 Signed-off-by: Hans Dedecker --- package/network/utils/curl/Config.in | 4 package/network/utils/curl/Makefile | 7 +-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/package/network/utils/curl/Config.in b/package/network/utils

[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 --- package/libs/nghttp2/Makefile | 47

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 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 Acked-by: Hans Dedecker > --- &

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

2017-10-07 Thread Hans Dedecker
ot! > > Regards, > Jordi > > > -Mensaje original- > De: Hans Dedecker > Responder a: > Fecha: domingo, 10 de septiembre de 2017, 22:19 > Para: Jordi Palet Martinez > CC: LEDE Development List > Asunto: Re: using 464XLAT in LEDE (or OpenWRT) > > On Sat, Sep

[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 --- 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 100644 --- a/interface

[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 --- 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 @@ -441,6 +441,12

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 is a list of all no

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 >>> >>> >>> Given the fact that we explicitely wanted to avoid @op

[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] [PATCH] dropbear: make syslog support configurable

2017-11-03 Thread Hans Dedecker
ot to leak sensitive info via syslog. Signed-off-by: Hans Dedecker --- 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/dropbear/Config.in b/pack

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 wrote: > Hans Dedecker [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. "Bad password attempt for 'engineer'

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 > 6be9a66 wg-quick: save all hooks on s

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 wrote: > > >> On 4 Nov 2017, at 17:16, Hans Dedecker wrote: >> >> On Fri, Nov 3, 2017 at 6:01 PM, Kevin Darbyshire-Bryant >> wrote: >>> Update wireguard to latest snapshot: >>> > >>

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

2017-11-05 Thread Hans Dedecker
> 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 Tested-by: Hans Dedecker > --- > CMakeLists

Re: [LEDE-DEV] [PATCH] ldbus: add new package

2017-11-10 Thread Hans Dedecker
On Fri, Nov 10, 2017 at 1:12 AM, Enrico Mioso wrote: > This package contains "ldbus": LUA bindings to interact with the DBUS > message bus, and services connected to it. > See https://github.com/daurnimator/ldbus > for more details. > > Signed-off-by: Enrico Mioso Hi, Feeds packages is an indepe

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 luarocks belongs to feed

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

2017-11-16 Thread Hans Dedecker
. Signed-off-by: Hans Dedecker --- 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 +787,10 @@ interface_set_prefix_address(struct

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

2017-11-16 Thread Hans Dedecker
de-project.org/?p=project/netifd.git;a=commit;h=2f31bff38d4dc2f36006ded6b8a7d039cb569eaa Hans > > Paul > >> Op 16 nov. 2017, om 15:42 heeft Hans Dedecker het >> volgende geschreven: >> >> Commit 2f31bff38d4dc2f36006ded6b8a7d039cb569eaa added interface routing &g

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 > f6cea8e allowedips: rename from ro

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 bot available. However,

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

2017-11-24 Thread Hans Dedecker
On Fri, Nov 24, 2017 at 11:28 AM, Kevin Darbyshire-Bryant wrote: > Bump to latest WireGuard snapshot release: > > ed479fa (tag: 0.0.20171122) version: bump snapshot > efd9db0 chacha20poly1305: poly cleans up its own state > 5700b61 poly1305-x86_64: unclobber %rbp > 314c172 global: switch from time

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

2017-11-27 Thread Hans Dedecker
On Mon, Nov 27, 2017 at 9:29 AM, Russell Senior wrote: > > Signed-off-by: Russell Senior > --- > package/network/utils/iproute2/Makefile| 18 ++-- > .../utils/iproute2/patches/007-no_arpd.patch | 6 ++-- > .../utils/iproute2/patches/008-no_netem.patch | 2 +- > .

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 number of connected clients. Depending on your

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 > * poly1305-avx512: requires AVX512

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

2017-11-27 Thread Hans Dedecker
tions 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 wrote: >> On Fri, Nov 24, 2017 at 11:56 AM, Borja Salazar >> wrote: >>>

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 > --- > package/network/services/dnsmasq/patches/240-ubus.patch | 12 +++

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 http://lists.infradead.org/mailman/listinfo

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 file, the second >>

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(+), 1 deletion(-) > > diff --git a/p

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 > src/odhcpd.h | 2 ++ > src/ubus.c | 24 +

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

2017-12-08 Thread Hans Dedecker
roto_dhcp_setup() { >> append dhcpopts "-x $opt" >> done >> >> + [ -z "$hostname" ] && hostname="$(cat /proc/sys/kernel/hostname)" >> [ "$broadcast" = 1 ] && broadcast="-B" || bro

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 > - draft-ietf-rtgwg-enterprise-pa-multihoming-02 > > odhcpd supports configurati

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

2017-12-14 Thread Hans Dedecker
rface metric assignment as this is already done by the function interface_set_route_info. Signed-off-by: Hans Dedecker --- interface-ip.c | 33 +++-- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/interface-ip.c b/interface-ip.c index 1490ca4..716a093 1

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

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

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 'globals' >> option ula_prefix 'fdc7:883

[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 --- file.c | 2 -- list.c | 5 +++-- uci_internal.h | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/file.c b/file.c index 494c649

[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 --- Output of uci -n export foo before the fix package foo config foo 'cfg027389' config foo 'cfg047389' config ba

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 removed as %m is a GNU extension. >> >> My 2

  1   2   3   >