Simon Kelley
bc26f9a03f
Handle firewire and EUI-64 addresses in the SLAAC code.
2012-03-07 13:13:56 +00:00
Simon Kelley
f444cddbaf
Don't waste time calculating EUI-64 when a lease doesn't have a name.
2012-03-07 10:15:57 +00:00
Simon Kelley
801ca9a7b7
Add ra-names SLAAC-hostnames from DHCPv4 option.
2012-03-06 19:30:17 +00:00
Simon Kelley
22b135a116
Fix paretheses in ADD_RDLEN - it always returned 1 before.
2012-03-01 19:54:50 +00:00
Simon Kelley
0f08983d85
Be more picly about the MAC address we use for DUID-creation.
2012-03-01 13:43:39 +00:00
Simon Kelley
e3e86343fc
Fix DUID generation with HAVE_BROKEN_RTC.
2012-03-01 10:35:34 +00:00
Simon Kelley
7b6dd880f7
Fix socklen_t/size_t confusion in radv.c
2012-03-01 10:26:16 +00:00
Simon Kelley
b7f4020133
Fix FTBFS when HAVE_BROKEN_RTC defined.
2012-02-29 21:43:37 +00:00
Simon Kelley
552af8b988
Fix --localise-queries via interface lo bug.
2012-02-29 20:10:31 +00:00
Simon Kelley
0010b47439
RA configuration tweaks and documentation improvements.
2012-02-29 12:18:30 +00:00
Simon Kelley
4b86b65d07
Substitute local address for [::] DHCPv6 options, like DHCPv4.
2012-02-29 11:45:37 +00:00
Simon Kelley
0d5d35d052
RA lifetimes must be at least 2 hours
2012-02-27 20:24:40 +00:00
Simon Kelley
843c96b4b3
Make RA without DHCPv6 possible.
2012-02-27 17:42:38 +00:00
Simon Kelley
58dc02ebf2
Order of fields in DHCPv6 log lines now consistent with DHCPv4
2012-02-27 11:49:37 +00:00
Simon Kelley
c239f7de25
rename header files.
2012-02-27 10:56:18 +00:00
Simon Kelley
22d904db95
Fix RA on *BSD (missing sa_len)
2012-02-26 20:13:45 +00:00
Simon Kelley
741c2952d4
Tidy up RA scheduling.
2012-02-25 13:09:18 +00:00
Simon Kelley
c5379c1ab6
Don't send hoplimit 1 when multicasting RAs
2012-02-24 20:05:52 +00:00
Simon Kelley
a4a5205fd7
Fix ordering problem in multicast setup.
2012-02-24 19:44:05 +00:00
Simon Kelley
c5ad4e7998
Router Advertisement
2012-02-24 16:06:20 +00:00
Simon Kelley
270dc2e199
Fix wrong fallback address in DHCPv6
2012-02-19 20:53:20 +00:00
Simon Kelley
87b8ecb13a
Fixed code passing tags to helper to work when there are no context tags.
...
Fixed call to sendto() in dhcp6.c. How did it every work before?
2012-02-18 21:23:16 +00:00
Simon Kelley
e44ddcac63
Fix hang at startup when DHCPv6 enabled on a complex network
...
configuration - we have to read all the MAC addresses from netlink,
not bail when we find a suitable one.
Fix thinko in dhcp_update_configs - thanks to Hartmut for spotting
that.
Get a sensible address for the default DNS server even when using a
relay.
2012-02-18 17:08:50 +00:00
Simon Kelley
00e9ad5217
Fixes for DHCPv6 tag system.
2012-02-16 21:53:11 +00:00
Simon Kelley
57f460de2f
tweak Lua script argument passing and add --dhcp-luascript sectino to manpage.
2012-02-16 20:00:32 +00:00
Simon Kelley
6caacacf6d
Putative fix to crash in IPv4 DHCP, introduced whilst
...
generalising the DHCP option filter code:
don't match options against context tag when
context->netid.net == NULL, since there's no tag then.
2012-02-15 21:58:33 +00:00
Simon Kelley
60ac5af682
Remove extact-MAC address from DUID code.
2012-02-15 10:41:03 +00:00
Simon Kelley
caa94380ac
bugs in IPv6 script calling - wrong DUID and lua relay_address
2012-02-15 10:29:50 +00:00
Simon Kelley
0793380b40
Implement dhcp-ignore-names and DNSMASQ_RELAY_ADDRESS for IPv6
...
Build DHCPv6 by default.
2012-02-14 20:55:25 +00:00
Simon Kelley
2307eac613
Fix code parsing --domain, broken whilst added IPv6 stuff.
2012-02-13 10:13:13 +00:00
Simon Kelley
127ea40ae7
Don't build DHCPv6 by default, except when build Debian package.
2012-02-11 22:14:52 +00:00
Simon Kelley
6aef600d48
Correct duid generate on FreeBSD
2012-02-11 22:01:50 +00:00
Simon Kelley
98d76a0326
Tweaks to fix compilation on FreeBSD.
2012-02-10 22:16:45 +00:00
Simon Kelley
627797800d
Report correct error if prefix in dhcp-range is less than 64
...
Update debian/rules to provide no_dhcp6 and use_lua build opts.
Log DHCPv6 information request packets.
2012-02-10 21:19:25 +00:00
Simon Kelley
c6cc03ed0c
Merge branch 'dhcpv6'
2012-02-10 17:36:20 +00:00
Simon Kelley
3d7b550f52
missed DHCP6 conditional compilation.
2012-02-10 17:35:37 +00:00
Simon Kelley
751d6f4ae6
Allow the TFP server or boot server in --pxe-service, to
...
be a domain name instead of an IP address. This allows for
round-robin to multiple servers, in the same way as
--dhcp-boot.
2012-02-10 15:24:51 +00:00
Simon Kelley
a5c72ab51d
DHCPv6 vendor class option includes an enterprise number. Handle that.
2012-02-10 13:42:47 +00:00
Simon Kelley
ceae00dddf
lease script should work with IPv6 now.
2012-02-09 21:28:14 +00:00
Simon Kelley
3634c54e8d
dhcp-ignore and dhcp-match implemented for DHCPv6 now.
2012-02-08 14:22:37 +00:00
Simon Kelley
d74942a03d
IPv6 address range parsing for --domain.
...
Counted string DHCP option type printing
2012-02-07 20:51:56 +00:00
Simon Kelley
70c5e3e076
DHCPDECLINE handling, domain handling, more complete address selection.
2012-02-06 22:05:15 +00:00
Simon Kelley
4cb1b32009
Clean compile, basic DHCPv6 functionality is there.
...
TODO
hostname handling.
update DHCP6 configs from dns
parse domain=<domain>,<IPv6 range>
pretty-print counted string options.
DECLINE messages
lease-script fro DHCPv6
2012-02-06 14:30:41 +00:00
Simon Kelley
3268e90f5e
Make default NO_DHCP6 and remove compiler warning.
2012-01-22 16:15:02 +00:00
Simon Kelley
e98170816a
Merge branch 'dhcpv6'
2012-01-22 16:07:22 +00:00
Simon Kelley
52b92f4db8
It compiles and it allocates a lease! No renewals yet.
2012-01-22 16:05:15 +00:00
Simon Kelley
a2761754da
Fix problem if dnsmasq is started without the stdin,
...
stdout and stderr file descriptors open. This can manifest
itself as 100% CPU use. Thanks to Chris Moore for finding
this.
2012-01-18 16:07:21 +00:00
Simon Kelley
805a11345c
We don't need to check that a cache record is F_HOST in the
...
duplicate address code, since we're now searching a temporary hash
which holds only F_HOST records.
2012-01-13 11:51:46 +00:00
Simon Kelley
1ab62aec37
Further tuning of the fast hostfile reading code.
...
Use the packet buffer for hash-buckets, better hash function.
2012-01-12 11:33:16 +00:00
Simon Kelley
915363f976
Tweaks to hostfile performance work.
2012-01-11 22:00:48 +00:00