Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-23 | copy log.c/h from bgpd. | Sebastian Benoit | |
ok claudio | |||
2017-01-08 | Replace hand-rolled for(;;) traversal of ctl_conns TAILQ with | Kenneth R Westerback | |
TAILQ_FOREACH(). No intentional functional change. ok reyk@ | |||
2017-01-05 | Replace hand-rolled for(;;) emptying of 'symhead' TAILQ with more | Kenneth R Westerback | |
modern TAILQ_FOREACH_SAFE(). No intentional functional change. ok millert@ bluhm@ gilles@ | |||
2017-01-05 | Replace symset()'s hand-rolled for(;;) traversal of 'symhead' TAILQ | Kenneth R Westerback | |
with more modern TAILQ_FOREACH(). This what symget() was already doing. Add paranoia '{}' around body of symget()'s TAILQ_FOREACH(). No intentional functional change. ok bluhm@ otto@ | |||
2016-12-27 | Replace struct rroute with struct kroute, as done in ospfd | Jeremie Courreges-Anglas | |
ok claudio@ | |||
2016-12-24 | Print metric and type for "redistribute" in ospf6d -v. | Jeremie Courreges-Anglas | |
Similar diff as for ospfd, from Remi Locherer. ok stsp@ | |||
2016-12-22 | Let rde and ospfe know about all IFINFO messages (eg an interface MTU change). | Jeremie Courreges-Anglas | |
The parent now passes all IFINFO messages down to the children, then looks whether he has any work to do. Same idea as ospfd. ok benno@ claudio@ | |||
2016-12-22 | Don't run the FSM if the interface state hasn't changed. | Jeremie Courreges-Anglas | |
ok benno@ claudio@ | |||
2016-09-03 | Simplify shutdown process. | Renato Westphal | |
On shutdown, there's no need to use kill(2) to kill the child processes. Just closing the IPC sockets will make the children receive an EOF, break out from the event loop and then exit. Tha advantages of this "pipe teardown" are: * simpler code; * no need to pledge "proc" in the parent process; * removal of a (hard to trigger) PID reuse race condition. ok benno@ claudio@ | |||
2016-09-02 | work on making log.c similar in all daemons: | Sebastian Benoit | |
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily. ok claudio@, feedback from henning@, deraadt@, reyk@ | |||
2016-09-02 | work on making log.c similar in all daemons: | Sebastian Benoit | |
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily. ok claudio@, feedback from henning@, deraadt@, reyk@ | |||
2016-06-21 | do not allow whitespace in macro names, i.e. "this is" = "a variable". | Sebastian Benoit | |
change this in all config parsers in our tree that support macros. problem reported by sven falempin. feedback from henning@, stsp@, deraadt@ ok florian@ mikeb@ | |||
2016-06-06 | add format attributes to the proper functions and then fix the | Sebastian Benoit | |
warning in rde.c | |||
2016-02-14 | ospf6d looks for net.inet6.ip6.forwarding, not net.inet.ip.forwarding. | Reyk Floeter | |
OK jca@ jmc@ sthen@ claudio@ | |||
2016-02-02 | Remove setproctitle() for the parent process. Because rc.d(8) uses process | Stuart Henderson | |
titles (including flags) to distinguish between daemons, this makes it possible to manage multiple copies of a daemon using the normal infrastructure by symlinking rc.d scripts to a new name. ok jung@ ajacoutot@, smtpd ok gilles@ | |||
2015-12-05 | EAGAIN handling for imsg_read. OK henning@ benno@ | Claudio Jeker | |
2015-12-05 | strings.h -> string.h to prevent an implicit declaration warning. | mmcc | |
2015-09-27 | As done for bgpd recently, rename if_mediatype to if_type in ospfd/ospf6d. | Stefan Sperling | |
And some ifmedia64 fixes. "move forward" deraadt@ | |||
2015-07-27 | use file system path (.Pa) semantic markup macros where appropriate. | Igor Sobrado | |
ok jmc@ | |||
2015-07-17 | Similar to bgpd and ospfd skip broadcast (should not happen) and llinfo | Claudio Jeker | |
routes also adjust the tracking of connected routes to the new way. | |||
2015-05-05 | use the sizeof the struct not the sizeof a pointer to the struct | Jonathan Gray | |
ok claudio@ | |||
2015-02-11 | Use sizeof(u_short) in the first check since there are RT messages that | Claudio Jeker | |
are less then sizeof(*rtm) bytes long (e.g. interface announcements). Found the hard way by phessler@ | |||
2015-02-10 | Same session_socket_blockmode() changes as done to ospfd. Also do the same | Claudio Jeker | |
kroute change (make socket non-blocking and add trigger for partial reads). | |||
2015-01-28 | When comparing the LSA with the Ack, also check the age field. This | Alexander Bluhm | |
ensures that a LSA withdrawal is not acked by a previous update. From Florian Riehm; OK claudio@ | |||
2015-01-22 | remove a stupid -Wstrict-prototype warning by making the hash function | Ted Unangst | |
static. noticed by florian riehm | |||
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-12-18 | simple to use siphash here. ok deraadt | Ted Unangst | |
2014-11-20 | Don't allow embedded nul characters in strings. | Jonathan Gray | |
Fixes a pfctl crash with an anchor name containing an embedded nul found with the afl fuzzer. pfctl parse.y patch from and ok deraadt@ | |||
2014-11-18 | Nuke more obvious #include duplications. | Kenneth R Westerback | |
ok deraadt@ millert@ tedu@ | |||
2014-11-03 | Convert the logic in yyerror(). Instead of creating a temporary | Alexander Bluhm | |
format string, create a temporary message. OK deraadt@ claudio@ | |||
2014-11-02 | Add gcc format attributes to parse.y for ospf{6,}d. | Doug Hogan | |
Fix a few yyerror() lines that are missing arguments. ok claudio@ sthen@ | |||
2014-10-25 | Remove unnecessary netinet/in_systm.h include. | Lawrence Teo | |
ok millert@ | |||
2014-07-12 | Close connections when msgbuf_write() returns 0. | Kenneth R Westerback | |
ok claudio@ | |||
2014-07-11 | Close the control fd when it has reported EOF. | Kenneth R Westerback | |
ok henning@ | |||
2014-06-23 | The second level of the CTL_NET sysctl is a PF_*, not an AF_* | Philip Guenther | |
inconsistent usage in route(8) noted by Gregor Best (gbe (at) ring0.de) | |||
2014-03-24 | Passing MSG_DONTROUTE to sendto() here has no effect since SO_DONTROUTE | Martin Pieuchot | |
is only implemented for IPv4. Just remove it. Tested by and ok florian@ | |||
2014-01-22 | relax the cfg file secrecy check slightly to allow group readability | Henning Brauer | |
default permissions and mtree NOT changed. prodded by benno, ok phessler benno jmatthew theo pelikan florian | |||
2013-11-25 | use u_char for buffers in yylex, for ctype calls | Sebastian Benoit | |
found by millert@, ok deraadt@ | |||
2013-11-13 | handle msgbuf_write() returning EAGAIN, | Sebastian Benoit | |
taken from claudios previous fix to ospfd. "do it" deraadt@ | |||
2013-11-01 | another annoying %i | Theo de Raadt | |
2013-10-30 | another simple %i to %d conversion for obviousness | Theo de Raadt | |
2013-10-18 | typo in function name in log message | Stuart Henderson | |
2013-08-14 | no longer any need to quote macro lines with >9 args; | Jason McIntyre | |
From: Jan Stary | |||
2013-05-09 | Simplify code, no binary change. | Claudio Jeker | |
2013-03-25 | sync w/ospfd: improve snapshot handling; ok claudio, sthen | Markus Friedl | |
2013-03-25 | sync w/ospfd: ignore the nbr_adj_timer if we are not forming | Markus Friedl | |
adjacencies; ok claudio sthen | |||
2013-03-25 | sync w/ospfd: the event NBR_EVT_SEQ_NUM_MIS is not defined in state | Markus Friedl | |
NBR_STA_XSTRT; ok claudio@ sthen@ | |||
2013-03-25 | sync w/ ospfd: | Markus Friedl | |
for point-to-point interfaces we need to send lsupdates to the interface address, since there is no DR and multicast messages to the DR will be ignored. ok claudio@, then@ | |||
2013-03-25 | sync w/ospfd: allow two minutes until neighbor adjacencies are formed; | Markus Friedl | |
ok claudio@ sthen@ | |||
2013-03-22 | tweak previous; ok sthen | Jason McIntyre | |