Statistics
| Branch: | Revision:

iof-bird-daemon / proto / rip / rip.c @ e81b440f

History | View | Annotate | Download (27.3 KB)

# Date Author Comment
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...

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

Temporary OSPFv3 development commit (changing multicast support).

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

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.

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.

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.

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.

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.

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.

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.

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

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::;
decc99fb 04/28/2000 10:15 AM Pavel Machek

Killed fixme: I already fixed it.

a769a180 04/28/2000 10:14 AM Pavel Machek

Provide rip_get_attr, how do I test it?

6c0a7174 04/28/2000 09:55 AM Pavel Machek

Add sample documentation to rip.

c010f4cb 04/26/2000 11:33 AM Pavel Machek

Use right address for ripv6.

7f704c06 04/26/2000 11:07 AM Pavel Machek

Cleanup in preparation for ipv6.

3d0ea3a7 04/07/2000 09:02 AM Pavel Machek

Fix of comment.

dad177d7 04/01/2000 10:20 AM Martin Mares

RIP: Set attribute class.

ac4b4683 03/31/2000 11:40 PM Martin Mares

Removal of useless includes continues...

a37410cb 03/31/2000 11:33 PM Martin Mares

Use bsprintf() instead of sprintf().

221135d6 03/31/2000 11:30 PM Martin Mares

Include "lib/string.h" instead of <string.h>. It should give us bzero()
and other non-portable functions on all systems.

8d2e3eba 03/29/2000 08:58 AM Pavel Machek

Cross-protocol issues solved better

d0031c5e 03/27/2000 12:21 PM Pavel Machek

Use neigh_connected_to in rip, and behave more correctly
w.r.t. whotoldme and nexthop.

6480dd08 03/26/2000 09:31 PM Pavel Machek

I broke compilation. Sorry.

8c86f96f 03/26/2000 06:01 PM Pavel Machek

Split horizont done right.

Locks done better.

772f4899 03/23/2000 12:08 PM Pavel Machek

Minor change to make code more readable.

ff8ed632 03/22/2000 02:26 PM Pavel Machek

Rip now tries to lock interface.

Fixed fatal errors which caused segfault at startup.

Fixed fatal errors in rip which caused it not to send more than first
update.

856b87d1 03/13/2000 01:31 PM Pavel Machek

Cleanup, mostly debugging messages.

af834f86 03/09/2000 04:38 PM Pavel Machek

Categorized TRACE messages in rip

cb822c07 03/09/2000 03:12 PM Pavel Machek

Rip tracing: still need config hunk to set p->debug.

38466dbd 03/09/2000 02:59 PM Pavel Machek

log() classes done right

9f4929e7 03/04/2000 10:30 PM Martin Mares

Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning.

ef0883a1 02/29/2000 11:20 PM Martin Mares

Adapted RIP to new interface flags. Pavel, please verify it's right.

bd215f8b 01/26/2000 02:12 PM Pavel Machek

Do not send empty packets in rip.

8660913b 01/26/2000 12:07 PM Pavel Machek

Output made prettier.

d272fe22 01/17/2000 11:52 AM Martin Mares

Separated `official protocol names' used in status dumps from name templates
used for automatic generation of instance names.

protocol->name is the official name
protocol->template is the name template (usually "name%d"),
should be all lowercase.

Updated all protocols to define the templates, checked that their configuration...

6aea8905 12/16/1999 12:18 PM Martin Mares

TODO entries and FIXME's.

dff1f579 12/08/1999 01:33 PM Pavel Machek

Added hooks for show route.
Fixed passing metrics around routing tables.

4d4de35f 12/08/1999 12:51 PM Pavel Machek

Fix timing and fix endianity in metrics.

e7f76bae 12/01/1999 01:44 PM Pavel Machek

Stupid bug (essentially while(1) loop) occuring sometimes during start
of bird fixed.

639e6285 12/01/1999 12:52 PM Pavel Machek

Actually check sequence numbers.

1a509a63 11/25/1999 03:03 PM Pavel Machek

md5 authentication seems to work.

d3702d57 11/25/1999 02:54 PM Pavel Machek

Bugfixes: select right password for password authentication, do not
try to process authentication blocks as datablocks, make it possible
to add data at end of packet. Password authentication should actually work.

7e61cac3 11/25/1999 01:38 PM Pavel Machek

Triggered updates should now actually work. Fixed metric=16 -> time it
out logic.

774f1499 11/25/1999 12:01 PM Pavel Machek

Fix timeouts. Triggered updates are not done, yet.

ea9bb932 11/17/1999 11:16 AM Martin Mares

Commented out nexthop selection, see the comment.

3918b1b0 11/10/1999 11:52 AM Pavel Machek

Added timeout for routes (which means proper expiring of routes) added
few fixmes.

a5b583f2 11/04/1999 02:39 PM Pavel Machek

FIXME's updated. One fixme is remaining for correct RIPv4. Wow.

7bf19253 11/04/1999 02:26 PM Pavel Machek

Reject packets which are not authenticated.

Set correct nexthop on outgoing packets.