Ondrej Filip
a7a3a0a383
Added tagging of external LSA.
2000-05-31 12:07:09 +00:00
Martin Mares
fcb5f4a725
Updated all the Doc files to new format.
2000-05-31 11:30:18 +00:00
Ondrej Filip
0884f49223
Ehm, in had this in code: "break; i--;" :-(
2000-05-30 23:29:23 +00:00
Martin Mares
3b0b2cb61f
IPv6: Absolutize link-scope addresses of incoming packets.
...
IPv6 socket interface is hopefully right now.
2000-05-30 22:48:14 +00:00
Martin Mares
5919c66e8f
Route attributes for OSPF.
2000-05-30 21:25:32 +00:00
Martin Mares
2cec475b8f
Removed several unused local variables.
2000-05-30 21:24:53 +00:00
Ondrej Filip
3e86455606
Added \n in debug.
2000-05-30 18:21:51 +00:00
Ondrej Filip
7e1c7efae2
Stupig bug in debugging.
2000-05-30 17:57:06 +00:00
Ondrej Filip
3dd8f983b6
You can decide if add LSA into lsrth during flood_lsa().
2000-05-30 17:51:22 +00:00
Ondrej Filip
3d410fdfa1
Reflood your old lsa.
2000-05-30 17:49:25 +00:00
Ondrej Filip
13b02be25a
Don't run rt calculation twice.
2000-05-30 17:00:17 +00:00
Ondrej Filip
b477a9a855
Don't send empty LS upd. (And better debugging.)
2000-05-30 16:49:48 +00:00
Ondrej Filip
e1e31816c4
Aging delta changed. (Ehm, aging is very dirty I'll have to change it.)
2000-05-30 16:48:42 +00:00
Ondrej Filip
1b128de364
Better shutdown.
2000-05-30 16:13:59 +00:00
Ondrej Filip
935ceabea4
Don't send empty LS update.
2000-05-30 16:08:29 +00:00
Ondrej Filip
a548a7e167
Bug in direct ack (via update).
2000-05-30 15:05:47 +00:00
Ondrej Filip
4513280611
Bug in socket closing.
2000-05-30 15:04:52 +00:00
Ondrej Filip
ef6f26b417
Bug in lsa comparision.
2000-05-30 15:01:51 +00:00
Ondrej Filip
2aa476a535
Yeah, the endianity bug found.
2000-05-30 13:39:06 +00:00
Ondrej Filip
76e2514328
Better dumping.
2000-05-30 13:25:47 +00:00
Pavel Machek
f3b33928ce
Tried to change garbagetime -> garbage time to be more consistent.
2000-05-30 11:15:19 +00:00
Ondrej Filip
04c3a83c60
Better inicialisation.
2000-05-30 11:07:31 +00:00
Ondrej Filip
5970fcda8c
Some exchange between init() and start().
2000-05-30 10:53:48 +00:00
Ondrej Filip
73232f6b18
Better rt dumping.
2000-05-30 10:36:57 +00:00
Ondrej Filip
05dbc97b13
Bug in rt_notify.
2000-05-30 10:20:14 +00:00
Martin Mares
7294f68b3b
path metric' and
disable after error' are switches, not numeric clauses.
2000-05-29 22:08:04 +00:00
Ondrej Filip
e9d6b1d19f
Kosmetic change in debugging.
2000-05-28 20:11:56 +00:00
Ondrej Filip
f7c0525edc
get_route_info() added.
2000-05-28 19:16:04 +00:00
Ondrej Filip
4414d9a57a
get_status() implemented.
2000-05-28 18:49:33 +00:00
Ondrej Filip
d5f029df48
Just added some debug().
2000-05-28 18:34:20 +00:00
Ondrej Filip
4bd28fb68e
Better shutdown. (Flush my own router LSA and send 1WAY to every neighbor.)
...
Ext LSA originating and flushing added.
2000-05-27 15:36:02 +00:00
Ondrej Filip
e8085abaa7
Originating of external LSA.
2000-05-27 14:17:35 +00:00
Ondrej Filip
2d5b999236
Import control implemented.
2000-05-26 19:04:18 +00:00
Martin Mares
d2a7c0e9b2
Don't print trace messages about null updates.
2000-05-19 18:05:19 +00:00
Martin Mares
dc6405d27e
Latest changes by Pavel have removed the error messages printed after
...
unsuccessful socket open, but replaced them by segmentatio fault!
Grrrrrrrrr.
2000-05-19 17:21:42 +00:00
Pavel Machek
9511a483b1
Less error messages in case sk_open fails.
2000-05-19 16:44:25 +00:00
Pavel Machek
eb4097e4e4
Added name of protocol to messages being logged.
2000-05-19 16:22:53 +00:00
Martin Mares
5e88d73025
BGP now reports originating AS and origin type in get_route_info().
2000-05-19 11:01:41 +00:00
Martin Mares
f7ad556f20
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.
2000-05-19 11:00:47 +00:00
Ondrej Filip
0850ce22d7
Smal debug bugfix.
2000-05-17 21:20:47 +00:00
Pavel Machek
6d5e703dc9
Minor cleaning
2000-05-17 20:23:05 +00:00
Ondrej Filip
00c1f79a79
rte_same implemented.
2000-05-17 20:01:25 +00:00
Ondrej Filip
bbd76b421a
rte_better implemented.
2000-05-17 19:27:51 +00:00
Ondrej Filip
4ee2178935
Don't die, if you receive strange LSA.
2000-05-17 00:28:45 +00:00
Ondrej Filip
7f6b3cf247
Typo in comment.
2000-05-17 00:28:11 +00:00
Ondrej Filip
18a0c0bb76
Downing of interface should work.
2000-05-16 23:59:38 +00:00
Ondrej Filip
8fb0c2c298
Calculation of external routes finally works.
2000-05-16 23:24:50 +00:00
Ondrej Filip
31834faaf3
Ehmm, removed 'if(1 || ...' so I can test the second part .
2000-05-16 22:43:30 +00:00
Ondrej Filip
508c36ab79
Routing table calculation for ext LSAs having next-hop=!0.0.0.0
2000-05-16 22:34:49 +00:00
Martin Mares
e5a47266d0
Turned off LOCAL_DEBUG.
2000-05-16 15:08:52 +00:00
Pavel Machek
5b846de6a6
Interface dummy is too strange for me... but psst, that's secret.
2000-05-16 15:05:05 +00:00
Pavel Machek
898fdd85dc
Rip should now reconfigure itself only if needed.
2000-05-16 14:58:06 +00:00
Martin Mares
f4ab231746
bgp_get_status: If protocol is down, don't print BGP state.
2000-05-15 12:19:28 +00:00
Martin Mares
e3f2d5fce3
Cleanup of configuration.
...
o Use `expr' instead of `NUM' and `ipa' instead of `IPA',
so that defined symbols work everywhere.
o `define' now accepts both numbers and IP addresses.
o Renamed `ipa' in filters to `fipa'.
Pavel, please update filters to accept define'd symbols as well.
2000-05-15 11:48:23 +00:00
Martin Mares
758458be05
Unified parsing of prefixes.
...
Had to rename `prefix' in filters to `fprefix'.
2000-05-13 11:17:49 +00:00
Martin Mares
02bd064ab7
Adapted to new rt_notify semantics.
2000-05-13 11:02:02 +00:00
Martin Mares
e4bfafa100
Manual enable/disable works right.
2000-05-13 11:01:41 +00:00
Ondrej Filip
7e681ef360
Calculation of external routes works. :-)
2000-05-12 00:22:43 +00:00
Ondrej Filip
be2bb40341
Minor changes.
2000-05-11 22:02:53 +00:00
Ondrej Filip
5da1f93537
Bugfix in flooding. (bad size)
...
Better debugging.
More robust in receiving.
2000-05-11 22:00:55 +00:00
Ondrej Filip
c8d1f3feb2
Better debugging.
...
More robust.
2000-05-11 22:00:16 +00:00
Ondrej Filip
7a42e6ce89
Bugfix in network LSA originating.
2000-05-11 17:14:57 +00:00
Martin Mares
28323d9ddb
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.
o Some messages are a bit more verbose.
o Added a bunch of FIXME's.
o When running in broadcast mode, don't forget to bind the local
end of the socket to the same broadcast address, so that we don't
get the broadcasts looped back via different interface. I'm just
going to look up the same problem for multicasts.
2000-05-11 15:05:13 +00:00
Martin Mares
2138d3b4d8
Use correct flags for the LOCAL_PREF attribute.
...
When an invalid attribute is found, copy the entire attribute to the data
section of the NOTIFICATION message.
2000-05-11 12:20:07 +00:00
Pavel Machek
ec21aecfdd
Fixed nasty segfault in rip.
2000-05-11 10:33:18 +00:00
Pavel Machek
10f5c47d2e
Some more paranoia into rip_insert and rip_delete
2000-05-11 09:41:16 +00:00
Pavel Machek
94d1a6c9dc
Unused variable killed.
2000-05-11 09:36:55 +00:00
Ondrej Filip
394920a09c
Test better lsa size.
2000-05-10 23:42:37 +00:00
Ondrej Filip
31dca43534
Be more verbose.
2000-05-10 23:42:13 +00:00
Ondrej Filip
74ac7cdb1a
Bugfix in (B)DR election.
2000-05-10 23:41:52 +00:00
Ondrej Filip
ff73f1d63d
More robust tests in packet receiving.
2000-05-10 23:41:18 +00:00
Ondrej Filip
13741548a6
Some better lsa checking added.
2000-05-10 15:04:21 +00:00
Ondrej Filip
a9c41c8548
Out dump deleted.
2000-05-10 14:29:00 +00:00
Pavel Machek
2a41c8d9fc
use password_same utility function
2000-05-10 13:42:50 +00:00
Ondrej Filip
a3f657ac76
Ever test possibility of forming of adjacency.
2000-05-10 13:35:49 +00:00
Pavel Machek
3e47419274
Inlined metric and mode into struct rip_interface to make reconfig
...
work.
reconfigure is conservative but should work.
2000-05-10 13:23:21 +00:00
Pavel Machek
30aa02d70d
rip_reconfigure done right
2000-05-10 13:05:39 +00:00
Pavel Machek
b8524e9be4
ipa_same does not exist.
2000-05-10 12:48:06 +00:00
Pavel Machek
0bff946c0a
Nicer messages from rip.
2000-05-10 12:46:47 +00:00
Pavel Machek
6f3849774f
Use ea_get_int instead of ea_find.
2000-05-10 12:38:05 +00:00
Ondrej Filip
c7e46aae66
Destroying of neighbor moved from 'hello' to 'neighbor' and
...
improved.
2000-05-10 12:37:43 +00:00
Pavel Machek
7f5f44bb92
Reconfigure hook copied from bgp.
2000-05-10 12:32:45 +00:00
Pavel Machek
84a1305437
Send first udpate sooner.
2000-05-10 12:26:09 +00:00
Pavel Machek
14758d87c4
Only announce change to main routing table if it is better than current.
2000-05-10 12:23:06 +00:00
Ondrej Filip
353f326138
Better dumping.
2000-05-10 12:22:00 +00:00
Pavel Machek
5e50f0a028
Don't touch used memory.
2000-05-10 11:57:56 +00:00
Ondrej Filip
e8bd039da8
Bugfix in ip_addr endianity.
2000-05-10 11:52:39 +00:00
Pavel Machek
be3b6dc574
Killed unused variable.
2000-05-10 11:48:34 +00:00
Ondrej Filip
28950169e7
Bug in (B)DR election fixed.
2000-05-10 11:48:21 +00:00
Pavel Machek
d9f89e0114
You can now say "mode multicast".
2000-05-10 11:40:30 +00:00
Ondrej Filip
65a9c57175
Change u32 to ip_addr in ext lsa.
2000-05-10 11:22:08 +00:00
Ondrej Filip
aa1e082c67
Calculation of external routes.
2000-05-10 10:47:17 +00:00
Pavel Machek
4bfe4e8551
Fix segfaults by using new ea_get_int.
2000-05-10 06:56:42 +00:00
Ondrej Filip
fe95ab6816
FIXME's removed by deleting them. :-)
2000-05-09 21:52:58 +00:00
Ondrej Filip
32fa4a5a46
Premature aging of self-originated LSA received in flooding.
2000-05-09 21:06:48 +00:00
Ondrej Filip
3b8b1bd037
Better dumping.
2000-05-09 19:38:34 +00:00
Ondrej Filip
a3ae6246c2
Bugfix in lsrt slist adding.
2000-05-09 19:38:16 +00:00
Ondrej Filip
b224ca32cf
Flushing of old LSAs added.
2000-05-09 19:36:32 +00:00
Ondrej Filip
850fda2518
Backup seen is not called so often.
2000-05-09 18:35:57 +00:00
Ondrej Filip
cd22a62b3c
Don't send flushed LSAs.
2000-05-09 18:20:39 +00:00