Commit graph

9 commits

Author SHA1 Message Date
1d97134839 nzrdhcp: don't worry about whether there's a relay 2024-08-18 21:05:53 -07:00
c35d9ccbed nzrdhcp: also define lease in offer 2024-08-15 19:15:25 -07:00
693156dc3e nzrdhcp: define lease in request ack 2024-08-15 19:13:38 -07:00
37a1b0f3a0 pseudo mtu awareness 2024-08-15 18:55:10 -07:00
b0646410b9 nzrdhcp: broadcast if needed 2024-08-15 01:01:43 -07:00
d10d98de96 properly init tracing-subscriber 2024-08-14 22:18:13 -07:00
51e72fed93 nzrdhcp: don't depend on tarpc
No longer needed, with nzr-api exposing the client bits.
2024-08-12 00:17:53 -07:00
3d0ea1f2ef nzrdhcp: make it actually work
* Check the DHCP options for the requested IPv4 address
* Update yiaddr, not siaddr or ciaddr
* Read the RFC a tenth time. I think I've got it now
2024-08-10 18:20:53 -07:00
6da77159b1 Complete rewrite time
Main changes:

* Use diesel instead of sled
* Split libvirt components into new crate, nzr-virt
* Start moving toward network-based cloud-init

To facilitate the latter, nzrdhcp is an added unicast-only DHCP server,
intended to be used behind a DHCP relay.
2024-08-10 00:58:20 -07:00