summaryrefslogtreecommitdiff
path: root/usr.sbin/rarpd
AgeCommit message (Expand)Author
2022-10-04Remove REQUIRE_TFTPBOOT left-overKlemens Nanni
2022-10-04Unveil /tftpboot only if neededKlemens Nanni
2021-11-15No need to declare optind, optarg or opterr; unistd.h does this for us.Todd C. Miller
2021-09-06repair missing paths on unveil failureTheo de Raadt
2020-12-29getifaddrs() can return entries where ifa_addr is NULL. Check for thisSebastian Benoit
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-01-22PF_ROUTE -> AF_ROUTE in the scattered sock()/setsockopt() callsKenneth R Westerback
2018-08-07Unveil is used at tail of initialization to allow "r" of /tftpbootTheo de Raadt
2018-06-01Just over 15 years and 35 revisions ago, itojun removed the last use ofTheo Buehler
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.Philip Guenther
2017-04-19Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has beenMartin Natano
2017-01-20Oops. one "error(NONFATAL,..." got flipped to "error(...)" insteadKenneth R Westerback
2017-01-20Split error() into error() and warn() so that error() can be markedKenneth R Westerback
2016-12-18Nuke more unused variables.Kenneth R Westerback
2016-08-27Pull in <sys/time.h> for gettimeofday()Philip Guenther
2016-07-25Fix rarpd hang. The receive buffer of a route socket can become fullVisa Hankala
2016-05-28Replace the /dev/bpf* open loop with a plain open("/dev/bpf0", ...).Martin Natano
2016-01-26Use an unsigned int rather than an int when iterating through all 32mmcc
2015-11-19hoist the SOCK_RAW setup to the top before pledgeTheo de Raadt
2015-11-13pledge "stdio rpath dns" right at the start of the servicing loop.Theo de Raadt
2015-10-28pid removal; from jan staryJason McIntyre
2015-10-27Consistency in error messages.Jeremie Courreges-Anglas
2015-10-26remove libutil from dpadd tooTed Unangst
2015-10-26remove util.h include and -lutil after pidfile removalJoerg Jung
2015-10-26stop using pidfile()Theo de Raadt
2015-10-16use daemon(), jca had the same diff in his treeTheo de Raadt
2015-08-20stdlib.h is in scope; do not cast malloc/calloc/realloc*Theo de Raadt
2015-08-03Explicitly request the sockaddr_dl when doing a RTM_GET rather thanMartin Pieuchot
2015-07-16typoMiod Vallat
2015-01-19Routing sockets are here to stay, so delete the wrapper that would use thePhilip Guenther
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-16Replace setpgrp(0, getpid()) with setpgid(0, 0). OK deraadt@ tedu@Todd C. Miller
2014-10-31convert select() to poll(). Bit more complicated here. Some interestingTheo de Raadt
2014-10-29delete obscure workaround for a bug in SunOS.Theo de Raadt
2014-10-08KNFTheo de Raadt
2014-09-08obvious cases of missing .An;Ingo Schwarze
2013-11-12handle lack of prototypeTheo de Raadt
2013-08-15Reduce the warnings when arp, rarp, ndp are compiled with WARNINGS=yes.Alexander Bluhm
2013-07-20Add missing RCS id.Alexander Bluhm
2013-07-20arp and rarpd used an int expire_time for time calculation. ConvertAlexander Bluhm
2012-09-26last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
2012-04-06BIOCGBLEN is using a u_int, not an intTheo de Raadt
2010-08-29remove unused variableCharles Longeau
2010-08-26remove a silly comment that duplicates the usage string at the start ofJonathan Gray
2010-08-26Allow multiple interfaces to be specified instead of all or one.Jonathan Gray
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-06-25Another copy another missing RTM_VERSION check.Claudio Jeker
2009-06-05rtm->rtm_hdrlen conversionChris Cappuccio
2008-05-23hexidecimal -> hexadecimalIgor Sobrado
2008-05-18some minor fixes;Jason McIntyre