| Branch: | Revision:

iof-bird-daemon / proto / rip / rip.c @ 9b63e3a5

History | View | Annotate | Download (22.6 KB)

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

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.

f942a589 10/12/1999 01:04 PM Pavel Machek

FIXME's for rip added.

Will we ever able to generate packets saying "route using someone else"?

89dc383a 10/12/1999 07:46 AM Martin Mares

Changed syntax of ip_class_mask, the old one was stupid.

c79ec2ec 10/11/1999 02:19 PM Pavel Machek

Untested IPv6 support added. I do not know if it compiles in IPV6 mode.

ac40c888 10/02/1999 10:44 AM Pavel Machek

Obvious bugs in authentication fixed.

bce8a34b 08/18/1999 01:19 PM Pavel Machek

Few fixme's fixed in rip (will not crash any more on request for
sending routing table - hopefully).

Next few steps in md5 authentication (not yet complete).

3e1f3061 06/01/1999 01:57 PM Martin Mares

Defined IP_PREC_INTERNET_CONTROL and made all (well, both :)) protocols
use it when creating sockets.

9de840bd 05/31/1999 08:34 PM Pavel Machek

Set corectly destination address for RIP multicast. Broadcasting &
multicasting rip actually works [broadcasting is kind of hard to turn
it on, through].

b94bbe00 05/31/1999 08:30 PM Pavel Machek

Added FIXME: mode broadcast randombly corrupts memory.

Small cleaning and bugfixes.

9607536d 05/31/1999 07:43 PM Pavel Machek

Kill duplicity between rif and rif_patt.

72efa4b6 05/31/1999 07:37 PM Pavel Machek

Small fixes to rip.

91c7c741 05/31/1999 07:16 PM Pavel Machek

Incoming side of authentication done but untested. Right handling of
filters in rip.

bb027be1 05/31/1999 06:55 PM Martin Mares

Added extra argument to rt_update hook which contains a pointer to the
temporary attribute list.

fd5f8704 05/26/1999 02:37 PM Pavel Machek

Make rip use newly defined password lists.

4f1a6d27 05/17/1999 08:16 PM Martin Mares

Kill remaining master_table relics in KRT code.

Make all protocols pass routing table to rte_update and rte_discard.

1b16029c 05/11/1999 09:53 AM Pavel Machek

Mensi updaty do ripu. Pridana passwd autentikace (netestovano).

9a158361 05/06/1999 09:38 PM Martin Mares

I rewrote the interface handling code, so that it supports multiple
addresses per interface (needed for example for IPv6 support).

Visible changes:

o struct iface now contains a list of all interface addresses (represented
by struct ifa), iface->addr points to the primary address (if any)....

36bbfc70 04/19/1999 06:41 PM Pavel Machek

Updated filters: they now actually see IP/pxlen of net being filtered,
gateway, and who told us, so they can do usefull jobs from now on.

afbc41ab 04/14/1999 09:11 PM Pavel Machek

SImplify code a tiny bit.

08e2d625 04/12/1999 06:01 PM Martin Mares

Removed TOS support. This simplifies many things a lot.

6c02d83f 03/29/1999 07:56 PM Martin Mares

Added FIXME: If a strange interface appears, ignore it instead of only
writing an error message...

7dc4827c 03/26/1999 09:50 PM Martin Mares

Added everything protocols need to know about multiple routing tables,
i.e. struct proto now contains field 'table' pointing to routing table
the protocol is attached to. Use this instead of &master_table.

Modified all protocols except the kernel syncer to use this field.

c612a3be 03/17/1999 01:13 PM Martin Mares

Removed the `rta_same' hook since it's no longer needed (all protocols
needing some local information should use extended attrs and cached

9a38757c 03/17/1999 01:05 PM Pavel Machek

Initialize pointers to functions so that code is actually alive.

29df5739 03/17/1999 10:20 AM Pavel Machek

Don't segfault on unknown interface.

05a845ed 03/02/1999 07:49 PM Pavel Machek

Avoid segfault

c748cdb9 03/01/1999 09:18 PM Pavel Machek

Hopefully ended translating to new interface

293e313e 02/15/1999 01:34 PM Pavel Machek

More rip fixes (config data moved to struct rip_proto_config), still
not tested.

d1f7eab6 02/13/1999 09:58 PM Martin Mares

Parameter order for the proto->if_notify hook was different in the include
file and different in reality. Decided to use the same order as we do
for proto->rt_notify (i.e., first new value and second the old one).

ab749558 02/13/1999 07:14 PM Martin Mares

Pass new argument to FIB_ITERATE_END.

edf62ba1 02/08/1999 10:50 PM Pavel Machek

Propagate depend into all subdirectories; make rip compile after
latest mj's changes.

663683a5 01/12/1999 04:50 PM Pavel Machek

Make it compile again (stupid makefiles!), make quiet option work
(multicast/broadcast options are currently unimplemented).

50e89a6e 01/12/1999 04:40 PM Pavel Machek

Patterns expanded in the right way

6996f459 12/22/1998 07:41 PM Pavel Machek

Bird now uses fib structure instead of linklist.

852fc0af 12/20/1998 02:29 PM Martin Mares

log(), die() and bug() messages shound NOT contain trailing newlines.

ee969ea7 12/20/1998 02:26 PM Martin Mares

Added #if 0 to rip_postconfig(), so that it doesn't crash whole daemon
when RIP is unconfigured.

die() -> bug()

02933ddb 12/09/1998 08:08 PM Pavel Machek

debug() -> DBG in rip.

06fa1453 12/09/1998 03:22 PM Pavel Machek

Initial multicast support (can not work, but skeleton is there)

2d9290e9 12/04/1998 11:45 AM Pavel Machek

Rip now has configurable per-interface metric (please rewiev), and few
more configurable parameters. To do that, union was added into iface_patt.

9b999c39 12/01/1998 04:17 PM Pavel Machek

Infinity is now configurable ammount.

93fb60d5 11/27/1998 09:08 PM Martin Mares

Fixed few misspellings and exported instance init as rip_init_instance().

c3e9b2ab 10/26/1998 03:35 PM Pavel Machek

RIP now includes notion of interface, and is correctly talking to
itself on second host. Split horizont is broken.

dc7c7494 10/20/1998 04:45 PM Pavel Machek

RIP NOW actually talks to itself (workaround core bug: send data
from other port than we receive at), few FIXME's added.

feb6abe0 10/20/1998 04:12 PM Pavel Machek

RIP now actually talks to itself.

c05ea56f 10/17/1998 10:25 AM Pavel Machek

rip should now correctly listen, but entries will not time out.

8333431c 10/15/1998 03:12 PM Pavel Machek

Rip: rip_rta_same added.

21580e30 10/13/1998 02:32 PM Pavel Machek

I prefer to have broken drivers than completely stupid ones...

Linus Torvalds

Rip now uses main routing table properly: entries are stored directly
into main routing table and we are relying on core to call our's
compare. That unfortunately broke garbage collecting (and probably...

1d941de4 10/07/1998 07:33 PM Pavel Machek

RIP now somehow listens to main routing table (dont expect it to work)

bf65d27d 07/30/1998 07:43 AM Pavel Machek

Bird's info are now understood by ripquery.

279f4c7b 07/28/1998 09:44 PM Pavel Machek

Rip now includes code to reply, but it is currently broken.

a103373f 07/09/1998 07:39 PM Pavel Machek

Commiting RIP. RIP should somehow listen, will not reply. I needed to
commit it so that whole thing compiles.