Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-10-13 | Document the -s option, descr adapted from ospfd/ospfctl | Jeremie Courreges-Anglas | |
Noticed by Sebastien Leclerc, ok deraadt@ | |||
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-08-02 | Allow specifying an alternate socket path. | Jeremie Courreges-Anglas | |
This allows one to run multiple ripd instances, for example to serve multiple rdomains. Diff from Nima GHOTBI, ok claudio@ florian@ benno@ | |||
2016-07-19 | remove bogus attributes on fatal* spotted by guenther@ | Sebastian Benoit | |
2016-07-18 | add format attributes to log functions | Sebastian Benoit | |
ok florian@ claudio@ | |||
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-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-09-27 | As done for bgpd recently, rename if_mediatype to if_type in ripd. | 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 | Like bgpd and ospfd filter routes by RTF_LLINFO and RTF_BROADCAST and use | Claudio Jeker | |
the RTF_CONNECTED to know if a route is connected or not. | |||
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 | Sync kroute code with what we do in ospfd/bgpd (EAGAIN handling). | Claudio Jeker | |
2015-02-09 | Add SOCK_CLOEXEC | SOCK_NONBLOCK to two more socket calls. | Claudio Jeker | |
2015-02-09 | More session_socket_blockmode() removal. While there make the main UDP | Claudio Jeker | |
socket non-blocking by default. | |||
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-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 claudio@ | |||
2014-11-03 | Add gcc format attributes to more warn/error functions in parse.y files. | Doug Hogan | |
Fix a few missing or incorrect format characters. ok claudio@ | |||
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-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-26 | msgbuf_write EAGAIN, ok gilles benno | Henning Brauer | |
2013-11-25 | use u_char for buffers in yylex, for ctype calls | Sebastian Benoit | |
found by millert@, ok deraadt@ | |||
2013-11-19 | handle msgbuf_write() returning EAGAIN | Sebastian Benoit | |
"looks right" deraadt and sthen. | |||
2013-08-14 | no longer any need to quote macro lines with >9 args; | Jason McIntyre | |
From: Jan Stary | |||
2013-03-11 | handle ECONNABORTED errors from accept(). In many code blocks they can be | Theo de Raadt | |
ignored silently and without aborting, much like EINTR and EWOULDBLOCK are. ok's from various maintainers of these directories... | |||
2013-03-06 | as done in ospf{,6}d/relayd, sync yyerror in various other daemons with | Stuart Henderson | |
that from bgpd, so that it logs to syslog when daemonized. | |||
2012-09-26 | last stage of rfc changes, using consistent Rs/Re blocks, and moving the | Jason McIntyre | |
references into a STANDARDS section; | |||
2012-04-24 | take a stab at documenting when arguments need quoted, and valid macro | Jason McIntyre | |
characters; prompted by a diff from robert peichaer org thanks gilles and henning for feedback ok deraadt zinke | |||
2012-04-11 | delete excessive evtimer_pending; ok claudio | Theo de Raadt | |
2012-04-10 | Handle file descriptor exhaustion in the accept() case. | Theo de Raadt | |
ok claudio | |||
2011-08-20 | Decouple log_verbose() from log_init() so the verbose flag stays set with | Stuart Henderson | |
"-v" (previously only "-vd" worked). Similar to recent ospfd commit. ok claudio@ | |||
2011-07-04 | LINK_STATE_IS_UP() cleanup userland part. There is no need to special | Claudio Jeker | |
case carp(4) interfaces anymore. LINK_STATE_IS_UP() almost always does the right job. OK deraadt@ henning@ This needs a -current kernel or link state may be not reported correctly. | |||
2011-06-26 | Remove obsolete mcast routes in ldpd and ripd. | Claudio Jeker | |
OK dlg@ | |||
2011-06-21 | Convert SO_RTABLE's protocol level to the SOL_SOCKET; ok claudio | Mike Belopuhov | |
2011-04-30 | no need to escape |, pointed out by jmc@ | Stuart Henderson | |
"it's worth killing, if just to stop it being copied all over the place" | |||
2010-12-31 | Change <sys/types.h> to <sys/param.h> instead of assuming that some | Philip Guenthe | |
system header pulls the latter in ok millert@ | |||
2010-08-03 | fix linecount bug with comments spanning multiple lines | Henning Brauer | |
problem reported with the obvious fix for bgpd by Sebastian Benoit <benoit-lists at fb12.de>, also PR 6432 applied to all the others by yours truly. ok theo isn't it amazing how far this parser (and more) spread? | |||
2010-07-12 | Merge duplicate log messages into one log_warn(). | Alexander Bluhm | |
ok claudio@ | |||
2010-07-03 | Fix the naming of interfaces and variables for rdomains and rtables | Philip Guenthe | |
and make it possible to bind sockets (including listening sockets!) to rtables and not just rdomains. This changes the name of the system calls, socket option, and ioctl. After building with this you should remove the files /usr/share/man/cat2/[gs]etrdomain.0. Since this removes the existing [gs]etrdomain() system calls, the libc major is bumped. Written by claudio@, criticized^Wcritiqued by me | |||
2010-05-26 | Move imsg into libutil and add a man page. | Nicholas Marriott | |
Minor bump for libutil. Previous versions of this diff and man page looked at by various people. "you should just commit" deraadt | |||
2010-05-26 | Rename some imsg bits to make namespace collisions less likely buf to | Nicholas Marriott | |
ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE. ok henning gilles claudio jacekm deraadt | |||
2010-05-24 | now that we can handle >9 args, put "-D name=value" on one line: it's a bit | Jason McIntyre | |
more readable, and fixes a spacing bug we had in smtpd.8; | |||
2010-05-14 | Use calloc() instead of malloc() to allocate the connection structure. This | Claudio Jeker | |
way the memory is zeroed. This is equivalent to the relayd commit by reyk. OK reyk, jsg | |||
2010-04-27 | imsg.h does not need sys/tree.h. | Nicholas Marriott | |
ok eric |