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