summaryrefslogtreecommitdiff
path: root/usr.sbin/route6d
AgeCommit message (Expand)Author
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-07-11Remove RTM_LOSING from the file, it is no longer used by OpenBSD andClaudio Jeker
2018-07-01more RTM_LOCK removalsTheo de Raadt
2018-07-01Retire support for unused RTM_LOCK messages, it's redundant w/ RTM_CHANGE.Martin Pieuchot
2018-06-14fix mem leakFlorian Obser
2018-01-16Recycle IFF_NOTRAILERS into IFF_STATICARP and document ownerhsipMartin Pieuchot
2017-08-23No need to handle more than one routing message here.Jeremie Courreges-Anglas
2017-07-28pass the size of the dst buffer to strlcat, not the source; pointedFlorian Obser
2017-03-21From a syslog perspective it does not make sense to log fatal andAlexander Bluhm
2017-03-13Add OpenBSD RCS id.Alexander Bluhm
2016-08-126bone -> documentation rangeJeremie Courreges-Anglas
2016-08-05Add a -u switch to always log route insertions/deletions.Jeremie Courreges-Anglas
2016-08-05Use tighter pledge(2) restrictions.Jeremie Courreges-Anglas
2016-08-05Rework logging.Jeremie Courreges-Anglas
2016-07-13Introduce RTF_MULTICAST and flag corresponding IPv6 routes as suchMartin Pieuchot
2016-07-06route6d spring cleanupJeremie Courreges-Anglas
2016-01-25No need to declare main().Jeremie Courreges-Anglas
2016-01-25malloc+memset -> callocJeremie Courreges-Anglas
2015-12-19Remove NULL-check before free().mmcc
2015-11-30Sort includes.Jeremie Courreges-Anglas
2015-11-30Fix error message after conversion from select(2) to poll(2).Jeremie Courreges-Anglas
2015-10-26Partial revert of r1.79, "np" handling is a bit trickier than expected.Jeremie Courreges-Anglas
2015-10-26Rename the struct pollfd array, "set" -> "pfd"Jeremie Courreges-Anglas
2015-10-26Those variables should be local to the functions where they are used.Jeremie Courreges-Anglas
2015-10-26Kill unused variable and function.Jeremie Courreges-Anglas
2015-10-25hms() returns a pointer to static storage, annotate the return type with "const"Jeremie Courreges-Anglas
2015-10-25Correctly print size_t/time_t.Jeremie Courreges-Anglas
2015-10-25Plug memory leak introduced in r1.15.Jeremie Courreges-Anglas
2015-10-25Those two functions take no parameters, thus /* ARGSUSED */ is meaningless.Jeremie Courreges-Anglas
2015-10-25Sync surrounding code after reallocarray introduction.Jeremie Courreges-Anglas
2015-10-25Rename allocopy() to xstrdup(), and make use of strdup(3).Jeremie Courreges-Anglas
2015-10-25Kill unused ROUTE6D_CONF define.Jeremie Courreges-Anglas
2015-10-25Another pidfile(3) removal; ok benno@Jeremie Courreges-Anglas
2015-10-18Tweak previous: call fatal(), not err(3), for consistency. err.h goes away.Jeremie Courreges-Anglas
2015-10-17route6d pledges to use only "stdio rpath wpath cpath inet route mcast"Jeremie Courreges-Anglas
2015-10-16Unbreak route6d.Jeremie Courreges-Anglas
2015-09-11RTF_XRESOLVE is gone.Martin Pieuchot
2015-09-10delete obsolete .Bk from the SYNOPSISIngo Schwarze
2015-08-20stdlib.h is in scope; do not cast malloc/calloc/realloc*Theo de Raadt
2015-02-04Fix potentional double free in do-while-loop.Alexander Bluhm
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-10-08obvious reallocarray(); ok dougTheo de Raadt
2014-03-24Remove commented out MSG_DONTROUTE flag. No object change.Martin Pieuchot
2014-01-22RTA_GENMASK is going to die soon so no need to handle it anymore.Claudio Jeker
2014-01-07Asa Yeamans points out that we need to CMSG_SPACE[] for the 2nd messageTheo de Raadt
2013-10-17The header file netinet/in_var.h included netinet6/in6_var.h. ThisAlexander Bluhm
2013-08-26replace rand(3)/random(3) calls with secure arc4random*()Christian Weisgerber
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther