[OpenWrt-Devel] Updating dnsmasq 2.73rc1 new dnssec timestamp checking option

2015-03-26 Thread Kevin Darbyshire-Bryant
Hi All, New here, new to openwrt, not really a developer, more a willing idiot. Appreciate your help, patience, guidance etc. I've been following dnsmasq git master for a year or two on other router firmware projects and have always tried to keep them up to date. I'd like to do the same

Re: [OpenWrt-Devel] DHCPv6 flash renumbering patches with HE tunnel breaks

2015-03-27 Thread Kevin Darbyshire-Bryant
On 26/03/2015 23:51, Steven Barth wrote: Radvd isn't part of OpenWrt for a while. dnsmasq doesn't support downstream delegation and its DHCPv6 features aren't well integrated if you have a dynamic prefix e.g. delegated from your ISP. I've been messing with the 'constructor' option for quite a

Re: [OpenWrt-Devel] DHCPv6 flash renumbering patches with HE tunnel breaks

2015-03-26 Thread Kevin Darbyshire-Bryant
On 26/03/2015 18:36, Arjen de Korte wrote: Citeren Steven Barth cy...@openwrt.org: In that case, I have a lot of bug reports to file, because none of the DHCPv6 clients I tried were happy with preferred lifetimes of 1 second on their leases (which includes Windows 7, 8.1 and openSUSE 13.2).

Re: [OpenWrt-Devel] seccomp patch lead to build failures

2015-03-26 Thread Kevin Darbyshire-Bryant
On 26/03/2015 19:27, John Crispin wrote: Hi John, Earlier today I was working on some dnsmasq changes. When I pulled the latest updates I was surprised by the (new to me) 'jail' related updates. Is there any documentation that I may be able to read to understand how I can update my

Re: [OpenWrt-Devel] seccomp patch lead to build failures

2015-03-26 Thread Kevin Darbyshire-Bryant
On 26/03/2015 18:39, John Crispin wrote: On 26/03/2015 19:17, Dirk Neukirchen wrote: procd: add jail support 45010 leads to build errors on some? arches On omap I get: /jail/seccomp-bpf.h:72:3: error: #w$ # warning Platform does not support seccomp filter yet which fails the build

Re: [OpenWrt-Devel] adding seccomp and service jailing to procd

2015-03-28 Thread Kevin Darbyshire-Bryant
On 27/03/2015 14:37, John Crispin wrote: On 27/03/2015 13:45, Etienne Champetier wrote: Hi, 2015-03-27 10:42 GMT+01:00 John Crispin blo...@openwrt.org mailto:blo...@openwrt.org: OpenWrt service hardening and jailing = ... If there

Re: [OpenWrt-Devel] dnsmasq and --dhcp-relay option ?

2015-04-23 Thread Kevin Darbyshire-Bryant
On 23/04/2015 21:55, openwrt-de...@couprie.net wrote: Hi, I need the dnsmasq --dhcp-relay option, how do i add this option to the dnsmasq script ? Perry You could edit '/etc/dnsmasq.conf' and add your option/s directly to it. Does that achieve your aim? Kevin smime.p7s Description:

Re: [OpenWrt-Devel] [PATCH] luci:miniupnpd Fix enabled/disabled behaviour on first boot/upgrade

2015-04-25 Thread Kevin Darbyshire-Bryant
On 25/04/2015 10:00, Hannu Nyman wrote: miniupnpd service was always disabled after firmware upgrade. Original luci default logic was 'enable miniupnpd and if that succeeds, stop and then disable the service'. It should be 'enable miniupnpd and if that fails, stop disable the

[OpenWrt-Devel] [PATCH] [uci] luci-upnp Remove upnp service disable on upgrade

2015-04-25 Thread Kevin Darbyshire-Bryant
-upnp from disabling the service on first boot after an upgrade. Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk diff --git a/applications/luci-app-upnp/root/etc/uci-defaults/luci-upnp b/applications/luci-app-upnp/root/etc/uci-defaults/luci-upnp deleted file mode 100755

[OpenWrt-Devel] [PATCH] luci:miniupnpd Fix enabled/disabled behaviour on first boot/upgrade

2015-04-25 Thread Kevin Darbyshire-Bryant
miniupnpd service was always disabled after firmware upgrade. Original luci default logic was 'enable miniupnpd and if that succeeds, stop and then disable the service'. It should be 'enable miniupnpd and if that fails, stop disable the service'. Signed-off-by: Kevin Darbyshire-Bryant ke

Re: [OpenWrt-Devel] [PATCH] dnsmasq: Bump to dnsmasq2.73rc6 - resend

2015-04-23 Thread Kevin Darbyshire-Bryant
On 23/04/2015 13:22, Felix Fietkau wrote: On 2015-04-23 12:09, Kevin Darbyshire-Bryant wrote: Bump dnsmasq to v2.73rc6 Remove 001-fix-crash-in-auth-code.patch 200-fix-dhcpv6-solicit-handling.patch as now included upstream. Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire

[OpenWrt-Devel] [PATCH] dnsmasq: Bump to dnsmasq2.73rc6

2015-04-23 Thread Kevin Darbyshire-Bryant
Bump dnsmasq to v2.73rc6 Remove 001-fix-crash-in-auth-code.patch 200-fix-dhcpv6-solicit-handling.patch as now included upstream. Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq

Re: [OpenWrt-Devel] [PATCH] dnsmasq: Bump to dnsmasq2.73rc6 - resend

2015-04-23 Thread Kevin Darbyshire-Bryant
On 23/04/2015 14:06, Kevin Darbyshire-Bryant wrote: On 23/04/2015 13:22, Felix Fietkau wrote: On 2015-04-23 12:09, Kevin Darbyshire-Bryant wrote: Bump dnsmasq to v2.73rc6 Remove 001-fix-crash-in-auth-code.patch 200-fix-dhcpv6-solicit-handling.patch as now included upstream. Signed-off

Re: [OpenWrt-Devel] [PATCH] dnsmasq: bump to dnsmasq2.73rc7

2015-04-29 Thread Kevin Darbyshire-Bryant
On 29/04/2015 10:13, Steven Barth wrote: Looks good and applies. Usually the Signed-off-by is at the end of the commit message though. Understood. Happy :-) smime.p7s Description: S/MIME Cryptographic Signature ___ openwrt-devel mailing list

[OpenWrt-Devel] [PATCH] dnsmasq: bump to dnsmasq2.73rc7

2015-04-29 Thread Kevin Darbyshire-Bryant
Bump dnsmasq to v2.73rc7 Fixes DNSSEC over TCP issue Also include patch from dnsmasq upstream to include RRSIG RR replies in ANY queries Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk Tested Archer C7 Maybe I even get this one right :-) diff --git a/package/network

Re: [OpenWrt-Devel] [PATCH] dnsmasq: bump to dnsmasq2.73rc7

2015-04-29 Thread Kevin Darbyshire-Bryant
On 29/04/2015 09:17, Steven Barth wrote: Sorry, beat you again by 20 minutes :P ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ROFL - I *should* give up, but I won't

[OpenWrt-Devel] [PATCH] dnsmasq: bump to dnsmasq2.73rc8 Important.

2015-05-17 Thread Kevin Darbyshire-Bryant
Bump dnsmasq to v2.73rc8 Important - fixes remotely exploitable buffer overflow introduced in all v2.73 test/release candidates. Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq

[OpenWrt-Devel] [PATCH,v2] dnsmasq: bump to dnsmasq2.73rc9

2015-06-07 Thread Kevin Darbyshire-Bryant
Bump dnsmasq to v2.73rc9 Fixes dnssec NSEC handling, corner case exposed by 'linux.conf.au' when dnssec-check-unsigned enabled. Also (from changelog) correctly sanitise DNS header bits in answer when recreating query for retry. v2 - fix mangled submission Signed-off-by: Kevin Darbyshire

Re: [OpenWrt-Devel] [PATCH] dnsmasq: bump to dnsmasq2.73rc9

2015-06-07 Thread Kevin Darbyshire-Bryant
MUTTLEY Rassen, Fassen, £%! Thunderbird! /MUTTLEY v2 on the way. Hopefully I've beaten this instance of Thunderbird into submission too. Note to self: Investigate git email direct options. Agreed about seeing a final...people just need to stop finding discrepancies/corner cases :-) On

Re: [OpenWrt-Devel] [PATCH,v2] dnsmasq: bump to dnsmasq2.73rc9

2015-06-08 Thread Kevin Darbyshire-Bryant
I've no idea and giving up to be honest. By producing bad patches I'm not being helpful and wasting experienced people's time. Updating a Makefile is about as simple as it gets! smime.p7s Description: S/MIME Cryptographic Signature ___

[OpenWrt-Devel] [PATCH] dnsmasq: bump to dnsmasq2.73rc9

2015-06-07 Thread Kevin Darbyshire-Bryant
Bump dnsmasq to v2.73rc9 Fixes dnssec NSEC handling, corner case exposed by 'linux.conf.au' when dnssec-check-unsigned enabled. Also (from changelog) correctly sanitise DNS header bits in answer when recreating query for retry. Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire

[OpenWrt-Devel] Progress on patch - scripts/feeds: print the source of packages installed

2015-07-07 Thread Kevin Darbyshire-Bryant
Greetings OpenWrt developers, Is there any possibility of getting https://patchwork.ozlabs.org/patch/477022/ merged in to trunk please? In combination with git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46120 it's a very useful patch when dealing with packages in various feeds, especially if

[OpenWrt-Devel] [PATCH] fstools: fstab.init fix spelling

2015-07-07 Thread Kevin Darbyshire-Bryant
fix a very minor typo in warning message Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk --- package/system/fstools/files/fstab.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/system/fstools/files/fstab.init b/package/system/fstools

[OpenWrt-Devel] [PATCH] dnsmasq: Bump to dnsmasq2.74

2015-07-29 Thread Kevin Darbyshire-Bryant
Bump to dnsmasq v2.74 Minor patch refresh also required. Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk --- package/network/services/dnsmasq/Makefile | 4 ++-- .../patches/210-dnssec-improve-timestamp-heuristic.patch | 14 ++ 2 files changed

Re: [OpenWrt-Devel] RFC: Preserving smbpasswd dnsmasq.time across sysupgrade

2015-07-30 Thread Kevin Darbyshire-Bryant
Thanks Bastian, apologies for delayed reply. I'll check that info out. :-) Thanks Kevin -- Cheers, ke...@darbyshire-bryant.me.uk Sent from my phone, apologies for brevity, spelling top posting On 27 Jul 2015, at 09:14, Bastian Bittorf bitt...@bluebottle.com wrote: * Kevin Darbyshire

[OpenWrt-Devel] [PATCH] dnsmasq: Bump to dnsmasq2.75

2015-08-01 Thread Kevin Darbyshire-Bryant
Fixes a 100% cpu usage issue if using dhcp-script. Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk --- package/network/services/dnsmasq/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/dnsmasq/Makefile b/package

[OpenWrt-Devel] [PATCH v2] dnsmasq: Bump to dnsmasq2.74

2015-07-30 Thread Kevin Darbyshire-Bryant
Bump to dnsmasq2.74 refresh patches to fix fuzz Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk --- v2 - fixed patch fuzz in 100-fix-dhcp-no-address-warning package/network/services/dnsmasq/Makefile | 4 ++-- .../dnsmasq/patches/100-fix-dhcp-no-address

[OpenWrt-Devel] [PATCH] dnsmasq: dns rebind protection improvements

2015-08-05 Thread Kevin Darbyshire-Bryant
From upstream dnsmasq pre 2.76 release. Include 0.0.0.0/8 in DNS rebind checks. Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk --- package/network/services/dnsmasq/Makefile | 2 +- .../patches/300-dns-rebind-improvements.patch | 42 ++ 2

[OpenWrt-Devel] [PATCH] samba36: preserve smbpasswd across sysupgrade

2015-08-05 Thread Kevin Darbyshire-Bryant
Add /etc/samba/smbpasswd to list of samba conffiles thus preserving samba passwords across sysupgrade by default. Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk --- package/network/services/samba36/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/package/network

Re: [OpenWrt-Devel] [PATCH] mac80211: ath10k Suppress 'failed to process fft' warning messages.

2015-07-15 Thread Kevin Darbyshire-Bryant
to log noise, so this patch enables them only in driver debug mode. Hopefully this will stop people like me worrying about them. Tested on Archer C7 Signed-off-by: Kevin Darbyshire-Bryant kevin at darbyshire-bryant.me.uk https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] dnsmasq bump to dnsmasq2.74rc3

2015-07-17 Thread Kevin Darbyshire-Bryant
Fixes a DNSSEC validation corner case. Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk --- package/network/services/dnsmasq/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/services/dnsmasq/Makefile b/package/network

Re: [OpenWrt-Devel] [PATCH] dnsmasq bump to dnsmasq2.74rc3

2015-07-18 Thread Kevin Darbyshire-Bryant
On 18/07/15 05:26, Steven Barth wrote: I don't think we should be tracking RCs any longer. I did this for 2.73 mainly due to the security exploit and there not being a stable update, plus DNSSEC was pretty screwed before that. I think we should go back to backporting individual fixes via

[OpenWrt-Devel] RFC: Preserving smbpasswd dnsmasq.time across sysupgrade

2015-07-18 Thread Kevin Darbyshire-Bryant
Hi All, Before I go too far ahead with this, a couple of questions. I've noticed smbpasswd is not preserved by default across sysupgrades. Any particular reason why? Similarly I intend to produce a patch to preserve dnsmasq's new timestamp file across sysupgrades too. The next question is

[OpenWrt-Devel] [PATCH] mac80211: Clarify ath9k ath10k debug selection

2015-07-20 Thread Kevin Darbyshire-Bryant
Ath debug mode applies to ath10k as well as ath9k. Update Makefile help text to clarify. Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk --- package/kernel/mac80211/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/mac80211/Makefile

Re: [OpenWrt-Devel] OpenWRT broken for some reason in my system

2015-11-09 Thread Kevin Darbyshire-Bryant
On 09/11/15 13:43, Carlos Ferreira wrote: > PS: Instead of "trunk repo", it's "15.05 repo". > > On 9 November 2015 at 13:42, Carlos Ferreira > wrote: > > Today I updated my OpenWRT trunk repo and after making the usual >

Re: [OpenWrt-Devel] [PATCH, v2] dnsmasq: prevent forwarding RFC6303 zones

2015-10-19 Thread Kevin Darbyshire-Bryant
On 19/10/15 01:18, Stefan Monnier wrote: >> RFC6303 specifies reverse dns zones that ideally should not be forwarded >> to upstream (root) servers and create unnecessary load upon them. > Shouldn't this be done upstream (i.e. in dnsmasq directly) rather than > in our config? > > > Stefan

[OpenWrt-Devel] [PATCH, v2] dnsmasq: prevent forwarding RFC6303 zones

2015-10-18 Thread Kevin Darbyshire-Bryant
RFC6303 specifies reverse dns zones that ideally should not be forwarded to upstream (root) servers and create unnecessary load upon them. Signed-off-by: Kevin Darbyshire-Bryant <ke...@darbyshire-bryant.me.uk> --- package/network/services/dnsmasq/files/dhcp.conf | 30 +

[OpenWrt-Devel] [PATCH] mac80211: ath10k Suppress 'failed to process fft' warning messages.

2015-07-11 Thread Kevin Darbyshire-Bryant
in driver debug mode. Hopefully this will stop people like me worrying about them. Tested on Archer C7 Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk --- .../931-ath10k_suppress_failed_to_process_fft_warning.patch | 11 +++ 1 file changed, 11 insertions(+) create

Re: [OpenWrt-Devel] [PATCH] dnsmasq: support hostid ipv6 address suffix option

2015-09-01 Thread Kevin Darbyshire-Bryant
Please ignore the patch. Just woken in middle of night and realised I've done something mind numbingly stupid. Will fix tomorrow! -- Cheers, ke...@darbyshire-bryant.me.uk Sent from my phone, apologies for brevity, spelling & top posting > On 1 Sep 2015, at 21:03, Kevin Darbyshire

[OpenWrt-Devel] [PATCH] dnsmasq: support hostid ipv6 address suffix option

2015-09-01 Thread Kevin Darbyshire-Bryant
entry: config host option name 'Kermit' option mac 'E0:3F:49:A1:D4:AA' option ip '192.168.235.4' option hostid '4' dhcp-host=E0:3F:49:A1:D4:AA,192.168.235.4,[::00:00:00:04],Kermit Signed-off-by: Kevin Darbyshire-Bryant <ke...@darbyshire-bryant.me.uk> ---

[OpenWrt-Devel] [PATCHv2] dnsmasq: support hostid ipv6 address suffix option

2015-09-02 Thread Kevin Darbyshire-Bryant
entry: config host option name 'Kermit' option mac 'E0:3F:49:A1:D4:AA' option ip '192.168.235.4' option hostid '4' dhcp-host=E0:3F:49:A1:D4:AA,192.168.235.4,[::0:4],Kermit Signed-off-by: Kevin Darbyshire-Bryant <ke...@darbyshire-bryant.me.uk> --- .../n

Re: [OpenWrt-Devel] Warning: ABI breakage - rebuild your ATM trees

2015-09-17 Thread Kevin Darbyshire-Bryant
On 16/09/15 12:20, John Crispin wrote: > Hi, > > i pushed a patch today that removes some serious ABI brain damage of the > ATM layer that i introduced 1/2 a decade ago > > http://git.openwrt.org/?p=openwrt.git;a=commit;h=c5d4911448898f7fabdd2c4737ed0820ced4fc4d > >

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

2015-09-30 Thread Kevin Darbyshire-Bryant
On 30/09/15 03:22, Yousong Zhou wrote: > Hi, hope this comment is not too late :) To be blunt I've given up. There's a 'companion' patch https://patchwork.ozlabs.org/patch/522968/ which also is mentally in the same state. Ultimately if ntpd can be persuaded to set a flag when it considers time

[OpenWrt-Devel] [PATCH] dnsmasq: remove dnssec timecheck enable on SIGHUP

2015-10-01 Thread Kevin Darbyshire-Bryant
denial of service exploit by sending SIGHUP when system time does not correspond with Internet time. This change may be useful for future ntpd/dnsmasq hotplug integration. Signed-off-by: Kevin Darbyshire-Bryant <ke...@darbyshire-bryant.me.uk> --- .../dnsmasq/patches/220-dnssec-disable-tim

Re: [OpenWrt-Devel] [PATCH] dnsmasq: remove dnssec timecheck enable on SIGHUP

2015-10-01 Thread Kevin Darbyshire-Bryant
On 01/10/15 11:37, Etienne Champetier wrote: > Hi, > > 2015-10-01 12:19 GMT+02:00 Kevin Darbyshire-Bryant > <ke...@darbyshire-bryant.me.uk <mailto:ke...@darbyshire-bryant.me.uk>>: > > This patch stops SIGHUP from enabling dnssec timechecks if disabled by >

Re: [OpenWrt-Devel] [PATCH] dnsmasq: remove dnssec timecheck enable on SIGHUP

2015-10-01 Thread Kevin Darbyshire-Bryant
On 01/10/15 12:56, Etienne Champetier wrote: > > > 2015-10-01 13:21 GMT+02:00 Kevin Darbyshire-Bryant > <ke...@darbyshire-bryant.me.uk <mailto:ke...@darbyshire-bryant.me.uk>>: > > > > On 01/10/15 11:37, Etienne Champetier wrote: > > Hi, >

Re: [OpenWrt-Devel] [PATCH] dnsmasq: remove dnssec timecheck enable on SIGHUP

2015-10-01 Thread Kevin Darbyshire-Bryant
On 01/10/15 16:20, Toke Høiland-Jørgensen wrote: > Kevin Darbyshire-Bryant <ke...@darbyshire-bryant.me.uk> writes: > >> This patch stops SIGHUP from enabling dnssec timechecks if disabled by >> use of --dnssec-no-timecheck option. --dnssec-timestamp continues to >&g

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

[OpenWrt-Devel] [PATCH] base-files: sbin/sysupgrade preserve dnsmasq.time

2015-09-24 Thread Kevin Darbyshire-Bryant
not be included as part of normal configuration backups to prevent restores corrupting the current timestamps. Signed-off-by: Kevin Darbyshire-Bryant <ke...@darbyshire-bryant.me.uk> --- package/base-files/files/sbin/sysupgrade | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff

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

2015-09-22 Thread Kevin Darbyshire-Bryant
Patch dropped. Thanks for picking it up & improving. Kevin -- Cheers, ke...@darbyshire-bryant.me.uk Sent from my phone, apologies for brevity, spelling & top posting > On 22 Sep 2015, at 18:41, Bastian Bittorf <bitt...@bluebottle.com> wrote: > > * Kevin Darbyshire-B

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] dnsmasq: prevent forwarding RFC6303 zones

2015-09-24 Thread Kevin Darbyshire-Bryant
On 24/09/15 17:54, Steven Barth wrote: > Okay, we can do this, however we need to figure 3 things out first. > > 1. Disable boguspriv, doing both is unintuitive. ok, so extra lines for .10, 16-32.172, 168.192 - an extra 18 lines in total. And an update to luci to remove the bogus priv tick box?

[OpenWrt-Devel] [PATCH, v2] base-files: sbin/sysupgrade preserve dnsmasq.time

2015-09-25 Thread Kevin Darbyshire-Bryant
not be included as part of normal configuration backups to prevent restores corrupting the current timestamps. Signed-off-by: Kevin Darbyshire-Bryant <ke...@darbyshire-bryant.me.uk> --- v2 - original patch generated from incorrect branch and had all sorts of rubbish in it. package/base-files/file

[OpenWrt-Devel] [PATCH] base-files: sysfixtime exclude dnsmasq.time

2015-09-22 Thread Kevin Darbyshire-Bryant
dnsmasq now updates the file's timestamp on process TERM so hopefully /etc/dnsmasq.time is the latest file timestamp in /etc as part of openWrt shutdown/reboot. Either way, including /etc/dnsmasq.time as a time source for sysfixtime is not helpful. Signed-off-by: Kevin Darbyshire-Bryant <

Re: [OpenWrt-Devel] [PATCH RESEND] dnsmasq: add config option for ra_names

2016-01-04 Thread Kevin Darbyshire-Bryant
On 04/01/16 11:02, Dominique Martinet wrote: > Felix Fietkau wrote on Mon, Jan 04, 2016: >> On 2016-01-04 11:21, Dominique Martinet wrote: >> I'm afraid this is going to end in me being selfish and using a >> 'fuller' dnsmasq unfortunately, unless you have any idea there :/ >> Having the dns

Re: [OpenWrt-Devel] [PATCH] kernel: generic 4.1 & 4.4 perf: musl compatibility

2016-01-02 Thread Kevin Darbyshire-Bryant
On 02/01/16 14:49, Felix Fietkau wrote: > On 2015-12-29 11:14, Kevin Darbyshire-Bryant wrote: >> Enable linux perf tools to compile under musl. >> >> Tested on MIPS Archer c7 v2 & ARM Linksys 1200ac. >> >> With thanks to Dave Taht <dave.t...@buffe

Re: [OpenWrt-Devel] [PATCH] kernel: generic 4.1 & 4.4 perf: musl compatibility

2015-12-31 Thread Kevin Darbyshire-Bryant
On 31/12/15 12:22, Roman Yeryomin wrote: > On 29 December 2015 at 12:14, Kevin Darbyshire-Bryant > <ke...@darbyshire-bryant.me.uk> wrote: > > Kevin, are you sure this works? > I don't have /sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size > on my Arche

[OpenWrt-Devel] [PATCH] dnsmasq: fix warning with poll.h include on musl

2015-12-24 Thread Kevin Darbyshire-Bryant
Warning is: #warning redirecting incorrect #include to Signed-off-by: Kevin Darbyshire-Bryant <ke...@darbyshire-bryant.me.uk> --- .../230-fix-poll-h-include-warning-on-musl.patch | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 package/network/se

[OpenWrt-Devel] [PATCH] kernel: generic 4.1 & 4.4 perf: musl compatibility

2015-12-29 Thread Kevin Darbyshire-Bryant
Enable linux perf tools to compile under musl. Tested on MIPS Archer c7 v2 & ARM Linksys 1200ac. With thanks to Dave Taht <dave.t...@bufferbloat.net> who did the heavy lifting. Signed-off-by: Kevin Darbyshire-Bryant <ke...@darbyshire-bryant.me.uk> --- package/dev

Re: [OpenWrt-Devel] [PATCH] kernel: generic 4.1 & 4.4 perf: musl compatibility

2015-12-29 Thread Kevin Darbyshire-Bryant
On 29/12/15 11:13, Hauke Mehrtens wrote: > > On 12/29/2015 11:14 AM, Kevin Darbyshire-Bryant wrote: >> Enable linux perf tools to compile under musl. >> >> Tested on MIPS Archer c7 v2 & ARM Linksys 1200ac. >> >> With thanks to Dave Taht <dave.t...@bu

[OpenWrt-Devel] [PATCH] routing: miniupnpd: update to v2.0

2016-05-29 Thread Kevin Darbyshire-Bryant
Update miniupnpd to v2.0 Refresh patches Signed-off-by: Kevin Darbyshire-Bryant <ke...@darbyshire-bryant.me.uk> --- miniupnpd/Makefile| 4 ++-- miniupnpd/patches/100-no-ssl.patch| 6 +++--- miniupnpd/patches/102-ipv6-ext-port.patch

Re: [OpenWrt-Devel] RFC: dropping oprofile

2016-01-21 Thread Kevin Darbyshire-Bryant
n 20/01/16 17:27, Kevin Darbyshire-Bryant wrote: > The only comment would be that perf doesn't build on ar71xx - see > http://pastebin.com/GcunAH7a > > It used to work fine a day or so ago... > > On 20/01/16 11:50, Felix Fietkau wrote: >> Hi guys, >> >> now that p

Re: [OpenWrt-Devel] RFC: dropping oprofile

2016-01-20 Thread Kevin Darbyshire-Bryant
The only comment would be that perf doesn't build on ar71xx - see http://pastebin.com/GcunAH7a It used to work fine a day or so ago... On 20/01/16 11:50, Felix Fietkau wrote: > Hi guys, > > now that perf works properly, it seems to me that oprofile has become > completely useless. After

Re: [OpenWrt-Devel] [LEDE-DEV] latency on PPPoA ADSL Annex A on using Lantiq

2016-08-05 Thread Kevin Darbyshire-Bryant
I can confirm this. Have seen it myself on a DGN3500, reported at least a month ago. Router terminated traffic is slow, routed traffic to/from internal lan is fine. It's not bufferbloat. On 04/08/16 16:20, Daniel Niasoff wrote: > One more thing I forgot to mention is that router traffic is

Re: [OpenWrt-Devel] [LEDE-DEV] RFC netifd: UCI parameter to sort name servers in resolv.conf.auto

2016-09-05 Thread Kevin Darbyshire-Bryant
On 05/09/16 13:49, Hans Dedecker wrote: On Mon, Sep 5, 2016 at 1:49 PM, Jo-Philipp Wich wrote: Hi Hans, imho it would also make sense to take any existing metric setting into account as well. At least I'd expect that if I have a wan1 with metric 10 and a wan2 with metric 20

Re: [OpenWrt-Devel] [PATCH] download.pl: Add a space between the hash and the comma.

2018-05-20 Thread Kevin Darbyshire-Bryant
> On 19 May 2018, at 18:03, Rosen Penev wrote: > > Makes it easier to copy/paste the hash manually. > > Signed-off-by: Rosen Penev > --- > scripts/download.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/download.pl

[OpenWrt-Devel] [PATCH] wireguard: no longer need portability patch

2018-05-17 Thread Kevin Darbyshire-Bryant
Drop package/network/services/wireguard/patches/100-portability.patch Instead pass 'PLATFORM=linux' to make since we are always building FOR linux. Signed-off-by: Kevin Darbyshire-Bryant <l...@darbyshire-bryant.me.uk> --- package/network/services/wireguard/Makefile

Re: [OpenWrt-Devel] [PATCH v2 2/2] kernel: bump 4.14 to 4.14.41

2018-05-17 Thread Kevin Darbyshire-Bryant
> On 17 May 2018, at 21:48, Lev wrote: > > On Thu, 17 May 2018 18:41:26 +0200 > Koen Vandeputte wrote: > >> -@@ -115,10 +115,14 @@ static inline void ath79_wdt_disable(void) >> +@@ -115,10 +115,14 @@ static inline void

[OpenWrt-Devel] [PATCH v2] wireguard: no longer need portability patch

2018-05-17 Thread Kevin Darbyshire-Bryant
Drop package/network/services/wireguard/patches/100-portability.patch Instead pass 'PLATFORM=linux' to make since we are always building FOR linux. Signed-off-by: Kevin Darbyshire-Bryant <l...@darbyshire-bryant.me.uk> --- V2 - actually I don't need to bump the package version as this d

[OpenWrt-Devel] [PATCH] kernel: bump 4.14 to 4.14.59

2018-07-28 Thread Kevin Darbyshire-Bryant
gned-off-by: Kevin Darbyshire-Bryant --- NOTE - Stijn's bump to 4.14.56 included a big warning WARNING: EXT4 IMAGES ARE BROKEN WITH THIS KERNEL!!! Personally not seen any evidence but this needs MORE TESTING! include/kernel-version.mk | 4 +- ...0001-crypto-crypto4x

[OpenWrt-Devel] [PATCH] kernel: bump 4.14 to 4.14.58

2018-07-27 Thread Kevin Darbyshire-Bryant
bump to 4.14.56 & my two subsequent bumps to 4.14.58 Bump to 4.14.56 Signed-off-by: Stijn Tintel Subsequent bump to 4.14.58 Signed-off-by: Kevin Darbyshire-Bryant --- NOTE - Stijn's bump to 4.14.56 included a big warning WARNING: EXT4 IMAGES ARE BROKEN WITH THIS KERNEL!!! Personally not

[OpenWrt-Devel] [PATCH v1] 6in4: add maxtry option to make more persistent updating HE endpoint

2018-07-27 Thread Kevin Darbyshire-Bryant
Add option 'maxtry' to 6in4 interface definition. Defaults to 3. Defines maximum number of attempts to update Hurricane Electric tunnel endpoint address. Originally unconfigurable and hard coded to 3. Each update attempt has a 5 second timeout. Signed-off-by: Kevin Darbyshire-Bryant

Re: [OpenWrt-Devel] [PATCH] base-files: make wifi report unknown command

2018-08-07 Thread Kevin Darbyshire-Bryant
> On 6 Aug 2018, at 15:49, Karl Palsson wrote: > > Signed PGP part > > John Crispin wrote: >> >> >> On 03/08/18 18:18, Thibaut VARÈNE wrote: >>> Avoid having /sbin/wifi silently ignore unknown keywords and execute >>> "enable"; instead display the help message and exit with an error. >>>

Re: [OpenWrt-Devel] [PATCH 2/2] [RFC] kernel: bump 4.14 to 4.14.54 for 18.06

2018-07-11 Thread Kevin Darbyshire-Bryant
> On 11 Jul 2018, at 05:45, Hannu Nyman wrote: > > Stijn Segers kirjoitti 10.7.2018 klo 23:08: >> Refreshed patches. The bump from .53 to .54 introduced a minor change in >> net/netfilter/nf_tables_api.c [1] but I am unable to >> judge if this is a fluke or not, so I'd like a second pair of

Re: [OpenWrt-Devel] [PATCH 2/2] [RFC] kernel: bump 4.14 to 4.14.54 for 18.06

2018-07-11 Thread Kevin Darbyshire-Bryant
> On 11 Jul 2018, at 10:44, Hannu Nyman wrote: > > Kevin Darbyshire-Bryant wrote: >> Really not convinced I agree with the "patch 335 removes the whole code >> block where that one line changed in upstream”. > > You are right. > The corresponding addi

[OpenWrt-Devel] [PATCH 1/2] hostapd: add basic variant

2018-10-12 Thread Kevin Darbyshire-Bryant
Add a basic variant which provides WPA-PSK only, 802.11r and 802.11w. Signed-off-by: Kevin Darbyshire-Bryant --- include/target.mk | 2 +- package/network/services/hostapd/Config.in| 6 + package/network/services/hostapd/Makefile | 37 ++ .../hostapd

[OpenWrt-Devel] [PATCH 2/2] treewide: use wpad-basic for not small flash targets

2018-10-12 Thread Kevin Darbyshire-Bryant
From: Mathias Kresin Add out of the box support for 802.11r and 802.11w to all targets not suffering from small flash. Signed-off-by: Mathias Kresin Signed-off-by: Kevin Darbyshire-Bryant --- .../linux/adm8668/profiles/100-WRTU54G-TM.mk | 2 +- target/linux/apm821xx/image/Makefile

[OpenWrt-Devel] [RFC PATCH 0/2] wpad basic variant

2018-10-12 Thread Kevin Darbyshire-Bryant
d was/am going to discuss this at the conference to get some help/advice etc, but it's probably best to send this in now so people can formulate a response in advance. Help, guidance appreciated shouting less so but if need be :-) Kevin Kevin Darbyshire-Bryant (1): hostapd: add basic

Re: [OpenWrt-Devel] [RFC PATCH 0/2] wpad basic variant

2018-10-12 Thread Kevin Darbyshire-Bryant
> On 12 Oct 2018, at 16:26, Kevin Darbyshire-Bryant > wrote: > > Peoples! And I should mention, credit, thank that nice Mr Kresin for doing the ‘switch to basic’ patch for relevant targets. Cheers, Kevin ___ openwrt-devel mailing

[OpenWrt-Devel] Merged: patch: apply upstream cve fixes

2018-10-14 Thread Kevin Darbyshire-Bryant
Merged into my staging tree. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] patch: Add missing CVE

2018-10-16 Thread Kevin Darbyshire-Bryant
> On 15 Oct 2018, at 18:17, Rosen Penev wrote: > > uscan reports a new CVE now that PKG_CPE_ID was added. > > Reordered patches by date. > > Signed-off-by: Rosen Penev > --- > tools/patch/Makefile | 2 +- > tools/patch/patches/010-CVE-2018-6951.patch | 29

[OpenWrt-Devel] Merged: tools/xz: Add PKG_CPE_ID for proper CVE tracking

2018-10-16 Thread Kevin Darbyshire-Bryant
Merged into my staging tree. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Merged: tools/libressl: Add PKG_CPE_ID for proper CVE tracking

2018-10-16 Thread Kevin Darbyshire-Bryant
Merged into my staging tree. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH v2] kernel: revert evil EVIL module stripping patches

2018-10-28 Thread Kevin Darbyshire-Bryant
> On 27 Oct 2018, at 23:29, Daniel Santos wrote: > > Don't ever EVER do this! It has taken me several hours to discover the > underlying cause of my modules being mysteriously stripped, despite > having made certain CONFIG_MODULE_STRIP was not enabled. This is a > truely horrendous and

[OpenWrt-Devel] [PATCH] hostapd: add utf8_ssid flag & enable as default

2018-11-14 Thread Kevin Darbyshire-Bryant
SSIDs may contain UTF8 characters but ideally hostapd should be told this is the case so it can advertise the fact. Default enable this option. add uci option utf8_ssid '0'/'1' for disable/enable e.g. config wifi-iface option utf8_ssid '0' Signed-off-by: Kevin Darbyshire-Bryant

[OpenWrt-Devel] Merged: ipq40xx: fix NBG6617 LED mapping

2018-11-04 Thread Kevin Darbyshire-Bryant
Merged into my staging tree. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20181006

2018-10-09 Thread Kevin Darbyshire-Bryant
> On 8 Oct 2018, at 19:12, Lucian Cristian wrote: > > On 08.10.2018 11:56, Andre Heider wrote: >> Hi Jason, >> >> On 06/10/2018 05:09, Jason A. Donenfeld wrote: >>> diff --git a/package/network/services/wireguard/Makefile >>> b/package/network/services/wireguard/Makefile >>> index

[OpenWrt-Devel] [PATCH] kernel: bump 4.14 to 4.14.73

2018-10-02 Thread Kevin Darbyshire-Bryant
Refresh patches. Remove upstreamed patch: generic/pending-4.14/192-Revert-ubifs-xattr-Don-t-operate-on-deleted-inodes.patch Compile-tested on: ath79 Runtime-tested on: ath79 Signed-off-by: Kevin Darbyshire-Bryant --- This could do with a bit of testing/compilation on a few other platforms

[OpenWrt-Devel] [PATCH] kernel: re-enable MIPS VDSO

2018-09-21 Thread Kevin Darbyshire-Bryant
Signed-off-by: Kevin Darbyshire-Bryant --- .../pending-4.14/206-mips-disable-vdso.patch | 23 --- 1 file changed, 23 deletions(-) delete mode 100644 target/linux/generic/pending-4.14/206-mips-disable-vdso.patch diff --git a/target/linux/generic/pending-4.14/206-mips-disable

[OpenWrt-Devel] Merged: kernel: re-enable MIPS VDSO

2018-09-22 Thread Kevin Darbyshire-Bryant
Merged into my staging tree. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Merged: tools: tplink-safeloader: add C7v5 EU SupportList

2018-11-23 Thread Kevin Darbyshire-Bryant
Merged into my staging tree. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Merged: kernel: b53: register switch on probe

2018-11-23 Thread Kevin Darbyshire-Bryant
Merged into my staging tree. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Merged:

2018-09-19 Thread Kevin Darbyshire-Bryant
Merged into my staging tree. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Merged:

2018-09-19 Thread Kevin Darbyshire-Bryant
Merged into my staging tree. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Merged: lldpd: Install /etc/config file as 600

2018-09-19 Thread Kevin Darbyshire-Bryant
Merged into my staging tree. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Merged:

2018-09-19 Thread Kevin Darbyshire-Bryant
Merged into my staging tree. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Merged: fstools: Install mount.hotplug and 10-fstab.defaults as 600

2018-09-19 Thread Kevin Darbyshire-Bryant
Merged into my staging tree. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Merged: usbmode: Update modeswitch data to 20170806

2018-09-19 Thread Kevin Darbyshire-Bryant
Merged into my staging tree. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Merged:

2018-09-19 Thread Kevin Darbyshire-Bryant
Merged into my staging tree. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [firewall3] utils: coverity resource leak warning

2019-06-12 Thread Kevin Darbyshire-Bryant
solve coverity reported resource leak (socket handle) Signed-off-by: Kevin Darbyshire-Bryant --- utils.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/utils.c b/utils.c index 7f09787..fc6bbd7 100644 --- a/utils.c +++ b/utils.c @@ -944,18 +944,24 @@ bool

  1   2   >