History log of /openbsd-src/usr.sbin/ospf6d/database.c (Results 1 – 23 of 23)
Revision Date Author Comments
# 297c3ba2 21-Jun-2023 claudio <claudio@openbsd.org>

Update ospf6d to use new ibuf api.

This mostly moves away from memcpy(ibuf_seek(buf, off, size), data, size) to
ibuf_set(buf, off, data, size). Also ibuf_reserve() is replaced with
ibuf_add_zero().

Update ospf6d to use new ibuf api.

This mostly moves away from memcpy(ibuf_seek(buf, off, size), data, size) to
ibuf_set(buf, off, data, size). Also ibuf_reserve() is replaced with
ibuf_add_zero().

OK tb@

show more ...


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

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@


# 9cc19ef1 03-Nov-2021 sthen <sthen@openbsd.org>

log the interface along with the neighbour ID in various ospfd/ospf6d
messages. ok remi@ benno@

if a neighbour is reachable over multiple network links, some problems
may be related to the link its

log the interface along with the neighbour ID in various ospfd/ospf6d
messages. ok remi@ benno@

if a neighbour is reachable over multiple network links, some problems
may be related to the link itself rather than the neighbour, so knowing
the interface can be important when trying to locate the source of a
problem.

show more ...


# 1a802015 15-Jul-2020 denis <denis@openbsd.org>

Remove unused variables


# 7945b887 03-Jan-2020 denis <denis@openbsd.org>

Sync with ospfd's database.c

OK remi@


# 77fbfa19 23-Dec-2019 denis <denis@openbsd.org>

Area is now part of struct iface

OK remi@


# 90d98d51 11-Dec-2019 denis <denis@openbsd.org>

Convert sendto() to sendmsg().

This makes code similar to ospfd(8).

OK claudio@ deraadt@


# df59d22f 10-May-2019 claudio <claudio@openbsd.org>

When calculating how much payload ospf6d can put into DD and LSREQ packets
substract the size of the IPv6 header and not the IPv4 header from the MTU.
This stops ospf6d to send out fragmented packets

When calculating how much payload ospf6d can put into DD and LSREQ packets
substract the size of the IPv6 header and not the IPv4 header from the MTU.
This stops ospf6d to send out fragmented packets.
Found with and OK benno@

show more ...


# 1543e3f7 25-Oct-2014 lteo <lteo@openbsd.org>

Remove unnecessary netinet/in_systm.h include.

ok millert@


# 25bf10db 25-Mar-2013 markus <markus@openbsd.org>

sync w/ospfd: improve snapshot handling; ok claudio, sthen


# 2295e427 25-Mar-2013 markus <markus@openbsd.org>

sync w/ospfd: the event NBR_EVT_SEQ_NUM_MIS is not defined in state
NBR_STA_XSTRT; ok claudio@ sthen@


# b9bbb909 02-May-2011 claudio <claudio@openbsd.org>

Sync with ospfd/database.c


# 0edf49a6 03-Jun-2010 bluhm <bluhm@openbsd.org>

The is no md5 authentication in OSPFv3. Remove some leftovers from
the ospf6d packet lenght calculation.
ok claudio@ stsp@


# 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


# 2773be1b 28-Dec-2008 claudio <claudio@openbsd.org>

area_ospf_options() should not return network byte order options. Instead
the callers should take care of getting the byte order right. While there
remove the opts[123] from the hello_hdr and use LSA

area_ospf_options() should not return network byte order options. Instead
the callers should take care of getting the byte order right. While there
remove the opts[123] from the hello_hdr and use LSA_24_* to handle this
nasty fields instead. Now router LSA have the correct flags set.

show more ...


# fadd0157 28-Dec-2008 claudio <claudio@openbsd.org>

Correctly sync the FSM by issuing the NBR_EVT_NEG_DONE event before sending
possible database desciption files to the RDE. NBR_EVT_NEG_DONE sends an
imsg to the RDE to bring the RDE in the correct st

Correctly sync the FSM by issuing the NBR_EVT_NEG_DONE event before sending
possible database desciption files to the RDE. NBR_EVT_NEG_DONE sends an
imsg to the RDE to bring the RDE in the correct state for the database
exchange when doing this the wrong way the RDE will issue errors.
From ospfd (rev. 1.23 of database.c) via Stefan Sperling

show more ...


# 3af4e127 11-Feb-2008 norby <norby@openbsd.org>

Correct the output of several error and debug messages.


# 6c9e7a5b 13-Dec-2007 claudio <claudio@openbsd.org>

Monster commit of stuff I did mostly last month. What it does:
* removes kif and uses iface for everything interface related.
This removes unneeded data redundancy which makes the code more compl

Monster commit of stuff I did mostly last month. What it does:
* removes kif and uses iface for everything interface related.
This removes unneeded data redundancy which makes the code more complex.
* adds the link local prefix to struct iface and attaches a list with
the other prefixes to the struct iface. This is needed to generate the
link LSA.
* disconnects struct iface from struct area (the backpointer is gone)
this will make the reload code a bit easier.
norby@ agrees with the direction we're heading with this

show more ...


# 80375038 11-Oct-2007 claudio <claudio@openbsd.org>

area_ospf_options() should return the options in network byte order.


# c2625c19 11-Oct-2007 claudio <claudio@openbsd.org>

From ospfd:
Bye bye global ospf options. OSPF options are per area (at least the one
flag that we set). So introduce a area_ospf_options() function that will
return the correct flags for each area. T

From ospfd:
Bye bye global ospf options. OSPF options are per area (at least the one
flag that we set). So introduce a area_ospf_options() function that will
return the correct flags for each area. This makes stub area support a lot
easier.
Don't check for OSPF_OPTION_E in the parent. OSPF_OPTION_E is per area and
so the parent process has no way to know if it should redistribute or not.

show more ...


# 7b65306c 11-Oct-2007 claudio <claudio@openbsd.org>

From ospfd:
Do not overload nbr->options with the dd exchange bits. nbr->options is used
by the hello protocol. Instead add a dd_more flag that is used together with
(the renamed) dd_master flag.


# 52bf80cb 10-Oct-2007 claudio <claudio@openbsd.org>

send_packet() now takes a struct in6_addr as destination instead of a
struct sockaddr_in6 and builds the struct sockaddr_in6 internaly adding scope
if necessary. While there switch to sendto() we don

send_packet() now takes a struct in6_addr as destination instead of a
struct sockaddr_in6 and builds the struct sockaddr_in6 internaly adding scope
if necessary. While there switch to sendto() we don't need any of the sendmsg()
features here.
OK norby@

show more ...


# a1a4e97b 08-Oct-2007 norby <norby@openbsd.org>

Welcome ospf6d

The new ospf6d daemon will support OSPFv3, basically OSPF for IPv6 networks.

It is heavily based on ospfd(8), it is more or less a copy and paste of it.
Currently some unneeded stuff

Welcome ospf6d

The new ospf6d daemon will support OSPFv3, basically OSPF for IPv6 networks.

It is heavily based on ospfd(8), it is more or less a copy and paste of it.
Currently some unneeded stuff has been removed and the trasition from
IPv4 to IPv6 has begun.

ospf6d is not very usefull at the moment, it is being imported to allow more
people to work on it concurrently.

Not yet connected to the builds.

ok claudio@ dlg@

show more ...