History log of /openbsd/sbin/dhcpleased/control.c (Results 1 – 6 of 6)
Revision Date Author Comments
# c920a736 01-Sep-2024 tb <tb@openbsd.org>

dhcpleased: fix a sizeof for IMSG_REQUEST_REBOOT.

"fatal in engine: engine_dispatch_frontend: invalid IMSG_REQUEST_REBOOT"
reported by qwer.ty tuta io

ok florian kn


# 45c5e5ad 25-Aug-2024 florian <florian@openbsd.org>

Do not peek inside of struct imsg.

input & OK tb


# c7313d44 01-Aug-2021 florian <florian@openbsd.org>

Do not abuse the IMSG_CTL_SEND_REQUEST imsg to transition to
REBOOTING. There will be a few more cases internal to dhcpleased that
have nothing to do with the control socket.
While here move requesti

Do not abuse the IMSG_CTL_SEND_REQUEST imsg to transition to
REBOOTING. There will be a few more cases internal to dhcpleased that
have nothing to do with the control socket.
While here move requesting a new lease via a call to dhclient under
ifndef SMALL, nothing on the ramdisk uses this.

show more ...


# a41cc082 26-Jul-2021 florian <florian@openbsd.org>

Implement possibility to send vendor class identifier (option 60) and
client identifier (option 61). Some dhcp servers expect these options
and refuse to hand out a lease without them.
Need for vendo

Implement possibility to send vendor class identifier (option 60) and
client identifier (option 61). Some dhcp servers expect these options
and refuse to hand out a lease without them.
Need for vendor class identifier pointed out & tested by bket
Need for client identifier pointed out by sthen
Input & reads OK sthen (as part of a larger diff)
OK kn (as part of a larger diff)

show more ...


# 63361974 02-Mar-2021 jsg <jsg@openbsd.org>

remove uneeded md5.h include
ok florian@


# 57419a7f 26-Feb-2021 florian <florian@openbsd.org>

Import dhcpleased(8) - a dhcp daemon to acquire IPv4 address leases
from servers.

dhcpleased(8) follows the well known three process design of all our
privsep daemons. It uses pledge(2) and unveil(2

Import dhcpleased(8) - a dhcp daemon to acquire IPv4 address leases
from servers.

dhcpleased(8) follows the well known three process design of all our
privsep daemons. It uses pledge(2) and unveil(2) to restrict access
further. In particular the "engine" process, responsible for parsing
of untrusted data, is pledge'd "stdio". It cannot access the outside
world nor the filesystem at all.

Like slaacd(8) for IPv6 it will be always running and acquire addresses
for all interface with the autoconf4 flag set.
The flag can be set by "ifconfig $if inet autoconf" or by adding
"inet autoconf" to /etc/hostname.if. An existing "dhcp" line should
be removed.

Various iterations tested by deraadt@
The hardest part, finding a name, was handled by jmatthew@ & otto@

"get to it :)" deraadt@

show more ...