]> git.ipfire.org Git - people/ms/dnsmasq.git/blob - CHANGELOG
Update French translation.
[people/ms/dnsmasq.git] / CHANGELOG
1 version 2.60
2 Fix compilation problem in Mac OS X Lion. Thanks to Olaf
3 Flebbe for the patch.
4
5 Fix DHCP when using --listen-address with an IP address
6 which is not the primary address of an interface.
7
8 Add --dhcp-client-update option.
9
10 Add Lua integration. Dnsmasq can now execute a DHCP
11 lease-change script written in Lua. This needs to be
12 enabled at compile time by setting HAVE_LUASCRIPT in
13 src/config.h or running "make COPTS=-DHAVE_LUASCRIPT"
14 Thanks to Jan-Piet Mens for the idea and proof-of-concept
15 implementation.
16
17 Tidied src/config.h to distinguish between
18 platform-dependent compile-time options which are selected
19 automatically, and builder-selectable compile time
20 options. Document the latter better, and describe how to
21 set them from the make command line.
22
23 Tidied up IPPROTO_IP/SOL_IP (and IPv6 equivalent)
24 confusion. IPPROTO_IP works everywhere now.
25
26 Set TOS on DHCP sockets, this improves things on busy
27 wireless networks. Thanks to Dave Taht for the patch.
28
29 Determine VERSION automatically based on git magic:
30 release tags or hash values.
31
32 Improve start-up speed when reading large hosts files
33 containing many distinct addresses.
34
35 Fix problem if dnsmasq is started without the stdin,
36 stdout and stderr file descriptors open. This can manifest
37 itself as 100% CPU use. Thanks to Chris Moore for finding
38 this.
39
40 Fix shell-scripting bug in bld/pkg-wrapper. Thanks to
41 Mark Mitchell for the patch.
42
43 Allow the TFP server or boot server in --pxe-service, to
44 be a domain name instead of an IP address. This allows for
45 round-robin to multiple servers, in the same way as
46 --dhcp-boot. A good suggestion from Cristiano Cumer.
47
48 Support BUILDDIR variable in the Makefile. Allows builds
49 for multiple archs from the same source tree with eg.
50 make BUILDDIR=linux (relative to dnsmasq tree)
51 make BUILDDIR=/tmp/openbsd (absolute path)
52 If BUILDDIR is not set, compilation happens in the src
53 directory, as before. Suggestion from Mark Mitchell.
54
55 Support DHCPv6. Support is there for the sort of things
56 the existing v4 server does, including tags, options,
57 static addresses and relay support. Missing is prefix
58 delegation, which is probably not required in the dnsmasq
59 niche, and an easy way to accept prefix delegations from
60 an upstream DHCPv6 server, which is. Future plans include
61 support for DHCPv6 router option and MAC address option
62 (to make selecting clients by MAC address work like IPv4).
63 These will be added as the standards mature.
64 This code has been tested, but this is the first release,
65 so don't bet the farm on it just yet. Many thanks to all
66 testers who have got it this far.
67
68 Support IPv6 router advertisements. This is a
69 simple-minded implementation, aimed at providing the
70 vestigial RA needed to go alongside IPv6. Is picks up
71 configuration from the DHCPv6 conf, and should just need
72 enabling with --enable-ra.
73
74 Fix long-standing wrinkle with --localise-queries that
75 could result in wrong answers when DNS packets arrive
76 via an interface other than the expected one. Thanks to
77 Lorenzo Milesi and John Hanks for spotting this one.
78
79 Update French translation. Thanks to Gildas Le Nadan.
80
81
82 version 2.59
83 Fix regression in 2.58 which caused failure to start up
84 with some combinations of dnsmasq config and IPv6 kernel
85 network config. Thanks to Brielle Bruns for the bug
86 report.
87
88 Improve dnsmasq's behaviour when network interfaces are
89 still doing duplicate address detection (DAD). Previously,
90 dnsmasq would wait up to 20 seconds at start-up for the
91 DAD state to terminate. This is broken for bridge
92 interfaces on recent Linux kernels, which don't start DAD
93 until the bridge comes up, and so can take arbitrary
94 time. The new behaviour lets dnsmasq poll for an arbitrary
95 time whilst providing service on other interfaces. Thanks
96 to Stephen Hemminger for pointing out the problem.
97
98
99 version 2.58
100 Provide a definition of the SA_SIZE macro where it's
101 missing. Fixes build failure on openBSD.
102
103 Don't include a zero terminator at the end of messages
104 sent to /dev/log when /dev/log is a datagram socket.
105 Thanks to Didier Rabound for spotting the problem.
106
107 Add --dhcp-sequential-ip flag, to force allocation of IP
108 addresses in ascending order. Note that the default
109 pseudo-random mode is in general better but some
110 server-deployment applications need this.
111
112 Fix problem where a server-id of 0.0.0.0 is sent to a
113 client when a dhcp-relay is in use if a client renews a
114 lease after dnsmasq restart and before any clients on the
115 subnet get a new lease. Thanks to Mike Ruiz for assistance
116 in chasing this one down.
117
118 Don't return NXDOMAIN to an AAAA query if we have CNAME
119 which points to an A record only: NODATA is the correct
120 reply in this case. Thanks to Tom Fernandes for spotting
121 the problem.
122
123 Relax the need to supply a netmask in --dhcp-range for
124 networks which use a DHCP relay. Whilst this is still
125 desireable, in the absence of a netmask dnsmasq will use
126 a default based on the class (A, B, or C) of the address.
127 This should at least remove a cause of mysterious failure
128 for people using RFC1918 addresses and relays.
129
130 Add support for Linux conntrack connection marking. If
131 enabled with --conntrack, the connection mark for incoming
132 DNS queries will be copied to the outgoing connections
133 used to answer those queries. This allows clever firewall
134 and accounting stuff. Only available if dnsmasq is
135 compiled with HAVE_CONNTRACK and adds a dependency on
136 libnetfilter-conntrack. Thanks to Ed Wildgoose for the
137 initial idea, testing and sponsorship of this function.
138
139 Provide a sane error message when someone attempts to
140 match a tag in --dhcp-host.
141
142 Tweak the behaviour of --domain-needed, to avoid problems
143 with recursive nameservers downstream of dnsmasq. The new
144 behaviour only stops A and AAAA queries, and returns
145 NODATA rather than NXDOMAIN replies.
146
147 Efficiency fix for very large DHCP configurations, thanks
148 to James Gartrell and Mike Ruiz for help with this.
149
150 Allow the TFTP-server address in --dhcp-boot to be a
151 domain-name which is looked up in /etc/hosts. This can
152 give multiple IP addresses which are used round-robin,
153 thus doing TFTP server load-balancing. Thanks to Sushil
154 Agrawal for the patch.
155
156 When two tagged dhcp-options for a particular option
157 number are both valid, use the one which is valid without
158 a tag from the dhcp-range. Allows overriding of the value
159 of a DHCP option for a particular host as well as
160 per-network values. So
161 --dhcp-range=set:interface1,......
162 --dhcp-host=set:myhost,.....
163 --dhcp-option=tag:interface1,option:nis-domain,"domain1"
164 --dhcp-option=tag:myhost,option:nis-domain,"domain2"
165 will set the NIS-domain to domain1 for hosts in the range, but
166 override that to domain2 for a particular host.
167
168 Fix bug which resulted in truncated files and timeouts for
169 some TFTP transfers. The bug only occurs with netascii
170 transfers and needs an unfortunate relationship between
171 file size, blocksize and the number of newlines in the
172 last block before it manifests itself. Many thanks to
173 Alkis Georgopoulos for spotting the problem and providing
174 a comprehensive test-case.
175
176 Fix regression in TFTP server on *BSD platforms introduced
177 in version 2.56, due to confusion with sockaddr
178 length. Many thanks to Loïc Pefferkorn for finding this.
179
180 Support scope-ids in IPv6 addresses of nameservers from
181 /etc/resolv.conf and in --server options. Eg
182 nameserver fe80::202:a412:4512:7bbf%eth0 or
183 server=fe80::202:a412:4512:7bbf%eth0. Thanks to
184 Michael Stapelberg for the suggestion.
185
186 Update Polish translation, thanks to Jan Psota.
187
188 Update French translation. Thanks to Gildas Le Nadan.
189
190
191 version 2.57
192 Add patches to allow build under Android.
193
194 Provide our own header for the DNS protocol, rather than
195 relying on arpa/nameser.h. This has proved more or less
196 defective over the years and the final straw is that it's
197 effectively empty on Android.
198
199 Fix regression in 2.56 which caused hex constants in
200 configuration to be rejected if they contain the '*'
201 wildcard.
202
203 Correct wrong casts of arguments to ctype.h functions,
204 isdigit(), isxdigit() etc. Thanks to Matthias Andree for
205 spotting this.
206
207 Allow build with IDN support independently from i18n.
208 IDN support continues to be included automatically
209 when i18n is included.
210 'make COPTS=-DHAVE_IDN' is the magic incantation.
211
212 Modify check on extraneous command line junk (added in
213 2.56) so that it doesn't complain about extra _empty_
214 arguments. Otherwise this breaks libvirt.
215
216
217 version 2.56
218 Add a patch to allow dnsmasq to get interface names right in a
219 Solaris zone. Thanks to Dj Padzensky for this.
220
221 Improve data-type parsing heuristics so that
222 --dhcp-option=option:domain-search,.
223 treats the value as a string and not an IP address.
224 Thanks to Clemens Fischer for spotting that.
225
226 Add IPv6 support to the TFTP server. Many thanks to Jan
227 'RedBully' Seiffert for the patches.
228
229 Log DNS queries at level LOG_INFO, rather then
230 LOG_DEBUG. This makes things consistent with DHCP
231 logging. Thanks to Adam Pribyl for spotting the problem.
232
233 Ensure that dnsmasq terminates cleanly when using
234 --syslog-async even if it cannot make a connection to the
235 syslogd.
236
237 Add --add-mac option. This is to support currently
238 experimental DNS filtering facilities. Thanks to Benjamin
239 Petrin for the orignal patch.
240
241 Fix bug which meant that tags were ignored in dhcp-range
242 configuration specifying PXE-proxy service. Thanks to
243 Cristiano Cumer for spotting this.
244
245 Raise an error if there is extra junk, not part of an
246 option, on the command line.
247
248 Flag a couple of log messages in cache.c as coming from
249 the DHCP subsystem. Thanks to Olaf Westrik for the patch.
250
251 Omit timestamps from logs when a) logging to stderr and
252 b) --keep-in-forground is set. The logging facility on the
253 other end of stderr can be assumned to supply them. Thanks
254 to John Hallam for the patch.
255
256 Don't complain about strings longer than 255 characters in
257 --txt-record, just split the long strings into 255
258 character chunks instead.
259
260 Fix crash on double-free. This bug can only happen when
261 dhcp-script is in use and then only in rare circumstances
262 triggered by high DHCP transaction rate and a slow
263 script. Thanks to Ferenc Wagner for finding the problem.
264
265 Only log that a file has been sent by TFTP after the
266 transfer has completed succesfully.
267
268 A good suggestion from Ferenc Wagner: extend
269 the --domain option to allow this sort of thing:
270 --domain=thekelleys.org.uk,192.168.0.0/24,local
271 which automatically creates
272 --local=/thekelleys.org.uk/
273 --local=/0.168.192.in-addr.arpa/
274
275 Tighten up syntax checking of hex contants in the config
276 file. Thanks to Fred Damen for spotting this.
277
278 Add dnsmasq logo/icon, contributed by Justin Swift. Many
279 thanks for that.
280
281 Never cache DNS replies which have the 'cd' bit set, or
282 which result from queries forwarded with the 'cd' bit
283 set. The 'cd' bit instructs a DNSSEC validating server
284 upstream to ignore signature failures and return replies
285 anyway. Without this change it's possible to pollute the
286 dnsmasq cache with bad data by making a query with the
287 'cd' bit set and subsequent queries would return this data
288 without its being marked as suspect. Thanks to Anders
289 Kaseorg for pointing out this problem.
290
291 Add --proxy-dnssec flag, for compliance with RFC
292 4035. Dnsmasq will now clear the 'ad' bit in answers returned
293 from upstream validating nameservers unless this option is
294 set.
295
296 Allow a filename of "-" for --conf-file to read
297 stdin. Suggestion from Timothy Redaelli.
298
299 Rotate the order of SRV records in replies, to provide
300 round-robin load balancing when all the priorities are
301 equal. Thanks to Peter McKinney for the suggestion.
302
303 Edit
304 contrib/MacOSX-launchd/uk.org.thekelleys.dnsmasq.plist
305 so that it doesn't log all queries to a file by
306 default. Thanks again to Peter McKinney.
307
308 By default, setting an IPv4 address for a domain but not
309 an IPv6 address causes dnsmasq to return
310 an NODATA reply for IPv6 (or vice-versa). So
311 --address=/google.com/1.2.3.4 stops IPv6 queries for
312 *google.com from being forwarded. Make it possible to
313 override this behaviour by defining the sematics if the
314 same domain appears in both --server and --address.
315 In that case, the --address has priority for the address
316 family in which is appears, but the --server has priority
317 of the address family which doesn't appear in --adddress
318 So:
319 --address=/google.com/1.2.3.4
320 --server=/google.com/#
321 will return 1.2.3.4 for IPv4 queries for *.google.com but
322 forward IPv6 queries to the normal upstream nameserver.
323 Similarly when setting an IPv6 address
324 only this will allow forwarding of IPv4 queries. Thanks to
325 William for pointing out the need for this.
326
327 Allow more than one --dhcp-optsfile and --dhcp-hostsfile
328 and make them understand directories as arguments in the
329 same way as --addn-hosts. Suggestion from John Hanks.
330
331 Ignore rebinding requests for leases we don't know
332 about. Rebind is broadcast, so we might get to overhear a
333 request meant for another DHCP server. NAKing this is
334 wrong. Thanks to Brad D'Hondt for assistance with this.
335
336 Fix cosmetic bug which produced strange output when
337 dumping cache statistics with some configurations. Thanks
338 to Fedor Kozhevnikov for spotting this.
339
340
341 version 2.55
342 Fix crash when /etc/ethers is in use. Thanks to
343 Gianluigi Tiesi for finding this.
344
345 Fix crash in netlink_multicast(). Thanks to Arno Wald for
346 finding this one.
347
348 Allow the empty domain "." in dhcp domain-search (119)
349 options.
350
351
352 version 2.54
353 There is no version 2.54 to avoid confusion with 2.53,
354 which incorrectly identifies itself as 2.54.
355
356
357 version 2.53
358 Fix failure to compile on Debian/kFreeBSD. Thanks to
359 Axel Beckert and Petr Salinger.
360
361 Fix code to avoid scary strict-aliasing warnings
362 generated by gcc 4.4.
363
364 Added FAQ entry warning about DHCP failures with Vista
365 when firewalls block 255.255.255.255.
366
367 Fixed bug which caused bad things to happen if a
368 resolv.conf file which exists is subsequently removed.
369 Thanks to Nikolai Saoukh for the patch.
370
371 Rationalised the DHCP tag system. Every configuration item
372 which can set a tag does so by adding "set:<tag>" and
373 every configuration item which is conditional on a tag is
374 made so by "tag:<tag>". The NOT operator changes to '!',
375 which is a bit more intuitive too. Dhcp-host directives
376 can set more than one tag now. The old '#' NOT,
377 "net:" prefix and no-prefixes are still honoured, so
378 no existing config file needs to be changed, but
379 the documentation and new-style config files should be
380 much less confusing.
381
382 Added --tag-if to allow boolean operations on tags.
383 This allows complicated logic to be clearer and more
384 general. A great suggestion from Richard Voigt.
385
386 Add broadcast/unicast information to DHCP logging.
387
388 Allow --dhcp-broadcast to be unconditional.
389
390 Fixed incorrect behaviour with NOT <tag> conditionals in
391 dhcp-options. Thanks to Max Turkewitz for assistance
392 finding this.
393
394 If we send vendor-class encapsulated options based on the
395 vendor-class supplied by the client, and no explicit
396 vendor-class option is given, echo back the vendor-class
397 from the client.
398
399 Fix bug which stopped dnsmasq from matching both a
400 circuitid and a remoteid. Thanks to Ignacio Bravo for
401 finding this.
402
403 Add --dhcp-proxy, which makes it possible to configure
404 dnsmasq to use a DHCP relay agent as a full proxy, with
405 all DHCP messages passing through the proxy. This is
406 useful if the relay adds extra information to the packets
407 it forwards, but cannot be configured with the RFC 5107
408 server-override option.
409
410 Added interface:<iface name> part to dhcp-range. The
411 semantics of this are very odd at first sight, but it
412 allows a single line of the form
413 dhcp-range=interface:virt0,192.168.0.4,192.168.0.200
414 to be added to dnsmasq configuration which then supplies
415 DHCP and DNS services to that interface, without affecting
416 what services are supplied to other interfaces and
417 irrespective of the existance or lack of
418 interface=<interface>
419 lines elsewhere in the dnsmasq configuration. The idea is
420 that such a line can be added automatically by libvirt
421 or equivalent systems, without disturbing any manual
422 configuration.
423
424 Similarly to the above, allow --enable-tftp=<interface>
425
426 Allow a TFTP root to be set separately for requests via
427 different interfaces, --tftp-root=<path>,<interface>
428
429 Correctly handle and log clashes between CNAMES and
430 DNS names being given to DHCP leases. This fixes a bug
431 which caused nonsense IP addresses to be logged. Thanks to
432 Sergei Zhirikov for finding and analysing the problem.
433
434 Tweak flush_log so as to avoid leaving the log
435 file in non-blocking mode. O_NONBLOCK is a property of the
436 file, not the process/descriptor.
437
438 Fix contrib/Solaris10/create_package
439 (/usr/man -> /usr/share/man) Thanks to Vita Batrla.
440
441 Fix a problem where, if a client got a lease, then went
442 to another subnet and got another lease, then moved back,
443 it couldn't resume the old lease, but would instead get
444 a new address. Thanks to Leonardo Rodrigues for spotting
445 this and testing the fix.
446
447 Fix weird bug which sometimes omitted certain characters
448 from the start of quoted strings in dhcp-options. Thanks
449 to Dayton Turner for spotting the problem.
450
451 Add facility to redirect some domains to the standard
452 upstream servers: this allows something like
453 --server=/google.com/1.2.3.4 --server=/www.google.com/#
454 which will send queries for *.google.com to 1.2.3.4,
455 except *www.google.com which will be forwarded as usual.
456 Thanks to AJ Weber for prompting this addition.
457
458 Improve the hash-algorithm used to generate IP addresses
459 from MAC addresses during initial DHCP address
460 allocation. This improves performance when large numbers
461 of hosts with similar MAC addresses all try and get an IP
462 address at the same time. Thanks to Paul Smith for his
463 work on this.
464
465 Tweak DHCP code so that --bridge-interface can be used to
466 select which IP alias of an interface should be used for
467 DHCP purposes on Linux. If eth0 has an alias eth0:dhcp
468 then adding --bridge-interface=eth0:dhcp,eth0 will use
469 the address of eth0:dhcp to determine the correct subnet
470 for DHCP address allocation. Thanks to Pawel Golaszewski
471 for prompting this and Eric Cooper for further testing.
472
473 Add --dhcp-generate-names. Suggestion by Ferenc Wagner.
474
475 Tweak DNS server selection algorithm when there is more
476 than one server available for a domain, eg.
477 --server=/mydomain/1.1.1.1
478 --server=/mydomain/2.2.2.2
479 Thanks to Alberto Cuesta-Canada for spotting a weakness
480 here.
481
482 Add --max-ttl. Thanks to Fredrik Ringertz for the patch.
483
484 Allow --log-facility=- to force all logging to
485 stderr. Suggestion from Clemens Fischer.
486
487 Fix regression which caused configuration like
488 --address=/.domain.com/1.2.3.4 to be rejected. The dot to the
489 left of the domain has been implied and not required for a
490 long time, but it should be accepted for backward
491 compatibility. Thanks to Andrew Burcin for spotting this.
492
493 Add --rebind-domain-ok and --rebind-localhost-ok.
494 Suggestion from Clemens Fischer.
495
496 Log replies to queries of type TXT, when --log-queries
497 is set.
498
499 Fix compiler warnings when compiled with -DNO_DHCP. Thanks
500 to Shantanu Gadgil for the patch.
501
502 Updated French translation. Thanks to Gildas Le Nadan.
503
504 Updated Polish translation. Thanks to Jan Psota.
505
506 Updated German translation. Thanks to Matthias Andree.
507
508 Added contrib/static-arp, thanks to Darren Hoo.
509
510 Fix corruption of the domain when a name from /etc/hosts
511 overrides one supplied by a DHCP client. Thanks to Fedor
512 Kozhevnikov for spotting the problem.
513
514 Updated Spanish translation. Thanks to Chris Chatham.
515
516
517 version 2.52
518 Work around a Linux kernel bug which insists that the
519 length of the option passed to setsockopt must be at least
520 sizeof(int) bytes, even if we're calling SO_BINDTODEVICE
521 and the device name is "lo". Note that this is fixed
522 in kernel 2.6.31, but the workaround is harmless and
523 allows earlier kernels to be used. Also fix dnsmasq
524 bug which reported the wrong address when this failed.
525 Thanks to Fedor for finding this.
526
527 The API for IPv6 PKTINFO changed around Linux kernel
528 2.6.14. Workaround the case where dnsmasq is compiled
529 against newer headers, but then run on an old kernel:
530 necessary for some *WRT distros.
531
532 Re-read the set of network interfaces when re-loading
533 /etc/resolv.conf if --bind-interfaces is not set. This
534 handles the case that loopback interfaces do not exist
535 when dnsmasq is first started.
536
537 Tweak the PXE code to support port 4011. This should
538 reduce broadcasts and make things more reliable when other
539 servers are around. It also improves inter-operability
540 with certain clients.
541
542 Make a pxe-service configuration with no filename or boot
543 service type legal: this does a local boot. eg.
544 pxe-service=x86PC, "Local boot"
545
546 Be more conservative in detecting "A for A"
547 queries. Dnsmasq checks if the name in a type=A query looks
548 like a dotted-quad IP address and answers the query itself
549 if so, rather than forwarding it. Previously dnsmasq
550 relied in the library function inet_addr() to convert
551 addresses, and that will accept some things which are
552 confusing in this context, like 1.2.3 or even just
553 1234. Now we only do A for A processing for four decimal
554 numbers delimited by dots.
555
556 A couple of tweaks to fix compilation on Solaris. Thanks
557 to Joel Macklow for help with this.
558
559 Another Solaris compilation tweak, needed for Solaris
560 2009.06. Thanks to Lee Essen for that.
561
562 Added extract packaging stuff from Lee Essen to
563 contrib/Solaris10.
564
565 Increased the default limit on number of leases to 1000
566 (from 150). This is mainly a defence against DoS attacks,
567 and for the average "one for two class C networks"
568 installation, IP address exhaustion does that just as
569 well. Making the limit greater than the number of IP
570 addresses available in such an installation removes a
571 surprise which otherwise can catch people out.
572
573 Removed extraneous trailing space in the value of the
574 DNSMASQ_TIME_REMAINING DNSMASQ_LEASE_LENGTH and
575 DNSMASQ_LEASE_EXPIRES environment variables. Thanks to
576 Gildas Le Nadan for spotting this.
577
578 Provide the network-id tags for a DHCP transaction to
579 the lease-change script in the environment variable
580 DNSMASQ_TAGS. A good suggestion from Gildas Le Nadan.
581
582 Add support for RFC3925 "Vendor-Identifying Vendor
583 Options". The syntax looks like this:
584 --dhcp-option=vi-encap:<enterprise number>, .........
585
586 Add support to --dhcp-match to allow matching against
587 RFC3925 "Vendor-Identifying Vendor Classes". The syntax
588 looks like this:
589 --dhcp-match=tag,vi-encap<enterprise number>, <value>
590
591 Add some application specific code to assist in
592 implementing the Broadband forum TR069 CPE-WAN
593 specification. The details are in contrib/CPE-WAN/README
594
595 Increase the default DNS packet size limit to 4096, as
596 recommended by RFC5625 section 4.4.3. This can be
597 reconfigured using --edns-packet-max if needed. Thanks to
598 Francis Dupont for pointing this out.
599
600 Rewrite query-ids even for TSIG signed packets, since
601 this is allowed by RFC5625 section 4.5.
602
603 Use getopt_long by default on OS X. It has been supported
604 since version 10.3.0. Thanks to Arek Dreyer for spotting
605 this.
606
607 Added up-to-date startup configuration for MacOSX/launchd
608 in contrib/MacOSX-launchd. Thanks to Arek Dreyer for
609 providing this.
610
611 Fix link error when including Dbus but excluding DHCP.
612 Thanks to Oschtan for the bug report.
613
614 Updated French translation. Thanks to Gildas Le Nadan.
615
616 Updated Polish translation. Thanks to Jan Psota.
617
618 Updated Spanish translation. Thanks to Chris Chatham.
619
620 Fixed confusion about domains, when looking up DHCP hosts
621 in /etc/hosts. This could cause spurious "Ignoring
622 domain..." messages. Thanks to Fedor Kozhevnikov for
623 finding and analysing the problem.
624
625
626 version 2.51
627 Add support for internationalised DNS. Non-ASCII characters
628 in domain names found in /etc/hosts, /etc/ethers and
629 /etc/dnsmasq.conf will be correctly handled by translation to
630 punycode, as specified in RFC3490. This function is only
631 available if dnsmasq is compiled with internationalisation
632 support, and adds a dependency on GNU libidn. Without i18n
633 support, dnsmasq continues to be compilable with just
634 standard tools. Thanks to Yves Dorfsman for the
635 suggestion.
636
637 Add two more environment variables for lease-change scripts:
638 First, DNSMASQ_SUPPLIED_HOSTNAME; this is set to the hostname
639 supplied by a client, even if the actual hostname used is
640 over-ridden by dhcp-host or dhcp-ignore-names directives.
641 Also DNSMASQ_RELAY_ADDRESS which gives the address of
642 a DHCP relay, if used.
643 Suggestions from Michael Rack.
644
645 Fix regression which broke echo of relay-agent
646 options. Thanks to Michael Rack for spotting this.
647
648 Don't treat option 67 as being interchangeable with
649 dhcp-boot parameters if it's specified as
650 dhcp-option-force.
651
652 Make the code to call scripts on lease-change compile-time
653 optional. It can be switched off by editing src/config.h
654 or building with "make COPTS=-DNO_SCRIPT".
655
656 Make the TFTP server cope with filenames from Windows/DOS
657 which use '\' as pathname separator. Thanks to Ralf for
658 the patch.
659
660 Updated Polish translation. Thanks to Jan Psota.
661
662 Warn if an IP address is duplicated in /etc/ethers. Thanks
663 to Felix Schwarz for pointing this out.
664
665 Teach --conf-dir to take an option list of file suffices
666 which will be ignored when scanning the directory. Useful
667 for backup files etc. Thanks to Helmut Hullen for the
668 suggestion.
669
670 Add new DHCP option named tftpserver-address, which
671 corresponds to the third argument of dhcp-boot. This
672 allows the complete functionality of dhcp-boot to be
673 replicated with dhcp-option. Useful when using
674 dhcp-optsfile.
675
676 Test which upstream nameserver to use every 10 seconds
677 or 50 queries and not just when a query times out and
678 is retried. This should improve performance when there
679 is a slow nameserver in the list. Thanks to Joe for the
680 suggestion.
681
682 Don't do any PXE processing, even for clients with the
683 correct vendorclass, unless at least one pxe-prompt or
684 pxe-service option is given. This stops dnsmasq
685 interfering with proxy PXE subsystems when it is just
686 the DHCP server. Thanks to Spencer Clark for spotting this.
687
688 Limit the blocksize used for TFTP transfers to a value
689 which avoids packet fragmentation, based on the MTU of the
690 local interface. Many netboot ROMs can't cope with
691 fragmented packets.
692
693 Honour dhcp-ignore configuration for PXE and proxy-PXE
694 requests. Thanks to Niels Basjes for the bug report.
695
696 Updated French translation. Thanks to Gildas Le Nadan.
697
698
699 version 2.50
700 Fix security problem which allowed any host permitted to
701 do TFTP to possibly compromise dnsmasq by remote buffer
702 overflow when TFTP enabled. Thanks to Core Security
703 Technologies and Iván Arce, Pablo Hernán Jorge, Alejandro
704 Pablo Rodriguez, Martín Coco, Alberto Soliño Testa and
705 Pablo Annetta. This problem has Bugtraq id: 36121
706 and CVE: 2009-2957
707
708 Fix a problem which allowed a malicious TFTP client to
709 crash dnsmasq. Thanks to Steve Grubb at Red Hat for
710 spotting this. This problem has Bugtraq id: 36120 and
711 CVE: 2009-2958
712
713
714 version 2.49
715 Fix regression in 2.48 which disables the lease-change
716 script. Thanks to Jose Luis Duran for spotting this.
717
718 Log TFTP "file not found" errors. These were not logged,
719 since a normal PXELinux boot generates many of them, but
720 the lack of the messages seems to be more confusing than
721 routinely seeing them when there is no real error.
722
723 Update Spanish translation. Thanks to Chris Chatham.
724
725
726 version 2.48
727 Archived the extensive, backwards, changelog to
728 CHANGELOG.archive. The current changelog now runs from
729 version 2.43 and runs conventionally.
730
731 Fixed bug which broke binding of servers to physical
732 interfaces when interface names were longer than four
733 characters. Thanks to MURASE Katsunori for the patch.
734
735 Fixed netlink code to check that messages come from the
736 correct source, and not another userspace process. Thanks
737 to Steve Grubb for the patch.
738
739 Maintainability drive: removed bug and missing feature
740 workarounds for some old platforms. Solaris 9, OpenBSD
741 older than 4.1, Glibc older than 2.2, Linux 2.2.x and
742 DBus older than 1.1.x are no longer supported.
743
744 Don't read included configuration files more than once:
745 allows complex configuration structures without problems.
746
747 Mark log messages from the various subsystems in dnsmasq:
748 messages from the DHCP subsystem now have the ident string
749 "dnsmasq-dhcp" and messages from TFTP have ident
750 "dnsmasq-tftp". Thanks to Olaf Westrik for the patch.
751
752 Fix possible infinite DHCP protocol loop when an IP
753 address nailed to a hostname (not a MAC address) and a
754 host sometimes provides the name, sometimes not.
755
756 Allow --addn-hosts to take a directory: all the files
757 in the directory are read. Thanks to Phil Cornelius for
758 the suggestion.
759
760 Support --bridge-interface on all platforms, not just BSD.
761
762 Added support for advanced PXE functions. It's now
763 possible to define a prompt and menu options which will
764 be displayed when a client PXE boots. It's also possible to
765 hand-off booting to other boot servers. Proxy-DHCP, where
766 dnsmasq just supplies the PXE information and another DHCP
767 server does address allocation, is also allowed. See the
768 --pxe-prompt and --pxe-service keywords. Thanks to
769 Alkis Georgopoulos for the suggestion and Guilherme Moro
770 and Michael Brown for assistance.
771
772 Improvements to DHCP logging. Thanks to Tom Metro for
773 useful suggestions.
774
775 Add ability to build dnsmasq without DHCP support. To do
776 this, edit src/config.h or build with
777 "make COPTS=-DNO_DHCP". Thanks to Mahavir Jain for the patch.
778
779 Added --test command-line switch - syntax check
780 configuration files only.
781
782 Updated French translation. Thanks to Gildas Le Nadan.
783
784
785 version 2.47
786 Updated French translation. Thanks to Gildas Le Nadan.
787
788 Fixed interface enumeration code to work on NetBSD
789 5.0. Thanks to Roy Marples for the patch.
790
791 Updated config.h to use the same location for the lease
792 file on NetBSD as the other *BSD variants. Also allow
793 LEASEFILE and CONFFILE symbols to be overriden in CFLAGS.
794
795 Handle duplicate address detection on IPv6 more
796 intelligently. In IPv6, an interface can have an address
797 which is not usable, because it is still undergoing DAD
798 (such addresses are marked "tentative"). Attempting to
799 bind to an address in this state returns an error,
800 EADDRNOTAVAIL. Previously, on getting such an error,
801 dnsmasq would silently abandon the address, and never
802 listen on it. Now, it retries once per second for 20
803 seconds before generating a fatal error. 20 seconds should
804 be long enough for any DAD process to complete, but can be
805 adjusted in src/config.h if necessary. Thanks to Martin
806 Krafft for the bug report.
807
808 Add DBus introspection. Patch from Jeremy Laine.
809
810 Update Dbus configuration file. Patch from Colin Walters.
811 Fix for this bug:
812 http://bugs.freedesktop.org/show_bug.cgi?id=18961
813
814 Support arbitrarily encapsulated DHCP options, suggestion
815 and initial patch from Samium Gromoff. This is useful for
816 (eg) gPXE, which expect all its private options to be
817 encapsulated inside a single option 175. So, eg,
818
819 dhcp-option = encap:175, 190, "iscsi-client0"
820 dhcp-option = encap:175, 191, "iscsi-client0-secret"
821
822 will provide iSCSI parameters to gPXE.
823
824 Enhance --dhcp-match to allow testing of the contents of a
825 client-sent option, as well as its presence. This
826 application in mind for this is RFC 4578
827 client-architecture specifiers, but it's generally useful.
828 Joey Korkames suggested the enhancement.
829
830 Move from using the IP_XMIT_IF ioctl to IP_BOUND_IF on
831 OpenSolaris. Thanks to Bastian Machek for the heads-up.
832
833 No longer complain about blank lines in
834 /etc/ethers. Thanks to Jon Nelson for the patch.
835
836 Fix binding of servers to physical devices, eg
837 --server=/domain/1.2.3.4@eth0 which was broken from 2.43
838 onwards unless --query-port=0 set. Thanks to Peter Naulls
839 for the bug report.
840
841 Reply to DHCPINFORM requests even when the supplied ciaddr
842 doesn't fall in any dhcp-range. In this case it's not
843 possible to supply a complete configuration, but
844 individually-configured options (eg PAC) may be useful.
845
846 Allow the source address of an alias to be a range:
847 --alias=192.168.0.0,10.0.0.0,255.255.255.0 maps the whole
848 subnet 192.168.0.0->192.168.0.255 to 10.0.0.0->10.0.0.255,
849 as before.
850 --alias=192.168.0.10-192.168.0.40,10.0.0.0,255.255.255.0
851 maps only the 192.168.0.10->192.168.0.40 region. Thanks to
852 Ib Uhrskov for the suggestion.
853
854 Don't dynamically allocate DHCP addresses which may break
855 Windows. Addresses which end in .255 or .0 are broken in
856 Windows even when using supernetting.
857 --dhcp-range=192.168.0.1,192.168.1.254,255,255,254.0 means
858 192.168.0.255 is a valid IP address, but not for Windows.
859 See Microsoft KB281579. We therefore no longer allocate
860 these addresses to avoid hard-to-diagnose problems.
861
862 Update Polish translation. Thanks to Jan Psota.
863
864 Delete the PID-file when dnsmasq shuts down. Note that by
865 this time, dnsmasq is normally not running as root, so
866 this will fail if the PID-file is stored in a root-owned
867 directory; such failure is silently ignored. To take
868 advantage of this feature, the PID-file must be stored in a
869 directory owned and write-able by the user running
870 dnsmasq.
871
872
873 version 2.46
874 Allow --bootp-dynamic to take a netid tag, so that it may
875 be selectively enabled. Thanks to Olaf Westrik for the
876 suggestion.
877
878 Remove ISC-leasefile reading code. This has been
879 deprecated for a long time, and last time I removed it, it
880 ended up going back by request of one user. This time,
881 it's gone for good; otherwise it would need to be
882 re-worked to support multiple domains (see below).
883
884 Support DHCP clients in multiple DNS domains. This is a
885 long-standing request. Clients are assigned to a domain
886 based in their IP address.
887
888 Add --dhcp-fqdn flag, which changes behaviour if DNS names
889 assigned to DHCP clients. When this is set, there must be
890 a domain associated with each client, and only
891 fully-qualified domain names are added to the DNS. The
892 advantage is that the only the FQDN needs to be unique,
893 so that two or more DHCP clients can share a hostname, as
894 long as they are in different domains.
895
896 Set environment variable DNSMASQ_DOMAIN when invoking
897 lease-change script. This may be useful information to
898 have now that it's variable.
899
900 Tighten up data-checking code for DNS packet
901 handling. Thanks to Steve Dodd who found certain illegal
902 packets which could crash dnsmasq. No memory overwrite was
903 possible, so this is not a security issue beyond the DoS
904 potential.
905
906 Update example config dhcp option 47, the previous
907 suggestion generated an illegal, zero-length,
908 option. Thanks to Matthias Andree for finding this.
909
910 Rewrite hosts-file reading code to remove the limit of
911 1024 characters per line. John C Meuser found this.
912
913 Create a net-id tag with the name of the interface on
914 which the DHCP request was received.
915
916 Fixed minor memory leak in DBus code, thanks to Jeremy
917 Laine for the patch.
918
919 Emit DBus signals as the DHCP lease database
920 changes. Thanks to Jeremy Laine for the patch.
921
922 Allow for more that one MAC address in a dhcp-host
923 line. This configuration tells dnsmasq that it's OK to
924 abandon a DHCP lease of the fixed address to one MAC
925 address, if another MAC address in the dhcp-host statement
926 asks for an address. This is useful to give a fixed
927 address to a host which has two network interfaces
928 (say, a laptop with wired and wireless interfaces.)
929 It's very important to ensure that only one interface
930 at a time is up, since dnsmasq abandons the first lease
931 and re-uses the address before the leased time has
932 elapsed. John Gray suggested this.
933
934 Tweak the response to a DHCP request packet with a wrong
935 server-id when --dhcp-authoritative is set; dnsmasq now
936 returns a DHCPNAK, rather than silently ignoring the
937 packet. Thanks to Chris Marget for spotting this
938 improvement.
939
940 Add --cname option. This provides a limited alias
941 function, usable for DHCP names. Thanks to AJ Weber for
942 suggestions on this.
943
944 Updated contrib/webmin with latest version from Neil
945 Fisher.
946
947 Updated Polish translation. Thanks to Jan Psota.
948
949 Correct the text names for DHCP options 64 and 65 to be
950 "nis+-domain" and "nis+-servers".
951
952 Updated Spanish translation. Thanks to Chris Chatham.
953
954 Force re-reading of /etc/resolv.conf when an "interface
955 up" event occurs.
956
957
958 version 2.45
959 Fix total DNS failure in release 2.44 unless --min-port
960 specified. Thanks to Steven Barth and Grant Coady for
961 bugreport. Also reject out-of-range port spec, which could
962 break things too: suggestion from Gilles Espinasse.
963
964
965 version 2.44
966 Fix crash when unknown client attempts to renew a DHCP
967 lease, problem introduced in version 2.43. Thanks to
968 Carlos Carvalho for help chasing this down.
969
970 Fix potential crash when a host which doesn't have a lease
971 does DHCPINFORM. Again introduced in 2.43. This bug has
972 never been reported in the wild.
973
974 Fix crash in netlink code introduced in 2.43. Thanks to
975 Jean Wolter for finding this.
976
977 Change implementation of min_port to work even if min-port
978 is large.
979
980 Patch to enable compilation of latest Mac OS X. Thanks to
981 David Gilman.
982
983 Update Spanish translation. Thanks to Christopher Chatham.
984
985
986 version 2.43
987 Updated Polish translation. Thanks to Jan Psota.
988
989 Flag errors when configuration options are repeated
990 illegally.
991
992 Further tweaks for GNU/kFreeBSD
993
994 Add --no-wrap to msgmerge call - provides nicer .po file
995 format.
996
997 Honour lease-time spec in dhcp-host lines even for
998 BOOTP. The user is assumed to known what they are doing in
999 this case. (Hosts without the time spec still get infinite
1000 leases for BOOTP, over-riding the default in the
1001 dhcp-range.) Thanks to Peter Katzmann for uncovering this.
1002
1003 Fix problem matching relay-agent ids. Thanks to Michael
1004 Rack for the bug report.
1005
1006 Add --naptr-record option. Suggestion from Johan
1007 Bergquist.
1008
1009 Implement RFC 5107 server-id-override DHCP relay agent
1010 option.
1011
1012 Apply patches from Stefan Kruger for compilation on
1013 Solaris 10 under Sun studio.
1014
1015 Yet more tweaking of Linux capability code, to suppress
1016 pointless wingeing from kernel 2.6.25 and above.
1017
1018 Improve error checking during startup. Previously, some
1019 errors which occurred during startup would be worked
1020 around, with dnsmasq still starting up. Some were logged,
1021 some silent. Now, they all cause a fatal error and dnsmasq
1022 terminates with a non-zero exit code. The errors are those
1023 associated with changing uid and gid, setting process
1024 capabilities and writing the pidfile. Thanks to Uwe
1025 Gansert and the Suse security team for pointing out
1026 this improvement, and Bill Reimers for good implementation
1027 suggestions.
1028
1029 Provide NO_LARGEFILE compile option to switch off largefile
1030 support when compiling against versions of uclibc which
1031 don't support it. Thanks to Stephane Billiart for the patch.
1032
1033 Implement random source ports for interactions with
1034 upstream nameservers. New spoofing attacks have been found
1035 against nameservers which do not do this, though it is not
1036 clear if dnsmasq is vulnerable, since to doesn't implement
1037 recursion. By default dnsmasq will now use a different
1038 source port (and socket) for each query it sends
1039 upstream. This behaviour can suppressed using the
1040 --query-port option, and the old default behaviour
1041 restored using --query-port=0. Explicit source-port
1042 specifications in --server configs are still honoured.
1043
1044 Replace the random number generator, for better
1045 security. On most BSD systems, dnsmasq uses the
1046 arc4random() RNG, which is secure, but on other platforms,
1047 it relied on the C-library RNG, which may be
1048 guessable and therefore allow spoofing. This release
1049 replaces the libc RNG with the SURF RNG, from Daniel
1050 J. Berstein's DJBDNS package.
1051
1052 Don't attempt to change user or group or set capabilities
1053 if dnsmasq is run as a non-root user. Without this, the
1054 change from soft to hard errors when these fail causes
1055 problems for non-root daemons listening on high
1056 ports. Thanks to Patrick McLean for spotting this.
1057
1058 Updated French translation. Thanks to Gildas Le Nadan.
1059
1060
1061 version 2.42
1062 The changelog for version 2.42 and earlier is
1063 available in CHANGELOG.archive.