The Reserve dialog fills in the lease's address but lets it be changed;
POST /leases/{ip}/reserve takes an optional ip, steward lease reserve
takes --ip. The address must be in the lease's subnet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A subnet is a deny-list subnet (the default: everyone not denied) or
an allow-list subnet (only clients allowed or with a reservation);
the deny list counts in both. Entries are MAC addresses, prefixes
(aa:bb:cc:*) or client IDs. A refused client gets no answer (DENIED
in the activity log, with an Allow button) or a NAK on renewal.
steward access, the subnet's Access tab. Schema migration 7.
- The activity log keeps each message's header fields and options,
decoded into words (dhcp4.Describe): the parameter request list by
name, client IDs, lease times. ▸ on an Activity row, steward
activity show N / --details, GET /events/{id}.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A reservation can have its own lease time (--lease-time, the
reservation dialog), over the subnet's. Schema migration 6.
- A reservation with a MAC address and a client ID matches either one
(a dual-boot machine sends two client IDs from one MAC); before, it
was found by MAC and then refused. A lease of the reserved address by
the client's other identity counts as its own.
- The Leases page shows a client's client ID; reserving a lease uses
both, or one with --by / the dialog's choice.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Which never-used pool address a new client gets: sequential (the
lowest, as before), reverse or random, in the settings, a subnet or
a single pool (FIRST-LAST:ORDER). When no never-used address is left,
the one free the longest, whatever the order; returning clients keep
theirs.
- A subnet's pools are used in the order listed, or one at random
weighted by its never-used addresses. Pools now keep the order they
are given in (no more sorting by address).
- CLI --address-order and --pool-order; --add-pool of an existing range
changes its order in place. Web UI: per-pool order and a move-up
button, pool and address order on the subnet and settings pages.
- Kea's allocator: random is imported. Schema migration 5.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- interfaces.exclude in steward.yaml (names or shell patterns) leaves
interfaces out of GET /interfaces, the web UI's picker and
'steward interface list'. Subnets on them are still served.
- With the ping check on, active leases are pinged every minute; a
client that answers gets a last-seen time (leases.last_seen,
migration 4). Not answering never takes a client offline.
- The activity log filters by subnet (--subnet, the Activity page,
GET /events?subnet=).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A disabled reservation is kept but ignored: the client gets a pool
address like any other (steward reservation disable|enable, buttons and
a checkbox in the web UI). Schema migration 3.
- Subnets get Disable/Enable buttons on their page and in the list.
- A rule left without its selector in style.css broke the page heading's
layout, so the New ... buttons sat cramped under the description.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Subnets served per interface, pools, reservations, options at three
levels, leases in SQLite saved before the ACK, ping and decline conflict
checks, validated changes with history and undo, users and tokens, an
audit log, a Kea importer, a sandboxed systemd unit and Debian packages.
Tested with real udhcpc and dhcpcd clients in Docker (scripts/e2e.sh).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>