Re: [OpenWrt-Devel] [PATCH netifd 3/6] interface-ip: Remove ip loop policy rules as kernel issue is fixed

2015-09-23 Thread Kristian Evensen
Hi, On Wed, Sep 9, 2015 at 3:45 PM, Hans Dedecker wrote: > Remove ip loop policy rules as workaround for the kernel using unspecified > address > to lookup locally originating traffic is fixed by > http://lkml.iu.edu/hypermail/linux/kernel/1505.0/03094.html > >

[OpenWrt-Devel] [PATCH procd] system: fix undefined behavior in wdt offline check

2015-09-23 Thread Alexander Couzens
watchdog_fd() is returning a char* and not a int. checking against < 0 could lead in undefined behaviour. Signed-off-by: Alexander Couzens --- system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system.c b/system.c index 82c672e..fb7fbe4 100644 ---

Re: [OpenWrt-Devel] [PATCH netifd 2/6] iprule: Insert network and address ip rules before main table lookup rule

2015-09-23 Thread Hans Dedecker
On Wed, Sep 23, 2015 at 11:52 AM, Kristian Evensen < kristian.even...@gmail.com> wrote: > Sorry about partial reply, clumsy fingers. > > On Wed, Sep 23, 2015 at 11:31 AM, Hans Dedecker > wrote: > > Can you share the uci network config and ifstatus of the different > >

Re: [OpenWrt-Devel] [PATCH v2] base-files: init/sysfixtime - exclude dnsmasq.time

2015-09-23 Thread Kevin Darbyshire-Bryant
On 23/09/15 03:42, Yousong Zhou wrote: > On 23 September 2015 at 01:52, Bastian Bittorf wrote: >> dnsmasq maintains dnsmasq.time across reboots and uses it as a means of >> determining if current time is good enough to validate dnssec time >> stamps. By including

Re: [OpenWrt-Devel] [PATCH netifd 2/6] iprule: Insert network and address ip rules before main table lookup rule

2015-09-23 Thread Kristian Evensen
On Wed, Sep 23, 2015 at 1:07 PM, Hans Dedecker wrote: > Indeed we're using source based routing in combination with a default route > in the main routing table; even the specific routing table(s) can contain a > default route > Based on the addr rule the traffic is guided to a

Re: [OpenWrt-Devel] [PATCH v2] base-files: init/sysfixtime - exclude dnsmasq.time

2015-09-23 Thread Bastian Bittorf
* Kevin Darbyshire-Bryant [23.09.2015 12:21]: [...] > signature timestamps. If the system time is not actually 'internet > time' (within a tolerance of which I'm unclear) and dnsmasq is using > 'dnssec-check-unsigned' then ALL dns resolution will fail (everything

Re: [OpenWrt-Devel] ZyXEL NBG4615

2015-09-23 Thread Nerijus Baliunas
On Sat, 19 Sep 2015 12:11:06 +0200 John Crispin wrote: > rt305x has a rgmii that the switch connects to. however we dont have > support in the driver for that rgmii port. you will need to first atch > the driver to support the rgmii interface and then hook up the switch >

Re: [OpenWrt-Devel] [PATCH] [SIGNED-OFF] Add WeIO Board Support

2015-09-23 Thread Drasko DRASKOVIC
A kind reminder, please someone take a look at this patch and integrate it if it is OK. BR, Drasko On Sun, Sep 20, 2015 at 7:27 PM, Drasko DRASKOVIC wrote: > Add support for WeIO board (http://we-io.net). > This board is based on Carambola2 board form 8Devices. > >

Re: [OpenWrt-Devel] [PATCH v2] base-files: init/sysfixtime - exclude dnsmasq.time

2015-09-23 Thread Bastian Bittorf
* Yousong Zhou [23.09.2015 07:58]: > In theory, a security sensitive mechanism's dependence on a > non-reliable timestamp file with access permission nobody:nogroup > makes little sense to me. How about that we do --dnssec-no-timecheck > on dnsmasq startup time and notify

Re: [OpenWrt-Devel] [PATCH] Configure IPv6 kernel options in config/Config-kernel.in

2015-09-23 Thread John Crispin
On 22/09/2015 22:17, Arjen de Korte wrote: > Citeren John Crispin : > >> On 22/09/2015 19:31, Arjen de Korte wrote: >>> Revision 46834 changed IPv6 support from a module to builtin. But >>> since the configuration of the IPv6 kernel options was left in >>>

Re: [OpenWrt-Devel] Automatic service reload

2015-09-23 Thread Florian Eckert
You have call the shell script in der /sbin/reload_config Am 23.09.2015 4:56 vorm. schrieb "Lars Boegild Thomsen" < l...@bright-things.com>: > Hi Everybody, > > > > I am struggling a bit with triggering automatic service reload based on > configuration change. > > > > Latest trunk and all that

Re: [OpenWrt-Devel] [PATCH netifd 2/6] iprule: Insert network and address ip rules before main table lookup rule

2015-09-23 Thread Kristian Evensen
Hi, On Wed, Sep 9, 2015 at 3:45 PM, Hans Dedecker wrote: > Specific IP address and network rules are now checked before the main table > lookup as the main table > often holds a default route. As a result the IP address and network rules > pointing to s specific > routing

[OpenWrt-Devel] compression with 'brotli' / squashfs / FYI

2015-09-23 Thread Bastian Bittorf
i did a quick test, how good 'brotli' performs in compression on binary files versus e.g. xz/lzma...here it is: bytes: 10.905.600 uncompressed 4.192.280 gzip -9 3.362.626 brotli -11 3.098.216 xz -9 --extreme 3.097.691 lzma -9 --extreme the uncompressed file is an unsquashfs'ed rootfs

Re: [OpenWrt-Devel] [PATCH v2] base-files: init/sysfixtime - exclude dnsmasq.time

2015-09-23 Thread Kevin Darbyshire-Bryant
On 23/09/15 07:13, Bastian Bittorf wrote: > * Yousong Zhou [23.09.2015 07:58]: >> In theory, a security sensitive mechanism's dependence on a >> non-reliable timestamp file with access permission nobody:nogroup >> makes little sense to me. How about that we do

Re: [OpenWrt-Devel] [PATCH v2] base-files: init/sysfixtime - exclude dnsmasq.time

2015-09-23 Thread Steven Barth
Using --dnssec-no-timecheck is impractical since it reacts to SIGHUP which is already overloaded and might be triggered by e.g. config changes. Btw. an ntp hotplug infrastructure exists: https://dev.openwrt.org/changeset/43421 Please also consider that some devices have an RTC, so disabling

[OpenWrt-Devel] [PATCH][RESEND] libnl: split libnl into smaller libraries

2015-09-23 Thread Alexandru Ardelean
From: Alexandru Ardelean Some modules may require only libnl-genl, some libnl-route and fewer would require libnl-nf. This patch splits the entire libnl package into smaller more granular libs that can be installed individually as required. Also added libnl*.so symlinks for

Re: [OpenWrt-Devel] Automatic service reload

2015-09-23 Thread Lars Boegild Thomsen
Actually I think it's because the init script is called with a "reload" rather than a restart. Adding this: reload_service() { restart } to the init script seems to have worked. I am still a bit confused if /etc/config/ucitrack is still used for anything whatsoever. On Wednesday 23

[OpenWrt-Devel] [PATCH 1/1] uhttpd: fix wrong header file inclusion for PRI* constant definitions

2015-09-23 Thread Andrej Krpic
Signed-off-by: Andrej Krpic --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.c b/file.c index 6072825..9a2880f 100644 --- a/file.c +++ b/file.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include -- 2.4.6

Re: [OpenWrt-Devel] [PATCH netifd 2/6] iprule: Insert network and address ip rules before main table lookup rule

2015-09-23 Thread Kristian Evensen
On Wed, Sep 23, 2015 at 1:23 PM, Kristian Evensen wrote: > On Wed, Sep 23, 2015 at 1:07 PM, Hans Dedecker wrote: >> Indeed we're using source based routing in combination with a default route >> in the main routing table; even the specific routing

[OpenWrt-Devel] [PATCH 2/2] ramips: add support for 16MB VoCore

2015-09-23 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- target/linux/ramips/dts/VOCORE-16M.dts | 41 ++ target/linux/ramips/dts/VOCORE-8M.dts | 41 ++ target/linux/ramips/dts/VOCORE.dts | 231 - target/linux/ramips/dts/VOCORE.dtsi| 197

[OpenWrt-Devel] [PATCH 1/2] ramips: fix size-cells for spi nodes

2015-09-23 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- target/linux/ramips/dts/mt7620a.dtsi | 2 +- target/linux/ramips/dts/mt7620n.dtsi | 2 +- target/linux/ramips/dts/mt7621.dtsi | 2 +- target/linux/ramips/dts/mt7628an.dtsi | 2 +- target/linux/ramips/dts/rt3352.dtsi | 2 +-

Re: [OpenWrt-Devel] [PATCH netifd 2/6] iprule: Insert network and address ip rules before main table lookup rule

2015-09-23 Thread Hans Dedecker
On Wed, Sep 23, 2015 at 9:50 AM, Kristian Evensen < kristian.even...@gmail.com> wrote: > Hi, > > On Wed, Sep 9, 2015 at 3:45 PM, Hans Dedecker wrote: > > Specific IP address and network rules are now checked before the main > table lookup as the main table > > often holds a

Re: [OpenWrt-Devel] [PATCH netifd 2/6] iprule: Insert network and address ip rules before main table lookup rule

2015-09-23 Thread Kristian Evensen
Sorry about partial reply, clumsy fingers. On Wed, Sep 23, 2015 at 11:31 AM, Hans Dedecker wrote: > Can you share the uci network config and ifstatus of the different > interfaces ? UCI config is nothing more than ... proto dhcp ... ip4/ip6table X >> >> >> I don't see any