[Dnsmasq-discuss] 2.79 Always return a SERVFAIL

2018-04-23 Thread B. Cook
Was running a 2.76 machine (debian) made a new machine with 2.79 (alpine). this dnsmasq machine is providing dhcp and dns for those dhcp entries and other statically configured entries. the staff is talking to this machine via unbound - I can get graphs with unbound. unbound config: local-zo

[Dnsmasq-discuss] Large number of clients connecting simultaneously

2018-04-23 Thread Daniel Miess
Hello, I am currently making use of dnsmasq in an embedded Linux environment which supports Wi-Fi clients. One of the requirements for this device is that it is able to support 120 simultaneous Wi-Fi connections. In the past I was using dnsmasq version 2.76. I would run a test where all 120 cli

Re: [Dnsmasq-discuss] Large number of clients connecting simultaneously

2018-04-23 Thread Simon Kelley
I don't think there's been any changes to this code in the 2.76 - 2.78 timeframe, so I'd be inclined to look elsewhere for this. The ping function is essentially single-threaded, Before sending a DHCPOFFER, dnsmasq sends a ping to the address to be offered and waits a few seconds for a reply. If i

[Dnsmasq-discuss] feature request: ipset options

2018-04-23 Thread Leonardo Rodrigues
    I'm running dnsmasq with ipset support in some VERY low memory machines (those all-in-one boards), and RAM is really my main concern here. I'm actually using some 'ipset' rules on dnsmasq.conf to have some domains IPs on an ipset list and, thus, being able to allow/deny them with iptables

Re: [Dnsmasq-discuss] 2.79 Always return a SERVFAIL

2018-04-23 Thread Simon Kelley
Let's keep this simple: Can you query dnsmasq version 2.78 (works) and 2.79 (doesn't work) using dig, and post the results here. There must be a difference between the two replies which is provoking the problem. Cheers, Simon. On 23/04/18 14:18, B. Cook wrote: > Was running a 2.76 machine

Re: [Dnsmasq-discuss] feature request: ipset options

2018-04-23 Thread Simon Kelley
I'm no ipset expert, but it looks to me like you can get this effect anyway, by creating the ipset as type hash:ip and specifying a netmask. http://ipset.netfilter.org/ipset.man.html hash:ip The hash:ip set type uses a hash to store IP host addresses (default) or network addresses. Zero valued I

Re: [Dnsmasq-discuss] ubus and metrics

2018-04-23 Thread Simon Kelley
That's great. Thank you. Can I make another request? It would be good (and consistent) to have a dnsmasq option for UBus analogous to --enable-dbus, called --enable-ubus so that dnsmasq doesn't try and connect to the Ubus unless that's explicitly requested, even if the code is compiled in. Like th

Re: [Dnsmasq-discuss] feature request: ipset options

2018-04-23 Thread Leonardo Rodrigues
    That's EXACTLY what i was looking for ... i wasn't aware of that option, and really setting netmask to 24 seems to acchieve exactly what i need.     Thanks !!! Em 23/04/18 18:39, Simon Kelley escreveu: I'm no ipset expert, but it looks to me like you can get this effect anyway, by creat

Re: [Dnsmasq-discuss] ubus and metrics

2018-04-23 Thread Julian Kornberger
Thanks for your comments. I have added a `--enable-dbus` flag. It compiles but is not tested yet. Where does the DBUS raise a fatal error if support is missing? I couldn't find anything in the code. General questions: - Is there an

Re: [Dnsmasq-discuss] ubus and metrics

2018-04-23 Thread Simon Kelley
On 23/04/18 23:52, Julian Kornberger wrote: > Thanks for your comments. > > I have added a `--enable-dbus` flag. It compiles but is not tested yet. Thanks. > > Where does the DBUS raise a fatal error if support is missing? I > couldn't find anything in the code. src/dnsmasq.c: if (option_

Re: [Dnsmasq-discuss] feature request: ipset options

2018-04-23 Thread Eliezer Croitoru
Hey Leondaro, Can you share your setup details? It's kind of interest me. Eliezer Eliezer Croitoru Linux System Administrator Mobile: +972-5-28704261 Email: elie...@ngtech.co.il -Original Message- From: Dnsmasq-discuss On Behalf Of Leonardo Rodrigues Sent: Monday, April 23, 201

Re: [Dnsmasq-discuss] 2.79 Always return a SERVFAIL

2018-04-23 Thread Eliezer Croitoru
Hey, I encountered a similar issue with Alpine virtual 32bit VM. I verified that on Debian and Ubuntu when I compile 2.79 (both 64bit) it works fine. Let me know if you find something. Eliezer Eliezer Croitoru Linux System Administrator Mobile: +972-5-28704261 Email: elie...@ngtech.co.il

Re: [Dnsmasq-discuss] ubus and metrics

2018-04-23 Thread Kurt H Maier
On Tue, Apr 24, 2018 at 12:07:09AM +0100, Simon Kelley wrote: > > I edit using emacs, and never see a problem. A massive edit would > generate a huge number of spurious changes in the git repository. I use > "git blame" quite often and don't want to find that it tells me half the > lines were last