Ondrej Filip
07b7100292
Don;t send packet over downed interface.
2000-06-05 15:44:11 +00:00
Ondrej Filip
ac272c0067
Bug in LSA origination.
2000-06-05 05:06:53 +00:00
Ondrej Filip
dc2548d2cc
Premature age LSA if you're NOT dr.
2000-06-05 05:06:22 +00:00
Ondrej Filip
88048fb3c9
Small patch to better hash type=2 LSAs.
2000-06-05 03:46:19 +00:00
Ondrej Filip
273fd2c164
Many bugfixes (I don't remember all of them):
...
Added link ID calculation for external routes with same prefix but
different mask.
Bugfix in NET lsa origination.
Bugfix in NET hashing.
Bugfix in LSA installing.
2000-06-05 02:23:20 +00:00
Martin Mares
13e9bac33f
One more newline less... :)
2000-06-04 19:57:04 +00:00
Martin Mares
df49d4e14b
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().
2000-06-04 19:56:06 +00:00
Ondrej Filip
dab6651916
Install newer lsa even if nothing in its body change.
2000-06-04 19:21:23 +00:00
Ondrej Filip
67cc9135bf
Many bugs in ext lsa origination.
2000-06-04 19:20:28 +00:00
Ondrej Filip
ce8f0c083a
Schedule RT calcualtion if you delete LSA by premature aging.
2000-06-04 19:19:36 +00:00
Ondrej Filip
102e3e0e02
Just to be sure, that rt calculation cannot start beforeorigination of rt LSA.
2000-06-04 17:51:52 +00:00
Ondrej Filip
83e50ffc47
Bug in debugging.
2000-06-04 17:33:15 +00:00
Ondrej Filip
71f7d043a6
:-) No bison does not have any comment to my code. :-)
2000-06-04 17:10:52 +00:00
Ondrej Filip
3560cf8e0b
Clean up.
2000-06-04 16:36:57 +00:00
Ondrej Filip
e781124868
Another clean up.
2000-06-04 16:17:39 +00:00
Ondrej Filip
2a863dd6e1
Small change to make bison happy.
2000-06-04 16:12:01 +00:00
Ondrej Filip
aaaff77605
More conf. items defined.
2000-06-03 09:50:31 +00:00
Ondrej Filip
a789d814dd
Multiple items in area {} :-)
2000-06-03 08:42:04 +00:00
Ondrej Filip
89d6782dd1
interface {} added.
2000-06-03 01:29:00 +00:00
Ondrej Filip
b36a0a799c
area {} added to config.
2000-06-02 19:55:55 +00:00
Ondrej Filip
3fa5722def
First option into config added. :-)
2000-06-02 15:05:41 +00:00
Ondrej Filip
62924172ae
Flush LSA when receive aged one.
2000-06-02 13:52:50 +00:00
Ondrej Filip
e4ba0ec197
Bugfix in receiving of aged LSA.
2000-06-02 13:27:34 +00:00
Ondrej Filip
2eac33f774
Better LSA Aging.
2000-06-02 12:34:28 +00:00
Ondrej Filip
ece612e128
sh interface "iface" dumpped all.
2000-06-02 11:24:38 +00:00
Ondrej Filip
7a5582ac00
Better dumping, if I get strange lsack.
2000-06-02 11:00:14 +00:00
Ondrej Filip
3488634cba
Handle "show ospf *" even if protocol is down.
2000-06-02 10:21:02 +00:00
Ondrej Filip
a489f0ce8b
Silly bug in sh interface. Now I test ALL interfaces. :-)
2000-06-02 09:57:22 +00:00
Ondrej Filip
489f800b45
Speedup loading process.
2000-06-02 09:53:26 +00:00
Ondrej Filip
92e8be8c89
Bugfix in lsreq receiving.
2000-06-02 09:42:24 +00:00
Ondrej Filip
c4f0f01408
Added show ospf interface.
...
show ospf neighbors now knows "<interface>".
2000-06-01 17:52:21 +00:00
Ondrej Filip
4ab4e9778f
show ospf implemented.
2000-06-01 16:26:59 +00:00
Ondrej Filip
a783e259d8
Cisco-like "show ospf neighbors" implemented.
2000-06-01 15:53:06 +00:00
Martin Mares
23df5e4cf3
Print route tag in hexadecimal and omit it if it's zero.
2000-06-01 13:00:39 +00:00
Ondrej Filip
df968040f6
Print tag unsigned rather then signed.
2000-06-01 12:17:08 +00:00
Ondrej Filip
c52c7e7645
Calculate checksum when reflooding (after min ls_refresh).
2000-06-01 12:08:14 +00:00
Ondrej Filip
42542c56c2
Cleanup.
2000-06-01 00:32:08 +00:00
Ondrej Filip
d27d0efe17
Very stuping bug. (I took me 4 hours to find it!)
...
I just wrote "=!" instead of "!=". :-(((((((
2000-06-01 00:22:48 +00:00
Ondrej Filip
b5958826cc
Ehm, some other "down" steps.
2000-05-31 18:55:57 +00:00
Ondrej Filip
3f6953a103
Some bugs in cleanup after iface down.
2000-05-31 18:45:16 +00:00
Ondrej Filip
489b21555e
Why does not work "sk_close(sk);rfree(sk);"?
2000-05-31 18:36:51 +00:00
Ondrej Filip
46962be628
Better debugging.
...
Safe neigh_list deleting.
2000-05-31 18:31:53 +00:00
Ondrej Filip
3728267827
And finally, Premature aging works. :-)
2000-05-31 18:21:42 +00:00
Ondrej Filip
31ee3d5f21
Another step to make premature aging better.
2000-05-31 15:51:39 +00:00
Ondrej Filip
a9eeefd63a
Warning destroyed. :-)
2000-05-31 15:28:13 +00:00
Ondrej Filip
82364f4db8
Flood my LSA (if exists) after old one is flushed.
2000-05-31 15:24:29 +00:00
Ondrej Filip
0822995cb3
Set E2 metric for internal routes to LSINFINITY.
2000-05-31 15:04:45 +00:00
Ondrej Filip
9a04d0307e
Delete _all_ ext routes from unreachable neighbor.
2000-05-31 14:52:22 +00:00
Ondrej Filip
528932368a
Stuping bug in net LSA origination. Now, I should survive
...
loss of my only neighbor.
2000-05-31 14:43:42 +00:00
Ondrej Filip
d1660fd3f3
Sort cleanup in aging.
2000-05-31 14:21:56 +00:00
Ondrej Filip
70a383198a
LSArt origination and routing table calculation is now not doing so
...
often. Instead of calculation I just schedule it latter.
2000-05-31 14:06:33 +00:00
Ondrej Filip
fc741dab27
Handle better next hop in external LSA.
2000-05-31 13:20:25 +00:00
Ondrej Filip
e0bbb7b7ef
Very ancient bug in (B)DR election, I didn't fill correctly my own IP.
2000-05-31 12:52:12 +00:00
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
5919c66e8f
Route attributes for OSPF.
2000-05-30 21:25:32 +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
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
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
Ondrej Filip
0850ce22d7
Smal debug bugfix.
2000-05-17 21:20:47 +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
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
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
Ondrej Filip
a3f657ac76
Ever test possibility of forming of adjacency.
2000-05-10 13:35:49 +00:00
Ondrej Filip
c7e46aae66
Destroying of neighbor moved from 'hello' to 'neighbor' and
...
improved.
2000-05-10 12:37:43 +00:00
Ondrej Filip
353f326138
Better dumping.
2000-05-10 12:22:00 +00:00
Ondrej Filip
e8bd039da8
Bugfix in ip_addr endianity.
2000-05-10 11:52:39 +00:00
Ondrej Filip
28950169e7
Bug in (B)DR election fixed.
2000-05-10 11:48:21 +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
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
Ondrej Filip
9669362f05
Many bugfixes. (I added one entry twice to slist.)
...
Debug cleanup.
Retransmiting of unacknolegded LSAs
2000-05-09 18:17:34 +00:00
Ondrej Filip
5f743d9697
Many bugfixes. Actually, how could this ever work? :-)
2000-05-09 13:56:47 +00:00
Ondrej Filip
5d608eba16
Bug fix in sending updates.
2000-05-09 12:31:38 +00:00
Ondrej Filip
0e1b949be7
Bugfix in testing of possibility of adjacency.
2000-05-09 12:18:41 +00:00
Ondrej Filip
432996f40f
Better dumping.
2000-05-09 12:03:57 +00:00
Ondrej Filip
54ac9d2e03
Bugfix in hello.
2000-05-09 12:02:48 +00:00
Ondrej Filip
4057093fa4
Small cleanup.
2000-05-09 11:52:44 +00:00
Ondrej Filip
551d444382
Sorry, it didn't compile. :-(
2000-05-09 11:29:52 +00:00
Ondrej Filip
b29c620f90
Another bugfix in neighbor state machine.
2000-05-09 11:27:31 +00:00
Ondrej Filip
279a3b76d1
Small bug in neighbor state machine.
2000-05-09 10:47:10 +00:00
Ondrej Filip
fafe44b651
Just added declaration of AS Ext routes calculation.
2000-05-09 00:03:08 +00:00
Ondrej Filip
43e75f38e7
Do not stop lsrr_timer in FULL state. Use it for retransmition.
2000-05-08 23:46:31 +00:00
Ondrej Filip
ed4a53c6a5
Some changes in debugging.
2000-05-08 22:50:37 +00:00
Ondrej Filip
9bacea4211
Fixed some FIXME's by deleting them. :-)
2000-05-08 22:49:58 +00:00
Ondrej Filip
8a3049f6f1
Useless '\n' in log()
2000-05-08 22:42:56 +00:00
Ondrej Filip
eae4fcf253
Stopping RXMT timer when going to lower state than EXSTART.
2000-05-08 22:40:55 +00:00
Ondrej Filip
fc0ca2d8e1
Typo in debug.
2000-05-08 22:28:42 +00:00
Ondrej Filip
a6fdf9c6ac
Grrr, useless debug.
2000-05-08 22:27:25 +00:00
Ondrej Filip
5ee479aac9
Small typo.
2000-05-08 22:26:11 +00:00
Ondrej Filip
0ebb8b64f3
Bugfix in new neighbor allocation.
2000-05-08 22:24:22 +00:00
Ondrej Filip
77fbd315df
Better debug output.
2000-05-08 22:10:10 +00:00
Ondrej Filip
b57a45b81a
Next hop calculation improved. (I ignored stub networks advertised by my
...
neighbors.
2000-05-08 22:03:29 +00:00
Ondrej Filip
158b99c912
Better logging. (%d->%I)
2000-05-08 22:02:45 +00:00
Martin Mares
916c8c0aba
Use preferences properly.
2000-05-08 10:40:00 +00:00
Martin Mares
ab1129c1bd
Added skeleton Doc files for the whole developer's documentation.
2000-05-05 17:17:42 +00:00
Martin Mares
9a220cabbc
#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.
2000-05-04 20:52:28 +00:00
Ondrej Filip
d345cda5a1
Bugfix in Network lsa originating
...
Bugfix in ntohlsab() and htonlsab()
For calculating of rt I use my own fib. I delete routes! ;-)
2000-05-04 01:23:03 +00:00
Ondrej Filip
9e48d717cf
Test for "flushing" added.
2000-05-03 22:36:12 +00:00
Ondrej Filip
a02c6c184b
Cleanup of code. Some arguments of functions were useless.
2000-05-03 22:23:41 +00:00
Ondrej Filip
ad5453b540
Testing if I can flush LSA from database.
2000-05-03 22:12:33 +00:00
Ondrej Filip
9bc1808a27
Better rt and net originating.
2000-05-03 00:08:48 +00:00
Ondrej Filip
0bf2f2039e
Originating of network LSA.
2000-05-02 23:09:44 +00:00
Ondrej Filip
249fdef7a1
Adding InfTransDelay for outgoing lsa.
2000-05-02 22:31:48 +00:00
Ondrej Filip
c45f48fba5
Aging of lsa database added.
2000-05-02 22:19:41 +00:00