Re: [LEDE-DEV] dnsmasq dnssec problem

2018-01-01 Thread Kevin Darbyshire-Bryant
> On 1 Jan 2018, at 15:31, e9hack wrote: > > Hi, > > dnsmasq with dnssec enabled doesn't work properly. If dnssec is enabled, the > parameter dnssec-no-timecheck is add too, > depend on some conditions related to sysntpd. If this parameter is added and > dnsmasq receives a SIGHUP before ntpd

[LEDE-DEV] dnsmasq dnssec problem

2018-01-01 Thread e9hack
Hi, dnsmasq with dnssec enabled doesn't work properly. If dnssec is enabled, the parameter dnssec-no-timecheck is add too, depend on some conditions related to sysntpd. If this parameter is added and dnsmasq receives a SIGHUP before ntpd was able to set the time, name resolution isn't possible,

Re: [LEDE-DEV] dnsmasq possible bug on creating config

2017-06-20 Thread Lucian Cristian
On 20.06.2017 22:16, Uwe Arnold wrote: Hi guys, I'm using openwrt / lede devices for at least 5 years but never actively submitted any line of code or something. But i think the time has come ;) I hope this is the right channel for this: I added below lines to /etc/dnsmasq.conf: # inspect the v

[LEDE-DEV] dnsmasq possible bug on creating config

2017-06-20 Thread Uwe Arnold
Hi guys, I'm using openwrt / lede devices for at least 5 years but never actively submitted any line of code or something. But i think the time has come ;) I hope this is the right channel for this: I added below lines to /etc/dnsmasq.conf: # inspect the vendor class string and match the text to

Re: [LEDE-DEV] dnsmasq: please revert/disable "dhcp-script" feature by default

2017-06-01 Thread e9hack
Am 01.06.2017 um 17:07 schrieb Dirk Brenken: > For testing, I've asked these users to comment the following line in > /etc/init.d/dnsmasq and to restart dnsmasq and adblock afterwards. > > # xappend "--dhcp-script=$DHCPSCRIPT" > > After that change everything is working fine again, as long

Re: [LEDE-DEV] dnsmasq: please revert/disable "dhcp-script" feature by default

2017-06-01 Thread Dirk Brenken
Hi Jo, many thanks for the links - very interesting. Meanwhile I've received three bug reports from adblock users, that they get oom errors after the "dhcp-script" commit (https://git.lede-project.org/?p=source.git;a=commit;h=b32689afd6a66133 9861086c669e15c936293cf8), e.g. Tue May 30 10:20:09 20

Re: [LEDE-DEV] dnsmasq: please revert/disable "dhcp-script" feature by default

2017-05-28 Thread Jo-Philipp Wich
Hi Dirk, the info reported by "top" (or "ps") is not useful to judge effective process memory usage, it does not account for c-o-w and simply displays the entire virtual allocated memory by a process. When I was asking for specific evidence I was thinking along the lines of OOM conditions that di

Re: [LEDE-DEV] dnsmasq: please revert/disable "dhcp-script" feature by default

2017-05-28 Thread Dirk Brenken
Hi, memory consumption with one dnsmasq process (dhcp-script disabled): root@blackhole:~# top -b Mem: 544992K used, 3472412K free, 40140K shrd, 10096K buff, 405728K cached CPU:   0% usr   0% sys   0% nic  95% idle   0% io   0% irq   5% sirq Load average: 0.00 0.00 0.00 2/100 15723   PID  PPID USE

Re: [LEDE-DEV] dnsmasq: please revert/disable "dhcp-script" feature by default

2017-05-28 Thread Jo-Philipp Wich
Hi, usually Linux processes use copy-on-write memory semantics for forked processes, are you sure that it indeed uses double the memory or did you just assume after you've seen two process entries? ~ Jo ___ Lede-dev mailing list Lede-dev@lists.infrad

[LEDE-DEV] dnsmasq: please revert/disable "dhcp-script" feature by default

2017-05-28 Thread Dirk Brenken
Hi, this new "feature" doubles the RAM resource needs (additional dnsmasq process) ... if you are using dns based adblock this can take additional 2-25 MByte. Please disable this feature by default. Thanks! Dirk ___ Lede-dev mailing list Lede-dev@list

Re: [LEDE-DEV] dnsmasq & gcc 7.1.0

2017-05-28 Thread Jo-Philipp Wich
Hi, this is normal and caused by using --dhcp-script by default. Dnsmasq will need to retain one root user process to be able to spawn dhcp handler scripts later. ~ Jo signature.asc Description: OpenPGP digital signature ___ Lede-dev mailing list Led

Re: [LEDE-DEV] dnsmasq & gcc 7.1.0

2017-05-28 Thread e9hack
Am 28.05.2017 um 10:32 schrieb Kevin Darbyshire-Bryant: > I just rebuilt & flashed my Archer C7 using gcc 6 and curiously I see > two dnsmasq processes there as well, so I > suspect there are two problems here not just 'gcc 7 breaks stuff'. You are right. It was introduced with this commit:

Re: [LEDE-DEV] dnsmasq & gcc 7.1.0

2017-05-28 Thread Kevin Darbyshire-Bryant
On 28/05/17 08:02, e9hack wrote: Hi, if I select gcc 7.1.0 instead of gcc 6.3.0, anything seems to be work with exception of dropbear and dnsmasq. It does run two processes of dnsmasq. One runs as user root and the other as user dnsmasq. DHCP and name resolution does work. It occurs on all

[LEDE-DEV] dnsmasq & gcc 7.1.0

2017-05-28 Thread e9hack
Hi, if I select gcc 7.1.0 instead of gcc 6.3.0, anything seems to be work with exception of dropbear and dnsmasq. It does run two processes of dnsmasq. One runs as user root and the other as user dnsmasq. DHCP and name resolution does work. It occurs on all of my three routers: Archer C7, wdr36

Re: [LEDE-DEV] dnsmasq-full should deselect dnsmasq

2017-05-03 Thread Paul Oranje
Could a case as this one where multiple packages of one software component having different build configs exist not be treated as a specific case of alternatives (for which Yousong Zhou submitted a patch) ? So install the versions in parallel and select one alternative i.s.o. deselecting the ina

Re: [LEDE-DEV] dnsmasq-full should deselect dnsmasq

2017-05-02 Thread Eric Luehrsen
On 05/02/2017 02:22 PM, Andrew McConachie wrote: > > > On 5/2/17 10:13, Jo-Philipp Wich wrote: >> Hi Andrew, >> >>> When selecting package dnsmasq-full from make menuconfig I believe it >>> should deselect package dnsmasq. >> this is not easily solvable within the current Kconfig framework and >>

Re: [LEDE-DEV] dnsmasq-full should deselect dnsmasq

2017-05-02 Thread Andrew McConachie
On 5/2/17 10:13, Jo-Philipp Wich wrote: Hi Andrew, When selecting package dnsmasq-full from make menuconfig I believe it should deselect package dnsmasq. this is not easily solvable within the current Kconfig framework and most likely a "won't fix" item in the foreseeable future. ~ Jo Hi

Re: [LEDE-DEV] dnsmasq-full should deselect dnsmasq

2017-05-02 Thread Jo-Philipp Wich
Hi Andrew, > When selecting package dnsmasq-full from make menuconfig I believe it > should deselect package dnsmasq. this is not easily solvable within the current Kconfig framework and most likely a "won't fix" item in the foreseeable future. ~ Jo _

Re: [LEDE-DEV] dnsmasq-full should deselect dnsmasq

2017-04-29 Thread Andrew McConachie
Resending this because I didn't see any response. says the maintainer for dnsmasq is LEDE Team, so I'm assuming I mail this list with bugs. If that assumption is incorrect please correct me. Thanks, Andrew On 4/

[LEDE-DEV] dnsmasq-full should deselect dnsmasq

2017-04-23 Thread Andrew McConachie
Hi LEDE Devs, If this is not the right place to report this please let me know. When selecting package dnsmasq-full from make menuconfig I believe it should deselect package dnsmasq. Otherwise this happens when selecting dnsmasq-full from an otherwise default config. Configuring ppp-mod-p

Re: [LEDE-DEV] dnsmasq sometimes fails to start on 17.01.0

2017-03-29 Thread Eric Luehrsen
On 03/29/2017 11:57 AM, Yousong Zhou wrote: > On 24 March 2017 at 03:17, Gui Iribarren via Lede-dev >> I continued yeterday further debugging this, i played with this >> particular number in /e/i/dnsmasq >> (line 815 in http://pastebin.com/FV09f2jG) >> >> procd_add_raw_trigger "interface.*" 200

Re: [LEDE-DEV] dnsmasq sometimes fails to start on 17.01.0

2017-03-29 Thread Yousong Zhou
> automatically by the mailing list software. > > > -- Forwarded message -- > From: Gui Iribarren > To: Yousong Zhou > Cc: lede-dev@lists.infradead.org > Bcc: > Date: Thu, 23 Mar 2017 16:10:06 -0300 > Subject: Re: [LEDE-DEV] dnsmasq sometimes fails to s

Re: [LEDE-DEV] dnsmasq sometimes fails to start on 17.01.0

2017-03-29 Thread Gui Iribarren 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 23/03/17 16:10, Gui Iribarren w

Re: [LEDE-DEV] dnsmasq sometimes fails to start on 17.01.0

2017-03-23 Thread Gui Iribarren 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 --- Thanks both for the replies! I co

Re: [LEDE-DEV] dnsmasq sometimes fails to start on 17.01.0

2017-03-23 Thread Gui Iribarren 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 23/03/17 00:35, Eric Luehrsen w

Re: [LEDE-DEV] dnsmasq sometimes fails to start on 17.01.0

2017-03-22 Thread Yousong Zhou
>From the log, there are at least 4 runs of /etc/init.d/dnsmasq This is "/e/c/dnsmasq boot" and returns immediately because the script skips this phase and the dnsmasq service is expected to be brought up by interface trigger events root@coco:~# logread | grep dns Wed Mar 22 18:25

[LEDE-DEV] dnsmasq sometimes fails to start on 17.01.0

2017-03-22 Thread Gui Iribarren 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 --- Hello devs, i'm trying to understa

Re: [LEDE-DEV] dnsmasq make DHCPv6 viable for standalone dnsmasq install

2017-02-03 Thread Daniel Petre
On 02/04/2017 05:42 AM, Eric Luehrsen wrote: UCI for stateful+stateless mode. This makes hosts easy targets for ping and other testing (dns-dhcp). This allows Android devices to connect because they won't do DHCPv6 (argh! Google!) config dhcp 'lan' option dhcpv4 'server' option d

Re: [LEDE-DEV] dnsmasq make DHCPv6 viable for standalone dnsmasq install

2017-02-03 Thread Eric Luehrsen
UCI for stateful+stateless mode. This makes hosts easy targets for ping and other testing (dns-dhcp). This allows Android devices to connect because they won't do DHCPv6 (argh! Google!) config dhcp 'lan' option dhcpv4 'server' option dhcpv6 'server' option interface 'lan'

Re: [LEDE-DEV] dnsmasq make DHCPv6 viable for standalone dnsmasq install

2017-02-03 Thread Eric Luehrsen
I just rebuilt LEDE trunk on TL-WDR3600 with dnsmasq-full and odhcpd excluded. I also rebuilt LEDE trunk on TL-Archer-C7 which runs odhcpd+Unbound instead. The Archer is the internet gateway. The WDR is subnet from the Archer. The laptop sending this email is a client of the WDR. We have DHCP-P

[LEDE-DEV] dnsmasq make DHCPv6 viable for standalone dnsmasq install

2017-02-03 Thread Eric Luehrsen
I will look at it this weekend. It seems that maybe some intermediate rebase-to-trunk event chewed up a line of code. The commit was lingering for quite a while. There is a report for another issue also. Its probably an esay fix, just need to stare at it for a while. - Eric Original

Re: [LEDE-DEV] dnsmasq: failed to load names from /etc/hosts: Permission denied

2016-09-30 Thread Arjen de Korte
Citeren Arjen de Korte : Same for /etc/ethers: Permission denied. This used to work fine (last version checked 1648), but now with 1725 I see the above problem. Possibly related, LuCI won't load anymore: Forbidden You don't have permission to access /cgi-bin/luci on this server. A

[LEDE-DEV] dnsmasq: failed to load names from /etc/hosts: Permission denied

2016-09-30 Thread Arjen de Korte
Same for /etc/ethers: Permission denied. This used to work fine (last version checked 1648), but now with 1725 I see the above problem. Possibly related, LuCI won't load anymore: Forbidden You don't have permission to access /cgi-bin/luci on this server. Any clues where to look? Rega

Re: [LEDE-DEV] dnsmasq

2016-07-30 Thread e9hack
Am 29.07.2016 um 21:03 schrieb Felix Fietkau: > On 2016-07-29 20:46, e9hack wrote: >> new: >> interface=br-lan >> interface=eth1.3 >> interface=br-guest1 >> interface=br-guest2 >> interface=br-tor >> except-interface= >> except-interface= >> except-interface= >> except-interface= >> except-interfac

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread e9hack
Am 29.07.2016 um 21:03 schrieb Felix Fietkau: >> I'm not sure, if br-guest1 or guest1 is correct. The bridge interface >> br-guest1 contains a >> wifi network only, which is setup by 'option network guest1' wireless >> configuration. >> ifconfig shows br-guest1. The same is valid for br-guest2 an

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread Felix Fietkau
On 2016-07-29 20:46, e9hack wrote: > Am 29.07.2016 um 19:52 schrieb Felix Fietkau: >> On 2016-07-29 18:48, e9hack wrote: >>> dhcp.dnsmasq is include via /etc/dnsmasq.conf. Configuration isn't simple. >> Pushed two more fixes. Please test again. > > Name resolution on br-lan works, but some entries

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread e9hack
Am 29.07.2016 um 19:52 schrieb Felix Fietkau: > On 2016-07-29 18:48, e9hack wrote: >> dhcp.dnsmasq is include via /etc/dnsmasq.conf. Configuration isn't simple. > Pushed two more fixes. Please test again. Name resolution on br-lan works, but some entries in /var/etc/dnsmasq.conf are different: n

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread e9hack
Hi, the issue isn't triggered by the dnsmasq update. I did overwrite /etc/init.d/dnsmasq and restore /etc/hotplug.d/interface/25-dnsmasq from my build from yesterday. The same issue occurs. The interface entries for bridge interfasce are generate wrongly. Regards, Hartmut Am 29.07.2016 um 18:0

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread Felix Fietkau
On 2016-07-29 18:48, e9hack wrote: > dhcp.dnsmasq is include via /etc/dnsmasq.conf. Configuration isn't simple. Pushed two more fixes. Please test again. - Felix ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/l

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread e9hack
-- /etc/config/network -- config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config globals 'globals' option ula_prefix 'fde9:bdbb:ce7c::/48' config interface 'lan' option type

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread Felix Fietkau
On 2016-07-29 17:43, e9hack wrote: > Hi, > > something in this updates is wrong: > dnsmasq: replace the iface hotplug script with a procd trigger > dnsmasq: make the check for existing DHCP servers more reliable > dnsmasq: write atomic config file > > In /var/etc/dnsmasq.conf the entry > > inter

[LEDE-DEV] dnsmasq

2016-07-29 Thread e9hack
Hi, something in this updates is wrong: dnsmasq: replace the iface hotplug script with a procd trigger dnsmasq: make the check for existing DHCP servers more reliable dnsmasq: write atomic config file In /var/etc/dnsmasq.conf the entry interface=br-lan is set as interface=eth1.1 tap0 tun2 an