Simon Kelley
1d0f91c4a9
Don't trust the port in the source address of requests.
...
At least one client gets it wrong: always send to the client port for
clients, and the server port for relays.
2012-03-12 11:56:22 +00:00
Simon Kelley
2a82db4caf
Supply zero preference in advertise and reply messages
2012-03-10 21:40:10 +00:00
Simon Kelley
dd88c17f15
Add status code containing "success" to all IA_TA and IA_NA
...
which have IAADDR options. This communicates zero information and
RFC3315 is unclear that it's needed, but at least one client seems
to require it.
2012-03-10 20:46:57 +00:00
Simon Kelley
4b86b65d07
Substitute local address for [::] DHCPv6 options, like DHCPv4.
2012-02-29 11:45:37 +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
c5ad4e7998
Router Advertisement
2012-02-24 16:06: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
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
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
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
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
52b92f4db8
It compiles and it allocates a lease! No renewals yet.
2012-01-22 16:05:15 +00:00
Simon Kelley
5954608577
Updated copyright notices. Happy new year!
2012-01-06 20:02:04 +00:00
Simon Kelley
c72daea868
Accumulated 2.60 changes going into git
2012-01-05 21:33:27 +00:00