tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
sbin
/
dhcpleased
/
at
master
19 files
Makefile
Dynamically link these /sbin daemons: dhcpleased, mountd, nfsd, pflogd, resolvd, slaacd, unwind. The mitigation story is way better: syscalls are in a randomly located libc, and every syscall stub is randomly located inside that due to random relinking. As opposed to fixed offset inside a release binary. There is one known consequence: /usr nfs mounting must use statically configured IP addresses. ok kettenis florian, others
3 years ago
bpf.c
Only attach a fully configured bpf filter to a network interface. I'm worried we could see packets we shouldn't during a small time window.
5 years ago
bpf.h
Import dhcpleased(8) - a dhcp daemon to acquire IPv4 address leases from servers.
5 years ago
checksum.c
Import dhcpleased(8) - a dhcp daemon to acquire IPv4 address leases from servers.
5 years ago
checksum.h
Import dhcpleased(8) - a dhcp daemon to acquire IPv4 address leases from servers.
5 years ago
control.c
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.
4 years ago
control.h
Import dhcpleased(8) - a dhcp daemon to acquire IPv4 address leases from servers.
5 years ago
dhcpleased.8
improve the Nd lines such that the format is consistent for the various *d, *conf, *ctl files (where relevant) and simple;
3 years ago
dhcpleased.c
Use correct order of arguments for shutdown(2).
3 years ago
dhcpleased.conf.5
improve the Nd lines such that the format is consistent for the various *d, *conf, *ctl files (where relevant) and simple;
3 years ago
dhcpleased.h
default the conffile variable to the default file name instead of NULL.
4 years ago
engine.c
Switch the log_warnx() about trailing garbage to log_debug(). After a maintenance window, my ISP started sending an unexpected 'ff' byte at the very end which created noise in the log. Apparently this came up before.
4 years ago
engine.h
Put (boot) filename, next-server, host-name and domain-name into lease file for the installer.
4 years ago
frontend.c
When the autoconf flag flaps around we might end up with multiple bpf FDs in flight. Things then get confusing. The kernel tells us we can read from the bpf FD but the data is actually "on the other FD", so read(2) returns 0.
3 years ago
frontend.h
Import dhcpleased(8) - a dhcp daemon to acquire IPv4 address leases from servers.
5 years ago
log.c
Import dhcpleased(8) - a dhcp daemon to acquire IPv4 address leases from servers.
5 years ago
log.h
including sys/cdefs.h manually started as a result of netbsd trying to macro-build a replacement for sccsid, and was done without any concern for namespace damage. Unfortunately this practice started infecting other code as others were unaware they didn't need the file. ok millert guenther
4 years ago
parse.y
default the conffile variable to the default file name instead of NULL.
4 years ago
printconf.c
Make host name DHCP option configurable. Diff from hagen@sdf.org, tweaks by me. OK phessler testing & OK bket
4 years ago