2603
2603
Update Spanish translation. Thanks to Christopher Chatham.
2606
Fix total DNS failure in release 2.43 unless --min-port
2606
Fix total DNS failure in release 2.44 unless --min-port
2607
2607
specified. Thanks to Steven Barth and Grant Coady for
2608
2608
bugreport. Also reject out-of-range port spec, which could
2609
2609
break things too: suggestion from Gilles Espinasse.
2612
Allow --bootp-dynamic to take a netid tag, so that it may
2613
be selectively enabled. Thanks to Olaf Westrik for the
2616
Remove ISC-leasefile reading code. This has been
2617
deprecated for a long time, and last time I removed it, it
2618
ended up going back by request of one user. This time,
2619
it's gone for good; otherwise it would need to be
2620
re-worked to support multiple domains (see below).
2622
Support DHCP clients in multiple DNS domains. This is a
2623
long-standing request. Clients are assigned to a domain
2624
based in their IP address.
2626
Add --dhcp-fqdn flag, which changes behaviour if DNS names
2627
assigned to DHCP clients. When this is set, there must be
2628
a domain associated with each client, and only
2629
fully-qualified domain names are added to the DNS. The
2630
advantage is that the only the FQDN needs to be unique,
2631
so that two or more DHCP clients can share a hostname, as
2632
long as they are in different domains.
2634
Set environment variable DNSMASQ_DOMAIN when invoking
2635
lease-change script. This may be useful information to
2636
have now that it's variable.
2638
Tighten up data-checking code for DNS packet
2639
handling. Thanks to Steve Dodd who found certain illegal
2640
packets which could crash dnsmasq. No memory overwrite was
2641
possible, so this is not a security issue beyond the DoS
2644
Update example config dhcp option 47, the previous
2645
suggestion generated an illegal, zero-length,
2646
option. Thanks to Matthias Andree for finding this.
2648
Rewrite hosts-file reading code to remove the limit of
2649
1024 characters per line. John C Meuser found this.
2651
Create a net-id tag with the name of the interface on
2652
which the DHCP request was received.
2654
Fixed minor memory leak in DBus code, thanks to Jeremy
2655
Laine for the patch.
2657
Emit DBus signals as the DHCP lease database
2658
changes. Thanks to Jeremy Laine for the patch.
2660
Allow for more that one MAC address in a dhcp-host
2661
line. This configuration tells dnsmasq that it's OK to
2662
abandon a DHCP lease of the fixed address to one MAC
2663
address, if another MAC address in the dhcp-host statement
2664
asks for an address. This is useful to give a fixed
2665
address to a host which has two network interfaces
2666
(say, a laptop with wired and wireless interfaces.)
2667
It's very important to ensure that only one interface
2668
at a time is up, since dnsmasq abandons the first lease
2669
and re-uses the address before the leased time has
2670
elapsed. John Gray suggested this.
2672
Tweak the response to a DHCP request packet with a wrong
2673
server-id when --dhcp-authoritative is set; dnsmasq now
2674
returns a DHCPNAK, rather than silently ignoring the
2675
packet. Thanks to Chris Marget for spotting this
2678
Add --cname option. This provides a limited alias
2679
function, usable for DHCP names. Thanks to AJ Weber for
2680
suggestions on this.
2682
Updated contrib/webmin with latest version from Neil
2685
Updated Polish translation. Thanks to Jan Psota.
2687
Correct the text names for DHCP options 64 and 65 to be
2688
"nis+-domain" and "nis+-servers".
2690
Updated Spanish translation. Thanks to Chris Chatham.
2692
Force re-reading of /etc/resolv.conf when an "interface
2697
Updated French translation. Thanks to Gildas Le Nadan.
2699
Fixed interface enumeration code to work on NetBSD
2700
5.0. Thanks to Roy Marples for the patch.
2702
Updated config.h to use the same location for the lease
2703
file on NetBSD as the other *BSD variants. Also allow
2704
LEASEFILE and CONFFILE symbols to be overriden in CFLAGS.
2706
Handle duplicate address detection on IPv6 more
2707
intelligently. In IPv6, an interface can have an address
2708
which is not usable, because it is still undergoing DAD
2709
(such addresses are marked "tentative"). Attempting to
2710
bind to an address in this state returns an error,
2711
EADDRNOTAVAIL. Previously, on getting such an error,
2712
dnsmasq would silently abandon the address, and never
2713
listen on it. Now, it retries once per second for 20
2714
seconds before generating a fatal error. 20 seconds should
2715
be long enough for any DAD process to complete, but can be
2716
adjusted in src/config.h if necessary. Thanks to Martin
2717
Krafft for the bug report.
2719
Add DBus introspection. Patch from Jeremy Laine.
2721
Update Dbus configuration file. Patch from Colin Walters.
2723
http://bugs.freedesktop.org/show_bug.cgi?id=18961
2725
Support arbitrarily encapsulated DHCP options, suggestion
2726
and initial patch from Samium Gromoff. This is useful for
2727
(eg) gPXE, which expect all its private options to be
2728
encapsulated inside a single option 175. So, eg,
2730
dhcp-option = encap:175, 190, "iscsi-client0"
2731
dhcp-option = encap:175, 191, "iscsi-client0-secret"
2733
will provide iSCSI parameters to gPXE.
2735
Enhance --dhcp-match to allow testing of the contents of a
2736
client-sent option, as well as its presence. This
2737
application in mind for this is RFC 4578
2738
client-architecture specifiers, but it's generally useful.
2739
Joey Korkames suggested the enhancement.
2741
Move from using the IP_XMIT_IF ioctl to IP_BOUND_IF on
2742
OpenSolaris. Thanks to Bastian Machek for the heads-up.
2744
No longer complain about blank lines in
2745
/etc/ethers. Thanks to Jon Nelson for the patch.
2747
Fix binding of servers to physical devices, eg
2748
--server=/domain/1.2.3.4@eth0 which was broken from 2.43
2749
onwards unless --query-port=0 set. Thanks to Peter Naulls
2752
Reply to DHCPINFORM requests even when the supplied ciaddr
2753
doesn't fall in any dhcp-range. In this case it's not
2754
possible to supply a complete configuration, but
2755
individually-configured options (eg PAC) may be useful.
2757
Allow the source address of an alias to be a range:
2758
--alias=192.168.0.0,10.0.0.0,255.255.255.0 maps the whole
2759
subnet 192.168.0.0->192.168.0.255 to 10.0.0.0->10.0.0.255,
2761
--alias=192.168.0.10-192.168.0.40,10.0.0.0,255.255.255.0
2762
maps only the 192.168.0.10->192.168.0.40 region. Thanks to
2763
Ib Uhrskov for the suggestion.
2765
Don't dynamically allocate DHCP addresses which may break
2766
Windows. Addresses which end in .255 or .0 are broken in
2767
Windows even when using supernetting.
2768
--dhcp-range=192.168.0.1,192.168.1.254,255,255,254.0 means
2769
192.168.0.255 is a valid IP address, but not for Windows.
2770
See Microsoft KB281579. We therefore no longer allocate
2771
these addresses to avoid hard-to-diagnose problems.
2773
Update Polish translation. Thanks to Jan Psota.
2775
Delete the PID-file when dnsmasq shuts down. Note that by
2776
this time, dnsmasq is normally not running as root, so
2777
this will fail if the PID-file is stored in a root-owned
2778
directory; such failure is silently ignored. To take
2779
advantage of this feature, the PID-file must be stored in a
2780
directory owned and write-able by the user running