summaryrefslogtreecommitdiff
path: root/sbin/dhcpleased
AgeCommit message (Expand)Author
2024-09-16Close correct file descriptor.Florian Obser
2024-09-01dhcpleased: fix a sizeof for IMSG_REQUEST_REBOOT.Theo Buehler
2024-08-27Do not send zero sized vendor or client ids.Florian Obser
2024-08-26Use i2s instead of hard coding the imsg type. Suggested by tb.Florian Obser
2024-08-26errno is unset, use fatalx(3) instead of fatal(3).Florian Obser
2024-08-26Be stricter in what we accept from the main process.Florian Obser
2024-08-25Do not peek inside of struct imsg.Florian Obser
2024-08-11rework DESCRIPTION for both dhcpleased(8) and slaacd(8) to more accuratelyJason McIntyre
2024-07-14log_getverbose() is a void functionFlorian Obser
2024-06-27dhclient hasn't prodded us in a long time to renew a lease.Florian Obser
2024-06-03more sleepy florian knf issuesTheo de Raadt
2024-06-02Switch to rebinding at the rebinding time not when one timeout past.Florian Obser
2024-02-13Only generate a new xid at the start of getting a new lease.Florian Obser
2024-01-26Put checksum flags in bpf_hdr to use them in userland dhcpleased.Jan Klemkow
2023-12-14Use imsg_get_fd() to access the fd passed with the imsg.Claudio Jeker
2023-11-25whitespace; spotted by knFlorian Obser
2023-11-25First stab at IPv6-only preferred from RFC8925.Florian Obser
2023-11-03typo: ignorning -> ignoringTheo Buehler
2023-10-10Do not copy stack garbage, that's not going to be used.Florian Obser
2023-03-02improve the Nd lines such that the format is consistent for theJason McIntyre
2023-02-15Use correct order of arguments for shutdown(2).Florian Obser
2022-12-11Balance a getifaddrs() with a freeifaddrs(); plugs a leak seen byOtto Moerbeek
2022-11-27Provide more accurate lock error messageKlemens Nanni
2022-08-29Dynamically link these /sbin daemons: dhcpleased, mountd, nfsd, pflogd,Theo de Raadt
2022-08-19Document lease filesKlemens Nanni
2022-07-23Let the kernel delete the (default) route when we deconfigure theFlorian Obser
2022-07-23Send an IFP to distinguish (default) routes over different interfacesFlorian Obser
2022-07-14When the autoconf flag flaps around we might end up with multiple bpfFlorian Obser
2022-06-14The curly braces are tokens in the described language,Ingo Schwarze
2022-05-05Switch the log_warnx() about trailing garbage to log_debug(). After aTheo Buehler
2022-05-04As found by n18fuhtm AT tutanota.com there are dhcp servers that send aFlorian Obser
2022-04-26Do not send a hostname option when we don't have a hostname.Florian Obser
2022-03-31man pages: add missing commas between subordinate and main clausesChristian Weisgerber
2022-03-21default the conffile variable to the default file name instead of NULL.David Gwynne
2022-02-16According to RFC 2132, 2. BOOTP Extension/DHCP Option Field FormatFlorian Obser
2022-01-04Make host name DHCP option configurable.Florian Obser
2021-12-18Make sure we receive what we expect over imsg.Florian Obser
2021-12-13including sys/cdefs.h manually started as a result of netbsd trying toTheo de Raadt
2021-12-13Only generate a new xid on state change.Florian Obser
2021-12-13Treat xid as a uint32_t in network byte order on the wire.Florian Obser
2021-12-13Replace struct member assignment with struct assignment to make theFlorian Obser
2021-12-09Rework in which state to add and not add the server-ip andFlorian Obser
2021-11-20Send default client identifier when a config file is present but noFlorian Obser
2021-11-14When we transition from RENEWING to REBINDING state we have toFlorian Obser
2021-10-28Accept server replies from any server portKlemens Nanni
2021-10-20Do not ignore carp(4) interfaces.Florian Obser
2021-10-15Don't declare variables as "unsigned char *" that are passed toChristian Weisgerber
2021-09-21Use upercase DHCP and sprinkle in some ":".Florian Obser
2021-09-20Document how a 0 byte can be encoded for client-id.Florian Obser
2021-09-20According to RFC 2132 (9.14. Client identifier) a hardware type of 0Florian Obser