Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-11 | Remove RTM_LOSING from the file, it is no longer used by OpenBSD and | Claudio Jeker | |
route6d is not realy using it anyway. OK henning@ | |||
2018-07-01 | more RTM_LOCK removals | Theo de Raadt | |
2018-07-01 | Retire support for unused RTM_LOCK messages, it's redundant w/ RTM_CHANGE. | Martin Pieuchot | |
ok tb@, sthen@ | |||
2018-06-14 | fix mem leak | Florian Obser | |
from Thomas Barabosch (thomas.barabosch AT fkie fraunhofer de), thanks! OK tb | |||
2018-01-16 | Recycle IFF_NOTRAILERS into IFF_STATICARP and document ownerhsip | Martin Pieuchot | |
of IFF* flags. inputs from jmc@, ok bluhm@, visa@ | |||
2017-08-23 | No need to handle more than one routing message here. | Jeremie Courreges-Anglas | |
2017-07-28 | pass the size of the dst buffer to strlcat, not the source; pointed | Florian Obser | |
out by clang OK kettenis | |||
2017-03-21 | From a syslog perspective it does not make sense to log fatal and | Alexander Bluhm | |
warn with the same severity. Switch log_warn() to LOG_ERR and keep fatal() at LOG_CRIT. OK reyk@ florian@ | |||
2017-03-13 | Add OpenBSD RCS id. | Alexander Bluhm | |
2016-08-12 | 6bone -> documentation range | Jeremie Courreges-Anglas | |
2016-08-05 | Add a -u switch to always log route insertions/deletions. | Jeremie Courreges-Anglas | |
Route updates (and associated warnings) are always prefixed with "RTADD" or "RTDEL". This is useful for people that previously used the -R option that got removed. Tested by Freddy Dissaux. | |||
2016-08-05 | Use tighter pledge(2) restrictions. | Jeremie Courreges-Anglas | |
Made possible by the logging overhaul. Tested by Freddy Dissaux. | |||
2016-08-05 | Rework logging. | Jeremie Courreges-Anglas | |
Use log.c like in many other daemons, with small additions to maintain a log queue (useful to dump a single log line with several logging statements). Use log.c to dump the internal state, and remove the -R option (a similar feature will be implemented differently soon). The end goal is to avoid touching the filesystem and use much tighter pledge(2) restrictions. Tested by Freddy Dissaux. | |||
2016-07-13 | Introduce RTF_MULTICAST and flag corresponding IPv6 routes as such | Martin Pieuchot | |
instead of abusing RTF_CLONING. Fix a leak reporeted by Aaron Riekenberg on misc@, ok sthen@ | |||
2016-07-06 | route6d spring cleanup | Jeremie Courreges-Anglas | |
Various tweaks and fixes: - nuke util.h, not needed since pidfile(3) went away - nuke the rrt_same member of struct riprt, "future use" since import - mark rtdexit as __dead - nuke progname handling - fix pid handling: cache the pid *after* calling daemon(3) - nuke setting rtm_pid. The kernel is responsible for setting this in routing messages. - nuke the useless myseq variable ok florian@ benno@ millert@ deraadt@ renato@ | |||
2016-01-25 | No need to declare main(). | Jeremie Courreges-Anglas | |
2016-01-25 | malloc+memset -> calloc | Jeremie Courreges-Anglas | |
2015-12-19 | Remove NULL-check before free(). | mmcc | |
2015-11-30 | Sort includes. | Jeremie Courreges-Anglas | |
2015-11-30 | Fix error message after conversion from select(2) to poll(2). | Jeremie Courreges-Anglas | |
2015-10-26 | Partial revert of r1.79, "np" handling is a bit trickier than expected. | Jeremie Courreges-Anglas | |
2015-10-26 | Rename the struct pollfd array, "set" -> "pfd" | Jeremie Courreges-Anglas | |
"set" reminds of select(2) fd_set, and is never used elsewhere in the tree as a name for a pollfd array. No functional change. | |||
2015-10-26 | Those variables should be local to the functions where they are used. | Jeremie Courreges-Anglas | |
Gets rid of a lot of warnings with -Wshadow. No functional change. | |||
2015-10-26 | Kill unused variable and function. | Jeremie Courreges-Anglas | |
No functional change. | |||
2015-10-25 | hms() returns a pointer to static storage, annotate the return type with "const" | Jeremie Courreges-Anglas | |
No functional change. | |||
2015-10-25 | Correctly print size_t/time_t. | Jeremie Courreges-Anglas | |
No functional change. | |||
2015-10-25 | Plug memory leak introduced in r1.15. | Jeremie Courreges-Anglas | |
No functional change. | |||
2015-10-25 | Those two functions take no parameters, thus /* ARGSUSED */ is meaningless. | Jeremie Courreges-Anglas | |
No functional change. | |||
2015-10-25 | Sync surrounding code after reallocarray introduction. | Jeremie Courreges-Anglas | |
No functional change. | |||
2015-10-25 | Rename allocopy() to xstrdup(), and make use of strdup(3). | Jeremie Courreges-Anglas | |
No functional change. | |||
2015-10-25 | Kill unused ROUTE6D_CONF define. | Jeremie Courreges-Anglas | |
Since 1999 no one has found the need to write support for a config file. | |||
2015-10-25 | Another pidfile(3) removal; ok benno@ | Jeremie Courreges-Anglas | |
2015-10-18 | Tweak previous: call fatal(), not err(3), for consistency. err.h goes away. | Jeremie Courreges-Anglas | |
2015-10-17 | route6d pledges to use only "stdio rpath wpath cpath inet route mcast" | Jeremie Courreges-Anglas | |
ok deraadt@ | |||
2015-10-16 | Unbreak route6d. | Jeremie Courreges-Anglas | |
Instead of breaking sendmsg(2) by adding unneeded space to its cmsg item, add space to the cmsg used by recvmsg(2), where it will be used to get the incoming packet hop limit. Reported by several over the last years, and more recently by 'bsdsx', who tested it against NetBSD route6d. Also works against Quagga ripng. ok deraadt@ sthen@ | |||
2015-09-11 | RTF_XRESOLVE is gone. | Martin Pieuchot | |
2015-09-10 | delete obsolete .Bk from the SYNOPSIS | Ingo Schwarze | |
and delete some useless .No while here | |||
2015-08-20 | stdlib.h is in scope; do not cast malloc/calloc/realloc* | Theo de Raadt | |
ok millert krw | |||
2015-02-04 | Fix potentional double free in do-while-loop. | Alexander Bluhm | |
Found by Benjamin Baier with llvm/scan-build; OK florian@ | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-10-08 | obvious reallocarray(); ok doug | Theo de Raadt | |
2014-03-24 | Remove commented out MSG_DONTROUTE flag. No object change. | Martin Pieuchot | |
ok florian@ | |||
2014-01-22 | RTA_GENMASK is going to die soon so no need to handle it anymore. | Claudio Jeker | |
OK benno@ and agreed by dlg@ | |||
2014-01-07 | Asa Yeamans points out that we need to CMSG_SPACE[] for the 2nd message | Theo de Raadt | |
as well. ok guenther millert | |||
2013-10-17 | The header file netinet/in_var.h included netinet6/in6_var.h. This | Alexander Bluhm | |
created a bunch of useless dependencies. Remove this implicit inclusion and do an explicit #include <netinet6/in6_var.h> when it is needed. OK mpi@ henning@ | |||
2013-08-26 | replace rand(3)/random(3) calls with secure arc4random*() | Christian Weisgerber | |
npppd ok yasuoka@ ok millert@ | |||
2013-08-22 | Correct format string mismatches turned up by -Wformat=2 | Philip Guenther | |
suggestions and ok millert@ | |||
2013-03-21 | create realloc() loops around sysctl for array-based mibs, in programs | Theo de Raadt | |
which want a "full" dump ok dlg | |||
2012-09-26 | last stage of rfc changes, using consistent Rs/Re blocks, and moving the | Jason McIntyre | |
references into a STANDARDS section; | |||
2012-06-21 | rfc 3542 obsoletes rfc 2292; ok guenther | Jason McIntyre | |