| Branch: | Revision:

iof-bird-daemon / proto / ospf / ospf.c @ af157fa3

History | View | Annotate | Download (39 KB)

# Date Author Comment
af157fa3 03/26/2010 01:48 PM Ondrej Zajicek

Disable multiple OSPF pseudointerfaces on BSD.

0aad2b92 03/14/2010 03:36 PM Ondrej Zajicek

Temporary OSPF commit - sockets.

54305181 03/11/2010 05:55 PM Ondrej Zajicek

Merge branch 'new' into socket2

ff2857b0 02/26/2010 09:55 AM Ondrej Zajicek

Many changes in (mainly) kernel syncers.

- BSD kernel syncer is now self-conscious and can learn alien routes
- important bugfix in BSD kernel syncer (crash after protocol restart)
- many minor changes and bugfixes in kernel syncers and neighbor cache
- direct protocol does not generate host and link local routes...

e81b440f 02/21/2010 01:34 PM Ondrej Zajicek

Fix configure to enable warnings and fix most of them.

dca75fd7 02/13/2010 11:26 AM Ondrej Zajicek

Removes phantom protocol from the pipe design.

It seems that by adding one pipe-specific exception to route
announcement code and by adding one argument to rt_notify() callback i
could completely eliminate the need for the phantom protocol instance
and therefore make the code more straightforward. It will also fix some...

353729f5 02/11/2010 09:23 AM Ondrej Zajicek

Temporary OSPF commit - socket changes.

c27b2449 02/08/2010 03:01 PM Ondrej Zajicek

Shows source (Router ID) for OSPF routes and adds such attribute.

A sad thing is that we does not have a 'router_id' filter type,
so it must be given as decimal number in filters.

cf31112f 01/03/2010 11:17 AM Ondrej Zajicek

Implements MRTdump feature.

610bb3cf 12/22/2009 09:49 AM Ondrej Zajicek

Show command cleanups.

f7574707 12/14/2009 08:17 PM Ondrej Zajicek

Implements route reload for OSPF.

34a877cc 12/14/2009 04:29 PM Ondrej Zajicek

Minor updates.

be2d38b7 12/10/2009 11:31 PM Ondrej Zajicek

Temporary OSPFv3 commit.

98955023 12/03/2009 10:20 PM Ondrej Zajicek

Fixes OSPFv2 build.

98899244 10/15/2009 09:57 AM Ondrej Zajicek

Implement command to show LSA db.

b66abe8e 10/14/2009 10:28 PM Ondrej Zajicek

Reimplements 'show ospf state' for OSPFv3 and fixes some bugs.

d82fc18d 10/07/2009 08:10 PM Ondrej Zajicek

Implement proper LSA ID generation.

be862406 09/08/2009 11:45 AM Ondrej Zajicek

Temporary OSPFv3 development commit.

Finally, it is working.

b49e6f5a 08/25/2009 02:42 PM Ondrej Zajicek

Temporary OSPFv3 development commit

c3226991 08/21/2009 07:27 AM Ondrej Zajicek

Temporary OSPFv3 development commit

3aab39f5 07/23/2009 02:51 PM Ondrej Zajicek

Use %R in OSPF when appropriate.

f9bdcad4 07/05/2009 05:01 PM Ondrej Zajicek

Fixes type mismatch in OSPF printf statements.

Mixing ip_addr and u32 does bad things on Ultrasparc.
Although both have the same size. Fascinating.
It was not catched by compiler because of varargs.

38675202 06/11/2009 03:25 PM Ondrej Zajicek

Implements an option that allows to change a set of stub networks.

3d15dcdb 06/10/2009 09:45 PM Ondrej Zajicek

Changes OSPF to generate stub networks for non-primary addresses.

Also does some reorganization in RT LSA announcement.

23ac9e9a 05/31/2009 01:24 PM Ondrej Zajicek

Changes pipes to transfer all routes between routing table, not just optimal routes.

20e94fb8 05/06/2009 08:02 PM Ondrej Zajicek

A change in OSPF and RIP interface patterns.

Allows to add more interface patterns to one common 'options'
section like:

interface "eth3", "eth4" { options common to eth3 and eth4 };

Also removes undocumented and unnecessary ability to specify
more interface patterns with different 'options' sections:...

aebe06b4 11/08/2008 10:33 PM Ondrej Zajicek

Proper format functions for ORIGINATOR_ID, CLUSTER_LIST

f0ad56f4 10/28/2008 03:10 PM Ondrej Zajicek

Fixes some sloppiness of commit a3b70dc499b64f41aa776b5b4afee5c7bfb8dfa6.

a3b70dc4 10/26/2008 11:03 PM Ondrej Zajicek

Two new informative CLI commands for OSPF.

Two new CLI commands for OSPF giving nice informative (and still machine
parsable) representation of OSPF network graph (based on datas from the
LSA database).

The first command (show ospf topology) shows routers, networks and stub...

94c42054 03/15/2005 10:06 PM Ondrej Filip

Added new parametr 'rx buffer <num>'. BIRD is able to receive
very large packets (if configured).

63ca37f3 02/20/2005 06:56 PM Ondrej Filip

Cleanup - all unused variables deleted.

52d61a84 02/20/2005 04:54 PM Ondrej Filip

Intelligent reconfiguration should work again.

d8c7d9e8 02/20/2005 04:27 AM Ondrej Filip

Since now I can also use 'dead interval', not just 'dead counter'.

b181f444 02/14/2005 11:54 AM Ondrej Filip

Small changes to reduce number of warnings.

5d3f5552 02/13/2005 11:36 PM Ondrej Filip

Many bugfixes in routing table calculation and summary LSA origination.

86c84d76 07/15/2004 04:37 PM Ondrej Filip

Huge OSPF database redesign. Since now, all LSAs of all areas
are in single database. This avoids duplication of external LSAs and
fixes bug in external LSA distribution.

3b16080c 07/14/2004 09:46 PM Ondrej Filip

Multiple OSPF areas can be attached.
Origination of summary LSA works.
Routing table calculation works.
Virtual links works.

Well, I hope, OSPF is fully compatible with RFC2328!!!!

621ccdfe 07/13/2004 11:58 AM Ondrej Filip

Bugfix - options bits were not included in LSAs
Bugfix - E bit was not unset on stub areas.

3e2bd0f1 06/26/2004 08:15 PM Ondrej Filip

Md5 authentification added (unsested).
Packet receiving clean up.

98ac6176 06/25/2004 04:39 PM Ondrej Filip

A lot of changes:
- metric is 3 byte long now
- summary lsa originating
- more OSPF areas possible
- virtual links
- better E1/E2 routes handling
- some bug fixes..

I have to do:
- md5 auth (last mandatory item from rfc2328)
- !!!!DEBUG!!!!! (mainly virtual link system has probably a lot of bugs)...

1a61882d 06/11/2004 09:36 AM Ondrej Filip

Better routing table calculation. We are ready to work with
multiple OSPF areas.

d5d9693c 06/06/2004 06:45 PM Ondrej Filip

Deleted unused parameters.

b8f17cf1 06/06/2004 04:00 PM Ondrej Filip

Small cleanup, indentation and preparation for multiple areas routing table calculation.

2e10a170 06/06/2004 09:37 AM Ondrej Filip


66261211 06/06/2004 09:13 AM Ondrej Filip

Struct area_net changed.

b9ed99f7 06/06/2004 08:55 AM Ondrej Filip

Cleanup in iface.c

598b984d 06/05/2004 09:58 AM Martin Mares

One less unused variable.

1512813e 06/05/2004 09:28 AM Martin Mares

... and a whole bunch of unused parameters and variables in ospf.

6f3203fa 06/04/2004 09:05 PM Ondrej Filip

cleanup in lsupd.c, indenting, "struct proto" removed...

3df1e804 06/04/2004 02:21 PM Ondrej Filip

Don't repeat "Sheduling rt calc....."

39e517d4 06/04/2004 12:53 PM Ondrej Filip

hello.c and hello.h cleaned up. No design changes.

035f6acb 06/01/2004 01:12 PM Ondrej Filip

Patch from Andreas Steinmetz <>

d83faf8d 05/31/2004 08:53 PM Martin Mares

static declarations don't belong to includes. (And most of them were
redundant anyway.)

0077aab4 05/31/2004 06:16 PM Martin Mares

The code was broken for external /29 to /32 routes. Assuming that you
have one machine publishing a route to and another one
publishing a route to If the first machine went down the
route to was wrongly killed by the old code, leading either...

baa5dd6c 08/23/2003 10:42 AM Ondrej Filip

Many spelling mistakes fixed.

Thanks you Harry Moyes.

e59e310e 03/04/2002 03:54 PM Ondrej Filip

Age LSA DB after LSA origination and before routing table calculation.

e43ae633 08/19/2001 11:15 AM Martin Mares

Fix %<something>I format strings.

c926eee7 08/12/2001 12:04 AM Ondrej Filip

Area networks added into configuration.

78e2c6cc 08/11/2001 02:01 PM Ondrej Filip

I will not originate the same lsa before MINLSINTERVAL.

52fa3e38 09/04/2000 09:21 PM Ondrej Filip

Fixed many bugs in rt calculation and interface adding. Now it seems to be
OK, I'm going to advertise 1.0.4.

b02e4011 09/04/2000 07:42 PM Ondrej Filip

I allocate struct ifa before unlocking. So route exported to OSPF are correct.
I work also with interfaces that have some problems with socket opening.
I declare them as stub.

fdb19982 09/03/2000 10:18 PM Ondrej Filip

Serious bug in ext lsa origination found. Going for 1.0.4.

e3bc10fd 09/02/2000 08:54 AM Ondrej Filip

Added stub interface. (Interface which is propagated to OSPF but
it does not sends nor listens packets.)

I added some new options, please look at it and look into doc if it's OK.

5ddec4e6 09/02/2000 07:58 AM Ondrej Filip

Reconfigure poll interval.

7cedbf21 09/02/2000 12:15 AM Ondrej Filip

Reconfiguration for new options.

1eec7607 08/16/2000 08:18 PM Ondrej Filip

Typo in rte_better.

d6a7e2fb 08/16/2000 07:03 PM Ondrej Filip

Bug in rte_better.

6567e6cf 06/08/2000 12:42 PM Martin Mares

Missing parameters...

725270cb 06/08/2000 12:37 PM Martin Mares

Fixes for the programmer's manual.

17e29574 06/07/2000 11:48 PM Ondrej Filip

Better algoritmus of LSA aging.

37c3e558 06/07/2000 11:05 PM Ondrej Filip

Simple explanation, how LSA are kept in database.

d5e4b518 06/07/2000 10:10 PM Ondrej Filip


7ab3ff6a 06/07/2000 09:46 PM Ondrej Filip

Doc in neighbor.c and some tiny changes related to.

6f58dc64 06/07/2000 08:50 PM Ondrej Filip


89755a86 06/07/2000 08:30 PM Ondrej Filip

Introdution into OSPF.

fa6c2405 06/07/2000 01:46 PM Ondrej Filip

Now I can change cost of interface without OSPF restart.

8cd5c52f 06/07/2000 01:19 AM Ondrej Filip

Removed useless trace.

edc34dc9 06/07/2000 12:56 AM Ondrej Filip

Reconfiguration hook.
It will survive many timer and constat changes.

ee4880c8 06/06/2000 02:54 AM Ondrej Filip

Some '\n' deleted.

992705f6 06/06/2000 02:27 AM Ondrej Filip

Tracing in topology

f14032ef 06/06/2000 02:09 AM Ondrej Filip

First part of tracing.

51cff78b 06/06/2000 01:46 AM Ondrej Filip

Allocate OSPF areas before interfaces.

80787d41 06/06/2000 12:52 AM Ondrej Filip

Dummy reconfigure added.

3b580a23 06/05/2000 08:57 PM Ondrej Filip

Bugfix in NET LSA flushing.
Configuration now works! :-)
Better "show ospf"
Some minor bugfixes.

8441f179 06/05/2000 06:40 PM Martin Mares

Unless a filter specifies otherwise, all external routes have type 2
metric 10000.

273fd2c1 06/05/2000 02:23 AM Ondrej Filip

Many bugfixes (I don't remember all of them):
Added link ID calculation for external routes with same prefix but
different mask.
Bugfix in NET lsa origination.
Bugfix in NET hashing.
Bugfix in LSA installing.

89d6782d 06/03/2000 01:29 AM Ondrej Filip

interface {} added.

b36a0a79 06/02/2000 07:55 PM Ondrej Filip

area {} added to config.

3fa5722d 06/02/2000 03:05 PM Ondrej Filip

First option into config added. :-)

ece612e1 06/02/2000 11:24 AM Ondrej Filip

sh interface "iface" dumpped all.

3488634c 06/02/2000 10:21 AM Ondrej Filip

Handle "show ospf *" even if protocol is down.

a489f0ce 06/02/2000 09:57 AM Ondrej Filip

Silly bug in sh interface. Now I test ALL interfaces. :-)

c4f0f014 06/01/2000 05:52 PM Ondrej Filip

Added show ospf interface.
show ospf neighbors now knows "<interface>".

4ab4e977 06/01/2000 04:26 PM Ondrej Filip

show ospf implemented.

a783e259 06/01/2000 03:53 PM Ondrej Filip

Cisco-like "show ospf neighbors" implemented.

23df5e4c 06/01/2000 01:00 PM Martin Mares

Print route tag in hexadecimal and omit it if it's zero.

df968040 06/01/2000 12:17 PM Ondrej Filip

Print tag unsigned rather then signed.

d1660fd3 05/31/2000 02:21 PM Ondrej Filip

Sort cleanup in aging.

70a38319 05/31/2000 02:06 PM Ondrej Filip

LSArt origination and routing table calculation is now not doing so
often. Instead of calculation I just schedule it latter.

a7a3a0a3 05/31/2000 12:07 PM Ondrej Filip

Added tagging of external LSA.