History log of /openbsd/usr.sbin/ospf6d/ospf6d.c (Results 1 – 25 of 54)
Revision Date Author Comments
# dd3b9a80 21-Jun-2023 sthen <sthen@openbsd.org>

add "fib reload" support to ospf6d/ospf6ctl, and trigger it
automatically on a timeout after RTM_DESYNC (i.e. route socket
overflow). ported across from ospfd. fixes/ok claudio@

(it's much harder to

add "fib reload" support to ospf6d/ospf6ctl, and trigger it
automatically on a timeout after RTM_DESYNC (i.e. route socket
overflow). ported across from ospfd. fixes/ok claudio@

(it's much harder to overflow the routing socket buffer these
days since it was bumped to 2MB, but still happens occasionally
on a busy machine).

show more ...


# 5b133f3f 08-Mar-2023 guenther <guenther@openbsd.org>

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@


# 5aa580cf 20-Jan-2022 naddy <naddy@openbsd.org>

ospf6d: fix -Wunused-but-set-variable warnings

ospf6d.c: sync a missing bit of (disabled) code with ospfd
rde.c: ifdef out some more incomplete code

ok denis@ claudio@


# 025f8c0a 06-Sep-2021 deraadt <deraadt@openbsd.org>

repair missing paths on unveil failure


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

Make the struct imsgev static. With this ospf6d compiles with -fno-common


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

Properly define ospfd_process as an extern in the header file.


# faef135e 16-Sep-2020 remi <remi@openbsd.org>

Stop removing the control socket on exit and tighten the unveil even
further. This is in line with what other networking daemons do.

ok mestre@


# 61b37dc2 26-Jun-2020 bket <bket@openbsd.org>

Replace SIMPLEQ concatenation loop with SIMPLEQ_CONCAT

OK florian@, millert@, kn@


# d18517d2 02-Jan-2020 denis <denis@openbsd.org>

Rename orig_rtr_lsa_area() to orig_rtr_lsa()

Now that area is part of iface, original orig_rtr_lsa() is useless. Also
verifying that area != NULL is not needed in some cases (these are
leftovers of

Rename orig_rtr_lsa_area() to orig_rtr_lsa()

Now that area is part of iface, original orig_rtr_lsa() is useless. Also
verifying that area != NULL is not needed in some cases (these are
leftovers of the previous diff).

OK remi@

show more ...


# 4cf51530 16-Dec-2019 denis <denis@openbsd.org>

Rework route priority filter.

reads OK benno@ remi@


# 44dcc3ee 25-Mar-2019 jca <jca@openbsd.org>

One more TODO entry for reload support: check router-id changes

ok benno@


# 17e34b32 15-Jan-2019 remi <remi@openbsd.org>

For external LSAs the type (1 or 2) is encoded in the metric field. Do not
overwrite this when using "redistribute X set type 2 depend on ifX" and ifX
is down.

Problem reported for ospfd by Igor Pod

For external LSAs the type (1 or 2) is encoded in the metric field. Do not
overwrite this when using "redistribute X set type 2 depend on ifX" and ifX
is down.

Problem reported for ospfd by Igor Podlesny.

ok benno@

show more ...


# 0347b698 14-Jan-2019 florian <florian@openbsd.org>

Improve error message when daemon is already running.
OK millert, deraadt, job


# d1e43ac2 29-Dec-2018 remi <remi@openbsd.org>

Add config option fib-priority to set a custom prio for routes ospf6d
inserts into the kernel routing table.

OK denis@


# 27dccea9 30-Oct-2018 remi <remi@openbsd.org>

ospf6d does not support reloading so its parent proc does not need
filesystem access with the exception of the control socket cleanup on
exit.

ok florian@


# cb75d791 01-Sep-2018 remi <remi@openbsd.org>

Prevent ospf6d from starting when another process is listening on the
control socket.

ok florian@


# 5d393f89 12-Jul-2018 remi <remi@openbsd.org>

Add support for rdomains.

small quirk from tb@
ok phessler@


# a66c91f2 12-Jul-2018 remi <remi@openbsd.org>

With the "depend on" option routes are sent out with a metric of 65535 if
the referenced interface is down or in state backup. This is especially
useful on a carp cluster to ensure all traffic goes t

With the "depend on" option routes are sent out with a metric of 65535 if
the referenced interface is down or in state backup. This is especially
useful on a carp cluster to ensure all traffic goes to the carp master.

ok friehm@ jca@

show more ...


# 3d3f412b 09-Jul-2018 remi <remi@openbsd.org>

Set log_setverbose(1) early to see debug logs during parsing the config
but only when -v is used.

ok jca@ claudio@


# 8bf9509a 05-Nov-2017 jca <jca@openbsd.org>

Disable config reload, ospf6d just exits on reload with simple setups.

And fixing this doesn't appear trivial. Discussed with a bunch at
p2k17, ok phessler@ denis@ benno@


# 189fd1ce 12-Aug-2017 benno <benno@openbsd.org>

bring ospf6d's log.c in sync with ospfd and bgpd
ok florian@ claudio@


# 722a4e30 30-May-2017 friehm <friehm@openbsd.org>

Adding multipath route support to ospf6d. Almost copied from ospfd.

OK bluhm@


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

ok benno@ claudio@

show more ...


# e83d3515 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@, feedbac

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@, feedback from henning@, deraadt@, reyk@

show more ...


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


123