Michael Stapelberg
ae15230da3
dhcp4d: log in leases callback
2018-06-24 11:56:39 +02:00
Michael Stapelberg
3ba84074c7
dhcp4d: send replies as unicast using raw sockets
...
Preferring unicast over multicast (which hogs a lot of airtime on WiFi networks)
is a best practice.
Some device/access point vendor combinations even seem to entirely eat (some?)
broadcast traffic (sometimes), e.g. my Apple iPhone SE/Ubiquiti UAP-AC-HD, so
that using unicast is required for reliable WiFi.
2018-06-23 17:46:53 +02:00
Michael Stapelberg
301d4c0d00
dhcp4d: always set broadcast flag for DHCPOFFERs
...
We always broadcast them, so we should signal that.
2018-06-22 18:35:23 +02:00
Michael Stapelberg
5e11eae951
fix dhcp4d_test for larger pool
2018-06-19 09:46:29 +02:00
Michael Stapelberg
957e4de03a
no-op: only one branch results in DHCPNAK
2018-06-18 19:29:58 +02:00
Michael Stapelberg
34d494b85c
dhcp4d: increase lease range to cover existing leases
2018-06-18 19:29:42 +02:00
Michael Stapelberg
32dd03c7f2
dhcp4d: copy reqIP, its backing storage gets reused
2018-06-15 09:56:07 +02:00
Michael Stapelberg
4c69109db5
dhcp4d: implement permanent leases (no expiration)
2018-06-12 08:21:07 +02:00
Michael Stapelberg
d21822f531
dhcp4d: implement loading leases files from persistent storage
2018-06-09 15:18:01 +02:00
Michael Stapelberg
f9c3c23b16
dhcp4d: implement lease expiration
2018-06-09 15:04:54 +02:00
Michael Stapelberg
3561ec3708
dhcp4d: offer requested address if available
2018-06-07 08:39:47 +02:00
Michael Stapelberg
2ef8bf6ea0
dnsd/dhcp4d: listen on configured address (not hard-coded)
2018-06-04 08:22:45 +02:00
Michael Stapelberg
6b9ce5728a
Initial commit
2018-05-27 17:30:42 +02:00