Statistics
| Branch: | Revision:

iof-bird-daemon / proto / rip @ 48e5f32d

# Date Author Comment
48e5f32d 02/06/2014 04:46 PM Ondrej Zajicek

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

I/O:
- 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

Conflicts:

filter/filter.c
nest/proto.c
nest/rt-table.c
proto/bgp/bgp.h
proto/bgp/config.Y
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

Bugfix.

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

07f29765 06/07/2000 02:06 PM Pavel Machek

RIPv6 now works.

18b4d6bf 06/07/2000 01:58 PM Pavel Machek

rip ipv6 bugfix

58f7d004 06/07/2000 01:25 PM Martin Mares

Fixes to the progdoc.

2e9b2421 06/07/2000 12:29 PM Martin Mares

Spelling fixes to progdoc.

4c5f93d7 06/05/2000 05:13 PM Pavel Machek

Better documentation. There are functions whose description is good when
reading source but whose documentation does not belong to progdocs.

8798c811 06/05/2000 04:36 PM Pavel Machek

Docs updates:

make prog.dvi

do not overflow in .dvi

include filter documentation in the system

8b79c4cc 06/05/2000 03:41 PM Pavel Machek

Add safety check.

b093c328 06/05/2000 12:52 PM Pavel Machek

Updates to both programmers and users doc

e24ddd9b 06/04/2000 08:00 PM Martin Mares

Don't set precedence and TTL for the dummy socket.

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.

201187c5 06/04/2000 07:55 PM Martin Mares

debug -> DBG

491cd43b 06/01/2000 12:59 PM Martin Mares

Updated RIP to new neighbor cache semantics. When presented with next hop
equal to a local address, just ignore the route (as it is usually just an
external route exported by us echoed by some RIP peer), when given an
invalid next hop, moan to the log.

fcb5f4a7 05/31/2000 11:30 AM Martin Mares

Updated all the Doc files to new format.

3b0b2cb6 05/30/2000 10:48 PM Martin Mares

IPv6: Absolutize link-scope addresses of incoming packets.

IPv6 socket interface is hopefully right now.

2cec475b 05/30/2000 09:24 PM Martin Mares

Removed several unused local variables.

f3b33928 05/30/2000 11:15 AM Pavel Machek

Tried to change garbagetime -> garbage time to be more consistent.

dc6405d2 05/19/2000 05:21 PM Martin Mares

Latest changes by Pavel have removed the error messages printed after
unsuccessful socket open, but replaced them by segmentatio fault!

Grrrrrrrrr.

9511a483 05/19/2000 04:44 PM Pavel Machek

Less error messages in case sk_open fails.

eb4097e4 05/19/2000 04:22 PM Pavel Machek

Added name of protocol to messages being logged.

f7ad556f 05/19/2000 11:00 AM Martin Mares

Commented out the `inserting entry which is already there' message since
it's pretty normal: during feeding of the protocol, a new route can appear
which will be announced normally and then repeated by the feeding process.

6d5e703d 05/17/2000 08:23 PM Pavel Machek

Minor cleaning

e5a47266 05/16/2000 03:08 PM Martin Mares

Turned off LOCAL_DEBUG.

5b846de6 05/16/2000 03:05 PM Pavel Machek

Interface dummy is too strange for me... but psst, that's secret.

898fdd85 05/16/2000 02:58 PM Pavel Machek

Rip should now reconfigure itself only if needed.

28323d9d 05/11/2000 03:05 PM Martin Mares

Several minor RIP changes (Pavel, please check as usually):

o  Use FIB_ITERATE_INIT instead of calling the function fit_init()
which is explictly marked as private in route.h.
o When printing trace messages, don't spit out protocol name twice....
ec21aecf 05/11/2000 10:33 AM Pavel Machek

Fixed nasty segfault in rip.

10f5c47d 05/11/2000 09:41 AM Pavel Machek

Some more paranoia into rip_insert and rip_delete

94d1a6c9 05/11/2000 09:36 AM Pavel Machek

Unused variable killed.

2a41c8d9 05/10/2000 01:42 PM Pavel Machek

use password_same utility function

3e474192 05/10/2000 01:23 PM Pavel Machek

Inlined metric and mode into struct rip_interface to make reconfig
work.

reconfigure is conservative but should work.

30aa02d7 05/10/2000 01:05 PM Pavel Machek

rip_reconfigure done right

b8524e9b 05/10/2000 12:48 PM Pavel Machek

ipa_same does not exist.

0bff946c 05/10/2000 12:46 PM Pavel Machek

Nicer messages from rip.

6f384977 05/10/2000 12:38 PM Pavel Machek

Use ea_get_int instead of ea_find.

7f5f44bb 05/10/2000 12:32 PM Pavel Machek

Reconfigure hook copied from bgp.

84a13054 05/10/2000 12:26 PM Pavel Machek

Send first udpate sooner.

14758d87 05/10/2000 12:23 PM Pavel Machek

Only announce change to main routing table if it is better than current.

5e50f0a0 05/10/2000 11:57 AM Pavel Machek

Don't touch used memory.

be3b6dc5 05/10/2000 11:48 AM Pavel Machek

Killed unused variable.

d9f89e01 05/10/2000 11:40 AM Pavel Machek

You can now say "mode multicast".

4bfe4e85 05/10/2000 06:56 AM Pavel Machek

Fix segfaults by using new ea_get_int.

92ef4fa7 05/08/2000 10:38 AM Martin Mares

Preference is a configurable parameter.

ce1da96e 05/06/2000 10:57 PM Martin Mares

Added commands `show route protocol <p>' and `show route import <p>' which
show the routing table as exported to the protocol given resp. as returned
from its import control hook.

To get handling of filtered extended attributes right (even in the old
`show route where <filter>' command), the get_route_info hook gets an...

ab1129c1 05/05/2000 05:17 PM Martin Mares

Added skeleton Doc files for the whole developer's documentation.

9a220cab 05/04/2000 08:52 PM Martin Mares

#ifdef out lots of debugging information.

The long resource/routing table dump printed upon startup is gone now
and if you wish to see it, just send bird SIGUSR1 or use the `debug'
commands.

9b63e3a5 05/04/2000 08:08 PM Pavel Machek

Spelling fixes.

53943a00 05/02/2000 04:10 PM Martin Mares

Defined format specifier `%M' which behaves as `%m', but takes the
error code as an argument.

Use it in socket hooks where we really shouldn't rely on errno containing
the right value or even existing.

2337ade7 04/30/2000 06:47 PM Pavel Machek

Moved documentation to top of file, where it belongs.

9c1a55de 04/29/2000 03:45 PM Pavel Machek

IpV6 now actually compiles.

Mj, could you provide example of static config for ipv6 that is not
rejected by checks? I tried this and got rejected.

route 62:168::/32 via 62:169::;
route 1:2::/32 via 1:3::;
2edb31b0 04/28/2000 03:11 PM Martin Mares

Split CF_HDR section to CF_HDR (only includes) and CF_DEFINES (defines,
C declarations etc.).