[Dnsmasq-discuss] dnsmasq-2.68rc3 Coverity difference scan against 2.67

2013-11-26 Thread Tomas Hozza
Hi. I scanned dnsmasq-2.68rc3 against 2.67 for added errors with Coverity. The log is attached. There is missing one check of whine_malloc return value in cache.c. I checked that the value is commonly checked in other parts of the source. Otherwise looks good :) Regards, Tomas Hozza dnsmasq_2.6

[Dnsmasq-discuss] Controlling TTLs and Response size

2013-11-26 Thread Nishant Rajvanshi
We are using dnsmasq as a proxy/caching server for our network. We need a couple of customizations in dnsmasq for our network: 1) To be able to control the TTLs for certain IPs which are returned using aliases. so for e.g if I had an alias=1.2.3.4,5.6.7.8 I want to modify the TTL when received

Re: [Dnsmasq-discuss] dnsmasq-2.68rc3 Coverity difference scan against 2.67

2013-11-26 Thread Simon Kelley
On 26/11/13 09:11, Tomas Hozza wrote: Hi. I scanned dnsmasq-2.68rc3 against 2.67 for added errors with Coverity. The log is attached. There is missing one check of whine_malloc return value in cache.c. I checked that the value is commonly checked in other parts of the source. Fix pushed. Than

Re: [Dnsmasq-discuss] dnsmasq-2.68rc3 Coverity difference scan against 2.67

2013-11-26 Thread Vladislav Grishenko
Hi Simon, Could you please also check out compiler warning fixes from here? Thanks http://wl500g.googlecode.com/svn/trunk/dnsmasq/ Best Regards, Vladislav Grishenko > -Original Message- > From: dnsmasq-discuss-boun...@lists.thekelleys.org.uk [mailto:dnsmasq- > discuss-boun...@lists.thekel

[Dnsmasq-discuss] dnsmasq doesn't provide IP address to udhcpc?

2013-11-26 Thread Tom Isaacson
We have an embedded Linux device using udhcpc to get a DHCP IP address and a Wifi access point that provides it. Originally the WAP used udhcpc as well and this worked fine, but in order to add DNS support we replaced udhcpc with dnsmasq. This works fine when I connect a laptop running Windows 7

Re: [Dnsmasq-discuss] dnsmasq doesn't provide IP address to udhcpc?

2013-11-26 Thread Simon Kelley
On 26/11/13 10:45, Tom Isaacson wrote: We have an embedded Linux device using udhcpc to get a DHCP IP address and a Wifi access point that provides it. Originally the WAP used udhcpc as well and this worked fine, but in order to add DNS support we replaced udhcpc with dnsmasq. This works fine

Re: [Dnsmasq-discuss] dnsmasq doesn't provide IP address to udhcpc?

2013-11-26 Thread Tom Isaacson
> "what I've done to fix it" is easy. The first thing you tried translates as > "force broadcast mode when doing BOOTP". Since you're not doing BOOTP, > it makes no difference. The second attempt says "force broadcast mode when > NOT doing BOOTP" and unsurprisingly works better. > Best, would pro

Re: [Dnsmasq-discuss] dnsmasq doesn't provide IP address to udhcpc?

2013-11-26 Thread Simon Kelley
On 26/11/13 21:29, Tom Isaacson wrote: "what I've done to fix it" is easy. The first thing you tried translates as "force broadcast mode when doing BOOTP". Since you're not doing BOOTP, it makes no difference. The second attempt says "force broadcast mode when NOT doing BOOTP" and unsurprisingly

Re: [Dnsmasq-discuss] dnsmasq doesn't provide IP address to udhcpc?

2013-11-26 Thread Tom Isaacson
> You must have a very old version of dnsmasq. A quick check back through the > changelog says that unconditional dhcp-broadcast went into 2.53, which is 3 > years old. The output in my first email shows: dnsmasq: started, version 2.52 cachesize 150 dnsmasq: compile time options: no-IPv6

Re: [Dnsmasq-discuss] Diagnosing total lack of DNS after reboot of dnsmasq machine

2013-11-26 Thread Weedy
On 25 Nov 2013 10:09, "Chris Green" wrote: > > I run dnsmasq on a Acer Revo running xubuntu 12.10, it's a fairly > standard configuration, the only significant customisations are:- > > address=/www.google-analytics.com/127.0.0.1 > address=/ssl.google-analytics.com/127.0.0.1 > address=/