OpenBSD CVS

CVS log for src/usr.sbin/ospfd/ospf.h


[BACK] Up to [local] / src / usr.sbin / ospfd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.23 / (download) - annotate - [select for diffs], Thu Jan 17 09:14:15 2013 UTC (11 years, 4 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, HEAD
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

allow two minutes until neighbor adjacencies are formed; ok claudio@

Revision 1.22 / (download) - annotate - [select for diffs], Fri Sep 16 18:24:57 2011 UTC (12 years, 8 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.21: +5 -1 lines
Diff to previous 1.21 (colored)

Rather than reloading kernel routes immediately when an RTM_DESYNC is seen,
set (or extend) a timer and only reload when this expires. Avoids repeatedly
dumping full kernel routes (thus generating more load) when the machine has
problems keeping up with messages on the route socket. (if you see lots of
repeated "reloading interface list and routing table" in ospfd logs, this
will help).

Suggestions/ok claudio@.

Revision 1.21 / (download) - annotate - [select for diffs], Mon May 9 12:24:41 2011 UTC (13 years, 1 month ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.20: +19 -1 lines
Diff to previous 1.20 (colored)

First bits to support opaque LSA. Type-9, 10 and 11 are LSA that can
hold about any data you like and is used for things like greaceful
reload. Implement the basic redistribute logic and LSDB handling but
the data sent is currently not looked at.
Tested and OK sthen@

Revision 1.20 / (download) - annotate - [select for diffs], Fri Mar 25 08:52:21 2011 UTC (13 years, 2 months ago) by claudio
Branch: MAIN
Changes since 1.19: +1 -3 lines
Diff to previous 1.19 (colored)

Rewrite the lsack generation. Make it more like the lsupdate code.
Removes some of the rather strange packet handling.
Tested by a few especially sthen@

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jun 26 18:02:07 2010 UTC (13 years, 11 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored)

Use offsetof() instead of writing our own version (...which generates
warnings from gcc4)
os claudio@

Revision 1.18 / (download) - annotate - [select for diffs], Tue Feb 16 08:39:05 2010 UTC (14 years, 3 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.17: +7 -1 lines
Diff to previous 1.17 (colored)

implement support for fast hello packets.

if route-dead-time is set to "minimal" (rather than a number of
seconds), the dead time is set to 1 second and hellos are sent at
the interval specified by fast-hello-interval in msecs. this is non
standard wrt to the ospf rfc, but it does interoperate with at least
one other router vendor.

this allows much better responsiveness to l3 topology changes than
the standard intervals allow. if i yank a cable to one of my
upstreams, the routes adjust in a second rather than the default
of 40 i was running with before. the users dont even notice something
changed.

developed while working with joshua atterbury.
ok claudio@ as part of a larger diff.
dedicated to zan rowe who thinks she is a bigger nerd than me.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Feb 16 08:22:42 2010 UTC (14 years, 3 months ago) by dlg
Branch: MAIN
Changes since 1.16: +10 -8 lines
Diff to previous 1.16 (colored)

allow spf-delay and spf-holdtime to be specified in msec so ospfd can
better respond to rapid topology changes.

developed while working with joshua atterbury
ok claudio@ as part of a larger diff.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Dec 7 19:14:27 2006 UTC (17 years, 6 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Make it possible to set the metric and LSA type for redistributed routes.
Mostly based on a diff by Pierre-Yves Ritschard (I just simplified the parser
code). OK norby@

Revision 1.15 / (download) - annotate - [select for diffs], Thu Mar 9 16:52:43 2006 UTC (18 years, 3 months ago) by norby
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

It seems that 60 secs is a reasonable amount of time to reach state FULL.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Feb 9 15:23:08 2006 UTC (18 years, 4 months ago) by norby
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Prevent the neighbor FSM from getting stuck forever in state EXSTART.

ok claudio@

Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 4 20:56:46 2005 UTC (18 years, 6 months ago) by norby
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Increase ADJ_TMOUT to prevent loss of adjacency during bulk ls update
transfers.

ok claudio@

Revision 1.12 / (download) - annotate - [select for diffs], Tue May 10 20:20:47 2005 UTC (19 years, 1 month ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Do no longer force the default router priority to 0.
Ospfd can be used as DR or BDR since quite some time so there is no need to
make ospfd ineligible as DR or BDR.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Apr 6 20:21:08 2005 UTC (19 years, 2 months ago) by norby
Branch: MAIN
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)

Add check for key lengths. Based on diff from Jason Ackley.
Reworked by me.
ok claudio@

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 31 19:32:10 2005 UTC (19 years, 2 months ago) by norby
Branch: MAIN
Changes since 1.9: +12 -2 lines
Diff to previous 1.9 (colored)

Add support for crypt authentication (MD5).

ok and input claudio@

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 22 22:13:48 2005 UTC (19 years, 2 months ago) by norby
Branch: MAIN
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

Remove bool cruft.

ok claudio@

Revision 1.8 / (download) - annotate - [select for diffs], Sun Feb 27 08:21:15 2005 UTC (19 years, 3 months ago) by norby
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.7: +17 -1 lines
Diff to previous 1.7 (colored)

SPF and route table calculation.

Calculate Shortest Path Tree for each area known in the link state
database.

The Shortest Path Tree is used as input for route table calculation.
Route tabled is calculated and the result is inserted into the kernel
route table.

ok claudio@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Feb 8 21:52:48 2005 UTC (19 years, 4 months ago) by norby
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Change default metric to 10, reflects what is stated in ospfd.conf(5).

ok claudio@

Revision 1.6 / (download) - annotate - [select for diffs], Tue Feb 8 12:56:48 2005 UTC (19 years, 4 months ago) by claudio
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

The LSA seq_num should be unsigned as it is expected by ntohl/htonl() even
though the seq_num needs to be compared as signed number.
No idea how IETF came up with such a stupid idea especially because the
seq_num is not allowed to wrap.
requested by henning@ OK henning@

Revision 1.5 / (download) - annotate - [select for diffs], Fri Feb 4 07:38:04 2005 UTC (19 years, 4 months ago) by claudio
Branch: MAIN
Changes since 1.4: +16 -5 lines
Diff to previous 1.4 (colored)

Add sanity checks for AS-external LSA. Refine some other checks to be as
strict as possible. OK norby@

Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 2 19:47:20 2005 UTC (19 years, 4 months ago) by norby
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

Typo in constant.

ok claudio@ henning@

Revision 1.3 / (download) - annotate - [select for diffs], Tue Feb 1 21:15:40 2005 UTC (19 years, 4 months ago) by norby
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

Free neighbors that have been inactive for 24hrs.

OK claudio@

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 28 17:53:33 2005 UTC (19 years, 4 months ago) by norby
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Change my email address to the OpenBSD one since Ericsson has nothing to
do with this software, just happend to be my only valid email address at
the time.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jan 28 14:05:40 2005 UTC (19 years, 4 months ago) by claudio
Branch: MAIN

Welcome ospfd
started by Esben Norby some time ago by using the imsg/three process framework
of bgpd. He implemented the basic concept plus the ospf finite state machines.
Later I joined and helped him cleanup, debug and extend his work.
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 basic protocol works for broadcast networks and the LS database is
synchronized and updated. It is not possible to be DR or BDR on a network
and other interface types like point-to-point are not yet supported.
The shortest path tree is not calculated and so no routing information is
exchanged with the kernel FIB.

Not yet connected to the builds.
OK henning@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.