]> git.ipfire.org Git - people/ms/dnsmasq.git/log
people/ms/dnsmasq.git
9 years agoFixup dhcp-configs after reading extra hostfiles with inotify.
Simon Kelley [Mon, 2 Feb 2015 22:36:42 +0000 (22:36 +0000)] 
Fixup dhcp-configs after reading extra hostfiles with inotify.

9 years agoManpage typo fix.
ThiĆ©baud Weksteen [Mon, 2 Feb 2015 21:37:27 +0000 (21:37 +0000)] 
Manpage typo fix.

9 years agoDebian changelog bugfix.
Simon Kelley [Mon, 2 Feb 2015 21:27:39 +0000 (21:27 +0000)] 
Debian changelog bugfix.

9 years agoFix build failure on openBSD.
Simon Kelley [Sun, 1 Feb 2015 21:48:46 +0000 (21:48 +0000)] 
Fix build failure on openBSD.

9 years agoBSD make support
Simon Kelley [Sun, 1 Feb 2015 00:15:16 +0000 (00:15 +0000)] 
BSD make support

9 years agoFix broken ECDSA DNSSEC signatures.
Simon Kelley [Sat, 31 Jan 2015 22:44:26 +0000 (22:44 +0000)] 
Fix broken ECDSA DNSSEC signatures.

9 years agoinotify documentation updates.
Simon Kelley [Sat, 31 Jan 2015 21:59:13 +0000 (21:59 +0000)] 
inotify documentation updates.

9 years agoUpdate copyrights for dawn of 2015.
Simon Kelley [Sat, 31 Jan 2015 20:13:40 +0000 (20:13 +0000)] 
Update copyrights for dawn of 2015.

9 years agoExpand inotify code to dhcp-hostsdir, dhcp-optsdir and hostsdir.
Simon Kelley [Sat, 31 Jan 2015 19:59:29 +0000 (19:59 +0000)] 
Expand inotify code to dhcp-hostsdir, dhcp-optsdir and hostsdir.

9 years agoAllow inotify to be disabled at compile time on Linux.
Simon Kelley [Mon, 26 Jan 2015 11:23:43 +0000 (11:23 +0000)] 
Allow inotify to be disabled at compile time on Linux.

9 years agoDon't reply to DHCPv6 SOLICIT messages when not configured for statefull DHCPv6.
Win King Wan [Wed, 21 Jan 2015 20:41:48 +0000 (20:41 +0000)] 
Don't reply to DHCPv6 SOLICIT messages when not configured for statefull DHCPv6.

9 years agoUpdate German translation.
Conrad Kostecki [Tue, 20 Jan 2015 21:07:56 +0000 (21:07 +0000)] 
Update German translation.

9 years agoAdd --dhcp-hostsdir config option.
Simon Kelley [Tue, 20 Jan 2015 20:51:02 +0000 (20:51 +0000)] 
Add --dhcp-hostsdir config option.

9 years agoDon't treat SERVFAIL as a recoverable error.....
Simon Kelley [Sun, 18 Jan 2015 22:20:48 +0000 (22:20 +0000)] 
Don't treat SERVFAIL as a recoverable error.....

9 years agoCope with multiple interfaces with the same LL address.
Simon Kelley [Sun, 18 Jan 2015 22:11:10 +0000 (22:11 +0000)] 
Cope with multiple interfaces with the same LL address.

9 years agoLogs for DS records consistent.
Simon Kelley [Mon, 12 Jan 2015 23:22:08 +0000 (23:22 +0000)] 
Logs for DS records consistent.

9 years agoDon't answer from cache RRsets from wildcards, as we don't have NSECs.
Simon Kelley [Mon, 12 Jan 2015 23:16:56 +0000 (23:16 +0000)] 
Don't answer from cache RRsets from wildcards, as we don't have NSECs.

9 years agoLog port of requestor when doing extra logging.
Simon Kelley [Mon, 12 Jan 2015 20:18:18 +0000 (20:18 +0000)] 
Log port of requestor when doing extra logging.

9 years agoAdd --min-cache-ttl option.
RinSatsuki [Sat, 10 Jan 2015 15:22:21 +0000 (15:22 +0000)] 
Add --min-cache-ttl option.

9 years agoAdd --log-queries=extra option for more complete logging.
Simon Kelley [Fri, 9 Jan 2015 15:53:03 +0000 (15:53 +0000)] 
Add --log-queries=extra option for more complete logging.

9 years agoMerge branch 'unsigned'
Simon Kelley [Wed, 7 Jan 2015 21:58:05 +0000 (21:58 +0000)] 
Merge branch 'unsigned'

9 years agoDNSSEC: do top-down search for limit of secure delegation.
Simon Kelley [Wed, 7 Jan 2015 21:55:43 +0000 (21:55 +0000)] 
DNSSEC: do top-down search for limit of secure delegation.

9 years agoFix race condition issue in makefile.
Yousong Zhou [Mon, 5 Jan 2015 17:03:35 +0000 (17:03 +0000)] 
Fix race condition issue in makefile.

9 years agoImplement makefile dependencies on COPTS variable.
Yousong Zhou [Sat, 3 Jan 2015 16:36:14 +0000 (16:36 +0000)] 
Implement makefile dependencies on COPTS variable.

9 years agoFix build failure in new inotify code on BSD.
Matthias Andree [Sat, 27 Dec 2014 15:36:38 +0000 (15:36 +0000)] 
Fix build failure in new inotify code on BSD.

9 years agoBad packet protection.
Simon Kelley [Sat, 27 Dec 2014 15:33:32 +0000 (15:33 +0000)] 
Bad packet protection.

9 years agoAdd --ignore-address option.
Glen Huang [Sat, 27 Dec 2014 15:28:12 +0000 (15:28 +0000)] 
Add --ignore-address option.

9 years agoInitialise return value.
Simon Kelley [Tue, 23 Dec 2014 18:42:38 +0000 (18:42 +0000)] 
Initialise return value.

9 years agoFix problems validating NSEC3 and wildcards.
Simon Kelley [Tue, 23 Dec 2014 15:46:08 +0000 (15:46 +0000)] 
Fix problems validating NSEC3 and wildcards.

9 years agoMake caching work for CNAMEs pointing to A/AAAA records shadowed in /etc/hosts
Simon Kelley [Sun, 21 Dec 2014 21:21:53 +0000 (21:21 +0000)] 
Make caching work for CNAMEs pointing to A/AAAA records shadowed in /etc/hosts

If the answer to an upstream query is a CNAME which points to an
A/AAAA record which also exists in /etc/hosts and friends, then
caching is suppressed, to avoid inconsistent answers. This is
now modified to allow caching when the upstream and local A/AAAA
records have the same value.

9 years agoFix crash in DNSSEC code when attempting to verify large RRs.
Simon Kelley [Sun, 21 Dec 2014 16:11:52 +0000 (16:11 +0000)] 
Fix crash in DNSSEC code when attempting to verify large RRs.

9 years agoTweak field width in cache dump to avoid truncating IPv6 addresses.
Simon Kelley [Wed, 17 Dec 2014 20:38:20 +0000 (20:38 +0000)] 
Tweak field width in cache dump to avoid truncating IPv6 addresses.

9 years agoEliminate IPv6 privacy addresses from --interface-name answers.
Simon Kelley [Wed, 17 Dec 2014 12:41:56 +0000 (12:41 +0000)] 
Eliminate IPv6 privacy addresses from --interface-name answers.

9 years agoRemove redundant IN6_IS_ADDR_ULA(a) macro defn.
Simon Kelley [Tue, 16 Dec 2014 20:41:29 +0000 (20:41 +0000)] 
Remove redundant IN6_IS_ADDR_ULA(a) macro defn.

9 years agoFix breakage of --domain=<domain>,<subnet>,local
Simon Kelley [Tue, 16 Dec 2014 18:25:17 +0000 (18:25 +0000)] 
Fix breakage of --domain=<domain>,<subnet>,local

9 years agoCHANGELOG re. inotify.
Simon Kelley [Mon, 15 Dec 2014 17:52:22 +0000 (17:52 +0000)] 
CHANGELOG re. inotify.

9 years agoRemove floor on EDNS0 packet size with DNSSEC.
Simon Kelley [Mon, 15 Dec 2014 17:50:15 +0000 (17:50 +0000)] 
Remove floor on EDNS0 packet size with DNSSEC.

9 years agoTeach the new inotify code about symlinks.
Simon Kelley [Mon, 15 Dec 2014 15:58:13 +0000 (15:58 +0000)] 
Teach the new inotify code about symlinks.

9 years agoMerge branch 'inotify'
Simon Kelley [Wed, 10 Dec 2014 17:40:03 +0000 (17:40 +0000)] 
Merge branch 'inotify'

9 years agoUse inotify instead of polling on Linux.
Simon Kelley [Wed, 10 Dec 2014 17:32:16 +0000 (17:32 +0000)] 
Use inotify instead of polling on Linux.

This should solve problems people are seeing when a file changes
twice within a second and thus is missed for polling.

9 years agoFix conntrack with --bind-interfaces
Hans Dedecker [Tue, 9 Dec 2014 22:22:53 +0000 (22:22 +0000)] 
Fix conntrack with --bind-interfaces

Make sure dst_addr is assigned the correct address in receive_query when OPTNOWILD is
enabled so the assigned mark can be correctly retrieved and set in forward_query when
conntrack is enabled.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
9 years agoImprove RFC-compliance when unable to supply addresses in DHCPv6
Vladislav Grishenko [Mon, 6 Oct 2014 13:34:24 +0000 (14:34 +0100)] 
Improve RFC-compliance when unable to supply addresses in DHCPv6

While testing https://github.com/sbyx/odhcp6c client I have noticed it
permanently crashes after startup.

The reason was it (odhcp6c) doesn't expect empty IA options in ADVERTISE
message without any suboptions.

Despite this validation bug of odhcp6c, dnsmasq should not generate
ADVERTISE messages with IA if there's nothing to advert per  RFC 3315
17.2.2:

   If the server will not assign any addresses to any IAs in a

   subsequent Request from the client, the server MUST send an Advertise

   message to the client that includes only a Status Code option with

   code NoAddrsAvail and a status message for the user, a Server

   Identifier option with the server's DUID, and a Client Identifier

   option with the client's DUID.

Meanwhile it's need to add status code for every IA in REPLY message per
RFC3315 18.2.1:

   If the server cannot assign any addresses to an IA in the message
   from the client, the server MUST include the IA in the Reply message
   with no addresses in the IA and a Status Code option in the IA
   containing status code NoAddrsAvail.

So, I've changed the logic to skip IA completely from ADVERTISE messages and
to add NoAddrsAvail subcode into IA of REPLY messages.

As for overhead, yes, I believe it's ok to return NoAddrsAvail twice in IA
and in global section for compatibility with all old and new clients.

9 years agoFit example conf file typo.
Tomas Hozza [Mon, 6 Oct 2014 09:46:48 +0000 (10:46 +0100)] 
Fit example conf file typo.

9 years agoFix typo in new Dbus code.
Daniel Collins [Fri, 3 Oct 2014 20:58:43 +0000 (21:58 +0100)] 
Fix typo in new Dbus code.

Simon's fault.

9 years agoSet conntrack mark before connect() call.
Karl Vogel [Fri, 3 Oct 2014 20:45:15 +0000 (21:45 +0100)] 
Set conntrack mark before connect() call.

SO_MARK has to be done before issuing the connect() call on the
TCP socket.

9 years agoBump Debian version.
Simon Kelley [Fri, 3 Oct 2014 07:50:37 +0000 (08:50 +0100)] 
Bump Debian version.

9 years agoDebian build fixes for kFreeBSD
Simon Kelley [Fri, 3 Oct 2014 07:48:11 +0000 (08:48 +0100)] 
Debian build fixes for kFreeBSD

9 years agocrash at startup when an empty suffix is supplied to --conf-dir
Simon Kelley [Thu, 2 Oct 2014 20:44:21 +0000 (21:44 +0100)] 
crash at startup when an empty suffix is supplied to --conf-dir

9 years agoAdd newline at the end of example config file.
Simon Kelley [Thu, 25 Sep 2014 20:51:25 +0000 (21:51 +0100)] 
Add newline at the end of example config file.

9 years agoUpdate Polish translation.
Jan Psota [Tue, 23 Sep 2014 21:16:15 +0000 (22:16 +0100)] 
Update Polish translation.

9 years agoFix CHANGELOG entry under wrong version.
Simon Kelley [Thu, 18 Sep 2014 21:10:46 +0000 (22:10 +0100)] 
Fix CHANGELOG entry under wrong version.

9 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.

9 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().

9 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.

9 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.

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

9 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.

9 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.

9 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".

9 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.

9 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

9 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.

9 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.

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

9 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.

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

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

9 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.

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

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

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

9 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.

9 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.

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

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

9 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.

9 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.

9 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.

9 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>
9 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.

9 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

9 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.

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

9 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.

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

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

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

9 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.

9 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()

9 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.

9 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.

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

9 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.

9 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.

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

Conflicts:
CHANGELOG

9 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.

9 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.

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

9 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.

9 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.