Simon Kelley
1ee9be4c3f
Implement dynamic interface discovery on *BSD
2013-12-09 16:50:19 +00:00
Vladislav Grishenko
4c82efc5ac
Relax rules in prefix length in (IPv6) dhcp-range.
2013-12-03 16:05:30 +00:00
Simon Kelley
0d6eb134f5
Do immediate RA when a prefix goes from old->current.
2013-11-26 13:30:12 +00:00
Simon Kelley
6586e8352a
Use random address allocation for DHCPv6 temporary addresses.
2013-11-07 14:20:13 +00:00
Simon Kelley
3511a92869
Fix start-up order for making DHCPv6 DUID
...
Previously, if the DUID wasn't read from the lease-file or
script, a new one was created _after_ the helper process fork,
so for that first run, the script calls got an empty DUID.
Also, use a DUID_LL format DUID when there's no stable lease
storage, as well as when the RTC is broken. That has a chance of
evaluating to the same value on each startup.
2013-11-07 10:28:11 +00:00
Simon Kelley
486479e943
Check prefix length when contructing DHCP ranges.
2013-10-14 17:18:03 +01:00
Simon Kelley
a810559b24
daemon->icmp6fd is always valid when doing DHCPv6 now.
2013-09-25 15:36:00 +01:00
Simon Kelley
861c89141a
Change rules for constructing DHCPv6 ranges.
2013-09-25 15:30:30 +01:00
Simon Kelley
8939c95fd6
Don't extract MAC address from ND table when DHCPv6 request is from a relay.
2013-09-25 11:49:34 +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
1b55190d3f
Fix FTBFS on OpenBSD.
2013-09-23 15:28:38 +01:00
Simon Kelley
d81b42d067
Prod neighbour discovery with ARP instead of PING.
2013-09-23 12:26:34 +01:00
Simon Kelley
8f51a29137
Fix compiler warnings.
2013-09-21 14:07:12 +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
Vladislav Grishenko
e4cdbbf521
Allow prefix :: in constructed dhcp-range.
2013-08-19 16:20:31 +01:00
Simon Kelley
ffbad34b31
Set SOREUSEADDR as well as SOREUSEPORT on DHCP sockets when both available.
2013-08-14 15:53:57 +01:00
Simon Kelley
9f48ffa1e8
Apply ceiling of configured dhcp-range leasetime to deprecated prefix adverts.
2013-07-28 15:47:04 +01:00
Simon Kelley
f7a40ec650
Tweak when old prefix returns.
2013-07-27 13:36:08 +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
429805dbbc
Allow constructed ranges from interface address at end of range.
...
Also make man page on this clearer, as it's been confusing many.
2013-05-31 13:47:26 +01:00
Simon Kelley
56a1142f03
SO_REUSEPORT may be defined, but not supported.
2013-04-02 17:02:58 +01:00
Simon Kelley
5b37aa8c19
Trivial change: 0->NULL for pointer constant.
2013-04-02 16:32:25 +01:00
Simon Kelley
49333cbdbe
Allow trailing '*' wildcard in interface names.
2013-03-15 20:30:51 +00:00
Simon Kelley
de92b479d9
Make wildcard-configured addresses work on multiple networks.
2013-03-15 18:26:23 +00:00
Simon Kelley
c630924d66
Experimental support for DHCPv6 prefix-class option.
2013-03-07 20:59:28 +00:00
Simon Kelley
a6ebfacf7b
Massive refactor of stateful DHCPv6. Lease multiple prefixes per client.
2013-03-06 20:54:27 +00:00
Simon Kelley
4ead40cf67
Fix use-after-free
2013-02-05 14:51:14 +00:00
Simon Kelley
61744359de
Change copyright messages to include 2013.
2013-01-31 14:34:40 +00:00
Simon Kelley
30393100c1
Wildcard IPv6 addresses in --dhcp-host, for constructed ranges.
2013-01-17 16:34:16 +00:00
Simon Kelley
baeb3adf21
More IPv6 address allocation fixes.
2013-01-10 11:47:38 +00:00
Simon Kelley
37c9ccebd1
DHCPv6 address allocation - same DUID, two IAIDs
2013-01-09 19:51:04 +00:00
Simon Kelley
b456b9fdfe
Linked-list bug in new "use longest prefixes first" code.
2013-01-02 17:59:28 +00:00
Simon Kelley
771287be11
Wildcards in dhcp-range constructors
2012-12-30 17:38:09 +00:00
Simon Kelley
3bc0d932d0
More work on lease and router lifetime calculation.
2012-12-28 11:31:44 +00:00
Simon Kelley
d7346a1e8c
Tweak context-construct logic.
2012-12-22 22:45:54 +00:00
Simon Kelley
0c0502426f
Check for new SLAAC addresses when we add new prefixes.
2012-12-22 22:13:19 +00:00
Simon Kelley
ed8b68ad06
Simplify and fix RA lifetime calculation.
2012-12-21 16:23:26 +00:00
Simon Kelley
bad7b875eb
add general flag param to iface_enumerate IPv6 callback
2012-12-20 22:00:39 +00:00
Simon Kelley
5d162f20a9
Rationalise join_multicast()
2012-12-20 14:55:46 +00:00
Simon Kelley
1b75c1e61f
Per-context control over ra short period.
2012-12-18 19:55:25 +00:00
Simon Kelley
c1be917782
DHCP context logging, more tweaks
2012-12-18 18:31:11 +00:00
Simon Kelley
8445f5d2e2
Fix initialisation order.
2012-12-18 18:31:11 +00:00
Simon Kelley
6e3dba3fde
Ignore template contexts where appropriate.
2012-12-18 18:31:11 +00:00
Simon Kelley
7558ecd9ac
Fix periodic loop
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
819ff4dd0f
Wildcard IPv6 dhcp-range.
2012-10-21 18:25:12 +01:00
Simon Kelley
be6cfb42ab
Fix DHCPv6 to do access control correctly when it's configured with --listen-address.
2012-10-16 20:38:31 +01:00
Simon Kelley
2022310f95
SO_REUSEADDR and SO_V6ONLY options on DHCPv6 socket.
2012-10-15 10:41:17 +01:00
Simon Kelley
b269221c00
Address allocation tweaking - lease outside dhcp-range but in subnet.
2012-09-16 22:22:23 +01:00