[Dnsmasq-discuss] IP range with 0.0.0.0 netmask?

2013-10-28 Thread Andrea Galvani
Hello everyone. I'm working on a particular network architecture which allows a host to have any address inside of a network (that is, not only private addresses!). The host is not directly reachable, and every connection with the host is managed by the router above the network with an ad-hoc

Re: [Dnsmasq-discuss] Build Errors: Dnsmasq 2.67 on OS X 10.9

2013-10-28 Thread Simon Kelley
On 26/10/13 20:00, Jeremy Lavergne wrote: OS X also matches HAVE_BSD_NETWORK, so the use of SIOCGIFAFLAG_IN6 causes build errors unless wrapped in !defined(__APPLE__). Patch available here: http://trac.macports.org/browser/trunk/dports/net/dnsmasq/files/patch-src-bfp.c.diff Patch applied.

Re: [Dnsmasq-discuss] Build Errors: Dnsmasq 2.67 on OS X 10.9

2013-10-28 Thread Simon Kelley
On 26/10/13 20:00, Jeremy Lavergne wrote: OS X also matches HAVE_BSD_NETWORK, so the use of SIOCGIFAFLAG_IN6 causes build errors unless wrapped in !defined(__APPLE__). Patch available here: http://trac.macports.org/browser/trunk/dports/net/dnsmasq/files/patch-src-bfp.c.diff What's the story

Re: [Dnsmasq-discuss] CNAME problem in 2.67?

2013-10-28 Thread Simon Kelley
On 26/10/13 20:59, Peter Mattern wrote: Hello, there's imho a problem affecting CNAMEs in dnsmasq 2.67. I stumbled across this on ArchLinux i686 running the distro's version and thereupon did some tests on another ArchLinux box without the distro's package, where I installed dnsmasq 2.66 or

Re: [Dnsmasq-discuss] Build Errors: Dnsmasq 2.67 on OS X 10.9

2013-10-28 Thread Jeremy Lavergne
On Oct 28, 2013, at 7:36, Simon Kelley si...@thekelleys.org.uk wrote: http://trac.macports.org/browser/trunk/dports/net/dnsmasq/files/patch-src-network.c.diff Does to make sense to upstream that too? That’s been needed for IPv6 compilation on OS X since 10.7.

Re: [Dnsmasq-discuss] Build Errors: Dnsmasq 2.67 on OS X 10.9

2013-10-28 Thread Simon Kelley
On 28/10/13 13:31, Jeremy Lavergne wrote: On Oct 28, 2013, at 7:36, Simon Kelleysi...@thekelleys.org.uk wrote: http://trac.macports.org/browser/trunk/dports/net/dnsmasq/files/patch-src-network.c.diff Does to make sense to upstream that too? That’s been needed for IPv6 compilation on OS X

Re: [Dnsmasq-discuss] Build Errors: Dnsmasq 2.67 on OS X 10.9

2013-10-28 Thread Jeremy Lavergne
On Oct 28, 2013, at 10:25, Simon Kelley si...@thekelleys.org.uk wrote: OK, functionally equivalent patch (I think - untested here) committed to git. Please could you make sure it's OK? Yes, your patches in dnsmasq @6dbdc972c4509b4c31577fca0402ad7a6b6e2c5d build successfully.

Re: [Dnsmasq-discuss] Give ip for client only if mac and hostname are specific one

2013-10-28 Thread Beat Meier
Simone Thanks a lot! This works nice but I have an other problem. I want to give this special host a specific ip with this BUT other hosts should receive the normal way. If I use: dhcp-match=set:hostname-ok,12,myname dhcp-mac=set:mac-ok,mymac