| Branch: | Revision:

iof-bird-daemon / proto / ospf / lsupd.c @ 74c838a8

History | View | Annotate | Download (18 KB)

# Date Author Comment
fe9f1a6d 11/05/2015 11:48 AM Ondrej Zajicek (work)

Initial commit on integrated BIRD

New data types net_addr and variants (in lib/net.h) describing
network addresses (prefix/pxlen). Modifications of FIB structures
to handle these data types and changing everything to use these
data types instead of prefix/pxlen pairs where possible....

77edab64 05/01/2015 12:40 PM Ondrej Zajicek

OSPF: Redesign LSA checksumming

New LSA checksumming code separates generic Fletcher-16 and OSPF-specific
code and avoids back and forth endianity conversions, making it much more
readable and also several times faster.

30d09eb9 04/28/2015 11:45 AM Ondrej Zajicek

OSPF: Fixes validation of LSA checksums

Prior to this patch, BIRD validates the OSPF LSA checksum by calculating
a new checksum and comparing it with the checksum in the header. Due to
the specifics of the Fletcher checksum used in OSPF, this is not
necessarily correct as the checkbytes in the header may be calculated via...

6f8bbaa1 11/03/2014 09:42 AM Ondrej Zajicek

Fininshing integrated OSPF.

f8fefde3 10/24/2014 09:07 AM Ondrej Zajicek

Refactoring of OSPF messages.

742029eb 07/19/2014 03:28 PM Ondrej Zajicek

Whitespace cleanup in OSPF.

a7a7372a 07/18/2014 04:24 PM Ondrej Zajicek

Temporary integrated OSPF commit.

70945cb6 06/26/2014 09:58 AM Ondrej Zajicek

Temporary integrated OSPF commit.

cba9cbf1 02/06/2014 04:51 PM Ondrej Zajicek

Silence this annoying warning.

48e5f32d 02/06/2014 04:46 PM Ondrej Zajicek

Many changes in I/O and OSPF sockets and packet handling.

- BSD: specify src addr on IP sockets by IP_HDRINCL
- BSD: specify src addr on UDP sockets by IP_SENDSRCADDR
- Linux: specify src addr on IP/UDP sockets by IP_PKTINFO
- IPv6: specify src addr on IP/UDP sockets by IPV6_PKTINFO...

1fba34a7 11/22/2013 05:45 PM Ondrej Zajicek

Adds check for buffer size in OSPF LSA flood.

c404f4b9 09/10/2013 11:15 PM Ondrej Filip

OSPF state machine fix - thanx to Alexander V. Chernikov

dd4da6f6 10/31/2012 04:14 PM Ondrej Zajicek

Fixes another bug in OSPFv3 vlinks.

e4404cef 10/29/2012 07:29 PM Ondrej Zajicek

Fixes several bugs related to OSPFv3 vlinks.

c06de722 08/06/2012 09:09 AM Ondrej Zajicek

Some minor fixes.

95127cbb 05/14/2012 09:47 AM Ondrej Zajicek

Real broadcast mode for OSPFv2.

2918e610 09/03/2011 07:31 PM Ondrej Zajicek

Fixes for OSPF NSSA handling.

41b612c3 07/20/2011 09:48 PM Ondrej Zajicek

OSPF NSSA support, part one.

ae85e28c 06/20/2011 05:37 AM Ondrej Zajicek

Fixes a bug in OSPF causing DoS by an invalid packet.

919f5411 12/24/2010 05:08 PM Ondrej Zajicek

Implements Point-to-MultiPoint interface type for OSPF.

d5356072 11/04/2010 04:22 PM Ondrej Zajicek

Fixes a bug in LSA update of large LSAs.

ee7408c2 05/07/2010 01:54 PM Ondrej Zajicek

Fixes a bug in LSA flooding.

LSAs are sometimes prematurely removed from LS retransmission lists.

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

Merge branch 'new' into socket2

e7b76b97 03/11/2010 05:07 PM Ondrej Zajicek

Temoporary OSPF commit - socket changes.

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

Fix configure to enable warnings and fix most of them.

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

Temporary OSPF commit - socket changes.

63542845 12/14/2009 07:37 PM Ondrej Zajicek

Merge branch 'dev' into ospf3


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

Minor updates.

28008482 12/12/2009 12:35 AM Ondrej Zajicek

Minor fixes in OSPF.

8a70a13e 12/11/2009 10:06 AM Ondrej Zajicek

Implements protocol-specific Router ID for OSPF.

And fixes one minor bug.

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

Temporary OSPFv3 commit.

69fbf9a2 12/03/2009 05:25 PM Ondrej Zajicek

Minor fix in LSA update.

cbf8b08d 11/17/2009 09:31 AM Ondrej Zajicek

Temporary OSPFv3 devel commit

a6bc04d5 10/29/2009 10:57 PM Ondrej Zajicek

Implements better checks on incoming packets and LSAs in OSPF.

9d4d38d1 10/28/2009 09:39 PM Ondrej Zajicek

Fixes some problems related to link-local routes in KRT interface.

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

Temporary OSPFv3 development commit.

Finally, it is working.

f9c799a0 09/04/2009 09:06 AM Ondrej Zajicek

Temporary OSPFv3 development commit (changing multicast support).

061ab802 08/27/2009 04:25 PM Ondrej Zajicek

Temporary OSPFv3 development commit

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.

2389c46f 07/05/2009 07:18 PM Ondrej Zajicek

Another pile of ipa_from_u32() calls.

8298d780 04/06/2009 02:17 PM Ondrej Zajicek

Better OSPF packet tracing log messages.

Replaces old OSPF packet tracing messages with
uniform messages with packet dumps.

23d67029 01/11/2009 11:14 AM Ondrej Zajicek

Some fixes and update of OSPF debug messages

52586ccd 10/26/2008 10:53 PM Ondrej Zajicek

Missing newline.

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

Small changes to reduce number of warnings.

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!!!!

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

5e3436d2 06/06/2004 07:53 PM Ondrej Filip

Cleanup in packet.c. Deleted unused parameters.

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.

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

9b7de4c4 06/04/2004 08:41 PM Ondrej Filip

'struct proto' removed
Finally, I found the bug reported by Andreas Steinmetz. FIXED.

27f49a2c 06/04/2004 05:28 PM Ondrej Filip

lsreq.c indented and small 'struct proto' changes.

8e15e048 06/04/2004 05:05 PM Ondrej Filip

Deleted useles "struct proto" sending.

c76ba51a 06/04/2004 04:30 PM Ondrej Filip

lsack.c cleaned. Better names for functions and
DIRECT acks can be sent in one packet now.

f9fdabe4 06/04/2004 02:22 PM Ondrej Filip

Small reversing of previous patch.

d6c28f3a 06/04/2004 02:03 PM Ondrej Filip

Code and comments cleanup.

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

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

Many spelling mistakes fixed.

Thanks you Harry Moyes.

32749f49 12/14/2000 01:04 AM Ondrej Filip

Hmm, nasty bug, LSUPD was not well flooded via PTP interfaces. :-(

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.

135857e5 06/08/2000 07:14 PM Ondrej Filip

Acknoledge your own premature aged LSA.

e9ab0b42 06/07/2000 10:31 PM Ondrej Filip

Doc in lsalib.c + related minor changes.

1ae494a7 06/07/2000 11:55 AM Martin Mares

Avoid SEGV's in tracing.

d3995c49 06/06/2000 02:16 AM Ondrej Filip

Tracing in LSUPD.

eb436e16 06/06/2000 12:08 AM Ondrej Filip

NBMA networks seems to work, but this should be better. :-)

4bb9ce56 06/05/2000 07:45 PM Ondrej Filip

Reset inactim timer if you receive any packet from neighbor.

aba5e89f 06/05/2000 06:09 PM Ondrej Filip

Better checksum checking.

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.

13e9bac3 06/04/2000 07:57 PM Martin Mares

One more newline less... :)

df49d4e1 06/04/2000 07:56 PM Martin Mares

Removed lots of trailing newlines in log messages.

Please note that the only calls which don't add newlines automatically
(i.e., don't print a full line of output) are debug() and DBG.

ce8f0c08 06/04/2000 07:19 PM Ondrej Filip

Schedule RT calcualtion if you delete LSA by premature aging.

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

interface {} added.

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

area {} added to config.

62924172 06/02/2000 01:52 PM Ondrej Filip

Flush LSA when receive aged one.

e4ba0ec1 06/02/2000 01:27 PM Ondrej Filip

Bugfix in receiving of aged LSA.

489f800b 06/02/2000 09:53 AM Ondrej Filip

Speedup loading process.

42542c56 06/01/2000 12:32 AM Ondrej Filip


37282678 05/31/2000 06:21 PM Ondrej Filip

And finally, Premature aging works. :-)

31ee3d5f 05/31/2000 03:51 PM Ondrej Filip

Another step to make premature aging better.

a9eeefd6 05/31/2000 03:28 PM Ondrej Filip

Warning destroyed. :-)

82364f4d 05/31/2000 03:24 PM Ondrej Filip

Flood my LSA (if exists) after old one is flushed.

7e1c7efa 05/30/2000 05:57 PM Ondrej Filip

Stupig bug in debugging.

3dd8f983 05/30/2000 05:51 PM Ondrej Filip

You can decide if add LSA into lsrth during flood_lsa().

b477a9a8 05/30/2000 04:49 PM Ondrej Filip

Don't send empty LS upd. (And better debugging.)

935ceabe 05/30/2000 04:08 PM Ondrej Filip

Don't send empty LS update.

a548a7e1 05/30/2000 03:05 PM Ondrej Filip

Bug in direct ack (via update).

e9d6b1d1 05/28/2000 08:11 PM Ondrej Filip

Kosmetic change in debugging.

4bd28fb6 05/27/2000 03:36 PM Ondrej Filip

Better shutdown. (Flush my own router LSA and send 1WAY to every neighbor.)
Ext LSA originating and flushing added.

5da1f935 05/11/2000 10:00 PM Ondrej Filip

Bugfix in flooding. (bad size)
Better debugging.
More robust in receiving.

13741548 05/10/2000 03:04 PM Ondrej Filip

Some better lsa checking added.

a9c41c85 05/10/2000 02:29 PM Ondrej Filip

Out dump deleted.

32fa4a5a 05/09/2000 09:06 PM Ondrej Filip

Premature aging of self-originated LSA received in flooding.

a3ae6246 05/09/2000 07:38 PM Ondrej Filip

Bugfix in lsrt slist adding.

cd22a62b 05/09/2000 06:20 PM Ondrej Filip

Don't send flushed LSAs.