History log of /openbsd/usr.sbin/dvmrpd/dvmrpd.c (Results 1 – 25 of 27)
Revision Date Author Comments
# 38da627a 19-Jan-2021 claudio <claudio@openbsd.org>

Make struct imsgev static like in the other routing daemons. With this
dvmrpd should compile with -fno-common


# b2cc5ec6 19-Jan-2021 claudio <claudio@openbsd.org>

Kill dvrmpd_process and log_procnames. Unneeded abstraction for this
simple daemon.


# 2e743b2f 02-Sep-2016 benno <benno@openbsd.org>

work on making log.c similar in all daemons:

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@


# b36f21d1 02-Sep-2016 renato <renato@openbsd.org>

Simplify shutdown process.

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

Simplify shutdown process.

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.

"reads good" claudio@

show more ...


# 9db32848 02-Sep-2016 renato <renato@openbsd.org>

Close connections when msgbuf_write() returns 0.

Pulled from ospfd. Original author: claudio@

ok rzalamena@ benno@ claudio@


# 132738f6 02-Sep-2016 renato <renato@openbsd.org>

Don't fatal if the imsg pipe is closed, this is often triggered in the
parent and hides the real cause of the termination.

Pulled from ospfd. Original author: claudio@

ok rzalamena@ benno@ claudio@


# e962b3ca 02-Feb-2016 sthen <sthen@openbsd.org>

Remove setproctitle() for the parent process. Because rc.d(8) uses process
titles (including flags) to distinguish between daemons, this makes it
possible to manage multiple copies of a daemon using

Remove setproctitle() for the parent process. Because rc.d(8) uses process
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@

show more ...


# b74bd0c0 05-Dec-2015 claudio <claudio@openbsd.org>

EAGAIN handling for imsg_read. OK henning@ benno@


# 0e80d59f 10-Feb-2015 claudio <claudio@openbsd.org>

More SOCK_NONBLOCK adjustments similar to the other daemons.


# 47c39353 09-Feb-2015 claudio <claudio@openbsd.org>

Kill another session_socket_blockmode() ... 6 or so to go.


# b9fc9a72 16-Jan-2015 deraadt <deraadt@openbsd.org>

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N

Replace <sys/param.h> with <limits.h> and other less dirty headers where
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)

show more ...


# 8ba96280 12-Jul-2014 krw <krw@openbsd.org>

msgbuf_write() <= 0 for a few more daemons.

ok claudio@


# 05be5610 26-Nov-2013 henning <henning@openbsd.org>

deal with msgbuf_write EAGAIN, ok gilles benno


# 2def27a1 20-Aug-2011 sthen <sthen@openbsd.org>

Decouple log_verbose() from log_init() so the verbose flag stays set with
"-v" (previously only "-vd" worked). Similar to recent ospfd commit.
ok claudio@


# 940cc839 08-Feb-2010 guenther <guenther@openbsd.org>

...and yet another typo copied from ospfd: the ev_sighup event handler
should handle SIGHUP and not SIGTERM. SIGTERM is already handled by
ev_sigterm.


# 43e08971 08-Feb-2010 guenther <guenther@openbsd.org>

Use SIGCHLD for the sigchild handler not SIGINT twice.
(This was inherited from ospfd; claudio fixed it there some time ago)
Spotted in ripd by haesbaert <at> haesbaert.org


# 20d80477 02-Nov-2009 claudio <claudio@openbsd.org>

Yet another implementation of IMSG_CTL_LOG_VERBOSE. Similar to the one in
ripd, ospfd and friends. OK michele, henning, sthen


# 14d72cd0 06-Jun-2009 pyr <pyr@openbsd.org>

make dvmrpd imsg-in-a-lib ready as well.
``put it in'' claudio@, ok eric@


# be264603 01-Jun-2009 henning <henning@openbsd.org>

no endpwent


# e78453ed 31-May-2009 jacekm <jacekm@openbsd.org>

Remove redundant imsg_event_add calls; ok claudio@


# cfde444a 31-May-2009 claudio <claudio@openbsd.org>

More libevent callback fixes. While there make n also ssize_t as in all
other daemons.


# fde55bc4 12-May-2008 pyr <pyr@openbsd.org>

Error out with usage line if additional arguments are given after the
option parsing. Found out the hard way by jdixon on ifstated.

ok sobrado@, jdixon@, millert@


# 6fa930c9 20-Oct-2007 pyr <pyr@openbsd.org>

Sync parse.y with recent enhancements in hoststated.
Fix behavior when running -n.
henning@


# 20741916 13-Oct-2007 deraadt <deraadt@openbsd.org>

in all these programs using the same pfctl-derived parse.y, re-unify the
yylex implementation and the code which interacts with yylex. this also
brings the future potential for include support to al

in all these programs using the same pfctl-derived parse.y, re-unify the
yylex implementation and the code which interacts with yylex. this also
brings the future potential for include support to all of the parsers.
in the future please do not silly modifications to one of these files
without checking if you are de-unifying the code.
checked by developers in all these areas.

show more ...


# 0aa43539 24-Jan-2007 norby <norby@openbsd.org>

Ignore SIGPIPE in the parent and RDE as well.

ok claudio@


12