Re: [Dnsmasq-discuss] IPv6 Router Advertisements eating a CPU Core + Constantly being Multicasted

2019-09-11 Thread Cooper Lees
Hi, Many thanks for your suggestions. Maybe I was not clear enough. With `dhcp-range=2601:647:4d01:fbf::,ra-names` in the config causes 'top' to show a lot of CPU used (>90%): ``` 19492 dnsmasq 20 0 11076 2536 2228 R 93.4 0.1 815:27.43 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid

Re: [Dnsmasq-discuss] code style

2019-09-11 Thread Shota Hino
> > With tab stops set to 8, a single tab or eight spaces are just alternate > representations of the same thing, surely? Yes. But what I am asking in this thread is to use either tabs or white spaces (not both). If only one is used, the width of tab in IDE does not matter. Hence, I think this

[Dnsmasq-discuss] Too many DISCOVER packets than actual clients

2019-09-11 Thread P, Sreelakshmi
Hi, I have IXIA port connected to an interface on which dnsmasq is running. I'm simulating 8k DHCP clients from IXIA and see that there are more than 12k DISCOVER packets sent from IXIA, but the ones logged in dnsmasq log is exactly 8k. Why is this difference and what dnsmasq is doing with

[Dnsmasq-discuss] FW: Too many DISCOVER packets than actual clients

2019-09-11 Thread P, Sreelakshmi
Hi, I have IXIA port connected to an interface on which dnsmasq is running. I'm simulating 8k DHCP clients from IXIA and see that there are more than 12k DISCOVER packets sent from IXIA, but the ones logged in dnsmasq log is exactly 8k. Why is this difference and what dnsmasq is doing with

Re: [Dnsmasq-discuss] Insecure CNAME pointing to Secure name incorrectly validates as Bogus

2019-09-11 Thread Simon Kelley
On 04/09/2019 18:40, Tore Anderson wrote: > > (By the way, I did send the promised PCAP yesterday. However, because the > message was >40KB, it was queued for moderation by the mailing list > administrator.) > So you did, it's there, as are several others, which raises the question of why

Re: [Dnsmasq-discuss] dns flag day 2020

2019-09-11 Thread Simon Kelley
On 02/09/2019 19:52, Dave Taht wrote: > > Does anyone have an opinion on: > > https://github.com/dns-violations/dnsflagday/issues/125 > > (posteth not here, but on that thread) > Dnsmasq has code which tries to detect lost oversize UDP packets and reduces the maximum sent to 1280. If the

[Dnsmasq-discuss] Failure to resolve boinc.berkeley.edu (kind of)

2019-09-11 Thread Andrew Duty
I am having a problem that I do not understand. I am running dnsmasq 2.80 and cannot resolve boinc.berkeley.edu even though my upstream DNS servers (8.8.8.8 and 8.8.4.4) resolve it fine. Here is what I get in the logs (I have replaced my IP address with my_ip): dnsmasq[5635]: query[A]

Re: [Dnsmasq-discuss] code style

2019-09-11 Thread Simon Kelley
On 11/09/2019 22:12, Shota Hino wrote: > How do you feel about the mix usage of tab and leading white spaces? > The code is mangled because some liens use a tab and some use white spaces. > I do not think the choice of tab vs white spaces is code representation. With tab stops set to 8, a single

Re: [Dnsmasq-discuss] Insecure CNAME pointing to Secure name incorrectly validates as Bogus

2019-09-11 Thread Tore Anderson
* Tore Anderson > I can confirm that Dnsmasq 69a0477 resolves www.linuxquestions.org and > www.ipv6.org.uk as expected (DNSSEC state insecure). Great work, thanks! Apologies, I botched my test (using the wrong upstream server). It does *not* work, but the error is different: $ src/dnsmasq -d

Re: [Dnsmasq-discuss] [BUG] [PATCH] RA are sent too fast and slows down the machine

2019-09-11 Thread Simon Kelley
That's nasty. I'm not sure how to properly solve this. I'm inclined to apply your patch, on the grounds that it at least works better. Simon. On 02/09/2019 18:45, Petr Mensik wrote: > Yes, it seems originating system is auto configuring interface on behalf > own RA. I have modified the

Re: [Dnsmasq-discuss] code style

2019-09-11 Thread Shota Hino
How do you feel about the mix usage of tab and leading white spaces? The code is mangled because some liens use a tab and some use white spaces. I do not think the choice of tab vs white spaces is code representation. On Wed, Sep 11, 2019 at 2:05 PM Simon Kelley wrote: > There seems to be

Re: [Dnsmasq-discuss] code style

2019-09-11 Thread Simon Kelley
There seems to be confusion here between code style, and code representation. Code style, ie layout, indent width, is not negotiable. Code representation is the use of tab characters at 8-character stops. If your IDE or other device doesn't use 8 characher stops, it will mangle code. That