summaryrefslogtreecommitdiff
path: root/usr.sbin/slaacctl
AgeCommit message (Collapse)Author
2023-11-27interfacename -> interface to match usage and other manuals; OK florianKlemens Nanni
2023-04-19remove duplicate includesJonathan Gray
2023-03-02improve the Nd lines such that the format is consistent for theJason McIntyre
various *d, *conf, *ctl files (where relevant) and simple; also makes "man -k routing" more useful; help from claudio and florian ok claudio florian millert
2022-03-21Prevent crash of unprivileged engine process (pledged stdio).Florian Obser
The length field of a DNS label in the DNS search list option is an 8 bit unsigned value. parse_dnssl() treats the search list option as an array of char, which are signed on most archs. When we read this value into an int variable it gets sign extended, allowing it to bypass sanity checks and eventually we pass it as the length to memcpy which treats it as a huge unsigned value leading to a heap overflow. An easy fix would be change the signature of parse_dnssl to parse_dnssl(uint8_t* data, int datalen). However, the DNS search list option is unused and the function fails to check if the parsed value is a valid domain name. The function is also getting in the way of future work so it's best to just delete it. The problem was found and reported by qualys, thanks! OK bluhm
2021-03-21Use new terminology of RFC 8981 and (mechanically) replace "privacy"Florian Obser
with "temporary".
2021-02-27Path #defines are traditionally prefixed with _PATH.Florian Obser
pointed out by deraadt
2020-09-14Let slaacd handle all rdomains in a single daemon.Florian Obser
Suggested by claudio and matthieu Testing matthieu Putting it in now to get enough testing before release so that there is enough time to back it out, suggested by deraadt
2020-04-16Make the control socket name depend on the routing domain we are in.Florian Obser
That way, when slaacd gets started in a different rdomain with route exec things just work, no need to provide an alternative control socket. Pointed out by claudio Original diff by benno, but I like my bikeshed purple. OK benno, claudio
2019-11-11 Send DNS proposals on route socket when new nameservers are learnedFlorian Obser
from router advertisements. unwind(8) can solicit DNS proposals by sending an empty RTM_PROPOSAL message with priority RTP_PROPOSAL_SOLICIT.
2019-11-01Correctly group initialization of AF_UNIX socket.Florian Obser
spotted by deraadt in new code, sweep by me. OK deraadt
2019-10-20Remove redundant newline.Florian Obser
pointed out by deraadt@
2018-07-27Enable slaacctl(8) to print information on an advertised MTU.bket
OK florian@
2018-06-19add some missing punctuation, and remove some vertical whitespace;Jason McIntyre
2018-04-27pledge earlier in preparation of pledgepathFlorian Obser
2017-08-28print id first to make this symetrical to address proposalsFlorian Obser
2017-08-22slaacd.sock moved to /dev a while ago.Florian Obser
Noted by Christer Solskogen on misc@, thanks!
2017-08-22typoFlorian Obser
2017-08-18Show timeouts for addresses and default routers.Florian Obser
2017-08-18print default router IPFlorian Obser
2017-08-18nano second resolution is meaninglessFlorian Obser
2017-08-18Use "infinity" for pltime / vltime.Florian Obser
It's a bit easier on the eyes than 4294967295. While here standardize on a width of 10.
2017-06-03Move slaacd to /sbinFlorian Obser
jca points out that all the other interface configuration tools live there (like ifconfig or dhclient). Furthermore it starts so early in the boot process that /usr might not be mounted yet if it's a nfs filesystem. sthen and deraadt agree
2017-05-31No slaacd.conf(5) is currently planned. Remove Xr to nonexistent manual.Theo Buehler
ok florian
2017-05-30whitespace encountered during reviewTheo de Raadt
2017-05-28propose and configure default gatewayFlorian Obser
2017-05-27print router preferenceFlorian Obser
2017-05-27do not use %hhuFlorian Obser
2017-05-27show address proposals in slaacdctl show interface outputFlorian Obser
2017-05-27no longer carry addresses in struct radv_prefixFlorian Obser
2017-04-10slaacdctl -> slaacctl;Jason McIntyre
2017-04-10The canonical name for ctl programs is without 'd'.Florian Obser
Pointed out by Brad. OK deraadt@