| Branch: | Revision:

iof-bird-daemon / proto / rip @ b44abeba

# Date Author Comment
72163bd5 01/09/2018 05:42 PM Ondrej Zajicek (work)

Nest: Allow modification of channels inherited from templates

Multiple definitions of same channels are forbidden, but inherited
channel can be redefined. In such case channel options are merged.

517d05df 12/08/2017 03:00 PM Ondrej Zajicek (work)

Enable ECMP and Link detection by default

ECMP is not enabled on BSD, where it is not supported by BIRD.

46434a3c 12/07/2017 05:35 PM Ondrej Zajicek (work)

Merge commit '7b2c5f3d2826e3175bf31b1c36056c9efc587a2b' into int-new

a6f79ca5 12/07/2017 12:54 PM Ondrej Zajicek (work)

Timers: Revert temporary names and remove old timer.h

574b2324 12/07/2017 12:53 PM Ondrej Zajicek (work)

Timers: Fix TBF and some last remains

ee528fbd 12/07/2017 12:53 PM Ondrej Zajicek (work)

Timers: Add typecast to unit-converting macros

92cc1e74 12/07/2017 12:53 PM Ondrej Zajicek (work)

RIP: Update to new timers

02552526 12/07/2017 12:49 PM Ondrej Zajicek (work)

Timers: Replace old timers with microsecond timers

The old timer interface is still kept, but implemented by new timers. The
plan is to switch from the old inteface to the new interface, then clean
it up.

153f02da 12/07/2017 12:06 PM Ondrej Zajicek (work)

Nest: Maintain separate IPv4, IPv6 and LLv6 preferred addresses

Also redesign preferred address selection and update protocols to use
appropriate preferred address.

Based on a previous work by Jan Maria Matejka.

943478b0 09/06/2017 03:38 PM Ondrej Zajicek (work)

Basic VRF support

Add basic VRF (virtual routing and forwarding) support. Protocols can be
associated with VRFs, such protocols will be restricted to interfaces
assigned to the VRF (as reported by Linux kernel) and will use sockets
bound to the VRF. E.g., different multihop BGP instances can use diffent...

6aaaa635 05/23/2017 03:40 PM Ondrej Zajicek (work)

Change parser to handle numbers as unsigned

Lexer always parsed numbers as unsigned, but parser handled them as
signed and grammar contained many unnecessary checks for negativity.

734e9fb8 05/23/2017 11:12 AM Ondrej Zajicek (work)

Minor cleanups and fixes

ead7b8f4 03/22/2017 01:54 PM Jan Moskyto Matejka

Merge branch 'nexthop-merged' into int-new

da3cf9ea 03/08/2017 04:37 PM Ondrej Zajicek (work)

Update OSPF and RIP protocol names and related documentation

62e64905 02/20/2017 01:26 AM Ondrej Zajicek (work)

Several minor fixes

5b208e29 12/22/2016 12:09 PM Jan Moskyto Matejka

Removing (struct rta)->cast. Never used.

4e276a89 12/22/2016 12:01 PM Jan Moskyto Matejka

Merged multipath and single-path data structures.

Dropped struct mpnh and mpnh_*()
Now struct nexthop exists, nexthop_*(), and also included struct nexthop
into struct rta.

Also converted RTD_DEVICE and RTD_ROUTER to RTD_UNICAST. If it is needed
to distinguish between these two cases, RTD_DEVICE is equivalent to...

9b0a0ba9 11/09/2016 03:36 PM Ondrej Zajicek (work)

Unit Testing for BIRD

- Unit Testing Framework (BirdTest)
- Integration of BirdTest into the BIRD build system
- Tests for several BIRD modules
Based on squashed Pavel Tvrdik's int-test branch, updated for
current int-new branch.
8860e991 11/08/2016 06:27 PM Ondrej Zajicek (work)

Merge branch 'master' into int-new

cc5b93f7 11/08/2016 04:04 PM Ondrej Zajicek (work)

Merge tag 'v1.6.2' into int-new

390601f0 11/02/2016 04:53 PM Ondrej Zajicek (work)

RIP: Use message authentication interface

Based on former commit from Pavel Tvrdik

56cb3bed 11/02/2016 03:23 PM Pavel Tvrdík

Nest: Add support for MAC algorithms in grammar

de2a27e2 11/02/2016 03:23 PM Ondrej Zajicek (work)

Add generic message authentication interface

Add generic interface for generating and verifying MACs (message
authentication codes). Replace multiple HMAC implementation with
a generic one.

3e236955 11/01/2016 01:52 PM Jan Moskyto Matejka

Build: switch on -Wextra, get rid of most of the warnings

There are several unresolved -Wmissing-field-initializers on older
versions of GCC than 5.1, all of them false positive.

84cac51a 09/14/2016 09:53 AM Ondrej Zajicek (work)

Nest: Keep multipath next hops sorted

08b3a24d 05/17/2016 01:21 PM Ondrej Zajicek (work)

IO: Minor changes in socket AF handing

AF can be specified implicitly by saddr or daddr, flags SKF_V4ONLY and
SKF_V6ONLY are to be removed.

0c6dfe52 05/10/2016 12:30 PM Jan Moskyto Matejka

Merge branch 'int-new' into int-new-merged

92912f06 05/10/2016 12:21 PM Jan Moskyto Matejka

Merge remote-tracking branch 'origin/rte-update' into int-new

7152e5ef 05/10/2016 12:07 PM Jan Moskyto Matejka

Build system reworked to one global Makefile with includes and no nesting

Also removed the lib-dir merging with sysdep. Updated #include's

Fixed make doc on recent Debian together with moving generated doc into

Moved into root dir...

2003a184 04/08/2016 11:09 AM Jan Moskyto Matejka

Route update: move table lookup from protocols into rte_update2().

Many protocols do almost the same when creating a rte_update request
before calling rte_update2(). This commit should simplify the protocol
side of the route-creation routine.

7a7ac656 04/08/2016 10:28 AM Jan Moskyto Matejka

Merge branch 'master' into int-new-channels

4bdf1881 04/07/2016 08:08 AM Jan Moskyto Matejka

Channelize: rt_notify arg conversion table -> channel

9036bbf2 03/17/2016 05:40 PM Pavel Tvrdík

RIP: fix typo in configuration at rx length opt

f4a60a9b 02/01/2016 09:28 AM Ondrej Zajicek (work)

Channels - explicit links between protocols and tables

The patch adds support for channels, structures connecting protocols and
tables and handling most interactions between them. The documentation is
missing yet.

d82987d1 01/27/2016 11:41 AM Pavel Tvrdík

RIP: Fix DBG output

74d94167 01/25/2016 09:29 AM Jan Moskyto Matejka

RIPng: fixed misrejection of host routes

6ffa8f53 01/11/2016 08:29 AM Jan Moskyto Matejka

Hidden AF_INET* inside sysdep/

600998fc 12/21/2015 07:28 PM Ondrej Zajicek (work)

Modify FIB_WALK() and FIB_ITERATE() to work with new FIB code

Returned user data pointers have offset relative to fib_node.

23c212e7 12/21/2015 02:33 AM Ondrej Zajicek (work)

Follow-up work on integration

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

04ae8dda 11/25/2015 01:24 PM Ondrej Zajicek (work)

Merge branch 'master' into int-new

33b4f40a 11/24/2015 03:01 PM Pavel Tvrdík

MD5: Mormalize naming style

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

8465dccb 10/05/2015 11:18 AM Ondrej Zajicek (work)

Major RIP redesign

The new RIP implementation fixes plenty of old bugs and also adds support
for many new features: ECMP support, link state support, BFD support,
configurable split horizon and more. Most options are now per-interface.

2bbc3083 02/21/2015 08:08 PM Ondrej Zajicek

Store protocol config size inside protocol structure

Make proto_config_new() use this info instead of supplied size.

Thanks to Alexander V. Chernikov for the patch.

4a591d4b 02/21/2015 06:31 PM Pavel Tvrdik

Replacing GNU old-style field designator extension

88a183c6 10/24/2014 09:11 AM Ondrej Zajicek

Integrated IP functions.

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

Refactoring of OSPF messages.

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

IPv4/IPv6 integrated socket code.

d7c06285 03/30/2014 11:52 PM Ondrej Zajicek

Check validity of interface definitions.

Thanks to Aleksey Berezin for the bugreport.

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

736e143f 11/23/2013 10:50 AM Ondrej Zajicek

Merge branch 'master' into add-path


6a8d3f1c 09/16/2013 09:57 PM Ondrej Zajicek

BFD work in progress.

Now it compiles and mostly works.

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.

a9fc659b 02/26/2013 01:29 PM Ondrej Filip

Small typos fixed.

de41dcd1 02/26/2013 01:13 PM Ondrej Filip

Redundant lines removed.

a9c38203 02/23/2013 11:43 PM Ondrej Filip

Allow 1 sec RIP update.

04ddefb3 02/22/2013 06:15 AM Ondrej Filip

Use BIRD's ASSERT instead of assert.h

2bf59bf4 02/20/2013 11:44 PM Ondrej Filip

Hotfix to solve an issue with delaying timers reported by Aleksey Chudov.

094d2bdb 08/14/2012 02:46 PM Ondrej Zajicek

Implements ADD-PATH extension for BGP.

Allows to send and receive multiple routes for one network by one BGP
session. Also contains necessary core changes to support this (routing
tables accepting several routes for one network from one protocol).
It needs some more cleanup before merging to the master branch.

47c447c4 05/11/2012 10:10 AM Ondrej Zajicek

Minor cleanups.

e2bf812f 03/15/2012 11:38 AM Ondrej Zajicek

Fixes RIPng compatibility.

Also probably breaks compatibility with older BIRDs, but RIPng not
really worked here.

Thanks to Goesta Smekal for the original patch.

f7615037 03/15/2012 11:23 AM Ondrej Zajicek

Fixes RIPng socket and neighbor handling.

RIPng did not really work because of link-local addresses.

Thanks to Roman Hoog Antink for some notes.

39c028e9 01/24/2012 10:31 AM Ondrej Zajicek

Assign default protocol preference via proto_config_new().

The patch from Alexander V. Chernikov.

a7f23f58 11/06/2011 11:31 PM Ondrej Zajicek

Implements protocol templates.

Based on the patch from Alexander V. Chernikov.
Extended to support almost all protocols.
Uses 'protocol bgp NAME from TEMPLATE { ... }' syntax.

14a8f396 10/26/2011 12:10 PM Ondrej Zajicek

Fixes sockets for IPv4 RIP.

Thanks Roman Hoog Antink for a suggestion.

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.

948c865f 09/03/2010 03:15 PM Ondrej Zajicek

Fixes a crash in RIP during reconfigure.

3cb6c83f 09/03/2010 02:32 PM Ondrej Zajicek

Fixes a memory leak in RIP.

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

Temporary OSPF commit - sockets.

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

3f22fa9e 11/09/2009 09:54 PM Ondrej Zajicek

Merge branch 'dev' into ospf3

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

Temporary OSPFv3 development commit (changing multicast support).

87d7fd97 08/16/2009 08:36 PM Ondrej Filip

Bugfix - each protocol can be compiled separately.

f98e2915 06/01/2009 12:07 PM Ondrej Zajicek

The pipe cleanup.

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

b21f68b4 11/08/2008 04:24 PM Ondrej Zajicek

Fix bugs in OSPF MD5 authentication. First bug is that default
values for MD5 password ID changed during reconfigure, Second
bug is that BIRD chooses password in first-fit manner, but RFC
says that it should use the one with the latest generate-from.

It also modifies the syntax for multiple passwords....

fd91ae33 11/05/2008 09:36 PM Ondrej Zajicek

Fix problem with local time changes.

8ffc7534 02/15/2005 06:32 AM Ondrej Filip

Minor changes to keep gcc happy.

c6dce04b 09/08/2004 04:04 PM Ondrej Filip


004cf4fc 07/15/2004 05:28 PM Ondrej Filip

Minor bugfix to compile bird in IPv6.

16c2d48d 07/13/2004 08:53 PM Ondrej Filip

Bugfix - RIP now updates routes with worse metric.

5236fb03 06/26/2004 08:11 PM Ondrej Filip

Password management redesigned (untested).

5ed68e46 06/23/2004 11:59 PM Ondrej Filip

Small typo changes.

973cf09c 06/23/2004 09:36 PM Ondrej Filip

Hotfix to problem with metric change reported by Luca.

3fe5f899 06/23/2004 09:34 PM Ondrej Filip

P->magic used just in LOCAL_DEBUG mode

c91fc9b6 06/05/2004 09:27 AM Martin Mares

... and in rip (there are even unused functions!).

6a57bb31 05/31/2004 08:57 PM Martin Mares

Killed a couple of unused variables.

We really should compile with warnings enabled.

0757bcb7 05/31/2004 08:35 PM Martin Mares

One space more.

3cb96cd3 05/31/2004 06:11 PM Martin Mares

The initial sequence number for RIP md5 authentication was always zero.
Bad as when bird e.g. was running for two weeks and then restarted it
would take another two weeks until the peers of this router would accept
data again from this router, as the sequence number would be too low....

4a020137 05/31/2004 05:42 PM Martin Mares

Make RIP nolisten mode actually work. The socket is required for
sending, the received data has to be discarded instead.

(patch by Andreas Steinmetz modified by me)

502ded52 12/06/2003 04:41 PM Martin Mares

Fix reporting of RIP socket errors. Thanks to Eric Leblond for the patch.

8cf76fa8 04/06/2003 06:38 PM Martin Mares

Bug fixes to authentication code by Eric Leblond <>.

19bd5c8e 09/21/2002 01:57 PM Pavel Machek

Password does not need to be null-terminated, do not print garbage in
such case. Thanks to .

53a50af5 03/10/2002 12:32 PM Martin Mares

Applied Pavel's fix for broadcast/multicast mode.

ad390755 06/21/2000 07:40 PM Pavel Machek

RIP bugfix