[LEDE-DEV] [PATCH] dnsmasq: backport arcount edns0 fix

2017-09-08 Thread Kevin Darbyshire-Bryant
Don't return arcount=1 if EDNS0 RR won't fit in the packet. Omitting the EDNS0 RR but setting arcount gives a malformed packet. Also, don't accept UDP packet size less than 512 in received EDNS0. Signed-off-by: Kevin Darbyshire-Bryant --- Please cherrypick for 17.01 .../patches/030-fix-arcount

[LEDE-DEV] Luci's HTTP API

2017-09-08 Thread Levente
Dear LEDE developers, Maybe this is off topic, but I'm trying to use LUCI's HTTP protocol parser library for to upload a file to the system. I find very little documentation on this. I have the following code that obviously does nothing. Could you help me add the missing parts? http = require

[LEDE-DEV] [PATCH] dnsmasq: backport arcount edns0 fix

2017-09-08 Thread Kevin Darbyshire-Bryant
Don't return arcount=1 if EDNS0 RR won't fit in the packet. Omitting the EDNS0 RR but setting arcount gives a malformed packet. Also, don't accept UDP packet size less than 512 in received EDNS0. Signed-off-by: Kevin Darbyshire-Bryant --- V2 - bump the makefile version this time Please cherrypi

Re: [LEDE-DEV] [OpenWrt-Devel] MV88E6060 switch

2017-09-08 Thread Nerijus Baliunas via Lede-dev
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 mailing list software.--- Begin Message --- On Fri, 28 Jul 2017 01:03:16 +0300

Re: [LEDE-DEV] Luci's HTTP API

2017-09-08 Thread Karl Palsson
Here's a snippet I've used to accept HTTP POST of a file to in luci... http = require("luci.http") local method = http.getenv("REQUEST_METHOD") local pathinfo = http.getenv("PATH_INFO") -- from luci --- if method == post and path info == allowed for your requirements. http.se

Re: [LEDE-DEV] Luci's HTTP API

2017-09-08 Thread Levente
Thanks. That might work inside LUCI. I'm sorry, I wasn't clear enough. I want to use the library to actually create my own web application. I don't want to integrate it into LUCI. But thanks anyways. :-) Levente On Fri, Sep 8, 2017 at 12:15 PM, Karl Palsson wrote: > > Here's a snippet I've u

[LEDE-DEV] [PATCH] cns3xxx: fix GPIO controller interrupt enable

2017-09-08 Thread Tim Harvey
The cns3xxx interrupt controller uses a single register and as such the 'mask' reg/functions must be used as opposed to the 'enable'/'disable' reg/functions. This fixes an issue that occurs if more than one GPIO on a specific controller (there is GPIOA and GPIOB each having 32 GPIO's) uses interru

Re: [LEDE-DEV] [OpenWrt-Devel] MV88E6060 switch

2017-09-08 Thread Sergey Ryazanov
On Fri, Jul 28, 2017 at 1:03 AM, Nerijus Baliunas wrote: > On Thu, 27 Jul 2017 23:43:19 +0300 Sergey Ryazanov > wrote: > >> >> Did you see the "Marvell 88E6060 PHY driver attached" in kernel >> >> messages log? If not then the mwswitch driver did not attached and >> >> you should fi

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

2017-09-08 Thread JORDI PALET MARTINEZ
Hi all, I just saw in github that 464xlat.sh has been modified on June 2. I’m not sure if that means that 464XLAT is already working if I use a snapshot, for example: http://downloads.lede-project.org/snapshots/targets/ramips/mt7621/lede-ramips-mt7621-sk-wb8-squashfs-sysupgrade.bin I’m doing a