Re: [Dnsmasq-discuss] Separate logging facilities for dns queries and "standard" logs

2019-12-12 Thread Simon Kelley
On 12/11/2019 20:04, Diane wrote: > Hello, > > I have a need regarding Dnsmasq: > > I want to have "standard" (i.e. logs that are enabled by defualt) logs > in syslog, and I also want to retrieve every DNS query / config / > response, as to be able to build some stats on them. > > I have the

Re: [Dnsmasq-discuss] Segmentation fault when providing invalid --dhcp-match command line option

2019-12-12 Thread Simon Kelley
On 03/12/2019 22:52, Klaus Eisentraut wrote: > Hi, > > I recently did some fuzzing with afl-fuzz in the config file parsing > part of dnsmasq. I know it is not very useful, but it was very easy to > start with. > > Anyway, I found a (non-exploitable) crash in dnsmasq which can be > triggered by

Re: [Dnsmasq-discuss] [PATCH] Remove empty tailing lines

2019-12-12 Thread Geert Stappers
On Sun, Oct 13, 2019 at 11:37:15PM +0200, Geert Stappers wrote: > From: Geert Stappers > > Several .c files have empty lines at their end. > Because there is no need to keep them, are they now removed. Find attached the same patch. The purpose of this patch retransmit is getting it reviewed.

Re: [Dnsmasq-discuss] "--all-servers" always on?

2019-12-12 Thread John Siu
I see. I did a rapid chain of dig in one line and see the behavior you described. Thank you for the explanation!! On Thu, Dec 12, 2019 at 1:16 PM Simon Kelley wrote: > > By default, dnsmasq send a query to all the upstream servers over 50 > queries or every 20 seconds. If you're testing and

Re: [Dnsmasq-discuss] "--all-servers" always on?

2019-12-12 Thread Simon Kelley
By default, dnsmasq send a query to all the upstream servers over 50 queries or every 20 seconds. If you're testing and doing queries slowly, the 20 second rule can make it look like _every_ query gets broadcast. If this is a problem, you can edit src/config.h and recompile. #define

Re: [Dnsmasq-discuss] How to update ipv6 for own interface? (Updated info)

2019-12-12 Thread Simon Kelley
On 10/12/2019 03:31, John Siu wrote: > Ok, let me elaborate more. > > I have following setup: > > Linux router server: > - OS: Ubuntu 18.04 > - wide-dhcp-client on external(internet facing) nic > - dnsmasq on lan interface(hostname: router) as dns, ipv4 + ipv6 dhcp > - lan interface IPv6

Re: [Dnsmasq-discuss] error: not giving name to the DHCP lease because the name exists in /etc/hosts

2019-12-12 Thread Simon Kelley
There's probably an existing lease for 192.168.0.121. Depending on exactly how the client behaves, these can be difficult to get rid of. Clearing the leases file is also more difficult than it might seem. TL;DR If it's working now, that's fine. Ignore it. Simon. On 10/12/2019 03:30,

Re: [Dnsmasq-discuss] Out-of-bound heap write when parsing invalid --dhcp-mac option

2019-12-12 Thread Simon Kelley
On 10/12/2019 00:01, Klaus Eisentraut wrote: > Hi, > > I found another crash in parsing code of a configuration file or command > line options. To reproduce it, simply run > > dnsmasq --dhcp-mac=,A...A > > with "a lot of" A (>=89 with dnsmasq 2.80 on Linux 5.4.2-arch1-1). If > you run

Re: [Dnsmasq-discuss] Overriding DNS server for the guest WiFi interface

2019-12-12 Thread Geert Stappers
On 12-12-2019 04:52, Old account wrote: > Hi, > > I have an RT-N56U (I'm using a Padavan firmware for some context) > router with an isolated guest wifi setup for my IOT devices. This > guest network is both AP clients and LAN isolated, which I confirmed > to be true. I have the DNS set to pihole