]> git.ipfire.org Git - people/ms/dnsmasq.git/log
people/ms/dnsmasq.git
10 years agoFix bug which caused dnsmasq to become unresponsive when an interface goes.
Simon Kelley [Thu, 18 Sep 2014 21:08:58 +0000 (22:08 +0100)] 
Fix bug which caused dnsmasq to become unresponsive when an interface goes.

10 years agoFix bug when resulted in NXDOMAIN answers instead of NODATA.
Simon Kelley [Thu, 18 Sep 2014 20:48:51 +0000 (21:48 +0100)] 
Fix bug when resulted in NXDOMAIN answers instead of NODATA.

check_for_local_domain() was broken due to new code matching F_*
bits in cache entries for DNSSEC. Because F_DNSKEY | F_DS is
used to match RRSIG entries, cache_find_by_name() insists on an exact match
of those bits. So adding F_DS to the bits that check_for_local_domain()
sends to cache_find_by_name() won't result in DS records as well
as the others, it results in only DS records. Add a new bit, F_NSIGMATCH
which suitably changes the behaviour of cache_find_by_name().

10 years agoFix length->netmask conversions to avoid undefined behaviour.
Richard Genoud [Wed, 17 Sep 2014 20:17:39 +0000 (21:17 +0100)] 
Fix length->netmask conversions to avoid undefined behaviour.

10 years agoFix endian bug in --local-service code.
Richard Genoud [Wed, 17 Sep 2014 20:12:00 +0000 (21:12 +0100)] 
Fix endian bug in --local-service code.

10 years agoDebian bug closure.
Simon Kelley [Tue, 16 Sep 2014 10:22:33 +0000 (11:22 +0100)] 
Debian bug closure.

10 years agoSupply "Success" status code in reply to DHCPDECLINE.
Ilya Ponetaev [Sat, 13 Sep 2014 20:19:01 +0000 (21:19 +0100)] 
Supply "Success" status code in reply to DHCPDECLINE.

10 years agoDon't reply to DHCPCONFIRM messages with no addresses in them.
Ilya Ponetaev [Sat, 13 Sep 2014 20:11:16 +0000 (21:11 +0100)] 
Don't reply to DHCPCONFIRM messages with no addresses in them.

10 years agoSet DHCPv6 message type when returning "use multicast".
Ilya Ponetaev [Sat, 13 Sep 2014 19:56:14 +0000 (20:56 +0100)] 
Set DHCPv6 message type when returning "use multicast".

10 years agoDHCPv6 REBIND messages don't need a server-id.
Ilya Ponetaev [Sat, 13 Sep 2014 19:52:27 +0000 (20:52 +0100)] 
DHCPv6 REBIND messages don't need a server-id.

10 years agoRevert route-information option in RA. There are problems with some clients.
Simon Kelley [Sat, 13 Sep 2014 19:41:04 +0000 (20:41 +0100)] 
Revert route-information option in RA. There are problems with some clients.
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2014q3/008796.html

10 years agoUpdate *.po files for new release.
Simon Kelley [Sat, 13 Sep 2014 19:28:30 +0000 (20:28 +0100)] 
Update *.po files for new release.

10 years agoExtend --conf-dir to allow filtering on file suffixes.
Simon Kelley [Tue, 9 Sep 2014 20:46:07 +0000 (21:46 +0100)] 
Extend --conf-dir to allow filtering on file suffixes.

10 years agoBump Debian standards version.
Simon Kelley [Tue, 9 Sep 2014 15:01:49 +0000 (16:01 +0100)] 
Bump Debian standards version.

10 years agoRemove paypal links and icond refs from Debian package.
Simon Kelley [Tue, 9 Sep 2014 13:28:01 +0000 (14:28 +0100)] 
Remove paypal links and icond refs from Debian package.

10 years agoFix debian changelog date snafu.
Simon Kelley [Tue, 9 Sep 2014 13:06:13 +0000 (14:06 +0100)] 
Fix debian changelog date snafu.

10 years agoRFC4191 route information option.
Ilya Ponetaev [Tue, 9 Sep 2014 11:46:21 +0000 (12:46 +0100)] 
RFC4191 route information option.

10 years agoDebian package: use dns-root-data.
Simon Kelley [Sun, 7 Sep 2014 18:34:39 +0000 (19:34 +0100)] 
Debian package: use dns-root-data.

11 years agoMention name in systemd.
Simon Danner [Mon, 18 Aug 2014 21:19:50 +0000 (22:19 +0100)] 
Mention name in systemd.

11 years agoMerge branch 'loop'
Simon Kelley [Tue, 12 Aug 2014 17:41:24 +0000 (18:41 +0100)] 
Merge branch 'loop'

11 years agoGetLoopServers Dbus method.
Simon Kelley [Tue, 12 Aug 2014 17:30:44 +0000 (18:30 +0100)] 
GetLoopServers Dbus method.

11 years agoMissed update of DHCP lease datastructure.
Simon Kelley [Wed, 6 Aug 2014 09:16:32 +0000 (10:16 +0100)] 
Missed update of DHCP lease datastructure.

11 years agoCheck all servers loopiness, when any subset is changed.
Simon Kelley [Tue, 29 Jul 2014 15:52:00 +0000 (16:52 +0100)] 
Check all servers loopiness, when any subset is changed.

11 years agoAdd --dns-loop-detect feature.
Simon Kelley [Tue, 29 Jul 2014 15:34:14 +0000 (16:34 +0100)] 
Add --dns-loop-detect feature.

11 years agoTidy up previous commit.
Simon Kelley [Sun, 13 Jul 2014 21:12:45 +0000 (22:12 +0100)] 
Tidy up previous commit.

11 years agoFix logic for associating leases with interfaces.
Simon Kelley [Sat, 12 Jul 2014 15:39:00 +0000 (16:39 +0100)] 
Fix logic for associating leases with interfaces.

This handles the case that more than one interface contains
the network the lease address is on, but the interfaces have different
prefix lengths. Use the longest prefix length.

11 years agoDon't do IPSET on Apple. Needed header files are missing.
Chen Yufei [Tue, 8 Jul 2014 21:40:03 +0000 (22:40 +0100)] 
Don't do IPSET on Apple. Needed header files are missing.

11 years agoUse event system to re-send query on new route. Tidies module boundaries.
Simon Kelley [Tue, 8 Jul 2014 21:22:02 +0000 (22:22 +0100)] 
Use event system to re-send query on new route. Tidies module boundaries.

11 years agoSet interface with longest prefix in DHCP & DHCPv6 lease
Lung-Pin Chang [Wed, 2 Jul 2014 02:48:05 +0000 (10:48 +0800)] 
Set interface with longest prefix in DHCP & DHCPv6 lease

- With nested prefixes reside on different interfaces of single host

  (e.g., in 6to4, 2002::/16 on WAN and 2002:<IPv4>:<subnet>::/64 on LAN),

  current matching mechanism might return the interface with shorter prefix

  length instead of the longer one, if it appears later in the netlink message.

Signed-off-by: Lung-Pin Chang <changlp@cs.nctu.edu.tw>
11 years agoFix FTBFS with Nettle-3.0.
Simon Kelley [Wed, 18 Jun 2014 19:52:53 +0000 (20:52 +0100)] 
Fix FTBFS with Nettle-3.0.

11 years agoBuild config: add -DNO_GMP for use with nettle/mini-gmp
Simon Kelley [Tue, 17 Jun 2014 18:49:31 +0000 (19:49 +0100)] 
Build config: add -DNO_GMP for use with nettle/mini-gmp

11 years agoAllow wildcard aliases in --bridge-interface option
Neil Jerram [Wed, 11 Jun 2014 20:22:40 +0000 (21:22 +0100)] 
Allow wildcard aliases in --bridge-interface option

This is useful when using dnsmasq as DHCP server for a set of VMs
whose data is routed by the host instead of being bridged.  In this
scenario:

- There is an unbounded set of TAP interfaces that have no IP address
  at the host end.

- DHCP allocation is done from an IPv4 address range associated with a
  dummy interface.

- We run dnsmasq with --interface dummy --interface tap*
  --bind-dynamic, so that it listens on all the TAP interfaces, and
  --bridge-interface=dummy,tap*, so that it will allocate IP addresses
  via the TAP interfaces from the range associated with the dummy
  interface.

11 years agoMakefile typo.
Simon Kelley [Wed, 11 Jun 2014 19:51:27 +0000 (20:51 +0100)] 
Makefile typo.

11 years agoFix bug when >1 IPv6 address supplied to Dbus SetServers method.
Simon Kelley [Sun, 8 Jun 2014 20:51:29 +0000 (21:51 +0100)] 
Fix bug when >1 IPv6 address supplied to Dbus SetServers method.

11 years agoAttribution update.
Simon Kelley [Sat, 7 Jun 2014 20:23:34 +0000 (21:23 +0100)] 
Attribution update.

11 years agoNew DBus methods.
Daniel Collins [Sat, 7 Jun 2014 20:21:44 +0000 (21:21 +0100)] 
New DBus methods.

11 years agoCopyright update.
Simon Kelley [Sat, 7 Jun 2014 19:05:08 +0000 (20:05 +0100)] 
Copyright update.

11 years agoHandle async notification of address changes using the event system.
Simon Kelley [Sat, 7 Jun 2014 12:38:48 +0000 (13:38 +0100)] 
Handle async notification of address changes using the event system.

11 years agoSuppress re-entrant calls to dhcp_construct_contexts()
Simon Kelley [Thu, 5 Jun 2014 21:38:53 +0000 (22:38 +0100)] 
Suppress re-entrant calls to dhcp_construct_contexts()

11 years agoipsets equivalent in *BSD, using pf tables.
Simon Kelley [Mon, 2 Jun 2014 19:30:07 +0000 (20:30 +0100)] 
ipsets equivalent in *BSD, using pf tables.

11 years agoLOG error of ARP-injection fails.
Simon Kelley [Fri, 23 May 2014 19:44:59 +0000 (20:44 +0100)] 
LOG error of ARP-injection fails.

11 years agoBump Debian version.
Simon Kelley [Tue, 20 May 2014 20:01:34 +0000 (21:01 +0100)] 
Bump Debian version.

11 years agoDebian: Dynamically create /var/run/dnsmasq when systemd in use too.
Simon Kelley [Tue, 20 May 2014 20:00:02 +0000 (21:00 +0100)] 
Debian: Dynamically create /var/run/dnsmasq when systemd in use too.

11 years agoDebian: Write pid-file in the correct place when using systemd.
Simon Kelley [Tue, 20 May 2014 19:56:55 +0000 (20:56 +0100)] 
Debian: Write pid-file in the correct place when using systemd.

11 years agoMerge branch 'mobile-ra'
Simon Kelley [Tue, 20 May 2014 19:38:25 +0000 (20:38 +0100)] 
Merge branch 'mobile-ra'

Conflicts:
CHANGELOG

11 years agoUse ECC crypto in Nettle now.
Simon Kelley [Tue, 20 May 2014 19:34:41 +0000 (20:34 +0100)] 
Use ECC crypto in Nettle now.

11 years agoDebian/rules fixes to enable hardening.
Simon Ruderich [Tue, 20 May 2014 19:27:31 +0000 (20:27 +0100)] 
Debian/rules fixes to enable hardening.

11 years agoBump Debian version.
Simon Kelley [Fri, 16 May 2014 19:21:55 +0000 (20:21 +0100)] 
Bump Debian version.

11 years agoDebian fix: Enable dnsmasq systemd unit on install.
Andreas Metzler [Sun, 11 May 2014 16:53:54 +0000 (17:53 +0100)] 
Debian fix: Enable dnsmasq systemd unit on install.

11 years agoDebian change: write pid-file even using systemd.
Simon Kelley [Fri, 9 May 2014 19:47:09 +0000 (20:47 +0100)] 
Debian change: write pid-file even using systemd.

11 years agoFix DNS failure of cachesize set to zero.
Simon Kelley [Fri, 9 May 2014 09:29:43 +0000 (10:29 +0100)] 
Fix DNS failure of cachesize set to zero.

11 years agoDebian packaging fixes.
Simon Kelley [Sun, 4 May 2014 20:45:26 +0000 (21:45 +0100)] 
Debian packaging fixes.

11 years agoUpdate German translation.
Conrad Kostecki [Sun, 4 May 2014 19:43:49 +0000 (20:43 +0100)] 
Update German translation.

11 years agoAnother filter_rrsigs fix.
Simon Kelley [Thu, 1 May 2014 17:19:12 +0000 (18:19 +0100)] 
Another filter_rrsigs fix.

11 years agoGet packet size right when removing pseudoheader.
Simon Kelley [Thu, 1 May 2014 16:46:25 +0000 (17:46 +0100)] 
Get packet size right when removing pseudoheader.

11 years agoFix DNSSEC validation of ANY queries.
Simon Kelley [Tue, 29 Apr 2014 12:02:41 +0000 (13:02 +0100)] 
Fix DNSSEC validation of ANY queries.

11 years agoDo SERVFAIL, therefore continue when searching for DS in TCP path too.
Simon Kelley [Tue, 29 Apr 2014 11:30:18 +0000 (12:30 +0100)] 
Do SERVFAIL, therefore continue when searching for DS in TCP path too.

11 years agoHandle SERVFAIL replies when looking for proven-nonexistence of DS.
Simon Kelley [Sat, 26 Apr 2014 21:13:31 +0000 (22:13 +0100)] 
Handle SERVFAIL replies when looking for proven-nonexistence of DS.

11 years agora-advrouter mode for RFC-3775 mobile IPv6 support.
Simon Kelley [Fri, 25 Apr 2014 21:04:05 +0000 (22:04 +0100)] 
ra-advrouter mode for RFC-3775 mobile IPv6 support.

11 years agoNeed to fixup records in the additional section when removing DNSSEC stuff.
Simon Kelley [Thu, 24 Apr 2014 16:59:58 +0000 (17:59 +0100)] 
Need to fixup records in the additional section when removing DNSSEC stuff.

11 years agoUpdate doc.html - was positively antediluvian.
Simon Kelley [Thu, 24 Apr 2014 11:05:33 +0000 (12:05 +0100)] 
Update doc.html - was positively antediluvian.

11 years agoCHANGELOG update for 2.70 release.
Simon Kelley [Wed, 23 Apr 2014 14:46:05 +0000 (15:46 +0100)] 
CHANGELOG update for 2.70 release.

11 years agoBump Debian version.
Simon Kelley [Wed, 23 Apr 2014 11:31:40 +0000 (12:31 +0100)] 
Bump Debian version.

11 years agoTypo.
Matt Comben [Wed, 23 Apr 2014 11:28:04 +0000 (12:28 +0100)] 
Typo.

11 years agoFix crash on TCP DNS request when DNSSEC not enabled.
Simon Kelley [Wed, 16 Apr 2014 21:20:55 +0000 (22:20 +0100)] 
Fix crash on TCP DNS request when DNSSEC not enabled.

11 years agoEnsure request name in buffer for ipset lookup.
Simon Kelley [Sun, 13 Apr 2014 19:48:57 +0000 (20:48 +0100)] 
Ensure request name in buffer for ipset lookup.

11 years agoAdd donate button to doc.html.
Simon Kelley [Fri, 11 Apr 2014 17:56:23 +0000 (18:56 +0100)] 
Add donate button to doc.html.

11 years agoUpdate CHANGELOG/release-notes.
Simon Kelley [Wed, 9 Apr 2014 19:36:53 +0000 (20:36 +0100)] 
Update CHANGELOG/release-notes.

11 years agoipv6.arpa -> ip6.arpa
Lutz Preßler [Mon, 7 Apr 2014 21:06:23 +0000 (22:06 +0100)] 
ipv6.arpa -> ip6.arpa

11 years agoFix NXDOMAIN RCODE in auth PTR replies.
Simon Kelley [Thu, 3 Apr 2014 20:16:40 +0000 (21:16 +0100)] 
Fix NXDOMAIN RCODE in auth PTR replies.

11 years agoFix ipsets logging patch.
Simon Kelley [Sat, 29 Mar 2014 09:20:07 +0000 (09:20 +0000)] 
Fix ipsets logging patch.

11 years agoLog IPSET actions.
Wang Jian [Fri, 28 Mar 2014 20:52:47 +0000 (20:52 +0000)] 
Log IPSET actions.

11 years agoAdd --dnssec-no-timecheck
Simon Kelley [Fri, 28 Mar 2014 20:41:23 +0000 (20:41 +0000)] 
Add --dnssec-no-timecheck

11 years agoEnsure ->sentto is valid for DNSSEC forwards. Otherwise retries SEGV.
Simon Kelley [Thu, 27 Mar 2014 22:02:17 +0000 (22:02 +0000)] 
Ensure ->sentto is valid for DNSSEC forwards. Otherwise retries SEGV.

11 years agoCache stats availble in CHAOS .bind domain.
Simon Kelley [Thu, 27 Mar 2014 20:54:34 +0000 (20:54 +0000)] 
Cache stats availble in CHAOS .bind domain.

11 years agoTerminate DS-search when reaching the root via cache entries.
Simon Kelley [Wed, 26 Mar 2014 12:24:19 +0000 (12:24 +0000)] 
Terminate DS-search when reaching the root via cache entries.

11 years agoSERVFAIL is an expected error return, don't try all servers.
Simon Kelley [Tue, 25 Mar 2014 21:07:00 +0000 (21:07 +0000)] 
SERVFAIL is an expected error return, don't try all servers.

11 years agoHandle failure of hash_questions()
Tomas Hozza [Tue, 25 Mar 2014 20:52:28 +0000 (20:52 +0000)] 
Handle failure of hash_questions()

11 years agoMemory leak in error path.
Tomas Hozza [Tue, 25 Mar 2014 20:43:21 +0000 (20:43 +0000)] 
Memory leak in error path.

11 years agoReorder sanity checks on UDP packet reception, to cope with failed recvfrom()
Simon Kelley [Mon, 24 Mar 2014 22:04:42 +0000 (22:04 +0000)] 
Reorder sanity checks on UDP packet reception, to cope with failed recvfrom()

11 years agoAdd dnssec-check-unsigned to example config file.
Simon Kelley [Mon, 24 Mar 2014 21:13:49 +0000 (21:13 +0000)] 
Add dnssec-check-unsigned to example config file.

11 years agoCHANGELOG update.
Simon Kelley [Sat, 22 Mar 2014 19:33:43 +0000 (19:33 +0000)] 
CHANGELOG update.

11 years agoIgnore DNS queries from port 0: http://www.ietf.org/mail-archive/web/dnsop/current...
Simon Kelley [Sat, 22 Mar 2014 19:18:06 +0000 (19:18 +0000)] 
Ignore DNS queries from port 0: http://www.ietf.org/mail-archive/web/dnsop/current/msg11441.html

11 years agoTidy uid defines.
Andy [Sat, 22 Mar 2014 19:10:07 +0000 (19:10 +0000)] 
Tidy uid defines.

11 years agoFix DNSSEC crash retrying to IPv6 server.
Simon Kelley [Fri, 21 Mar 2014 11:13:55 +0000 (11:13 +0000)] 
Fix DNSSEC crash retrying to IPv6 server.

11 years agoInitialise uid when creating CNAME cache record.
Simon Kelley [Thu, 20 Mar 2014 16:25:43 +0000 (16:25 +0000)] 
Initialise uid when creating CNAME cache record.

11 years agoMake --quiet-dhcp apply to DHCPDISCOVER when client ignored.
Simon Kelley [Thu, 20 Mar 2014 15:47:18 +0000 (15:47 +0000)] 
Make --quiet-dhcp apply to DHCPDISCOVER when client ignored.

11 years agoManpage typos.
Moritz Warning [Thu, 20 Mar 2014 15:32:22 +0000 (15:32 +0000)] 
Manpage typos.

11 years agoTidy and fix cache->uid handling.
Simon Kelley [Tue, 18 Mar 2014 22:38:30 +0000 (22:38 +0000)] 
Tidy and fix cache->uid handling.

Some CNAMES left the value of ->uid undefined.

Since there are now special values if this, for CNAMES
to interface names, that could cause a crash
if the undefined value hit the special value.

Also ensure that the special value can't arise
when the uid is encoding the source of an F_CONFIG
record, in case there's a CNAME to it.

11 years agoEnsure next_uid() can never return 0.
Andy [Mon, 17 Mar 2014 19:50:29 +0000 (19:50 +0000)] 
Ensure next_uid() can never return 0.

11 years agoHandle integer overflow in uid counter. Fixes rare crashes in cache code.
Simon Kelley [Sun, 16 Mar 2014 22:56:58 +0000 (22:56 +0000)] 
Handle integer overflow in uid counter. Fixes rare crashes in cache code.

11 years agoWarn about non-local queries once only for UDP.
Simon Kelley [Wed, 12 Mar 2014 20:12:56 +0000 (20:12 +0000)] 
Warn about non-local queries once only for UDP.

11 years agoTypo
Simon Kelley [Wed, 12 Mar 2014 20:07:12 +0000 (20:07 +0000)] 
Typo

11 years agoOPT_LOCAL_SERVICE needs up-to-date interface list too.
Simon Kelley [Thu, 6 Mar 2014 13:27:57 +0000 (13:27 +0000)] 
OPT_LOCAL_SERVICE needs up-to-date interface list too.

11 years agoSet --local-service in Debian package startup.
Simon Kelley [Wed, 5 Mar 2014 15:01:08 +0000 (15:01 +0000)] 
Set --local-service in Debian package startup.

11 years ago--local-service. Default protection from DNS amplification attacks.
Simon Kelley [Wed, 5 Mar 2014 14:29:54 +0000 (14:29 +0000)] 
--local-service. Default protection from DNS amplification attacks.

11 years agoAdd --static to pkg-config command when appropriate.
Simon Kelley [Wed, 5 Mar 2014 11:01:23 +0000 (11:01 +0000)] 
Add --static to pkg-config command when appropriate.

11 years agoCompiler warning.
Simon Kelley [Mon, 3 Mar 2014 14:19:19 +0000 (14:19 +0000)] 
Compiler warning.

11 years agoMan page updates for DNSSEC.
Simon Kelley [Sun, 2 Mar 2014 14:30:05 +0000 (14:30 +0000)] 
Man page updates for DNSSEC.

11 years agoKEYBLOCK LEN better as a multiple of 8.
Simon Kelley [Sun, 2 Mar 2014 12:46:51 +0000 (12:46 +0000)] 
KEYBLOCK LEN better as a multiple of 8.

11 years agoCan have local DS records (trust anchors).
Simon Kelley [Sat, 1 Mar 2014 22:53:57 +0000 (22:53 +0000)] 
Can have local DS records (trust anchors).