History log of /openbsd/usr.sbin/dvmrpd/dvmrpe.c (Results 1 – 24 of 24)
Revision Date Author Comments
# e6c7c102 23-Apr-2024 jsg <jsg@openbsd.org>

correct indentation; no functional change
ok tb@


# 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.


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

Cleanup control like in the other routing daemons. Move control_state
and ctl_conns to control.c cleanup headers and the engine accordingly.


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

Another pkt_ptr cleanup. There is actually no need to make the pkt
a static memory region. Just use the stack.


# 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@


# 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.


# 5376bb5a 18-Nov-2014 krw <krw@openbsd.org>

Nuke more obvious #include duplications.

ok deraadt@ millert@ tedu@


# 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


# 9a2e0324 04-Jul-2011 claudio <claudio@openbsd.org>

LINK_STATE_IS_UP() cleanup userland part. There is no need to special
case carp(4) interfaces anymore. LINK_STATE_IS_UP() almost always does
the right job.
OK deraadt@ henning@

This needs a -current

LINK_STATE_IS_UP() cleanup userland part. There is no need to special
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.

show more ...


# e39620e5 26-May-2010 nicm <nicm@openbsd.org>

Rename some imsg bits to make namespace collisions less likely buf to
ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE.

ok henning gilles claudio jacekm deraadt


# 4b5e54b6 22-Sep-2009 michele <michele@openbsd.org>

React putting the interface in state 'down' when dvmrpd detects that
the link went down.

ok claudio@


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

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


# 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.


# bb071648 14-Mar-2009 michele <michele@openbsd.org>

Initial support for pruning. When every single interface is removed from the
downstream list for a particular source send a prune to the upstream router.

input and ok claudio@


# d876c0a4 21-Nov-2008 michele <michele@openbsd.org>

Introduce support for flash updates.
They spread routing changes immediately as they happen
avoiding wait until the next report interval.

OK norby@


# e2985510 01-Jun-2006 claudio <claudio@openbsd.org>

Remove some unneeded lint goo and use setres[ug]id() instead of the setuid
dance.


# 978e5cff 01-Jun-2006 norby <norby@openbsd.org>

Welcome dvmrpd
started by Esben Norby some time ago by using the imsg/three process framework
of ospfd.
Right now it is not particularly useful, major parts are still missing but is
imported to allow

Welcome dvmrpd
started by Esben Norby some time ago by using the imsg/three process framework
of ospfd.
Right now it is not particularly useful, major parts are still missing but is
imported to allow more people to work on it.

Status:

The IGMP part is mostly complete, allowing clients to join and leave groups.
Election the IGMP querier of a network is also functional, only thing missing is
some corner cases when going from non-querier to querier.

About half of the DVMRP is functional, probes and route reports are functional.

Multicast streams can be detected and the MFC can be manipulated.
The RIB is not complete but operational.

Not yet connected to the builds.

OK claudio@

show more ...