summaryrefslogtreecommitdiff
path: root/proto/rip/rip.c
AgeCommit message (Collapse)Author
2000-03-04Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning.Martin Mares
2000-02-29Adapted RIP to new interface flags. Pavel, please verify it's right.Martin Mares
2000-01-26Do not send empty packets in rip.Pavel Machek
2000-01-26Output made prettier.Pavel Machek
2000-01-17Separated `official protocol names' used in status dumps from name templatesMartin Mares
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 grammar includes proto_name which generates the name and interns it in the symbol table.
1999-12-16TODO entries and FIXME's.Martin Mares
1999-12-08Added hooks for show route.Pavel Machek
Fixed passing metrics around routing tables.
1999-12-08Fix timing and fix endianity in metrics.Pavel Machek
1999-12-01Stupid bug (essentially while(1) loop) occuring sometimes during startPavel Machek
of bird fixed.
1999-12-01Actually check sequence numbers.Pavel Machek
1999-11-25md5 authentication seems to work.Pavel Machek
1999-11-25Bugfixes: select right password for password authentication, do notPavel Machek
try to process authentication blocks as datablocks, make it possible to add data at end of packet. Password authentication should actually work.
1999-11-25Triggered updates should now actually work. Fixed metric=16 -> time itPavel Machek
out logic.
1999-11-25Fix timeouts. Triggered updates are not done, yet.Pavel Machek
1999-11-17Commented out nexthop selection, see the comment.Martin Mares
1999-11-10Added timeout for routes (which means proper expiring of routes) addedPavel Machek
few fixmes.
1999-11-04FIXME's updated. One fixme is remaining for correct RIPv4. Wow.Pavel Machek
1999-11-04Reject packets which are not authenticated.Pavel Machek
Set correct nexthop on outgoing packets.
1999-10-12FIXME's for rip added.Pavel Machek
Will we ever able to generate packets saying "route 1.2.3.4 using someone else"?
1999-10-12Changed syntax of ip_class_mask, the old one was stupid.Martin Mares
1999-10-11Untested IPv6 support added. I do not know if it compiles in IPV6 mode.Pavel Machek
1999-10-02Obvious bugs in authentication fixed.Pavel Machek
1999-08-18Few fixme's fixed in rip (will not crash any more on request forPavel Machek
sending routing table - hopefully). Next few steps in md5 authentication (not yet complete).
1999-06-01Defined IP_PREC_INTERNET_CONTROL and made all (well, both :)) protocolsMartin Mares
use it when creating sockets.
1999-05-31Set corectly destination address for RIP multicast. Broadcasting &Pavel Machek
multicasting rip actually works [broadcasting is kind of hard to turn it on, through].
1999-05-31Added FIXME: mode broadcast randombly corrupts memory.Pavel Machek
Small cleaning and bugfixes.
1999-05-31Kill duplicity between rif and rif_patt.Pavel Machek
1999-05-31Small fixes to rip.Pavel Machek
1999-05-31Incoming side of authentication done but untested. Right handling ofPavel Machek
filters in rip.
1999-05-31Added extra argument to rt_update hook which contains a pointer to theMartin Mares
temporary attribute list.
1999-05-26Make rip use newly defined password lists.Pavel Machek
1999-05-17Kill remaining master_table relics in KRT code.Martin Mares
Make all protocols pass routing table to rte_update and rte_discard.
1999-05-11Mensi updaty do ripu. Pridana passwd autentikace (netestovano).Pavel Machek
1999-05-06I rewrote the interface handling code, so that it supports multipleMartin Mares
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). o Interface has IF_UP set iff it's up and it has a primary address. o IF_UP is now independent on IF_IGNORED (i.e., you need to test IF_IGNORED in the protocols; I've added this, but please check). o The if_notify_change hook has been simplified (only one interface pointer etc.). o Introduced a ifa_notify_change hook. (For now, only the Direct protocol does use it -- it's wise to just listen to device routes in all other protocols.) o Removed IF_CHANGE_FLAGS notifier flag (it was meaningless anyway). o Updated all the code except netlink (I'll look at it tomorrow) to match the new semantics (please look at your code to ensure I did it right). Things to fix: o Netlink. o Make krt-iface interpret "eth0:1"-type aliases as secondary addresses.
1999-04-19Updated filters: they now actually see IP/pxlen of net being filtered,Pavel Machek
gateway, and who told us, so they can do usefull jobs from now on.
1999-04-14SImplify code a tiny bit.Pavel Machek
1999-04-12Removed TOS support. This simplifies many things a lot.Martin Mares
1999-03-29Added FIXME: If a strange interface appears, ignore it instead of onlyMartin Mares
writing an error message...
1999-03-26Added everything protocols need to know about multiple routing tables,Martin Mares
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.
1999-03-17Removed the `rta_same' hook since it's no longer needed (all protocolsMartin Mares
needing some local information should use extended attrs and cached rta's).
1999-03-17Initialize pointers to functions so that code is actually alive.Pavel Machek
1999-03-17Don't segfault on unknown interface.Pavel Machek
1999-03-02Avoid segfaultPavel Machek
1999-03-01Hopefully ended translating to new interfacePavel Machek
1999-02-15More rip fixes (config data moved to struct rip_proto_config), stillPavel Machek
not tested.
1999-02-13Parameter order for the proto->if_notify hook was different in the includeMartin Mares
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).
1999-02-13Pass new argument to FIB_ITERATE_END.Martin Mares
1999-02-08Propagate depend into all subdirectories; make rip compile afterPavel Machek
latest mj's changes.
1999-01-12Make it compile again (stupid makefiles!), make quiet option workPavel Machek
(multicast/broadcast options are currently unimplemented).
1999-01-12Patterns expanded in the right wayPavel Machek