| Branch: | Revision:

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

History | View | Annotate | Download (33.4 KB)

# Date Author Comment
04632fd7 12/24/2015 02:56 PM Ondrej Zajicek (work)

Follow-up work on integration

0bf95f99 12/21/2015 04:17 PM Ondrej Zajicek (work)

Follow-up work on integration

Contains some patches from Jan Moskyto Matejka

d7661fbe 12/19/2015 02:57 PM Jan Moskyto Matejka


Explicit setting of AF_INET(6|) in IP socket creation. BFD set to listen
on v6, without setting the V6ONLY flag to catch both v4 and v6 traffic.

Squashing and minor changes by Ondrej Santiago Zajicek

d44e686e 11/12/2015 01:03 AM Ondrej Zajicek (work)

Follow-up commit on integrated BIRD

Use net_addr for interface address prefixes, support net_addr in
configuration parser.

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

b5e76398 08/19/2015 09:16 AM Ondrej Zajicek

OSPF: Fixes some issues with link detection

Thanks to Bernardo Figueiredo and Israel G. Lugo for the bugreport.

398f9225 06/01/2015 08:41 AM Ondrej Filip

Typo fix by Hans van Kranenburg

ac9dc669 11/03/2014 07:35 PM Ondrej Zajicek

Bugfix in latest OSPF changes.

cd3b7003 11/03/2014 01:53 PM Ondrej Zajicek

Bugfix to OSPF reconfiguration.

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.

05476c4d 05/18/2014 09:42 AM Ondrej Zajicek

IPv4/IPv6 integrated socket code.

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

c72aca41 11/24/2013 09:12 PM Ondrej Zajicek

OSPF ifaces on loopback should be stub.

1ec52253 11/19/2013 09:33 PM Ondrej Zajicek

BFD protocol, ready for release.

Supports OSPF and BGP and also statically configured sessions.

354496ac 07/11/2013 11:50 AM Ondrej Zajicek

Some fixes for TTL security.

70e212f9 06/25/2013 01:39 PM Ondrej Zajicek

Implements TTL security for OSPF and RIP.

Interfaces for OSPF and RIP could be configured to use (and request)
TTL 255 for traffic to direct neighbors.

Thanks to Simon Dickhoven for the original patch for RIPng.

ef4a50be 06/24/2013 02:37 PM Ondrej Zajicek

Better packet priority and traffic class handling.

Implements support for IPv6 traffic class, sets higher priority for OSPF
and RIP outgoing packets by default and allows to configure ToS/DS/TClass
IP header field and the local priority of outgoing packets.

92486854 05/28/2013 08:48 AM Ondrej Zajicek

Fixes crash with vlinks.

8df02847 04/17/2013 11:06 AM Ondrej Zajicek

Fixes a compatibility issue in OSPFv2 PtP links.

BIRD used zero netmask in hello packets on all PtP links, not just on
unnumbered ones. This patch fixes it and adds option 'ptp netmask'
for overriding the default behavior.

Thanks to Alexander V. Chernikov for the original patch.

9ff52573 04/16/2013 02:22 PM Ondrej Zajicek

Better handling of global addresses as configured NBMA neighbors in OSPFv3.

Configured NBMA neighbors in OSPFv3 should be link-local addresses, old
behavior was to silently ignore global ones. The patch allows BIRD to
accept global ones, but adds a warning and a documentation notice....

227af52f 11/10/2012 03:18 PM Ondrej Zajicek

Fixes OSPF reconfigure w.r.t. downed ifaces.

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

Fixes another bug in OSPFv3 vlinks.

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

Real broadcast mode for OSPFv2.

fd087589 03/16/2012 12:01 PM Ondrej Zajicek

Fixes broken vlinks in OSPF.

2f9955b5 03/15/2012 12:12 PM Ondrej Zajicek

Fixes TTL for multicast OSPF packets.

Thanks Alexander V. Chernikov for the suggestion.

beeda6af 07/07/2011 11:14 PM Ondrej Zajicek

Removes timers for stub interfaces. Also fixes some minor bugs.

7d4e9236 07/06/2011 01:10 AM Ondrej Zajicek

Do not open sockets for stub interfaces.

52a43ae3 03/28/2011 08:46 PM Ondrej Zajicek

Minor changes in addresses.

Mainly changes IA_UNNUMBERED to IA_PEER and adds IA_HOST. Also do not
show broadcast addr in show interfaces. Nobody cares for that.

8e48831a 03/17/2011 02:53 PM Ondrej Zajicek

Vastly improved OSPF reconfiguration.

Now it can handle a change in iface pattern structure.
It can add, remove and reconfigure interfaces, vlinks and areas.

e7b4948c 12/28/2010 12:43 AM Ondrej Zajicek

A simplification of the next-hop calculation.

Thanks to Joakim Tjernlund for the idea.

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

Implements Point-to-MultiPoint interface type for OSPF.

57c574d8 12/07/2010 10:35 PM Ondrej Zajicek

Multipath support for OSPF

391931d4 11/19/2010 12:46 PM Ondrej Zajicek

Minor finalizations of link state checks.

d9e7e1b1 11/13/2010 01:19 PM Ondrej Zajicek

Adds support for iface link detection to OSPF.

c4443085 11/04/2010 04:25 PM Ondrej Zajicek

OSPF tx buffers should have the same size as rx buffers.

We should be able to send everything we received.

d3209d93 11/03/2010 09:04 AM Ondrej Zajicek

Fixes a bug in OSPF.

faf58cec 08/22/2010 12:43 PM Ondrej Zajicek

Fixes a bug in NBMA on an iface with multiple IP addresses.

691057f0 05/26/2010 02:09 PM Ondrej Zajicek

Support loopback/dummy addresses.

6384c7d7 05/02/2010 05:58 PM Ondrej Zajicek

OSPF: most of summary LSA orig./flush logic rewritten.

Fixes many bugs in the old code and makes it much cleaner.

ba321706 04/27/2010 10:39 PM Ondrej Zajicek

Better support for /31 networks.

0ea8fb4a 04/24/2010 01:18 PM Ondrej Zajicek

Fixes and enhancements in 'show ospf state' command.

Now it shows a distance, option to change showing reachable/all network
nodes and better handling of AS-external LSAs in multiple areas. The
command 'show ospf topology' was changed to not show stubnets in both...

3b89a232 04/21/2010 07:50 PM Ondrej Zajicek

Fixes several problems in OSPF vlink implementation.

e7b09e4a 04/02/2010 02:11 PM Ondrej Zajicek

Use SO_BINDTODEVICE also in Linux/IPv6.

bed41728 04/02/2010 09:31 AM Ondrej Zajicek

Minor fixes to previous patches.

48cff379 03/26/2010 03:21 PM Ondrej Zajicek

Added some comments.

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.

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

Temoporary OSPF commit - socket changes.

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

Temporary OSPF commit - socket changes.

aa80826e 02/07/2010 08:49 AM Ondrej Zajicek

Unnumbered OSPF interfaces should be always in the point-to-point mode.

a3062085 01/13/2010 01:53 PM Ondrej Zajicek

Comment update.

99f5fc14 01/08/2010 09:19 PM Ondrej Zajicek

A partial vlink fix.

6901fd06 01/07/2010 10:42 PM Ondrej Filip

More information about vlinks.

18722dc9 01/07/2010 10:03 PM Ondrej Filip

Bugfix in DBG call.

3127b817 01/07/2010 09:54 PM Ondrej Filip

Be a little bit more verbose on virtual links.

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

Implements MRTdump feature.

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

Temporary OSPFv3 commit.

4ac7c834 11/09/2009 10:22 PM Ondrej Zajicek

Use IPv6 checksums in OSPFv3.

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

d2ceaf4e 08/28/2009 11:45 AM Ondrej Zajicek

Temporary OSPFv3 development commit

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.

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.

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

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

Some fixes and update of OSPF debug messages

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

e300066d 03/14/2005 11:24 AM Ondrej Filip

OSPF can accept larger packets than MTU.

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

Cleanup - all unused variables deleted.

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

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

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

897999c2 07/13/2004 11:31 PM Ondrej Filip

Send hello as soon as possible after the interface is up.
This helps to faster establish the adjacency.

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

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


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

Cleanup in iface.c

66004c91 06/05/2004 03:02 PM Ondrej Filip

Set size of the buffers. (Thanx MJ.)

9831e591 06/05/2004 09:58 AM Martin Mares

Staticized lots of local functions.

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

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

c33d4cad 06/05/2004 08:59 AM Martin Mares

Moved the tests for socket existence here.

BTW, where do you exactly set the new buffer sizes?

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

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

e7ef86a5 06/04/2004 06:51 PM Ondrej Filip

OSPF is ready for changing MTU.

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

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

591656cd 06/03/2004 08:18 AM Ondrej Filip

Added source addr for multicast socket.

e8bf6c07 06/01/2004 01:44 PM Ondrej Filip

Easier cleanup of an interface.

c9f6cf8a 06/01/2004 01:29 PM Ondrej Filip

Don't free socket's resources.

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

Patch from Andreas Steinmetz <>

781aa475 05/31/2004 01:22 PM Ondrej Filip

Minor bug fix in neighbor state machine.

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

Many spelling mistakes fixed.

Thanks you Harry Moyes.

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.