Simon Kelley
e4e9b342a7
Cosmetic change to start-up logging of DHCPv6 configuration.
2013-10-02 11:03:39 +01:00
Simon Kelley
a810559b24
daemon->icmp6fd is always valid when doing DHCPv6 now.
2013-09-25 15:36:00 +01:00
Vladislav Grishenko
408c368fa5
Remove unused variable warnings when omitting stuff at compile-time.
2013-09-24 16:18:49 +01:00
Simon Kelley
89500e31f1
Support MAC addresses in dhcp-host and dhcp-mac for DHCPv6.
2013-09-20 16:29:20 +01:00
Simon Kelley
ff7eea27e7
Add --dhcp-relay config option.
2013-09-04 18:01:38 +01:00
Simon Kelley
ef1a94abaa
Advertise lost prefixes with pref_time == 0 for 2 hours.
2013-07-26 13:59:03 +01:00
Simon Kelley
e2ba0df2d4
Don't BIND DHCP socket if more interfaces may come along later.
2013-05-31 17:04:25 +01:00
Simon Kelley
bd08ae67f9
Allow option number zero in encapsulated DHCP options.
2013-04-19 10:22:06 +01:00
Simon Kelley
96c727fda6
Cope with duplicate dhcp-options with tags (last one wins).
2013-04-02 21:35:41 +01:00
Simon Kelley
49333cbdbe
Allow trailing '*' wildcard in interface names.
2013-03-15 20:30:51 +00:00
Simon Kelley
c7961075c4
Don't erroneously reject some option names in --dhcp-match
2013-02-28 15:17:58 +00:00
Simon Kelley
61744359de
Change copyright messages to include 2013.
2013-01-31 14:34:40 +00:00
Simon Kelley
b1a1b6def5
Tweak DHCP startup logging.
2013-01-11 16:28:50 +00:00
Simon Kelley
771287be11
Wildcards in dhcp-range constructors
2012-12-30 17:38:09 +00:00
Simon Kelley
c1be917782
DHCP context logging, more tweaks
2012-12-18 18:31:11 +00:00
Simon Kelley
72c9c3b11b
complicated DHCP context logging.
2012-12-18 18:31:11 +00:00
Simon Kelley
1f776932a1
First checkin of interface-address constructor mode for DHCPv6 and RA.
2012-12-18 18:31:11 +00:00
Simon Kelley
4f7b304f53
Initial code to do authoritative DNS.
2012-11-28 21:27:02 +00:00
Simon Kelley
b191a77901
trivial indent fix.
2012-10-24 14:16:00 +01:00
Simon Kelley
35239a302a
Tweak dhcp-config sanity checking.
2012-09-24 15:09:33 +01:00
Simon Kelley
23245c0cb2
RFC 4242 support.
2012-07-18 16:21:11 +01:00
Simon Kelley
c4a7f90ebb
Config parsing error-handling update.
2012-07-12 20:52:12 +01:00
Simon Kelley
8bc4cecee6
Remove libvirt-inspired but never used access control features.
2012-07-03 21:04:11 +01:00
Simon Kelley
51931b888a
Fix access control when DHCPv6 but no RA in use.
2012-05-29 17:06:02 +01:00
Simon Kelley
8767ceecd4
Make libvirt-style access control work when only doing RA.
2012-05-21 20:54:19 +01:00
Simon Kelley
9380ba70d6
Set SO_BINDTODEVICE on DHCP sockets when doing DHCP on one interface
...
only. Fixes OpenSTack use-case.
2012-04-16 14:41:56 +01:00
Simon Kelley
a813111379
Fix bug in tag-matching logic with negated tags.
2012-03-31 21:35:12 +01:00
Simon Kelley
40ef23b547
Move DHCP option stuff to dhcp-common.c
2012-03-13 21:59:28 +00:00
Simon Kelley
843c96b4b3
Make RA without DHCPv6 possible.
2012-02-27 17:42:38 +00:00
Simon Kelley
c5ad4e7998
Router Advertisement
2012-02-24 16:06:20 +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
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
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
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