blob: 6b15fe64dd0b511cf98e95c670534b855cee8bf4 [file] [log] [blame]
pauld3f0d622004-05-05 15:27:15 +000012004-05-05 Paul Jakma <paul@dishone.st>
2
3 * ospf_packet.c: (ospf_associate_packet_vl) cleanup, move
4 some of the checks up to ospf_read, return either a
5 virtual link oi, or NULL.
6 (ospf_read) Cleanup, make it responsible for checks. Remove
7 the nbr lookup - moved to ospf_neighbor. Adjust all nbr
8 lookups to use new wrappers exported by ospf_neighbor.
9 * ospf_neighbor.h: Add ospf_neigbour_get and ospf_nbr_lookup.
10 * ospf_neighbor.c: (ospf_neigbour_get) Index ospf_interface
11 neighbour table by router-id for virtual-link ospf_interfaces,
12 not by peer_addr (which breaks for asymmetric vlinks)
13 (ospf_nbr_lookup) add a wrapper for nbr lookups to deal with
14 above.
15
hassoa0a39762004-04-23 08:51:10 +0000162004-04-22 Hasso Tepper <hasso@estpak.ee>
17
18 * ospf_zebra.c: Don't ignore reject/bh routes, it's the only way
19 to "summarize" routes in ASBR at the moment.
20
hasso8585d4e2004-04-20 17:25:12 +0000212004-04-20 Hasso Tepper <hasso@estpak.ee>
22
23 * ospfd.c: Unset NP flag if area is going to be normal or stub.
24 Fixes UNH OSPF_NSSA.1.2a comment.
25 * ospf_abr.c: Originate default into stub/nssa area even if
26 summaries are disabled.
27 * ospf_zebra.c: Don't attempt to redistribute 127.0.0.0/8.
28
hassoc266ac72004-04-19 17:31:00 +0000292004-04-19 Hasso Tepper <hasso@estpak.ee>
30
31 * ospf_vty.c: Don't warn that export- and import-list can't be
32 configured to backbone area if they are applied and are working
33 fine.
34
hasso128d31d2004-04-04 12:52:33 +0000352004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
36
37 * ospf_packet.c: Don't drop packets in Solaris x86.
38 [quagga-dev 1005].
39
hasso0d85b992004-03-18 19:18:33 +0000402004-03-18 Amir Guindehi <amir@datacore.ch>
41
42 * ospf_opaque.c: Attempt to correct the incorrect behavior of
43 Quagga's ospfd in the special situation that a node's opaque
44 capability has changed as "ON -> OFF -> ON". [quagga-dev 843].
45
paul7f352b82004-02-19 19:37:47 +0000462004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
47
48 * ospf_abr.c: (ospf_abr_update_aggregate) UNH 3.12b,c, address range
49 should be configured with the highest cost path within the range,
50 not lowest.
51
paul940b01a2004-02-17 20:07:30 +0000522004-02-17 Paul Jakma <paul@dishone.st>
53
54 * ospf_zebra.c: (ospf_interface_delete) Do not delete the interface
55 params, nor the interface structure, if an interface delete
56 message is received from zebra.
57 * ospf_interface.c: (ospf_if_delete_hook) Delete the interface
58 params and interface, ie that which was previously removed in
59 (ospf_interface_delete) above.
60
hasso2db3d052004-02-11 21:52:13 +0000612004-02-11 Hasso Tepper <hasso@estpak.ee>
62 * ospf_interface.c, ospf_zebra.c: Don't attempt to read path->oi->ifp
63 if oi doesn't exist any more.
64
hassocb05eb22004-02-11 21:10:19 +0000652004-02-11 Vadim Suraev <vadim.suraev@terayon.com>
66 * ospf_packet.c (ospf_ls_upd): Router should flush received network
67 LSA if it was originated with older router-id ([zebra 14710] #6).
68
692003-12-08 Mattias Amnefelt <mattiasa@kth.se>
paul239aecc2003-12-08 10:34:54 +000070
71 * ospf_packet.c: (ospf_recv_packet) OpenBSD now leaves iph.ip_len
72 network byte order.
73
gdt8f40e892003-12-05 14:01:43 +0000742003-12-05 Greg Troxel <gdt@poblano.ir.bbn.com>
75
76 * ospfd.c (ospf_network_match_iface): Rewrite code for clarity
77 while trying not to change semantics. Add ifdefed-out code to
78 avoid matching ppp interfaces whose destination address does not
79 also match the prefix under consideration, to help out people with
80 problems due to as-yet-unfixed bugs with p2p interfaces coming and
81 going.
82
paul736d3442003-07-24 23:22:57 +0000832003-07-25 kamatchi soundaram <kamatchi@tdd.sj.nec.com>
84
85 * ospf_packet.c (ospf_ls_upd_send_queue_event): get next route
86 node in body of the loop to avoid chance that route node
87 is unlocked and deleted before the next iteration tries to
88 get next route node.
89
paul0a825c72003-05-24 13:48:16 +0000902003-05-24 Kenji Yabuuchi
91
92 * ospf_interface.c(ospf_if_lookup_recv_if): Use the most specific
93 match for interface lookup.
94
paul551a8972003-05-18 15:22:55 +0000952003-05-18 Hasso Tepper <hasso@estpak.ee>
paul445f1432003-05-16 19:00:31 +000096
paul551a8972003-05-18 15:22:55 +000097 * ospf_vty.c: Show NSSA LSA route info in "show ip ospf database"
98 output
paul445f1432003-05-16 19:00:31 +000099
pauld7480322003-05-16 17:31:51 +00001002003-05-16 Hasso Tepper <hasso@estpak.ee>
101
102 * ospf_lsa.c: Fix handling of NSSA
103
paul551a8972003-05-18 15:22:55 +00001042003-04-23 Hasso Tepper <hasso@estpak.ee>
105
106 * ospf_vty.c: fix "router xxx" node commands in vtysh
107
paul445f1432003-05-16 19:00:31 +00001082003-04-19 Hasso Tepper <hasso@estpak.ee>
109
110 * {ospf_abr,ospfd}.c: area id's DECIMAL -> ADDRESS
111 * ospf_routemap.c: sync daemon's route-map commands to have same
112 syntax.
113
1142003-04-19 Sergey Vyshnevetskiy <serg@vostok.net>
115
116 * ospf_packet.c: Add missing param to zlog
117 * ospf_flood.c: remove unused vars
118
1192003-04-17 Denis Ovsienko <zebra@pilot.org.ua>
120
121 * ospf_interface.c: fix incorrect memset
122
paul28a13842003-05-16 20:30:37 +00001232003-04-10 Amir Guindehi <amir@datacore.ch>
paul445f1432003-05-16 19:00:31 +0000124
125 * ospf_lsa.[ch]: opaque LSA fix, use ospf_lookup.
126
1272003-04-03 David Watson <dwatson@eecs.umich.edu>
128
129 * ospf_lsa.c: byte order fix
130
paul07661cb2003-03-18 00:03:05 +00001312002-03-17 Amir Guindehi <amir@datacore.ch>
132
133 * ospf_apiserver.[ch]: Merge Ralph Keller's OSPFAPI support.
134 * ospf_api.[ch]: Merge Ralph Keller's OSPFAPI support.
135 * ospfclient: OSPFAPI demonstration client.
136
1372003-01-23 Masahiko Endo <endo@suri.co.jp>
138
139 * ospf_ism.c: NSM event schedule bug fix.
140
1412002-10-30 Greg Troxel <gdt@ir.bbn.com>
142
143 * ospf_packet.c (ospf_make_md5_digest): MD5 length fix.
144
paul718e3742002-12-13 20:15:29 +00001452002-10-23 endo@suri.co.jp (Masahiko Endo)
146
147 * ospf_opaque.c: Update Opaque LSA patch.
148
1492002-10-23 Ralph Keller <keller@tik.ee.ethz.ch>
150
151 * ospf_vty.c (show_ip_ospf_database): Fix CLI parse.
152
1532002-10-23 Juris Kalnins <juris@mt.lv>
154
155 * ospf_interface.c (ospf_if_stream_unset): When write queue
156 becomes empty stop write timer.
157
1582002-10-10 Greg Troxel <gdt@ir.bbn.com>
159
160 * ospf_packet.c (ospf_check_md5_digest): Change >= to > to make it
161 conform to RFC.
162
1632002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
164
165 * zebra-0.93 released.
166
1672002-06-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
168
169 * ospf_spf.c (ospf_nexthop_calculation): Add NULL set to oi and
170 check of l2. Reported by: Daniel Drown <dan-zebra@drown.org>
171 (ospf_lsa_has_link): LSA Length calculation fix. Reported by:
172 Paul Jakma <paulj@alphyra.ie>.
173
174 * ospfd.c (ospf_if_update): Fix nextnode reference bug. Reported
175 by: juris@mt.lv.
176
1772002-01-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
178
179 * ospfd.c: Merge [zebra 11445] Masahiko ENDO's Opaque-LSA support.
180
1812001-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
182
183 * ospf_interface.c (ospf_add_to_if): Use /32 address to register
184 OSPF interface information.
185 (ospf_delete_from_if): Likewise.
186
187 * ospf_zebra.c (ospf_interface_address_delete): Likewise.
188
1892001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
190
191 * ospf_zebra.c (ospf_redistribute_unset): When redistribute type
192 is OSPF, do not unset redistribute flag.
193
1942001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
195
196 * zebra-0.92a released.
197
1982001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
199
200 * zebra-0.92 released.
201
2022001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
203
204 * ospfd.c (ospf_config_write): auto-cost reference-bandwidth
205 configuration display.
206
2072001-07-24 David Watson <dwatson@eecs.umich.edu>
208
209 * ospf_spf.c (ospf_spf_next): Modify ospf_vertex_add_parent to
210 check for an existing link before connecting the parent and child.
211 ospf_nexthop_calculation is also modified to check for duplicate
212 entries when copying from the parent. Finally, ospf_spf_next
213 removes duplicates when it merges two equal cost candidates.
214
2152001-07-23 itojun@iijlab.net
216
217 * ospfd.c (show_ip_ospf_neighbor): Check ospf_top before use it
218 [zebra 8549].
219
2202001-07-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
221
222 * ospf_packet.c (ospf_write): Remove defined(__OpenBSD__) to make
223 it work on OpenBSD.
224
2252001-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
226
227 * ospf_zebra.c (config_write_ospf_default_metric): Display
228 default-metric configuration.
229
2302001-06-18 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
231
232 * ospf_ia.h (OSPF_EXAMINE_SUMMARIES_ALL): Remove old macros.
233
2342001-05-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
235
236 * ospf_snmp.c (ospfIfEntry): Fix interface lookup bug to avoid
237 crush.
238 (ospfIfMetricEntry): Likewise.
239
2402001-03-18 Kunihiro Ishiguro <kunihiro@zebra.org>
241
242 * ospf_packet.c (ospf_read): Fix typo. Reported by: "Jen B
243 Lin'Kova" <jen@stack.net>.
244
2452001-03-15 Gleb Natapov <gleb@nbase.co.il>
246
247 * ospf_interface.c (ip_ospf_network): Set interface parameter.
248 (interface_config_write): Add check for OSPF_IFTYPE_LOOPBACK.
249
250 * ospf_zebra.c (ospf_interface_add): Set interface parameter.
251
2522001-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
253
254 * ospf_packet.c (ospf_recv_packet): Solaris also need to add
255 (iph.ip_hl << 2) to iph.ip_len.
256
2572001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
258
259 * ospfd.h (OSPF_LS_REFRESH_TIME): Fix OSPF_LS_REFRESH_TIME value.
260 Suggested by: David Watson <dwatson@eecs.umich.edu>.
261
262 * ospf_zebra.c (zebra_init): Remove zebra node.
263
264 * ospfd.c (ospf_area_range_set): Function name is changed from
265 ospf_ara_range_cmd.
266 (ospf_area_range_unset): New function which separated from DEFUN.
267 New commands are added:
268 "no area A.B.C.D range A.B.C.D/M advertise"
269 "no area <0-4294967295> range A.B.C.D/M advertise"
270 "no area A.B.C.D range A.B.C.D/M not-advertise"
271 "no area <0-4294967295> range A.B.C.D/M not-advertise"
272
273 * ospf_lsa.c (ospf_lsa_more_recent): Fix previous change.
274
2752001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
276
277 * ospf_network.c (ospf_if_add_allspfrouters): Use
278 setsockopt_multicast_ipv4.
279 (ospf_if_drop_allspfrouters): Likewise.
280
281 * ospf_lsa.c (ospf_router_lsa_install): Add rt_recalc flag.
282 (ospf_network_lsa_install): Likewise.
283 (ospf_summary_lsa_install): Likewise.
284 (ospf_summary_asbr_lsa_install): Likewise.
285 (ospf_external_lsa_install): Likewise.
286 (ospf_lsa_install): Call ospf_lsa_different to check this LSA is
287 new one or not.
288
2892001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
290
291 * ospf_zebra.c (ospf_interface_delete): Do not free interface
292 structure when ospfd receive interface delete message to support
293 pseudo interface.
294
2952001-02-01 Dick Glasspool <dick@ipinfusion.com>
296
297 * ospfd.c (area_range_notadvertise): Change area range "suppress"
298 command to "not-advertise".
299
300 * ospfd.h (OSPF_LS_REFRESH_TIME): Change OSPF_LS_REFRESH_TIME from
301 1800 to 60.
302
303 * ospf_abr.c (ospf_abr_update_aggregate): When update_aggregate is
304 updating the area-range, the lowest cost is now saved.
305
306 * ospf_lsa.c (ospf_lsa_more_recent): Routing to compare sequence
307 numbers rather than creating overflow during calculation.
308
3092001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
310
311 * zebra-0.91 is released.
312
3132001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
314
315 * ospf_packet.c (ospf_db_desc_proc): Do not continue process when
316 NSM_SeqNumberMismatch is scheduled.
317 (ospf_ls_req): Free ls_upd when return from this function.
318 (ospf_ls_upd_timer): When update list is empty do not call
319 ospf_ls_upd_send(). Suggested by: endo@suri.co.jp (Masahiko
320 Endo).
321
3222001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
323
324 * ospf_lsa.c (ospf_maxage_flood): Flood LSA when it reaches
325 MaxAge. RFC2328 Section 14.
326 (ospf_maxage_lsa_remover): Call above function during removing
327 MaxAge LSA.
328
3292001-01-26 Dick Glasspool <dick@ipinfusion.com>
330
331 * ospf_flood.c (ospf_flood_through_as): Function is updated for
332 NSSA Translations now done at ospf_abr.c with no change in P-bit.
333
334 * ospf_lsa.c (ospf_get_nssa_ip): Get 1st IP connection for Forward
335 Addr.
336 (ospf_install_flood_nssa): Leave Type-7 LSA at Lock Count = 2.
337
338 * ospf_ase.c (ospf_ase_calculate_route): Add debug codes.
339
340 * ospf_abr.c (ospf_abr_translate_nssa): Recalculate LSA checksum.
341
342 * ospf_packet.h (OSPF_SEND_PACKET_LOOP): Added for test packet.
343
344 * ospf_dump.c (ospf_lsa_type_msg): Add OSPF_GROUP_MEMBER_LSA and
345 OSPF_AS_NSSA_LSA.
346
347 * ospfd.c (data_injection): Function to inject LSA. This is
348 debugging command.
349
3502001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
351
352 * ospf_route.c (ospf_route_match_same): Remove function.
353 (ospf_route_match_same_new): Renamed to ospf_route_match_same.
354
355 * ospf_zebra.c (ospf_interface_address_delete): Add check for
356 oi->address. Suggested by Matthew Grant
357 <grantma@anathoth.gen.nz>.
358 (ospf_zebra_add): Remove function.
359 (ospf_zebra_add_multipath): Rename to ospf_zebra_add.
360
361 * ospf_interface.c: Remove HAVE_IF_PSEUDO part.
362
363 * ospf_zebra.c: Likewise.
364
3652001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
366
367 * ospf_ase.c: Remove OLD_RIB part.
368
369 * ospf_route.c: Likewise.
370
371 * zebra-0.90 is released.
372
373 * ospf_packet.c (ospf_recv_packet): Use ip_len adjestment code to
374 NetBSD.
375
3762001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
377
378 * ospf_route.c (ospf_route_delete): Use
379 ospf_zebra_delete_multipath.
380
3812001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
382
383 * ospf_interface.c (ospf_if_cleanup): Function name is renamed
384 from ospf_if_free(). Rewrite whole procudure to support primary
385 address deletion.
386
387 * ospf_zebra.c (ospf_interface_address_delete): Add primary
388 address deletion process.
389
3902001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
391
392 * ospf_packet.c (ospf_recv_packet): OpenBSD has same ip_len
393 treatment like FreeBSD.
394
3952001-01-09 endo@suri.co.jp (Masahiko Endo)
396
397 * ospf_packet.c (ospf_recv_packet): FreeBSD kernel network code
398 strips IP header size from receiving IP Packet. So we adjust
399 ip_len to whole IP packet size by adding IP header size.
400
4012001-01-08 endo@suri.co.jp (Masahiko Endo)
402
403 * ospf_network.c (ospf_serv_sock): When socket() is failed return
404 immediately.
405 (ospf_serv_sock): Close socket when it is not used.
406
407 * ospf_packet.c (ospf_write): Set sin_len when HAVE_SIN_LEN is
408 defined.
409 (ospf_write): When bind is fined, close sock.
410
4112001-01-07 Gleb Natapov <gleb@nbase.co.il>
412
413 * ospf_zebra.c (ospf_interface_state_up): Fixes coredump that
414 appears when you try to configure bandwidth on the ppp interface
415 that is not yet configured in ospfd.
416
4172001-01-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
418
419 * ospf_route.c (show_ip_ospf_route_external): "show ip ospf route"
420 will print nexthops for AS-external routes.
421
422 * ospf_ase.c (ospf_ase_route_match_same): New function to compare
423 ASE route under multipath environment.
424 (ospf_ase_compare_tables): Likewise.
425
4262001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
427
428 * ospfd.h (OSPF_VTYSH_PATH): Change "/tmp/ospfd" to "/tmp/.ospfd".
429
4302000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
431
432 * ospf_route.c (ospf_route_install): Install multipath information
433 to zebra daemon.
434
435 * ospf_zebra.c (ospf_zebra_add_multipath): Function for passing
436 multipath information to zebra daemon.
437
4382000-12-25 Dick Glasspool <dick@ipinfusion.com>
439
440 * ospf_packet.c (ospf_write): Call ospf_packet_delete when sendto
441 fail.
442 (DISCARD_LSA): Add argument N for logging point of DISCARD_LSA is
443 called.
444
445 * ospf_lsa.c (ospf_external_lsa_refresh): NSSA install_flood will
446 leave Type-7 LSA at Lock Count = 2.
447
448 * ospf_flood.c (ospf_flood_through): Flood_though_as updated for
449 NSSA no P-bit off during Area flooding, but P-bit is turned off
450 for mulitple NSSA AS flooding.
451
452 * ospf_ase.c (ospf_ase_calculate_timer): Added calculations for
453 Type-7 LSDB.
454
455 * ospf_abr.c (ospf_abr_translate_nssa): Removed one unlock call.
456 (ospf_abr_announce_nssa_defaults): Corrected Debug from EVENT to
457 NSSA.
458
4592000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
460
461 * ospf_zebra.c (ospf_zebra_read_ipv4): Checking the age of the
462 found LSA and if the LSA is MAXAGE we should call refresh instead
463 of originate.
464
4652000-12-18 Dick Glasspool <dick@ipinfusion.com>
466
467 * ospf_abr.c: Removed redundant "...flood" in
468 announce_network_to_area(). Repaired nssa Unlock by using
469 discard.
470
471 * ospf_packet.c: Removed old NSSA translate during mk_ls_update.
472
473 * ospfd.c: Free up all data bases including NSSA.
474
475 * ospf_lsa.c: Now allow removal of XLATE LSA's Check in
476 discard_callback. Added routine to get ip addr from within the
477 ifp.
478
479 * ospf_flood.c: Now set Forward Address for outgoing Type-7.
480
481 * ospf_lsa.h: Added prototype for the below. struct in_addr
482 ospf_get_ip_from_ifp (struct interface *ifp).
483
4842000-12-14 Gleb Natapov <gleb@nbase.co.il>
485
486 * ospf_packet.c (ospf_recv_packet): New OSPF pakcet read method.
487 Now maximum packet length may be 65535 bytes (maximum IP packet
488 length).
489
490 * ospf_interface.c (ospf_if_stream_set): Don't make input buffer.
491
492 * ospfd.c (config_write_network_area): Remove unnecessary area
493 lookup code.
494
4952000-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
496
497 * ospf_packet.c (ospf_read): Accept packet bigger than MTU value.
498
4992000-12-13 Gleb Natapov <gleb@nbase.co.il>
500
501 * ospfd.c (config_write_network_area): Fix bug in
502 config_write_network_area function.
503
5042000-12-12 Gleb Natapov <gleb@nbase.co.il>
505
506 * ospf_abr.c (ospf_abr_announce_network_to_area): Make Summary
507 LSA's origination and refreshment as same as other type of LSA.
508
509 * ospf_lsa.c (ospf_summary_lsa_refresh): Return struct ospf_lsa *.
510
511 * ospf_lsa.c (ospf_summary_asbr_lsa_refresh): Likewise.
512
5132000-12-08 Dick Glasspool <dick@ipinfusion.com>
514
515 The bulk of NSSA changes are contained herein; This version will
516 require manual setting of "always" for NSSA Translator, and will
517 not perform aggregation yet.
518
519 * ospf_dump.c: "debug ospf nssa" is added.
520
521 * ospf_dump.h: Likewise.
522
523 * ospf_packet.c (ospf_hello): Display router ID on Bad NSSA Hello.
524
525 * ospfd.c: Discard_LSA to stay away from LOCAL_XLT Process NSSA
526 'never, candidate, always'. Change "suppress" to "not-advertise".
527
528 * ospfd.h: Add TranslatorRole to struct ospf_area. Add anyNSSA to
529 struct ospf.
530
531 * ospf_ase.c (ospf_ase_calculate_route): External to stay away
532 from LOCAL_XLT
533
534 * ospf_nsm.c (ospf_db_summary_add): External to stay away from
535 LOCAL_XLT
536
537 * ospf_abr.c: Major logic added for abr_nssa_task(). If ABR, and
538 NSSA translator, then do it. Approve the global list, and flush
539 any unapproved.
540
541 * ospf_lsa.h: New LSA flag OSPF_LSA_LOCAL_XLT to indicate that the
542 Type-5 resulted from a Local Type-7 translation; not used for
543 flooding, but used for flushing.
544
545 * ospf_flood.c: New NSSA flooding.
546
5472000-12-08 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
548
549 * ospfd.c (ospf_find_vl_data): New function for looking up virtual
550 link data.
551 (ospf_vl_set_security): Virtual link configuration with
552 authentication.
553 (ospf_vl_set_timers): Set timers for virtual link.
554
555 * New commands are added.
556 "area A.B.C.D virtual-link A.B.C.D"
557 "area A.B.C.D virtual-link A.B.C.D hello-interval <1-65535> retransmit-interval <3-65535> transmit-delay <1-65535> dead-interval <1-65535>"
558 "area A.B.C.D virtual-link A.B.C.D hello-interval <1-65535> retransmit-interval <3-65535> transmit-delay <1-65535> dead-interval <1-65535> authentication-key AUTH_KEY"
559 "area A.B.C.D virtual-link A.B.C.D authentication-key AUTH_KEY"
560 "area A.B.C.D virtual-link A.B.C.D hello-interval <1-65535> retransmit-interval <3-65535> transmit-delay <1-65535> dead-interval <1-65535> message-digest-key <1-255> md5 KEY"
561 "area A.B.C.D virtual-link A.B.C.D message-digest-key <1-255> md5 KEY"
562
563 * ospf_packet.c (ospf_check_md5_digest): Add neighbor's
564 cryptographic sequence number treatment.
565 (ospf_check_auth): OSPF input buffer is added to argument.
566 (ospf_read): Save neighbor's cryptographic sequence number.
567
568 * ospf_nsm.c (nsm_change_status): Clear cryptographic sequence
569 number when neighbor status is changed to NSM down.
570
571 * ospf_neighbor.c (ospf_nbr_new): Set zero to crypt_seqnum.
572
573 * ospf_neighbor.h (struct ospf_neighbor): Add cryptographic
574 sequence number to neighbor structure.
575
5762000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
577
578 * ospf_snmp.c (ospfIfLookup): OSPF MIB updates.
579 (ospfExtLsdbEntry): Add OspfExtLsdbTable treatment.
580
5812000-11-28 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
582
583 * ospfd.c (ospf_interface_down): Clear a ls_upd_queue queue of the
584 interface.
585 (ospf_ls_upd_queue_empty): New function to empty ls update queue
586 of the OSPF interface.
587 (no_router_ospf): 'no router ospf' unregister redistribution
588 requests from zebra.
589
5902000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
591
592 * ospf_ism.c (ism_change_status): Increment status change number.
593
594 * ospf_interface.h (struct ospf_interface): Add new member for
595 status change statistics.
596
597 * Makefile.am: Update dependencies.
598
599 * ospf_zebra.c (ospf_interface_add): OSPF SNMP interface update.
600 (ospf_interface_delete): OSPF SNMP interface delete.
601
602 * ospf_snmp.h: New file is added.
603
6042000-11-23 Dick Glasspool <dick@ipinfusion.com>
605
606 * ospfd.h: Add new ospf_area structure member for
607 NSSATranslatorRole and NSSATranslator state.
608
609 * ospfd.c: Provided for eventual commands to specify NSSA
610 elections for "translator- ALWAYS/NEVER/CANDIDATE". Provided for
611 decimal integer version of area-suppress.
612
613 * ospf_flood.c: Flood Type-7's only into NSSA (not AS).
614
615 * ospf_lsa.c: Undo some previous changes for NSSA. If NSSA
616 translator, advertise Nt bit.
617
618 * ospf_route.c: 1st version of "sh ip os border-routers".
619
6202000-11-23 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
621
622 * ospfd.c (area_vlink): Virtual link can not configured in stub
623 area.
624
6252000-11-23 Gleb Natapov <gleb@nbase.co.il>
626
627 * ospf_packet.c (ospf_db_desc): In states Loading and Full the
628 slave must resend its last Database Description packet in response
629 to duplicate Database Description packets received from the
630 master. For this reason the slave must wait RouterDeadInterval
631 seconds before freeing the last Database Description packet.
632 Reception of a Database Description packet from the master after
633 this interval will generate a SeqNumberMismatch neighbor
634 event. RFC2328 Section 10.8
635 (ospf_make_db_desc): DD Master flag treatment.
636
637 * ospf_nsm.c (nsm_twoway_received): Move DD related procedure to
638 nsm_change_status().
639 (nsm_bad_ls_req): Likewise.
640 (nsm_adj_ok): Likewise.
641 (nsm_seq_number_mismatch): Likewise.
642 (nsm_oneway_received): Likewise.
643
644 * ospf_neighbor.h (struct ospf_neighbor): New structure member
645 last_send_ts for timestemp when last Database Description packet
646 was sent.
647
648 * ospf_nsm.c (ospf_db_desc_timer): Make it sure nbr->last_send is
649 there. Call ospf_db_desc_resend() in any case.
650
6512000-11-16 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
652
653 * ospf_lsa.c (lsa_link_broadcast_set): When there is no DR on
654 network (suppose you have only one router with interface priority
655 0). It's router LSA does not contain the link information about
656 this network.
657
658 * ospf_nsm.c (nsm_timer_set): When you change a priority of
659 interface from/to 0 ISM_NeighborChange event should be scheduled
660 in order to elect new DR/BDR on the network.
661
662 * ospf_interface.c (ip_ospf_priority): Likewise.
663
664 * ospf_flood.c (ospf_ls_retransmit_add): When we add some LSA into
665 retransmit list we need to check whether the present old LSA in
666 retransmit list is not more recent than the new
667 one.
668
6692000-11-09 Dick Glasspool <dick@ipinfusion.com>
670
671 * ospf_packet.c: Allows for NSSA Type-7 LSA's throughout the NSSA
672 area. Any that exit the NSSA area are translated to type-5 LSA's.
673 The instantiated image is restored after translation.
674 (ospf_ls_upd_send_list): Renamed to ospf_ls_upd_queu_send().
675 (ospf_ls_upd_send): Old function which enclosed by #ifdef 0 is
676 removed.
677 (ospf_ls_ack_send): Likewise.
678
679 * ospf_flood.c: NSSA-LSA's without P-bit will be restricted to
680 local area. Otherwise they are allowed out the area to be
681 translated by ospf_packet.c.
682
683 * ospf_lsa.c: Undo some previous changes for NSSA.
684
685 * ospf_lsdb.h: New access for type 7.
686
6872000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
688
689 * ospf_route.c (ospf_path_exist): New function to check nexthop
690 and interface are in current OSPF path or not.
691 (ospf_route_copy_nexthops_from_vertex): Add nexthop to OSPF path
692 when it is not there. Reported by Michael Rozhavsky
693 <mrozhavsky@opticalaccess.com>
694
6952000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
696
697 * ospf_dump.c (config_write_debug): Add seventh string "detail" is
698 added for flag is OSPF_DEBUG_SEND | OSPF_DEBUG_RECV |
699 OSPF_DEBUG_DETAIL.
700
7012000-11-06 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
702
703 * ospf_lsa.c (router_lsa_flags): ASBR can't exit in stub area.
704
7052000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
706
707 * ospf_lsa.c (ospf_router_lsa_originate): Reduce unconditional
708 logging.
709
7102000-11-06 Dick Glasspool <dick@ipinfusion.com>
711
712 * ospfd.h: Add ait_ntoa function prototype.
713
714 * ospfd.c (ait_ntoa): New function for displaying area ID and
715 Stub/NSSA status.
716 (show_ip_ospf_interface_sub): Use ait_ntoa.
717 (show_ip_ospf_nbr_static_detail_sub): Likewise.
718 (show_ip_ospf_neighbor_detail_sub): Likewise.
719
720 * ospf_route.c (ospf_intra_route_add): Set external routing type
721 to ospf route.
722 (ospf_intra_add_router): Likewise.
723 (ospf_intra_add_transit): Likewise.
724 (ospf_intra_add_stub): Likewise.
725 (ospf_add_discard_route): Likewise.
726 (show_ip_ospf_route_network): Use ait_ntoa.
727 (show_ip_ospf_route_network): Likewise.
728 (show_ip_ospf_route_router): Likewise.
729
730 * ospf_lsa.c (show_lsa_detail): Use ait_ntoa.
731 (show_lsa_detail_adv_router): Likewise.
732 (show_ip_ospf_database_summary): Likewise.
733
734 * ospf_route.h (struct route_standard): Add new member
735 external_routing.
736
737 * ospf_ia.c (process_summary_lsa): Set external routing tyep to ospf
738 route.
739 (ospf_update_network_route): Likewise.
740 (ospf_update_router_route): Likewise.
741
7422000-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
743
744 * ospf_flood.c (ospf_process_self_originated_lsa): Enclose
745 OSPF_AS_NSSA_LSA treatment with #ifdef HAVE_NSSA.
746
7472000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
748
749 * Unconditional logging is enclosed with if (IS_DEBUG_OSPF_EVENT).
750 Please specify "debug ospf event" for enable logging.
751
752 * ospf_ism.c: Do not extern debug flag varible. It is done by
753 ospf_debug.h
754 * ospf_asbr.c: Likewise.
755 * ospf_lsa.c: Likewise.
756 * ospf_nsm.c: Likewise.
757 * ospf_zebra.c: Likewise.
758
759 * ospf_dump.c (debug_ospf_event): New command "debug ospf event"
760 is added.
761
762 * ospfd.c (router_ospf): Change logging from vty_out() to
763 zlog_info().
764 (ospf_area_stub_cmd): Likewise.
765
766 * ospf_dump.h: Extern term_debug flags.
767 (OSPF_DEBUG_EVENT): Add new flag.
768 (IS_DEBUG_OSPF_EVENT): Add new macro.
769
7702000-11-03 Dick Glasspool <dick@ipinfusion.com>
771
772 * ospf_flood.c (ospf_process_self_originated_lsa):
773 OSPF_AS_NSSA_LSA is treated as same as OSPF_AS_EXTERNAL_LSA.
774 (ospf_flood): Type-5's have no change. Type-7's can be received,
775 and will Flood the AS as Type-5's They will also flood the local
776 NSSA Area as Type-7's. The LSDB will be updated as Type-5's, and
777 during re-fresh will be converted back to Type-7's (if within an
778 NSSA).
779 (ospf_flood_through): Incoming Type-7's were allowed here if our
780 neighbor was an NSSA. So Flood our area with the Type-7 and also
781 if we are an ABR, flood thru AS as Type-5.
782
783 * ospf_lsa.c (ospf_external_lsa_refresh): Flood NSSA both NSSA
784 area and other area.
785
786 * ospf_packet.c (ospf_db_desc_proc): When AS External LSA is
787 exists in DD packet, make it sure that this area is not stub.
788 (ospf_ls_upd_list_lsa): When LSA type is NSSA then set lsa's area
789 to NULL.
790 (ospf_ls_upd): If the LSA is AS External LSA and the area is stub
791 then discard the lsa. If the LSA is NSSA LSA and the area is not
792 NSSA then discard the lsa.
793
7942000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
795
796 * ospfd.c (ospf_interface_run): Fix bug of Hello packet's option
797 is not properly set when interface comes up.
798
7992000-11-02 Kunihiro Ishiguro <kunihiro@zebra.org>
800
801 * ospfd.h (OSPF_OPTION_O): Add new hello header option.
802
8032000-11-01 Dick Glasspool <dick@ipinfusion.com>
804
805 * ospf_lsa.h: Define OSPF_MAX_LSA to 8 when HAVE_NSSA is enabled.
806 (OSPF_GROUP_MEMBER_LSA): Define OSPF_GROUP_MEMBER_LSA.
807
808 * ospf_lsa.c (show_database_desc): Add "Group Membership LSA"
809 string.
810
8112000-10-31 Dick Glasspool <dick@ipinfusion.com>
812
813 * ospf_lsa.h (OSPF_AS_NSSA_LSA): Define OSPF_AS_NSSA_LSA.
814
815 * ospf_lsa.c (show_ip_ospf_database): NSSA database display
816 function is added. ALIASES which have "show ip ospf database
817 nssa-external" is added.
818 (show_ip_ospf_border_routers): New command "show ip ospf
819 border-routers" is added.
820
8212000-10-30 Dick Glasspool <dick@ipinfusion.com>
822
823 * ospfd.c (router_ospf): NSSA Enabled message is added for
824 testing.
825 (ospf_area_type_set): Are type set for NSSA area.
826 (ospf_area_stub_cmd): Special translation of no_summary into NSSA
827 and summary information. If NSSA is enabled pass the information
828 to ospf_area_type_set().
829 (area_nssa): New commands are added:
830 "area A.B.C.D nssa"
831 "area <0-4294967295> nssa"
832 "area A.B.C.D nssa no-summary"
833 "area <0-4294967295> nssa no-summary"
834 (ospf_no_area_stub_cmd): Special translation of no_summary into
835 NSSA and summary information. If external_routing is
836 OSPF_AREA_NSSA unset area with ospf_area_type_set (area,
837 OSPF_AREA_DEFAULT).
838 (show_ip_ospf_area): Display NSSA status.
839 (config_write_ospf_area): Show NSSA configuration.
840
841 * ospf_packet.c (ospf_hello): For NSSA support, ensure that NP is
842 on and E is off.
843
8442000-10-26 Gleb Natapov <gleb@nbase.co.il>
845
846 * ospf_lsa.c (ospf_network_lsa_body_set): The network-LSA lists
847 those routers that are fully adjacent to the Designated Router;
848 each fully adjacent router is identified by its OSPF Router ID.
849 The Designated Router includes itself in this list. RFC2328,
850 Section 12.4.2.
851
8522000-10-23 Jochen Friedrich <jochen@scram.de>
853
854 * ospf_snmp.c: ospf_oid and ospfd_oid are used in smux_open after
855 it is registered. So those variables must be static.
856
8572000-10-18 K N Sridhar <sridhar@euler.ece.iisc.ernet.in>
858
859 * ospfd.c: Add area_default_cost_decimal_cmd and
860 no_area_default_cost_decimal_cmd alias.
861
8622000-10-05 Gleb Natapov <gleb@nbase.co.il>
863
864 * ospfd.c (ospf_network_new): Fix setting area format.
865 (no_router_ospf): Check area existance when calling
866 ospf_interface_down().
867
868 * ospf_flood.c (ospf_external_info_check): Fix bug of refreshing
869 default route.
870
8712000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
872
873 * zebra-0.89 is released.
874
8752000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
876
877 * ospf_snmp.c (ospfHostEntry): OSPF Host MIB is implemented.
878
879 * ospfd.c (ospf_nbr_static_cmp): OSPF neighbor is sorted by it's
880 address.
881
8822000-09-28 Michael Rozhavsky <mike@nbase.co.il>
883
884 * ospf_interface.c (ospf_if_free): Fix deleting self neighbor twice.
885
8862000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
887
888 * ospf_packet.c (ospf_read): Solaris on x86 has ip_len with host
889 byte order.
890
8912000-09-25 Toshiaki Takada <takada@zebra.org>
892
893 * ospfd.c (ospf_compatible_rfc1583), (no_ospf_compatible_rfc1583):
894 Add CISCO compatible command.
895
8962000-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
897
898 * ospf_abr.c (ospf_area_range_lookup): New function is added for
899 area range lookup in OSPF-MIB.
900 (ospf_area_range_lookup_next): Likewise.
901
9022000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
903
904 * ospfd.c (no_router_ospf): Delete virtual link before deleting
905 area structure.
906
907 * ospf_lsa.c (ospf_external_lsa_refresh_type): Check
908 EXTERNAL_INFO(type).
909
910 * ospfd.c (no_router_ospf): Call ospf_vl_delete() instead of
911 ospf_vl_data_free().
912
913 * ospf_interface.c (ospf_vl_shutdown): Execute ISM_InterfaceDown
914 when ospf_vl_shutdown is called.
915 (ospf_vl_delete): Call ospf_vl_shutdown() to delete virtual link
916 interface's thread.
917
9182000-09-21 Gleb Natapov <gleb@nbase.co.il>
919
920 * ospf_lsa.c: New implementation of OSPF refresh.
921
9222000-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
923
924 * ospf_snmp.c (ospfLsdbLookup): Add LSDB MIB implementation.
925
9262000-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
927
928 * ospf_snmp.c (ospfStubAreaEntry): Add OSPF stub area MIB.
929
9302000-09-18 Gleb Natapov <gleb@nbase.co.il>
931
932 * ospf_route.h (route_standard): Change member from `struct area'
933 to area_id.
934
935 * ospf_abr.c (ospf_abr_announce_network), (ospf_abr_should_announce),
936 (ospf_abr_process_network_rt), (ospf_abr_announce_rtr),
937 (ospf_abr_process_router_rt):
938 * ospf_ase.c (ospf_find_asbr_route),
939 (ospf_find_asbr_router_through_area),
940 * ospf_ia.c (ospf_find_abr_route), (ospf_ia_router_route),
941 (process_summary_lsa), (ospf_update_network_route),
942 (ospf_update_router_route):
943 * ospf_route.c (ospf_intra_route_add), (ospf_intra_add_router),
944 (ospf_intra_add_transit), (ospf_intra_add_stub),
945 (ospf_route_table_dump), (show_ip_ospf_route_network),
946 (show_ip_ospf_route_router), (ospf_asbr_route_cmp),
947 (ospf_prune_unreachable_routers):
948 * ospf_spf.c (ospf_rtrs_print):
949 * ospfd.c (ospf_rtrs_free): Fix the struct change above.
950
9512000-09-14 Kunihiro Ishiguro <kunihiro@zebra.org>
952
953 * ospf_network.c (ospf_serv_sock_init): Enclose SO_BINDTODEVICE
954 with ifdef.
955
9562000-09-13 Gleb Natapov <gleb@nbase.co.il>
957
958 * ospf_ism.c (ospf_elect_dr), (ospf_elect_bdr): Fix DR election.
959
960 * ospf_network.c (ospf_serv_sock_init): Add socket option
961 SO_BINDTODEVICE on read socket.
962
963 * ospf_packet.c (ospf_hello): Ignore Hello packet if E-bit does
964 not match.
965
966 * ospfd.c (ospf_area_check_free), (ospf_area_get),
967 (ospf_area_add_if): New function added.
968
9692000-09-13 Kunihiro Ishiguro <kunihiro@zebra.org>
970
971 * ospf_route.c (ospf_intra_add_router): Update ABR and ASBR router
972 count.
973
974 * ospf_spf.c (ospf_spf_init): Rest ABR and ASBR router count
975 starting SPF calculation.
976
977 * ospfd.h (struct ospf_area): Add ABR and ASBR router count.
978
9792000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
980
981 * ospfd.c (ospf_area_id_cmp): New area structure is sorted by area
982 ID.
983
984 * ospf_lsa.c (ospf_router_lsa_originate): For OSPF MIB update
985 lsa_originate_count.
986 (ospf_network_lsa_originate): Likewise.
987 (ospf_summary_lsa_originate): Likewise.
988 (ospf_summary_asbr_lsa_originate): Likewise.
989 (ospf_external_lsa_originate): Likewise.
990
9912000-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
992
993 * ospf_snmp.c (ospf_variables): ospfRouterID's type RouterID
994 syntax is IpAddress.
995 (ospf_admin_stat): New function for OSPF administrative status
996 check.
997
9982000-09-10 Jochen Friedrich <jochen@scram.de>
999
1000 * ospf_snmp.c: Implement OSPF MIB skeleton.
1001
10022000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1003
1004 * ospf_snmp.c: New file is added.
1005
10062000-09-07 David Lipovkov <davidl@nbase.co.il>
1007
1008 * ospf_zebra.c (ospf_interface_delete): Add pseudo interface
1009 treatment.
1010
1011 * ospf_interface.c (interface_config_write): Likewise.
1012
10132000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1014
1015 * zebra-0.88 is released.
1016
10172000-08-17 Michael Rozhavsky <mike@nbase.co.il>
1018
1019 * ospfd.c (ospf_area_free): Remove virtual link configuration only
1020 when Area is removed.
1021
10222000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1023
1024 * ospfd.c (network_area): Revert check for EXTERNAL_INFO
1025 (ZEBRA_ROUTE_CONNECT).
1026 (no_network_area): Likewise.
1027
10282000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1029
1030 * ospfd.h (struct ospf): Add distance_table and
1031 distance_{all,intra,inter,external}.
1032
1033 * ospf_zebra.c: Add OSPF distance related functions.
1034
10352000-08-15 Gleb Natapov <gleb@nbase.co.il>
1036
1037 * ospf_asbr.c (ospf_external_info_find_lsa): New function added.
1038
1039 * ospf_lsa.c (ospf_default_external_info),
1040 (ospf_default_originate_timer), (ospf_external_lsa_refresh_default):
1041 New function added.
1042
1043 * ospf_zebra.c
1044 (ospf_default_information_originate_metric_type_routemap),
1045 (ospf_default_information_originate_always_metric_type_routemap):
1046 Change name and add route-map function.
1047 (ospf_default_information_originate_metric_routemap),
1048 (ospf_default_information_originate_routemap),
1049 (ospf_default_information_originate_type_metric_routemap):
1050 New DEFUN added.
1051
10522000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1053
1054 * ospf_zebra.c (zebra_interface_if_set_value): Change ifindex
1055 restore size from two octet to four.
1056
10572000-08-14 Michael Rozhavsky <mike@nbase.co.il>
1058
1059 * ospf_ase.c (ospf_ase_incremental_update): Implement incremental
1060 AS-external-LSA in 16.6 of RFC2328.
1061
10622000-08-14 Matthew Grant <grantma@anathoth.gen.nz>
1063
1064 * ospf_interface.c (ospf_if_get_output_cost): Change cost
1065 calculation algorithm.
1066
1067 * ospf_packet (ospf_ls_upd): Fix problem of LSA retransmitting.
1068
10692000-08-11 Michael Rozhavsky <mike@nbase.co.il>
1070
1071 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix maxage remover for
1072 AS-external-LSAs.
1073
10742000-08-10 Toshiaki Takada <takada@zebra.org>
1075
1076 * ospfd.c (auto_cost_reference_bandwidth): New DEFUN added.
1077 `auto-cost reference-bandwidth' OSPF router command added.
1078
10792000-08-08 Gleb Natapov <gleb@nbase.co.il>
1080
1081 * ospf_routemap.c (ospf_route_map_update): New function added.
1082 Add route-map event hook.
1083
10842000-08-08 Toshiaki Takada <takada@zebra.org>
1085
1086 * ospf_zebra.c (ospf_distribute_check_connected): If redistribute
1087 prefix is connected route on OSPF enabled interface, suppress to
1088 announce it.
1089
10902000-08-08 Matthew Grant <grantma@anathoth.gen.nz>
1091
1092 * ospf_interface.c (ospf_if_get_output_cost):
1093 New function added. Handle bandwidth parameter for cost
1094 calculation.
1095
10962000-08-08 Michael Rozhavsky <mike@nbase.co.il>
1097
1098 * ospf_interface.c (interface_config_write): Show interface
1099 configuration regardless interface is down.
1100
1101 * ospf_ase.c (ospf_ase_caocluate_route): Whole rewritten external
1102 route calculate function.
1103
11042000-08-08 Gleb Natapov <gleb@nbase.co.il>
1105
1106 * ospf_routemap.c: New file added.
1107
1108 * ospf_asbr.c (ospf_reset_route_map_set_values),
1109 (ospf_route_map_set_compare): New function added.
1110
1111 * ospf_lsa.c (ospf_external_lsa_body_set): Set routemap metric
1112 with AS-external-LSA.
1113
11142000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1115
1116 * ospf_ase.c (ospf_ase_calculate_route_add): Pass new->cost to
1117 ospf_zebra_add as metric.
1118 (ospf_ase_calculate_route_add): Likewise.
1119
1120 * ospf_route.c (ospf_route_install): Pass or->cost to
1121 ospf_zebra_add as metric.
1122
1123 * ospf_zebra.c (ospf_zebra_add): Add metric arguemnt.
1124 (ospf_zebra_delete): Likewise.
1125
11262000-08-03 Matthew Grant <grantma@anathoth.gen.nz>
1127
1128 * ospf_flood.c (ospf_flood_delayed_lsa_ack): New function added.
1129 Dispatch delayed-ACK with flooding AS-external-LSA across virtual
1130 link.
1131
11322000-07-31 Matthew Grant <grantma@anathoth.gen.nz>
1133
1134 * ospfd.c (show_ip_ospf_area): Fix lack of VTY_NEWLINE when
1135 `show ip ospf'.
1136
1137 * ospf_interface.c (ospf_if_free): Fix bug of crash with
1138 Point-to-Point interface.
1139
11402000-07-27 Michael Rozhavsky <mike@nbase.co.il>
1141
1142 * ospf_flood.c (ospf_process_self_originated_lsa):
1143 Make sure to clear LSA->param (redistributed external information)
1144 before refreshment.
1145
11462000-07-27 Gleb Natapov <gleb@nbase.co.il>
1147
1148 * ospfd.c (refresh_group_limit), (refresh_per_slice),
1149 (refresh_age_diff): New defun added. Refresher related parameter
1150 can be configurable.
1151
11522000-07-27 Akihiro Mizutani <mizutani@dml.com>
1153
1154 * ospf_interface.c (interface_config_write): Print `description'
1155 config directive to work.
1156
11572000-07-24 Akihiro Mizutani <mizutani@dml.com>
1158
1159 * ospf_interface.c (ospf_if_init): Use install_default for
1160 INTERFACE_NODE.
1161
11622000-07-24 Gleb Natapov <gleb@nbase.co.il>
1163
1164 * ospf_packet.c (ospf_ls_upd_send_list), (ospf_ls_upd_send_event),
1165 (ospf_ls_ack_send_list), (ospf_ls_ack_send_event): New function added.
1166 This make sending always as many LS update/Ack combined in one ospf
1167 packet.
1168
11692000-07-24 Gleb Natapov <gleb@nbase.co.il>
1170
1171 * ospf_packet.c (ospf_ls_upd_list_lsa): Set NULL to lsa->area if
1172 LSA is AS-external-LSA.
1173
1174 * ospf_nsm.c (nsm_reset_nbr): Do not cancel Inactivity timer.
1175
11762000-07-21 Toshiaki Takada <takada@zebra.org>
1177
1178 * ospf_zebra.c (ospf_default_originate_timer): Set timer for
1179 `default-information originate'. Fix some default originate
1180 related functions.
1181
11822000-07-12 Toshiaki Takada <takada@zebra.org>
1183
1184 * ospf_lsa.c (stream_put_ospf_metric): New function added.
1185
11862000-07-12 Toshiaki Takada <takada@zebra.org>
1187
1188 * ospf_lsa.c (show_ip_ospf_database_router),
1189 (show_ip_ospf_database_network), (show_ip_ospf_database_summary),
1190 (show_ip_ospf_database_summary_asbr), (show_ip_ospf_database_externel),
1191 (show_router_lsa), (show_any_lsa), (show_router_lsa_self),
1192 (show_any_lsa_self): Functions removed.
1193
1194 (show_lsa_prefix_set), (show_lsa_detail_proc), (show_lsa_detail),
1195 (show_lsa_detail_adv_router_proc), (show_lsa_detail_adv_router):
1196 New functions added. Replace above functions.
1197
1198 (show_ip_ospf_database_all), (show_ip_ospf_database_self_originated):
1199 Functions removed.
1200 (show_ip_ospf_database_summary): New functions added. Replace
1201 above functions.
1202
1203 (show_ip_ospf_database_cmd): DEFUN rearranged.
1204 (show_ip_ospf_database_type_id_cmd),
1205 (show_ip_ospf_database_type_id_adv_router_cmd),
1206 (show_ip_ospf_database_type_is_self_cmd): New ALIASes added.
1207 (show_ip_ospf_database_type_adv_rotuer_cmd): New DEFUN added.
1208 (show_ip_ospf_database_type_self_cmd): New ALIAS added.
1209
12102000-07-11 Toshiaki Takada <takada@zebra.org>
1211
1212 * ospf_asbr.c (ospf_external_info_new),
1213 (ospf_external_info_free): New functions added.
1214
1215 * ospf_lsa.h (ospf_lsa): Add new member `void *param' to set
1216 origination parameter for external-LSA.
1217 Remove member `redistribute'.
1218
1219 * ospf_zebra.c (ospf_redistirbute_set): When `redistribute'
1220 command executed, metric and metric-type values are overridden.
1221 If one of those is changed refresh AS-external-LSAs for appropriate
1222 type.
1223
12242000-07-11 Michael Rozhavsky <mike@nbase.co.il>
1225
1226 * ospf_lsa.c (ospf_summary_lsa_refresh),
1227 (ospf_summary_asbr_lsa_refresh): Make sure to refresh summary-LSAs.
1228
1229 * ospf_abr.c (set_metric): New function added.
1230
12312000-07-07 Toshiaki Takada <takada@zebra.org>
1232
1233 * ospf_zebra.c (ospf_default_information_originate_metric_type),
1234 (ospf_default_information_originate_type_metric): New defun added.
1235 Metic and Metric type can be set to default route.
1236 (ospf_default_information_originate_always_metric_type):
1237 (ospf_default_information_originate_always_type_metric):
1238 New defun added. Metric and Metric type can be set to default
1239 always route.
1240
1241 * ospf_zebra.c (ospf_default_metric), (no_ospf_default_metric):
1242 New defun added.
1243
12442000-07-06 Gleb Natapov <gleb@nbase.co.il>
1245
1246 * ospf_flood.c (ospf_flood_through_area): Fix bug of considering
1247 on the same interface the LSA was received from.
1248
12492000-07-06 Michael Rozhavsky <mike@nbase.co.il>
1250
1251 * ospfd.c (ospf_config_write): Fix bug of printing `area stub'
1252 command with `write mem'.
1253
1254 * ospfd.c (no_router_ospf): Remove installed routes from zebra.
1255
1256 * ospf_zebra.c (ospf_interface_delete): Fix function to handle
1257 zebra interface delete event.
1258
12592000-07-06 Toshiaki Takada <takada@zebra.org>
1260
1261 * ospf_zebra.c (ospf_default_information_originate),
1262 (ospf_default_information_originate_always): New DEFUN added.
1263
12642000-07-05 Michael Rozhavsky <mike@nbase.co.il>
1265
1266 * ospf_route.c (ospf_terminate): Make sure to remove external route
1267 when SIGINT received.
1268
12692000-07-03 Gleb Natapov <gleb@nbase.co.il>
1270
1271 * ospf_flood.c, ospf_ism.c, ospf_lsa,c, ospfd.c: Make sure to free
1272 many structure with `no router ospf'.
1273
12742000-06-30 Gleb Natapov <gleb@nbase.co.il>
1275
1276 * ospf_neighbor.c (ospf_nbr_new),
1277 ospf_nsm.c (nsm_timer_set): Start LS update timer only
1278 when neighbor enters Exchange state.
1279
12802000-06-29 Gleb Natapov <gleb@nbase.co.il>
1281
1282 * ospf_nsm.c (nsm_timer_set), (nsm_exchange_done),
1283 ospf_packet.c (ospf_db_desc_proc):
1284 Do not cancel DD retransmit timer when Master.
1285
12862000-06-29 Gleb Natapov <gleb@nbase.co.il>
1287
1288 * ospf_abr.c (ospf_abr_announce_network_to_area),
1289 (ospf_abr_announce_rtr_to_area)
1290 ospf_ase.c (ospf_ase_rtrs_register_lsa),
1291 ospf_flood.c (ospf_process_self_originated_lsa),
1292 (ospf_flood_through_area), (ospf_ls_request_delete),
1293 ospf_interface.c (ospf_if_free),
1294 ospf_ism.c (ism_change_status),
1295 ospf_lsa.c (ospf_router_lsa_update_timer),
1296 (ospf_router_lsa_install), (ospf_network_lsa_install),
1297 (ospf_lsa_maxage_delete), (ospf_lsa_action),
1298 (ospf_schedule_lsa_flood_area),
1299 ospf_nsm.c (nsm_change_status),
1300 ospf_packet.c (ospf_make_ls_req_func), (ospf_make_ls_ack):
1301 Use ospf_lsa_{lock,unlock} for all looking-up of LSA.
1302
1303 * ospf_flood.c (ospf_ls_request_free): Function deleted.
1304
1305 * ospf_lsa.c (ospf_discard_from_db): New function added.
1306
13072000-06-26 Toshiaki Takada <takada@zebra.org>
1308
1309 * ospfd.h (ospf): struct member `external_lsa' name changed to
1310 `lsdb'.
1311
13122000-06-26 Toshiaki Takada <takada@zebra.org>
1313
1314 * ospf_lsa.c (ospf_lsa_install), (ospf_router_lsa_install),
1315 (ospf_network_lsa_install), (ospf_summary_lsa_install),
1316 (ospf_summary_asbr_lsa_install), (ospf_external_lsa_install):
1317 Functions re-arranged.
1318
1319 * ospf_lsa.c (IS_LSA_MAXAGE), (IS_LSA_SELF): Macro added.
1320
13212000-06-20 Michael Rozhavsky <mike@nbase.co.il>
1322
1323 * ospf_packet.c (ospf_ls_req), (ospf_ls_upd), (ospf_ls_ack): Add
1324 verification of LS type.
1325
13262000-06-20 Gleb Natapov <gleb@nbase.co.il>
1327
1328 * ospf_ase.c (ospf_ase_calculate_timer): Add more sanity check
1329 whether rn->info is NULL.
1330
13312000-06-20 Toshiaki Takada <takada@zebra.org>
1332
1333 * ospfd.c (show_ip_ospf_interface_sub): Show Router-ID of both
1334 DR and Backup correctly with `show ip ospf interface' command.
1335
13362000-06-20 Toshiaki Takada <takada@zebra.org>
1337
1338 * ospf_lsa.c (ospf_lsa_lock), (ospf_lsa_unlock),
1339 (ospf_lsa_discard): These functions are used for avoiding
1340 unexpected reference to freed LSAs.
1341
13422000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1343
1344 * ospf_packet.c (ospf_ls_upd): Initialize lsa by NULL to avoid
1345 warning.
1346
13472000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1348
1349 * ospf_ase.h (ospf_ase_rtrs_register_lsa): Add prototype.
1350
13512000-06-12 Toshiaki Takada <takada@zebra.org>
1352
1353 * ospf_lsa.c (ospf_external_lsa_install): Make sure to register
1354 LSA to rtrs_external when replacing AS-external-LSAs in LSDB.
1355 Fix core dump.
1356
13572000-06-10 Toshiaki Takada <takada@zebra.org>
1358
1359 * ospf_lsdb.c (id_to_prefix), (ospf_lsdb_hash_key),
1360 (ospf_lsdb_hash_cmp), (ospf_lsdb_new), (ospf_lsdb_iterator),
1361 (lsdb_free), (ospf_lsdb_free), (ospf_lsdb_add), (ospf_lsdb_delete),
1362 (find_lsa), (ospf_lsdb_lookup), (find_by_id),
1363 (ospf_lsdb_lookup_by_id), (ospf_lsdb_lookup_by_header): Functinos
1364 removed for migration to new_lsdb.
1365
1366 * ospf_lsa.c (ospf_summary_lsa_install),
1367 (ospf_summary_asbr_lsa_install), (ospf_maxage_lsa_remover),
1368 (ospf_lsa_maxage_walker), (ospf_lsa_lookup),
1369 (ospf_lsa_lookup_by_id): Use new_lsdb instead of ospf_lsdb.
1370 (count_lsa), (ospf_lsa_count_table), (ospf_lsa_count),
1371 (ospf_get_free_id_for_prefix): Funcitions removed.
1372
13732000-06-09 Gleb Natapov <gleb@nbase.co.il>
1374
1375 * ospf_ism.c (ism_interface_down): Prevent some unneeded DR changes.
1376
1377 * ospf_packet.c (ospf_db_desc_proc): Fix memory leak.
1378 (ospf_hello): Always copy router-ID when hello is received.
1379
13802000-06-08 Gleb Natapov <gleb@nbase.co.il>
1381
1382 * ospf_lsa.h (struct ospf_lsa): Add member of pointer to struct
1383 ospf_area.
1384
13852000-06-08 Michael Rozhavsky <mike@nbase.co.il>
1386
1387 * ospf_ase.c (ospf_asbr_route_same): New function added.
1388 This function makes sure external route calculation more
1389 precisely.
1390
13912000-06-07 Michael Rozhavsky <mike@nbase.co.il>
1392
1393 * ospf_ism.c (ism_change_status): Use ospf_lsa_flush_area for
1394 network-LSA deletion instead of using ospf_lsdb_delete.
1395 Also cancel network-LSA origination timer.
1396
13972000-06-07 Levi Harper <lharper@kennedytech.com>
1398
1399 * ospf_interface.c (ospf_if_down): Close read fd when an interface
1400 goes down.
1401
14022000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1403
1404 * ospf_asbr.c (ospf_external_info_lookup): Add explicit brace for
1405 avoid ambiguous else.
1406
1407 * ospf_flood.c (ospf_external_info_check): Likewise.
1408
14092000-06-05 Toshiaki Takada <takada@zebra.org>
1410
1411 * ospf_nsm.c (nsm_adj_ok): Fix bug of DR election.
1412
14132000-06-04 Toshiaki Takada <takada@zebra.org>
1414
1415 * ospf_zebra.c (ospf_default_information_originate),
1416 (no_ospf_default_information_originate): New DEFUN added.
1417
14182000-06-03 Toshiaki Takada <takada@zebra.org>
1419
1420 * ospf_lsa.h, ospf_asbr.h (external_info): Struct moved from
1421 ospf_lsa.h to ospf_asbr.h.
1422
1423 * ospf_lsa.c, ospf_asbr.c (ospf_external_info_add),
1424 (ospf_external_info_delete): Function moved from ospf_lsa.c
1425 to ospf_asbr.c.
1426
14272000-06-03 Toshiaki Takada <takada@zebra.org>
1428
1429 * ospf_flood.c (ospf_external_info_check): New function added.
1430 (ospf_process_self_orignated_lsa): Make sure to flush
1431 self-originated AS-external-LSA, when router reboot and no longer
1432 originate those AS-external-LSA.
1433
14342000-06-02 Toshiaki Takada <takada@zebra.org>
1435
1436 * ospf_network.c (ospf_serv_sock): Remove SO_DONTROUTE
1437 socket option.
1438
1439 * ospf_packet.c (ospf_write): Set MSG_DONTROUTE flag for
1440 unicast destination packets.
1441
14422000-06-02 Toshiaki Takada <takada@zebra.org>
1443
1444 * ospf_lsdb.c (new_lsdb_delete): Delete entry from LSDB only when
1445 specified LSA matches.
1446
14472000-06-02 Gleb Natapov <gleb@nbase.co.il>
1448
1449 * ospf_network.c (ospf_serv_sock): Set SO_DONTROUTE
1450 socket option.
1451
14522000-06-01 Akihiro Mizutani <mizutani@dml.com>
1453
1454 * ospf_dump.c: Replace string `Debugging functions\n' with DEBUG_STR.
1455 Replace string `OSPF information\n' with OSPF_STR.
1456
14572000-06-01 Toshiaki Takada <takada@zebra.org>
1458
1459 * ospf_lsdb.[ch]: Use new_lsdb struct for network-LSA instead of
1460 ospf_lsdb.
1461
14622000-06-01 Toshiaki Takada <takada@zebra.org>
1463
1464 * ospf_dump.c (config_debug_ospf_packet), (config_debug_ospf_event),
1465 (config_debug_ospf_ism), (config_debug_ospf_nsm),
1466 (config_debug_ospf_lsa), (config_debug_ospf_zebra),
1467 (term_debug_ospf_packet), (term_debug_ospf_event),
1468 (term_debug_ospf_ism), (term_debug_ospf_nsm),
1469 (term_debug_ospf_lsa), (term_debug_ospf_zebra): Repalce debug_ospf_*
1470 variable to use for debug option flags.
1471
1472 (debug_ospf_packet), (debug_ospf_ism), (debug_ospf_nsm),
1473 (debug_ospf_lsa), (debug_ospf_zebra): Set {config,term}_debug_*
1474 flags when vty->node is CONFIG_NODE, otherwise set only term_debug_*
1475 flags.
1476
1477 * ospf_dump.h (CONF_DEBUG_PACKET_ON), (CONF_DEBUG_PACKET_OFF),
1478 (TERM_DEBUG_PACKET_ON), (TERM_DEBUG_PACKET_OFF),
1479 (CONF_DEBUG_ON), (CONF_DEBUG_OFF), (IS_CONF_DEBUG_OSPF_PACKET),
1480 (IS_CONF_DEBUG_OSPF): New Macro added.
1481
14822000-05-31 Toshiaki Takada <takada@zebra.org>
1483
1484 * ospfd.c (clear_ip_ospf_neighbor): New DEFUN added.
1485 Currently this command is used for only debugging.
1486
1487 * ospf_nsm.c (nsm_change_status): Make sure thread cancellation
1488 for network-LSA when DR has no full neighbors.
1489
1490 * ospf_nsm.c (ospf_db_summary_clear): New function added.
1491
14922000-05-30 Toshiaki Takada <takada@zebra.org>
1493
1494 * ospf_lsdb.c (new_lsdb_insert): LSAs are always freed by
1495 maxage_lsa_remover when LSA is replaced.
1496
14972000-05-25 Gleb Natapov <gleb@nbase.co.il>
1498
1499 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all): Add argument
1500 `struct ospf_area' to remove LSA from Link State retransmission list
1501 of neighbor from only one Area.
1502
15032000-05-24 Michael Rozhavsky <mike@nbase.co.il>
1504
1505 * ospf_lsdb.c (ospf_lsdb_add): Preserve flags field when
1506 overriting old LSA with new LSA.
1507
15082000-05-24 Gleb Natapov <gleb@nbase.co.il>
1509
1510 * ospf_lsa.c (ospf_router_lsa_body_set): Fix bug of router-LSA
1511 size calculation.
1512
15132000-05-22 Michael Rozhavsky <mike@nbase.co.il>
1514
1515 * ospf_route.c (ospf_intra_add_stub):
1516 * ospf_spf.h (struct vertex): Use u_int32_t for distance (cost)
1517 value instead of u_int16_t.
1518
15192000-05-22 Axel Gerlach <agerlach@datus.datus.com>
1520
1521 * ospf_ia.c (ospf_ia_network_route): Fix bug of Inter-area route
1522 equal cost path calculation.
1523
15242000-05-21 Toshiaki Takada <takada@zebra.org>
1525
1526 * ospf_ase.c (ospf_ase_calculate_route_delete): New function added.
1527 Make sure, when rotuer route is deleted, related external routes
1528 are also deleted.
1529
15302000-05-20 Toshiaki Takada <takada@zebra.org>
1531
1532 * ospfd.c (ospf_interface_down): Make sure interface flag is disable
1533 and set fd to -1.
1534
15352000-05-16 Toshiaki Takada <takada@zebra.org>
1536
1537 * ospf_asbr.c (ospf_asbr_should_announce), (ospf_asbr_route_remove):
1538 Functions removed.
1539
1540 * ospfd.h (EXTERNAL_INFO): Macro added.
1541 Substitute `ospf_top->external_info[type]' with it.
1542
15432000-05-16 Toshiaki Takada <takada@zebra.org>
1544
1545 * ospf_lsa.c (ospf_rtrs_external_remove): New function added.
1546
15472000-05-14 Gleb Natapov <gleb@nbase.co.il>
1548
1549 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all)
1550 * ospf_lsdb.c (new_lsdb_insert)
1551 * ospf_packet.c (ospf_ls_ack): Fix database synchonization problem.
1552
15532000-05-14 Gleb Natapov <gleb@nbase.co.il>
1554
1555 * ospf_lsa.h (tv_adjust), (tv_ceil), (tv_floor), (int2tv),
1556 (tv_add), (tv_sub), (tv_cmp): Prototype definition added.
1557
1558 * ospf_nsm.h (ospf_db_summary_delete_all): Prototype definition added.
1559
15602000-05-13 Toshiaki Takada <takada@zebra.org>
1561
1562 * ospf_lsa.[ch] (ospf_lsa): struct timestamp type is changed from
1563 time_t to struct timeval.
1564 (tv_adjust), (tv_ceil), (tv_floor), (int2tv), (tv_add),
1565 (tv_sub), (tv_cmp): timeval utillity functions added.
1566
15672000-05-12 Toshiaki Takada <takada@zebra.org>
1568
1569 * ospf_lsa.[ch] (ospf_schedule_update_router_lsas): Delete function.
1570 Change to use macro OSPF_LSA_UPDATE_TIMER instead of using
1571 this function.
1572 router-LSA refresh timer related stuff is re-organized.
1573
15742000-05-10 Gleb Natapov <gleb@nbase.co.il>
1575
1576 * ospf_interface.c (ospf_vl_set_params):
1577 * ospf_packet.c (ospf_check_network_mask):
1578 * ospf_spf.[ch] (ospf_spf_next):
1579 Remove field address from `struct vertex', and search for peer
1580 address of virtual link in function `ospf_vl_set_params' instead.
1581
15822000-05-10 Gleb Natapov <gleb@nbase.co.il>
1583
1584 * ospf_packet.c (ospf_ls_upd): Fix some memory leak related LSA.
1585
15862000-05-08 Thomas Molkenbur <tmo@datus.com>
1587
1588 * ospf_packet.c (ospf_packet_dup): Replace ospf_steram_copy()
1589 with ospf_stream_dup() to fix memory leak.
1590
15912000-05-08 Michael Rozhavsky <mike@nbase.co.il>
1592
1593 * ospf_flood.c (ospf_flood_through_area): Fix the problem of
1594 LSA update without DROther.
1595
15962000-05-04 Gleb Natapov <gleb@nbase.co.il>
1597
1598 * ospf_spf.c (ospf_vertex_free): Fix memory leak of SPF calculation.
1599
16002000-05-03 Toshiaki Takada <takada@zebra.org>
1601
1602 * ospf_neighbor.c (ospf_db_summary_add): Use new_lsdb struct
1603 instead linked-list.
1604 (ospf_db_summary_count), (ospf_db_summary_isempty):
1605 New function added.
1606
1607 * ospf_lsa.c (ospf_rotuer_lsa): Re-arrange and divide functions.
1608
16092000-05-02 Gleb Natapov <gleb@nbase.co.il>
1610
1611 * ospf_lsdb.c (new_lsdb_cleanup): Fix memory leak. When LSDB are
1612 not needed any more, then free them.
1613
16142000-05-02 Toshiaki Takada <takada@zebra.org>
1615
1616 * ospfd.c (timers_spf), (no_timers_spf): New defun added.
1617 SPF calculation timers related stuff is rearranged.
1618
1619 * ospf_spf.c (ospf_spf_calculate_timer_add): Function removed.
1620 SPF timer is scheduled by SPF calculation delay and holdtime
1621 configuration variable.
1622
1623 * ospf_lsa.c (ospf_external_lsa_nexthop_get): Set AS-external-LSA's
1624 forwarding address when nexthop learned by other protocols is
1625 in the OSPF domain.
1626
1627 * ospf_zebra.c (ospf_redistribute_source_metric_type),
1628 (ospf_redistribute_source_type_metric): Re-arrange DEFUNs and
1629 ALIASes.
1630
16312000-05-01 Toshiaki Takada <takada@zebra.org>
1632
1633 * ospf_flood.c (ospf_ls_retransmit_count),
1634 (ospf_ls_retransmit_isempty): New function added.
1635
1636 (ospf_ls_retransmit_add), (ospf_ls_retransmit_delete),
1637 (ospf_ls_retransmit_clear), (ospf_ls_retransmit_lookup),
1638 (ospf_ls_retransmit_delete_all), (ospf_ls_retransmit_delete_nbr_all),
1639 (ospf_ls_retransmit_add_nbr_all): Replace these functions to use
1640 new_lsdb.
1641
16422000-04-29 Toshiaki Takada <takada@zebra.org>
1643
1644 * ospfd.c (no_network_area): Add check Area-ID whether specified
1645 Area-ID with prefix matches config.
1646
16472000-04-27 Toshiaki Takada <takada@zebra.org>
1648
1649 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix problem of
1650 remaining withdrawn routes on zebra.
1651
16522000-04-25 Michael Rozhavsky <mike@nbase.co.il>
1653
1654 * ospf_nsm.c (nsm_kill_nbr), (nsm_ll_down), (nsm_change_status),
1655 (ospf_nsm_event): Fix network-LSA re-origination problem.
1656
16572000-04-24 Toshiaki Takada <takada@zebra.org>
1658
1659 * ospf_nsm.c (ospf_db_desc_timer): Fix bug of segmentation fault
1660 with DD retransmission.
1661
1662 * ospf_nsm.c (nsm_kill_nbr): Fix bug of re-origination when
1663 a neighbor disappears.
1664
16652000-04-23 Michael Rozhavsky <mike@nbase.co.il>
1666
1667 * ospf_abr.c (ospf_abr_announce_network_to_area): Fix bug of
1668 summary-LSAs reorigination. Correctly copy OSPF_LSA_APPROVED
1669 flag to new LSA. when summary-LSA is reoriginatd.
1670
1671 * ospf_flood.c (ospf_flood_through_area): Fix bug of flooding
1672 procedure. Change the condition of interface selection.
1673
16742000-04-21 Toshiaki Takada <takada@zebra.org>
1675
1676 * ospf_lsa.c (ospf_refresher_register_lsa): Fix bug of refresh never
1677 occurs.
1678
1679 * ospfd.c (show_ip_ospf_neighbor_id): New defun added.
1680 `show ip ospf neighbor' related commands are re-arranged.
1681
16822000-04-20 Toshiaki Takada <takada@zebra.org>
1683
1684 * ospf_dump.c (debug_ospf_zebra): New defun added.
1685 Suppress zebra related debug information.
1686
16872000-04-19 Toshiaki Takada <takada@zebra.org>
1688
1689 * ospf_zebra.c (ospf_distribute_list_update_timer),
1690 (ospf_distribute_list_update), (ospf_filter_update):
1691 New function added. Re-organize `distribute-list' router ospf
1692 command.
1693
16942000-04-13 Michael Rozhavsky <mike@nbase.co.il>
1695
1696 * ospf_packet.c (ospf_make_ls_upd): Add check for MAX_AGE.
1697
16982000-04-14 Michael Rozhavsky <mike@nbase.co.il>
1699
1700 * ospf_packet.c (ospf_make_ls_upd): Increment LS age by configured
1701 interface transmit_delay.
1702
17032000-04-14 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1704
1705 * ospf_interface.c (ip_ospf_cost), (no_ip_ospf_cost):
1706 Add to schedule router_lsa origination when the interface cost changes.
1707
17082000-04-12 Toshiaki Takada <takada@zebra.org>
1709
1710 * ospf_lsa.c (ospf_refresher_register_lsa),
1711 (ospf_refresher_unregister_lsa): Fix bug of core dumped.
1712
1713 * ospfd.c (no_router_ospf): Fix bug of core dumped.
1714
17152000-03-29 Toshiaki Takada <takada@zebra.org>
1716
1717 * ospf_nsm.c (nsm_oneway_received): Fix bug of MS flag unset.
1718
17192000-03-29 Michael Rozhavsky <mike@nbase.co.il>
1720
1721 * ospf_lsa.c (ospf_network_lsa):
1722 * ospf_nsm.c (ospf_nsm_event): Fix bug of Network-LSA originated
1723 in stub network.
1724
17252000-03-28 Toshiaki Takada <takada@zebra.org>
1726
1727 * ospf_nsm.c (nsm_bad_ls_req), (nsm_seq_number_mismatch),
1728 (nsm_oneway_received): Fix bug of NSM state flapping between
1729 ExStart and Exchange.
1730
17312000-03-28 Toshiaki Takada <takada@zebra.org>
1732
1733 * ospf_packet.h (strcut ospf_header): Fix the size of ospf_header,
1734 change u_int8_t to u_char.
1735
17362000-03-27 Toshiaki Takada <takada@zebra.org>
1737
1738 * ospf_lsa.c (ospf_lsa_checksum): Take care of BIGENDIAN architecture.
1739
17402000-03-27 Toshiaki Takada <takada@zebra.org>
1741
1742 * ospfd.c (ospf_interface_run): Make sure Address family matches.
1743
17442000-03-26 Love <lha@s3.kth.se>
1745
1746 * ospf_packet.c (ospf_write): Chack result of sendto().
1747
17482000-03-26 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1749
1750 * ospf_nsm.c (nsm_oneway_received): Fix bug of 1-WayReceived in NSM.
1751
17522000-03-23 Libor Pechacek <farco@clnet.cz>
1753
1754 * ospf_lsa.c (ospf_network_lsa)
1755 * ospf_lsdb.c (new_lsdb_insert): Fix bug of accessing to
1756 unallocated memory.
1757
17582000-03-23 Toshiaki Takada <takada@zebra.org>
1759
1760 * ospfd.c (ospf_config_write): Fix bug of duplicate line for
1761 `area A.B.C.D authentication'.
1762
17632000-03-22 Toshiaki Takada <takada@zebra.org>
1764
1765 * ospf_debug.c (debug_ospf_lsa), (no_debug_ospf_lsa): Defun added.
1766 Suppress all zlog related to LSAs with this config option.
1767
17682000-03-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1769
1770 * ospf_nsm.c (ospf_nsm_event): Add check for NSM_InactivityTimer.
1771
17722000-03-21 Toshiaki Takada <takada@zebra.org>
1773
1774 * ospf_packet.c (ospf_ls_upd_timer), (ospf_ls_req):
1775 Fix bug of memory leak about linklist.
1776
1777 * ospf_flood.c (ospf_flood_through_area): Likewise.
1778
17792000-03-18 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1780
1781 * ospf_flood.c (ospf_ls_retransmit_lookup): Add checksum comparison
1782 to identify LSA uniquely. This fix routes lost.
1783
17842000-03-18 Toshiaki Takada <takada@zebra.org>
1785
1786 * ospf_ase.c (ospf_find_asbr_route): Add sanity check with router
1787 routing table.
1788
17892000-03-17 Alex Zinin <zinin@amt.ru>
1790
1791 * ospf_spf.[ch]: Bug fix.
1792 The 2nd stage of Dijkstra could consider one vertex
1793 more than once if there is more than one link
1794 between the routers, thus adding extra CPU overhead
1795 and extra next-hops.
1796 Fixed.
1797
17982000-03-15 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1799
1800 * ospf_nsm.c (nsm_inactivity_timer): Changed to call nsm_kill_nbr().
1801
18022000-03-14 Toshiaki Takada <takada@zebra.org>
1803
1804 * ospf_route.c (ospf_route_copy_nexthops): Fix bug of memory leak of
1805 ospf_path. Actually ignore merging ospf_route with completely same
1806 paths.
1807
18082000-03-12 Toshiaki Takada <takada@zebra.org>
1809
1810 * ospf_lsa.c (show_as_external_lsa_detail): fix bug of
1811 external route tag byte order.
1812
18132000-03-11 Toshiaki Takada <takada@zebra.org>
1814
1815 * ospf_lsdb.c (ospf_lsdb_insert): New function added.
1816
18172000-03-09 Toshiaki Takada <takada@zebra.org>
1818
1819 * ospf_lsa.c (ospf_external_lsa_install),
1820 (ospf_lsa_lookup), (show_ip_ospf_database_all),
1821 (show_ip_ospf_database_self_originate): Use struct new_lsdb for
1822 LSDB of AS-external-LSAs instead of ospf_lsdb.
1823
1824 * ospf_lsa.c (ospf_lsa_unique_id): New function added.
1825 Use for assigning Unique Link State ID instead of
1826 ospf_get_free_id_for_prefix().
1827
18282000-03-09 Toshiaki Takada <takada@zebra.org>
1829
1830 * ospf_ase.c (ospf_ase_calculate_timer): Fix bug of segmentation
1831 fault reported by George Bonser <george@siteROCK.com>.
1832
18332000-03-07 Libor Pechacek <farco@clnet.cz>
1834
1835 * ospfd.c (ospf_interface_down): Fix bug of segmentation fault.
1836
18372000-03-06 Toshiaki Takada <takada@zebra.org>
1838
1839 * ospf_route.c (ospf_route_cmp): Change meaning of return values.
1840
18412000-03-02 Alex Zinin <zinin@amt.ru>
1842 * ospfd.h, ospf_ia.h
1843 New Shortcut ABR code. Now area's flag can be configured
1844 with Default, Enable, and Disable values.
1845 More info will be in the new ver of I-D soon (see IETF web).
1846
18472000-02-25 Toshiaki Takada <takada@zebra.org>
1848
1849 * ospf_lsa.c (ospf_lsa_header_set), (ospf_external_lsa_body_set),
1850 (osfp_external_lsa_originate), (ospf_external_lsa_queue),
1851 (ospf_external_lsa_originate_from_queue): New function added.
1852 (ospf_external_lsa): Function removed.
1853
1854 * ospf_zebra.c (ospf_zebra_read_ipv4): Originate AS-external-LSA
1855 when listen a route from Zebra, instead creating external route.
1856
1857 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
1858 (ospf_asbr_route_add_queue_lsa),
1859 (ospf_asbr_route_install_lsa), (ospf_asbr_route_add):
1860 Functions removed.
1861
1862 * ospf_ase.c (process_ase_lsa): Function will not be used.
1863 (ospf_ase_calculate), (ospf_ase_calculate_route_add),
1864 (ospf_ase_calculate_new_route), (ospf_ase_caluculate_asbr_route):
1865 process_ase_lsa () is separated to these functions.
1866
1867 OSPF AS-external-LSA origination is whole re-organized.
1868
18692000-02-18 Toshiaki Takada <takada@zebra.org>
1870
1871 * ospf_packet.c (ospf_ls_upd): Fix bug of OSPF LSA memory leak.
1872
1873 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
1874 (ospf_asbr_route_add_queue_lsa): Fix bug of OSPF external route
1875 memory leak.
1876
18772000-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1878
1879 * ospf_asbr.c (ospf_asbr_route_install_lsa): Re-calculate LSA
1880 checksum after change Advertised Router field.
1881
18822000-02-09 Toshiaki Takada <takada@zebra.org>
1883
1884 * ospf_asbr.c (ospf_external_route_lookup): Add new function.
1885
18862000-02-08 Toshiaki Takada <takada@zebra.org>
1887
1888 * ospfd.c (ospf_router_id_get), (ospf_router_id_update),
1889 (ospf_router_id_update_timer): Router ID decision algorithm is changed.
1890 Router ID is chosen from all of eligible interface addresses even if
1891 it is not enable to OSPF.
1892
18932000-02-08 Toshiaki Takada <takada@zebra.org>
1894
1895 * ospf_asbr.c (ospf_asbr_route_add): Function divided to
1896 ospf_asbr_route_add_flood_lsa, ospf_asbr_route_add_queue_lsa and
1897 ospf_asbr_route_install_lsa. If Router-ID is not set, then LSA is
1898 waited to install to LSDB.
1899 `0.0.0.0 adv_router' AS-external-LSA origination bug was fixed.
1900
19012000-02-01 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1902
1903 * ospf_flood.c (ospf_ls_retransmit_lookup): Compare LS seqnum
1904 in the ACK before deleting.
1905
1906 * ospf_packet.c (ospf_hello): Reset the flags after a shutdown
1907 and no shutdown of the interface.
1908
19092000-01-31 Toshiaki Takada <takada@zebra.org>
1910
1911 * ospf_packet.c (ospf_ls_req): Send multiple Link State Update
1912 packets respond to a Link State Request packet.
1913
1914 * ospfd.c (show_ip_ospf_neighbor_detail_sub): Show thread state.
1915
1916 * ospf_interface.c (ospf_vl_new): Crash when backbone area
1917 is not configured and set virtual-link to no-backbone area,
1918 bug fixed.
1919
19202000-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1921
1922 * ospf_neighbor.h (struct ospf_neighbor): Add pointer to last send
1923 LS Request LSA.
1924
1925 * ospf_packet.c (ospf_ls_upd): Comment out LS request list
1926 treatment. That should be done in OSPF flooding procedure.
1927
1928 * ospf_flood.c (ospf_flood_through_area): Enclose
1929 ospf_check_nbr_loding inside if-else close.
1930
19312000-01-31 Toshiaki Takada <takada@zebra.org>
1932
1933 * ospf_packet.c (ospf_make_ls_upd): Fix bug of #LSAs counting.
1934
19352000-01-29 Toshiaki Takada <takada@zebra.org>
1936
1937 * ospf_packet.c (ospf_make_md5_digest): Fix bug of md5 authentication.
1938
19392000-01-28 Toshiaki Takada <takada@zebra.org>
1940
1941 * ospfd.c (show_ip_ospf): Show Number of ASE-LSAs.
1942
19432000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1944
1945 * ospf_packet.c (ospf_make_db_desc): Don't use rm_list for
1946 removing LSA from nbr->db_summary.
1947
19482000-01-27 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1949
1950 * ospf_packet.c (ospf_ls_upd_send): Set AllSPFRouters to
1951 destination when the link is point-to-point.
1952 (ospf_ls_ack_send_delayed): Likewise.
1953
19542000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1955
1956 * ospf_flood.c (ospf_ls_request_delete_all): Fix bug of next
1957 pointer lookup after the node is freed.
1958
19592000-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1960
1961 * ospf_asbr.c (ospf_asbr_route_add): Instead of scanning all AS
1962 external route, use ospf_top->external_self.
1963
19642000-01-27 Toshiaki Takada <takada@zebra.org>
1965
1966 * ospf_lsa.c (ospf_forward_address_get): New function added.
1967
1968 * ospf_asbr.c (ospf_asbr_check_lsas): Originate AS-external-LSA
1969 only when it should be replaced.
1970
19712000-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1972
1973 * ospf_flood.c (ospf_ls_retransmit_clear): Delete list node.
1974
1975 * ospf_lsa.c (ospf_lsa_free): Reduce logging message using
1976 ospf_zlog value.
1977
1978 * ospf_ism.c (ism_change_status): Fix bug of DR -> non DR status
1979 change. Self originated LSA is freed but not deleted from lsdb.
1980
19812000-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1982
1983 * ospf_ism.c (ism_interface_down): Don't use router_id for
1984 detecting self neighbor structure. Instead of that compare
1985 pointer itself.
1986
1987 * ospf_neighbor.c (ospf_nbr_free): Cancel all timer when neighbor
1988 is deleted.
1989 (ospf_nbr_free): Free last send packet.
1990
1991 * ospf_neighbor.h (struct ospf_neighbor): Remove host strucutre.
1992 Instead of that src is introduced.
1993
1994 * ospf_nsm.h: Enclose macro defenition with do {} while (0).
1995
19962000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1997
1998 * ospfd.c: Change part of passive interface implementation. For
1999 passive interface just disabling sending/receiving Hello on the
2000 interface.
2001
20022000-01-16 Kai Bankett <kai.bankett@vew-telnet.net>
2003
2004 * ospf_interface.h (OSPF_IF_PASSIVE): Add passive flag.
2005 * ospf_interface.c (ospf_if_lookup_by_name): Add new function.
2006 * ospf_lsa.c (ospf_router_lsa): Skip passive interface.
2007 * ospfd.c (passive_interface): New command passive-interface is
2008 added.
2009 (ospf_config_write): Print passive interface.
2010
20112000-01-15 Toshiaki Takada <takada@zebra.org>
2012
2013 * ospf_interface.h (crypt_key): New struct added to store
2014 multiple cryptographic autheitication keys.
2015 (ospf_interface): struct changed.
2016
2017 * ospf_interface.c: ospf_crypt_key_new, ospf_crypt_key_add,
2018 ospf_crypt_key_lookup, ospf_crypt_key_delete: new functions added.
2019
2020 * ospf_packet.c (ip_ospf_message_digest_key): Changed to store
2021 multiple cryptographic authentication keys.
2022
20232000-01-14 Toshiaki Takada <takada@zebra.org>
2024
2025 * ospf_interface.c: DEFUN (if_ospf_*) commands changed name to
2026 ip_ospf_* ().
2027 Old notation `ospf *' still remains backward compatibility.
2028
20291999-12-29 Alex Zinin <zinin@amt.ru>
2030 * ospf_lsa.c: ospf_lsa_more_recent() bug fix
2031 * ospf_nsm.c, ospf_packet.c: remove nbr data struct when
2032 int goes down, also check DD flags correctly (bug fix)
2033
20341999-12-28 Alex Zinin <zinin@amt.ru>
2035 * "redistribute <source> metric-type (1|2) metric <XXX>" added
2036
20371999-12-23 Alex Zinin <zinin@amt.ru>
2038 * added RFC1583Compatibility flag
2039 * added dynamic interface up/down functionality
2040
20411999-11-19 Toshiaki Takada <takada@zebra.org>
2042
2043 * ospf_neighbor.h (struct ospf_neighbor): Add member state_change
2044 for NSM state change statistics.
2045
20461999-11-19 Toshiaki Takada <takada@zebra.org>
2047
2048 * ospfd.c (show_ip_ospf_neighbor_detail),
2049 (show_ip_ospf_neighbor_int_detail): DEFUN Added.
2050
20511999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2052
2053 * ospf_asbr.c (ospf_asbr_check_lsas): Add check of
2054 lsa->refresh_list.
2055
20561999-11-11 Toshiaki Takada <takada@zebra.org>
2057
2058 * ospf_ia.[ch] (OSPF_EXAMINE_SUMMARIES_ALL): Macro added.
2059 This macro is expanded to ospf_examine_summaries ()
2060 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2061 (OSPF_EXAMINE_TRANSIT_SUMMARIES_ALL): Macro added.
2062 This macro is expanded to ospf_examine_transit_summaries ()
2063 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2064
20651999-11-11 Toshiaki Takada <takada@zebra.org>
2066
2067 * ospf_lsa.[ch] (ospf_find_self_summary_lsa_by_prefix): Changed to
2068 macro OSPF_SUMMARY_LSA_SELF_FIND_BY_PREFIX.
2069 (ospf_find_self_summary_asbr_lsa_by_prefix): Changed to
2070 macro OSPF_SUMMARY_ASBR_LSA_SELF_FIND_BY_PREFIX.
2071 (ospf_find_self_external_lsa_by_prefix): Changed to
2072 macro OSPF_EXTERNAL_LSA_SELF_FIND_BY_PREFIX.
2073
20741999-11-11 Toshiaki Takada <takada@zebra.org>
2075
2076 * ospfd.c (ospf_abr_type): ospf_abr_type_cisco, ospf_abr_type_ibm,
2077 ospf_abr_type_shortcut and ospf_abr_type_standard DEFUNs are
2078 combined.
2079 * ospfd.c (no_ospf_abr_type): no_ospf_abr_type_cisco,
2080 no_ospf_abr_type_ibm and no_ospf_abr_type_shortcut DEFUNS are
2081 combined.
2082
20831999-11-10 Toshiaki Takada <takada@zebra.org>
2084
2085 * ospf_route.c (ospf_lookup_int_by_prefix): Move function to
2086 ospf_interface.c and change name to ospf_if_lookup_by_prefix ().
2087
20881999-11-01 Alex Zinin <zinin@amt.ru>
2089 * ospf_packet.c
2090 some correction to LSU processing
2091
2092 * ospf_lsa.c ospfd.h
2093 randomize initial LSA refreshment interval
2094 and limit the size of LSA-group to 10
2095 to let randomization work more effectively.
2096
20971999-10-31 Alex Zinin <zinin@amt.ru>
2098 * ospf_interface.c
2099 cancel t_network_lsa_self
2100 when freeing int structure
2101
2102 * ospf_abr.c ospf_asbr.c ospf_flood.c ospf_lsa.c
2103 ospf_lsa.h ospf_lsdb.h ospfd.c ospfd.h
2104
2105 Summary and ASE LSA refreshment functions
2106 added---LSA refreshment is paced to 70 LSAs
2107 per sec to avoid link overflow. Refreshment events
2108 are further randomized within a 10 sec interval
2109 to avoid syncing.
2110
2111 Also the sigfault of memcmp() in ospf_lsa_is_different()
2112 is fixed.
2113
21141999-10-30 Alex Zinin <zinin@amt.ru>
2115 * ospf_nsm.c
2116 Fix the bug where MAX_AGE LSAs
2117 are included into the DB summary.
2118
2119 * ospf_interface.c
2120 allocate 2*MTU input buffer instead of just MTU
2121 for the cases when the other router mistakenly
2122 sends larger packets thus causing fragmentation, etc.
2123
2124 * ospf_nsm.c
2125 in nsm_reset_nbr() lists should be freed
2126 not when they are empty.
2127
21281999-10-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2129
2130 * ospf_zebra.c (ospf_acl_hook): Move OSPF_IS_ASBR and OSPF_IS_ABR
2131 check inside of if (ospf_top).
2132
21331999-10-29 Alex Zinin <zinin@amt.ru>
2134 * ospf_lsa.c ospf_lsdb.c :
2135 add assertion in lsa and lsa->data alloc functions,
2136 as well as in lsdb_add for new->data
2137
2138 * ospf_lsdb.c: free hash table correctly
2139
21401999-10-28 John Capo <jc@irbs.com>
2141
2142 * ospf_packet.h (OSPF_PACKET_MAX): Correct MAX packet length
2143 calculation
2144
21451999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2146
2147 * OSPF-TRAP-MIB.txt: New file added. Edited version of RFC1850.
2148
2149 * OSPF-MIB.txt: New file added. Edited version of RFC1850.
2150
21511999-10-27 Alex Zinin <zinin@amt.ru>
2152 * ospfd, ospf_zebra, ospf_abr
2153 "area import-list" command is added.
2154 This command allows to filter the inter-area routes
2155 injected into an area. Access list hook function
2156 extended to invalidate area exp/imp lists.
2157
21581999-10-25 Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
2159
2160 * ospfd.c (ospf_interface_run): Enable to detect P2P network
2161 on an OSPF interface.
2162
21631999-10-19 Jordan Mendelson <jordy@wserv.com>
2164
2165 * ospf_lsdb.c (ospf_lsdb_add): Fix bug of crash
2166 in ospf_ls_retransmit_lookup ().
2167
21681999-10-19 Vladimir B. Grebenschikov <vova@express.ru>
2169
2170 * ospf_route.c: Workaround about installation of OSPF routes into
2171 the zebra daemon. Add checking of existance routes. Free
2172 ospf_top->old_table if it exists.
2173
21741999-10-15 Jordan Mendelson <jordy@wserv.com>
2175
2176 * Add support for MD5 authentication.
2177
21781999-10-12 Alex Zinin <zinin@amt.ru>
2179 * ospfd.c, ospfd.h, ospf_abr.c:
2180 a new command "area export-list" was added, it allows
2181 the admin. to control which intra-area routes are
2182 announced to other areas by the ABR
2183
21841999-10-12 Alex Zinin <zinin@amt.ru>
2185 * ospf_asbr.c (ospf_asbr_check_lsas): Fix bug of coredump
2186 when "no redistribute" is used after a distribute list
2187 denying some networks was used
2188
21891999-10-05 Toshiaki Takada <takada@zebra.org>
2190
2191 * ospf_route.c (ospf_path_dup): New function added.
2192
21931999-10-05 Toshiaki Takada <takada@zebra.org>
2194
2195 * ospf_interface.[ch]: Some of VL related funciton name changed.
2196
21971999-09-27 Alex Zinin <zinin@amt.ru>
2198
2199 * ospf_zebra.c: Distribute-list functionality added
2200
22011999-09-27 Toshiaki Takada <takada@zebra.org>
2202
2203 * ospfd.c (show_ip_ospf): Fix bug of segmentation fault when no ospf
2204 instance exists.
2205
22061999-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2207
2208 * ospfd.c (ospf_interface_down): Fix bug of misusing nextnode()
2209 instead of node->next. Reported by Hiroki Ishibashi
2210 <ishibasi@dcd.abk.nec.co.jp>.
2211
2212 * ospf_route.c (show_ip_ospf_route): Add check for ospf is enabled
2213 or not.
2214
22151999-09-23 Alex Zinin <zinin@amt.ru>
2216
2217 * stub area support added
2218
22191999-09-23 Alex Zinin <zinin@amt.ru>
2220
2221 * fwd_addr in ASE-LSAs is now set correctly
2222 * ASE routing changed to check the fwd_addr
2223 and skip the route if the addr points to one
2224 of our interfaces to avoid loops.
2225
22261999-09-22 Alex Zinin <zinin@amt.ru>
2227
2228 * ospf_interface:
2229 ospf_vls_in_area() added, it returns
2230 the number of VLs configured through the area
2231
2232 * ospf_interface.c ospf_lsa.c ospf_lsdb.c ospfd.c
2233 honor correct mem alloc
2234
22351999-09-22 Alex Zinin <zinin@amt.ru>
2236
2237 * memory.[ch]:
2238 Some OSPF mem types added,
2239 plus more info in "show mem"
2240
22411999-09-21 Alex Zinin <zinin@amt.ru>
2242
2243 * ospfd.c:
2244 "area range substitute" added.
2245 It can be used on NAT-enabled (IP-masquarade)
2246 routers to announce private networks
2247 from an area as public ones into the outside
2248 world (not in the RFC, btw :)
2249
22501999-09-21 Alex Zinin <zinin@amt.ru>
2251
2252 * ospfd.c:
2253 "area range suppress" added.
2254 This command allows to instruct the router
2255 to be silent about specific ranges, i.e.,
2256 it is a method of route filtering on area
2257 borders
2258
22591999-09-21 Alex Zinin <zinin@amt.ru>
2260
2261 * ospfd.c VLs removed when "no network area" executed
2262
22631999-09-20 Alex Zinin <zinin@amt.ru>
2264
2265 * ospf_ase.c bug fix for not-zero fwd_addr
2266 and directly connected routes.
2267
22681999-09-20 Yon Uriarte <yon@plannet.de>
2269
2270 * ospf_packet.c (ospf_make_ls_req): Introduce delta value for
2271 checking the length of OSPF packet exceeds MTU or not.
2272
2273 * ospf_lsa.c (ospf_lsa_different): Apply ntohs for checking
2274 l1->data->length.
2275
22761999-09-18 Alex Zinin <zinin@amt.ru>
2277
2278 * ospf_lsa.c bug fix for ospf_network_lsa() to
2279 include itself into the RID list
2280
22811999-09-10 Alex Zinin <zinin@amt.ru>
2282
2283 * Alternative ABR behaviors IBM/Cisco/Shortcut
2284 implemented
2285
22861999-09-10 Alex Zinin <zinin@amt.ru>
2287
2288 * router and network-LSA origination
2289 changed to honor MinLSInterval
2290
22911999-09-08 Alex Zinin <zinin@amt.ru>
2292
2293 * modified ABR behavior to honor VLs and transit
2294 areas
2295
22961999-09-07 Alex Zinin <zinin@amt.ru>
2297
2298 * completed VL functionality
2299
23001999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2301
2302 * ospf_asbr.c: New file.
2303 ospf_asbr.h: New file.
2304
2305 * ospf_zebra.c (ospf_redistribute_connected): Add redistribute
2306 related stuff.
2307
23081999-09-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2309
2310 * ospfd.h (OSPF_FLAG_VIRTUAL_LINK): Change OSPF_FLAG_VEND to
2311 OSPF_FLAG_VIRTUAL_LINK for comprehensiveness.
2312
23131999-09-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2314
2315 * ospf_spf.c (ospf_spf_register): Change name from
2316 ospf_spf_route_add() to ospf_spf_register().
2317 Include "ospfd/ospf_abr.h" for ospf_abr_task() prototype.
2318
23191999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2320
2321 * ospf_lsa.c (ospf_external_lsa_install): Change to update
2322 lsa->data rather than install new one, when same id lsa is already
2323 installed.
2324
23251999-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2326
2327 * ospf_lsa.c (ospf_router_lsa_install): Return lsa value.
2328 (ospf_network_lsa_install): Likewise.
2329 (ospf_summary_lsa_install): Likewise.
2330 (ospf_summary_asbr_lsa_install): Likewise.
2331 (ospf_external_lsa_install): Likewise.
2332
2333 * ospf_spf.c (ospf_spf_calculate): Comment out debug function
2334 ospf_rtrs_print().
2335
23361999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2337
2338 * ospf_spf.c (ospf_rtrs_free): Add ospf_spf_calculate() for
2339 freeing rtrs.
2340
23411999-08-31 Toshiaki Takada <takada@zebra.org>
2342
2343 * ospf_lsa.c (show_ip_ospf_database_summary),
2344 (show_ip_ospf_database_summary_asbr),
2345 (show_ip_ospf_database_external): New function added.
2346 `show ip ospf database summary',
2347 `show ip ospf database asbr-summary'
2348 `show ip ospf database external' command can be used.
2349
2350 * ospf_lsa.c (ospf_lsa_count_table): New function added.
2351 (show_ip_ospf_database_all): show nothing if a type of LSA
2352 does not exist.
2353
23541999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2355
2356 * ospf_lsa.c (ospf_maxage_lsa_remover): Preserve next pointer when
2357 the node is deleted.
2358
23591999-08-31 Toshiaki Takada <takada@zebra.org>
2360
2361 * ospf_flood.c (ospf_ls_retransmit_lookup): change to return
2362 struct ospf_lsa *.
2363 (ospf_ls_request_new), (ospf_ls_request_free),
2364 (ospf_ls_request_add), (ospf_ls_request_delete),
2365 (ospf_ls_request_delete_all), (ospf_ls_request_lookup):
2366 New function added.
2367
2368 * ospf_packet.c (ospf_ls_upd_send_lsa): New function added.
2369
2370 * ospf_lsa.h (LS_AGE): Slightly change macro definition.
2371
2372 * ospf_lsa.c (ospf_lsa_more_recent), (ospf_lsa_diffrent):
2373 Use LS_AGE macro.
2374
23751999-08-30 Alex Zinin <zinin@amt.ru>
2376
2377 * ospfd.c
2378 fix a bug with area range config write
2379 added "show ip ospf" command, it will be enhanced later on
2380
23811999-08-30 Alex Zinin <zinin@amt.ru>
2382
2383 * ospf_lsa.c
2384 updated ospf_router_lsa() to honor flags (B-bit)
2385
23861999-08-30 Alex Zinin <zinin@amt.ru>
2387
2388 * ospf_abr.c
2389 wrote major functions implementing ABR activity
2390
23911999-08-30 Alex Zinin <zinin@amt.ru>
2392
2393 * ospf_ia.c ospf_route.c ospf_route.h
2394 fixed the bug with ospf_route.origin field.
2395 Now it holds pointer to lsa_header
2396
23971999-08-30 Alex Zinin <zinin@amt.ru>
2398
2399 * ospf_flood.c ospf_flood.h:
2400 transformed ospf_flood_if_select into ospf_flood_through_area()
2401 added new ospf_flood_if_select() and ospf_flood_through_as()
2402
24031999-08-30 Toshiaki Takada <takada@zebra.org>
2404
2405 * ospf_flood.[ch]: New file added.
2406
2407 * ospf_packet.c (ospf_lsa_flooding),
2408 (ospf_lsa_flooding_select_if): functions move to ospf_flood.c
2409
2410 * ospf_neighbor.c (ospf_put_lsa_on_retransm_list),
2411 (ospf_remove_lsa_from_retransm_list),
2412 (ospf_nbr_remove_all_lsas_from_retransm_list),
2413 (ospf_lsa_remove_from_ls_retransmit):
2414 (ospf_lsa_retransmit): functions move to
2415 ospf_flood.c, and change function's name:
2416
2417 ospf_put_lsa_on_retransm_list ()
2418 -> ospf_ls_retransmit_add ()
2419 ospf_remove_lsa_from_retransm_list ()
2420 -> ospf_ls_retransmit_delete ()
2421 ospf_nbr_remove_all_lsas_from_retransm_list ()
2422 -> ospf_ls_retransmit_clear ()
2423 ospf_lsa_remove_from_ls_retransmit ()
2424 -> ospf_ls_retransmit_delete_nbr_all ()
2425 ospf_lsa_retransmit ()
2426 -> ospf_ls_retransmit_add_nbr_all ()
2427
2428 * ospf_lsa.c (ospf_lsa_lookup_from_list): function move to
2429 ospf_flood.c, and change name to ospf_ls_retransmit_lookup ().
2430
24311999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2432
2433 * ospf_neighbor.c (ospf_nbr_lookup_by_addr): Use
2434 route_node_lookup() instead of route_node_get().
2435
2436 * ospf_packet.c (ospf_ls_upd): Temporary comment out (6) check.
2437
24381999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2439
2440 * ospf_route.c (ospf_lookup_int_by_prefix): Add check of
2441 oi->address.
2442
24431999-08-29 Alex Zinin <zinin@amt.ru>
2444 * ospf_lsa.c
2445 MaxAge LSA deletion functions added.
2446
24471999-08-29 Alex Zinin <zinin@amt.ru>
2448 * ospf_neighbor.c
2449 ospf_nbr_lookup_by_addr(): added route_unlock_node()
2450 when function returns NULL if (rn->info == NULL)
2451
24521999-08-29 Alex Zinin <zinin@amt.ru>
2453 * ospfd.c
2454 added a hack for area range deletion
2455
24561999-08-29 Alex Zinin <zinin@amt.ru>
2457 * ospf_lsa.h
2458 included lsdb field into struct ospf_lsa, to find
2459 LSDB easier when removing MaxAge LSAs.
2460
24611999-08-29 Alex Zinin <zinin@amt.ru>
2462 * ospf_lsa.c ospf_neighbor.c ospf_nsm.c
2463 ospf_packet.c changed to honor new retransmit list
2464 management functions
2465
24661999-08-29 Alex Zinin <zinin@amt.ru>
2467 * ospf_neighbor.c , .h added new retransmit list functions.
2468
24691999-08-29 Alex Zinin <zinin@amt.ru>
2470 * Makefile.in
2471 added ospf_ase, ospf_abr, ospf_ia
2472
24731999-08-29 Alex Zinin <zinin@amt.ru>
2474 * ospf_spf.c:
2475 - changed ospf_next_hop_calculation() to include interface
2476 and nexthop addr for directly connected routers---more informative
2477 and solves problem with route installation into the kernel
2478 - changed ospf_nexthop_out_if_addr() to support routers, not only
2479 transit networks
2480 - added ospf_process_stubs();
2481
24821999-08-29 Alex Zinin <zinin@amt.ru>
2483 * ospf_lsa.c:
2484 - changed ospf_router_lsa() to provide correct links
2485 for p-t-p interfaces;
2486 - changed ospf_summary_lsa_install() to support table
2487 of self-originated summary-LSAs;
2488 - added ospf_summary_asbr_lsa_install() and ospf_external_lsa_install()
2489 - changed ospf_lsa_install() accordingly
2490 - changed show_ip_ospf_database_router_links() to support p-t-p
2491
24921999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2493
2494 * ospf_packet.c (ospf_make_db_desc): Only master can clear more
2495 flag.
2496
24971999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2498
2499 * ospf_packet.c (ospf_read): Add check of IP src address.
2500
25011999-08-28 Alex Zinin <zinin@amt.ru>
2502 * ospf_neighbor.h
2503 added ospf_nbr_lookup_by_routerid()
2504
25051999-08-28 Alex Zinin <zinin@amt.ru>
2506 * ospfd.h
2507 added ABR/ASBR flag definitions and fields;
2508 added iflist field to area structure;
2509 summary_lsa_self and summary_lsa_asbr_self are changed
2510 to be route tables;
2511 added ranges field---configured area ranges;
2512 A separate Routers RT added;
2513 area range config commands and config write added
2514
2515
25161999-08-28 Alex Zinin <zinin@amt.ru>
2517 * ospf_route.c :
2518 ospf_route_free()--added code to free the list of paths;
2519 The following functions added:
2520 ospf_intra_add_router();
2521 ospf_intra_add_transit();
2522 ospf_intra_add_stub();
2523 the last function uses new ospf_int_lookup_by_prefix();
2524 show_ip_ospf_route_cmd()--changed to support new RT structure;
2525 added ospf_cmp_routes()--general route comparision function;
2526 added ospf_route_copy_nexthops() and ospf_route_copy_nexthops_from_vertex()
2527 they are used in ASE and IA routing;
2528 added ospf_subst_route() and ospf_add_route();
2529
25301999-08-28 Alex Zinin <zinin@amt.ru>
2531 * ospf_route.h :
2532 changed struct ospf_path to include output interface,
2533 changed struct ospf_route to support IA and ASE routing.
2534 added prototypes of the function used in IA and ASE modules.
2535
25361999-08-28 Alex Zinin <zinin@amt.ru>
2537 * ospf_lsa.h ospf_lsa.c :
2538 added ospf_my_lsa(), an interface independent version of
2539 ospf_lsa_is_self_originated(), it will be used in ASE and IA-routing.
2540
25411999-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2542
2543 * ospf_interface.c (interface_config_write): Add check for
2544 oi->nbr_self.
2545
25461999-08-25 Toshiaki Takada <takada@zebra.org>
2547
2548 * ospf_lsa.c (ospf_lsa_dup): New function added.
2549
2550 * ospf_packet.c (ospf_write), (ospf_read): Print send/recv
2551 interface in debug message.
2552
25531999-08-25 Toshiaki Takada <takada@zebra.org>
2554
2555 * ospf_packet.c (ospf_ls_ack_send): The name is changed from
2556 `ospf_ls_ack_send'.
2557 (ospf_ls_ack_send_delayed) (ospf_ls_ack_timer): New function added.
2558 Delayed Link State Acknowledgment is scheduled by timer.
2559
25601999-08-25 Alex Zinin <zinin@amt.ru>
2561
2562 * ospf_lsa.c (ospf_router_lsa): Incorrectly included link to
2563 a stub network instead of link to a transit network into
2564 originated router-LSA, bug fixed.
2565
25661999-08-24 Toshiaki Takada <takada@zebra.org>
2567
2568 * ospfd.c (ospf_update_router_id): New function added.
2569
2570 * ospf_network.c (ospf_write): Create new socket per transmission.
2571 And select outgoing interface whether dst is unicast or multicast.
2572
2573 * ospf_packet.c: LSA flooding will work.
2574
25751999-08-24 VOP <vop@unity.net>
2576
2577 * ospf_route.c: Include "sockunion.h"
2578
25791999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2580
2581 * ospf_network.c (ospf_serv_sock_init): Enclose
2582 IPTOS_PREC_INTERNETCONTROL setting with #ifdef for OS which does
2583 not have the definition.
2584
25851999-08-23 Toshiaki Takada <takada@zebra.org>
2586
2587 * ospf_packet.c: Fix bug of DD processing.
2588
25891999-08-18 Toshiaki Takada <takada@zebra.org>
2590
2591 * ospf_lsa.c (show_ip_ospf_database): Show actual `LS age'.
2592
25931999-08-17 Toshiaki Takada <takada@zebra.org>
2594
2595 * ospf_lsa.h (OSPF_MAX_LSA): The value of OSPF_MAX_LSA is
2596 corrected. The bug of `mes_lookup' is fixed.
2597 This had been reported by Poul-Henning Kamp <phk@freebsd.org>.
2598
2599 * ospf_lsa.c (ospf_router_lsa_install): The name is changed from
2600 `ospf_add_router_lsa'.
2601 (ospf_network_lsa_install): The name is changed from
2602 `ospf_add_network_lsa'.
2603
2604 * ospf_interface.h (ospf_interface): Add member `nbr_self'.
2605
2606 * ospf_interface.c (ospf_if_is_enable): New function added.
2607
26081999-08-16 Toshiaki Takada <takada@zebra.org>
2609
2610 * ospf_lsa.h (struct lsa_header): The name is changed from
2611 `struct ospf_lsa'.
2612 (struct ospf_lsa): New struct added to control each LSA's aging
2613 and timers.
2614
2615 * ospf_lsa.c (ospf_lsa_data_free): The name is change from
2616 `ospf_lsa_free'.
2617 (ospf_lsa_data_new), (ospf_lsa_new), (ospf_lsa_free),
2618 (ospf_lsa_different), (ospf_lsa_install): New function added.
2619
2620 * ospf_packet.c (ospf_ls_upd_list_lsa): New function added.
2621
26221999-08-12 Toshiaki Takada <takada@zebra.org>
2623
2624 * ospf_nsm.c (nsm_reset_nbr): New function added.
2625 KillNbr and LLDown neighbor event call this function.
2626
26271999-08-10 Toshiaki Takada <takada@zebra.org>
2628
2629 * ospf_packet.c (ospf_ls_retransmit)
2630 (ospf_ls_upd_timer): New function added.
2631 Set retransmission timer for Link State Update.
2632
26331999-07-29 Toshiaki Takada <takada@zebra.org>
2634
2635 * ospf_ism.c (ospf_dr_election): Fix bug of DR election.
2636
26371999-07-28 Toshiaki Takada <takada@zebra.org>
2638
2639 * ospf_network.c (ospf_serv_sock_init): Set IP precedence field
2640 with IPTOS_PREC_INTERNET_CONTROL.
2641
2642 * ospf_nsm.c (nsm_change_status): Schedule NeighborChange event
2643 if NSM status change.
2644
2645 * ospf_packet.c (ospf_make_hello): Never include a neighbor in
2646 Hello packet, when the neighbor goes down.
2647
26481999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2649
2650 * Makefile.am (noinst_HEADERS): Add ospf_route.h.
2651
2652 * ospf_route.c (show_ip_ospf_route): Add `show ip ospf route'
2653 command.
2654
26551999-07-25 Toshiaki Takada <takada@zebra.org>
2656
2657 * ospf_lsa.c (ospf_router_lsa): Fix bug of LS sequence number
2658 assignement.
2659
26601999-07-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2661
2662 * ospf_route.c (ospf_route_table_free): New function added.
2663
2664 * ospf_spf.c (ospf_spf_next): Free vertex w when cw's and w's
2665 distance is same.
2666
2667 * ospfd.h (struct ospf): Add old_table.
2668
2669 * ospf_main.c (sighup): Call of log_rotate () removed.
2670
2671 * ospf_lsa.c (ospf_lsa_is_self_originated): Fix bug of checking
2672 area->lsa as self LSA. This should be area->lsa_self.
2673
26741999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2675
2676 * ospf_zebra.c (ospf_zebra_add): ospf_zebra_add
2677 (),ospf_zebra_delete () added.
2678
2679 * ospf_spf.c (ospf_spf_calculate): Call ospf_intra_route_add ().
2680
26811999-07-24 Toshiaki Takada <takada@zebra.org>
2682
2683 * ospf_lsa.c: Change LS sequence number treatment.
2684 (ospf_lsa_is_self_originated): New function added.
2685 (show_ip_ospf_database_self_originated): New DEFUN added.
2686
26871999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2688
2689 * ospf_interface.c (ospf_if_lookup_by_addr): Add loopback check.
2690
26911999-07-22 Toshiaki Takada <takada@zebra.org>
2692
2693 * ospf_spf.c (ospf_nexthop_new), (ospf_nexthop_free),
2694 (ospf_nexthop_dup): function added.
2695 (ospf_nexthop_calculation): function changed.
2696
2697 * ospf_interface.c (ospf_if_lookup_by_addr): function added.
2698
26991999-07-21 Toshiaki Takada <takada@zebra.org>
2700
2701 * ospf_spf.c (ospf_spf_closest_vertex): function removed.
2702
27031999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2704
2705 * ospf_spf.c (ospf_spf_next): Apply ntohs for fetching metric.
2706
27071999-07-21 Toshiaki Takada <takada@zebra.org>
2708
2709 * ospf_neighbor.c (ospf_nbr_lookup_by_router_id): fundtion removed.
2710
2711 * ospf_lsa.c (show_ip_ospf_database_router): describe each
2712 connected link.
2713
27141999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2715
2716 * ospf_spf.c (ospf_spf_next): V is router LSA or network LSA so
2717 change behavior according to LSA type.
2718 (ospf_lsa_has_link): Link check function is added.
2719
27201999-07-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2721
2722 * ospf_spf.c (ospf_spf_calculate_schedule): Add new function for
2723 SPF calcultion schedule addtition.
2724 (ospf_spf_calculate_timer_add): Rough 30 sec interval SPF calc
2725 timer is added.
2726 (ospf_spf_next_router): Delete ospf_spf_next_network ().
2727
2728 * ospf_lsa.c (show_ip_ospf_database_all): Network-LSA display
2729 header typo correction. Display of router LSA's #link added.
2730
27311999-07-19 Toshiaki Takada <takada@zebra.org>
2732
2733 * ospf_packet.c (ospf_check_network_mask): Added new function for
2734 receiving Raw IP packet on an appropriate interface.
2735
27361999-07-16 Toshiaki Takada <takada@zebra.org>
2737
2738 * ospfd.c (ospf_router_id): new DEFUN added.
2739
27401999-07-15 Toshiaki Takada <takada@zebra.org>
2741
2742 * ospf_spf.c (ospf_spf_init), (ospf_spf_free),
2743 (ospf_spf_has_vertex), (ospf_vertex_lookup),
2744 (ospf_spf_next_router), (ospf_spf_next_network),
2745 (ospf_spf_closest_vertex), (ospf_spf_calculate):
2746 function added.
2747
27481999-07-13 Toshiaki Takada <takada@zebra.org>
2749
2750 * ospf_ism.c: fix bug of DR Election.
2751
2752 * ospf_nsm.c: fix bug of adjacency forming.
2753
27541999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2755
2756 * ospfd.c (ospf_init): Change to use install_default.
2757
27581999-07-01 Rick Payne <rickp@rossfell.co.uk>
2759
2760 * ospf_zebra.c (zebra_init): Install standard commands to
2761 ZEBRA_NODE.
2762
27631999-06-30 Toshiaki Takada <takada@zebra.org>
2764
2765 * ospf_dump.c: Whole debug command is improved.
2766 (ISM|NSM) (events|status|timers) debug option added.
2767 (show_debugging_ospf): new DEFUN added.
2768
27691999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2770
2771 * ospf_lsa.c (ospf_lsa_lookup_from_list): Change !IPV4_ADDR_CMP to
2772 IPV4_ADDR_SAME.
2773
27741999-06-29 Toshiaki Takada <takada@zebra.org>
2775
2776 * ospf_dump.c (ospf_summary_lsa_dump): Add summary-LSA dump routine.
2777 (ospf_as_external_lsa_dump): Add AS-external-LSA dump routine.
2778
2779 * ospf_nsm.c (nsm_twoway_received): fix condtion of adjacnet.
2780
2781 * ospf_ism.c (ospf_dr_election): fix DR Election.
2782
2783 * ospf_dump.c (ospf_nbr_state_message): fix `show ip ospf neighbor'
2784 command's state.
2785
27861999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2787
2788 * ospf_dump.c (ospf_router_lsa_dump): Add router-LSA dump routine.
2789
27901999-06-28 Toshiaki Takada <takada@zebra.org>
2791
2792 * ospf_lsa.c (show_ip_ospf_database_network): fix bug of
2793 `show ip ospf database network' command output.
2794
2795 * ospf_nsm.c (nsm_inactivity_timer): Clear list of Link State
2796 Retransmission, Database Summary and Link State Request.
2797
2798 * ospf_packet.c (ospf_ls_req_timer): New function added.
2799 Set Link State Request retransmission timer.
2800
28011999-06-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2802
2803 * ospf_main.c (main): Change default output from ZLOG_SYSLOG to
2804 ZLOG_STDOUT.
2805
2806 * ospfd.c (ospf_init): Register show_ip_ospf_interface_cmd and
2807 show_ip_ospf_neighbor_cmd to VIEW_NODE.
2808
2809 * ospf_lsa.c (ospf_lsa_init): Register show_ip_ospf_database_cmd
2810 and show_ip_ospf_database_type_cmd to VIEW_NODE.
2811
28121999-06-25 Toshiaki Takada <takada@zebra.org>
2813
2814 * ospf_packet.c: fix bug of DD making.
2815 fix bug of LS-Update reading.
2816
28171999-06-23 Toshiaki Takada <takada@zebra.org>
2818
2819 * ospf_packet.c: All type of packets are changed to use
2820 fifo queue structure.
2821 (ospf_fill_header) function added.
2822
28231999-06-22 Toshiaki Takada <takada@zebra.org>
2824
2825 * ospf_packet.c (ospf_packet_new): New function added to handle
2826 sending ospf packet by fifo queue structure.
2827 (ospf_packet_free), (ospf_fifo_new), (ospf_fifo_push),
2828 (ospf_fifo_pop), (ospf_fifo_head), (ospf_fifo_flush),
2829 (ospf_fifo_free): Likewise.
2830
28311999-06-21 Toshiaki Takada <takada@zebra.org>
2832
2833 * ospf_nsm.c (ospf_db_desc_timer): function added.
2834 (nsm_timer_set) function added.
2835 * ospf_dump.c (ospf_option_dump): function added.
2836 * ospf_packet.c (ospf_ls_req) (ospf_make_ls_req): function added.
2837
28381999-06-20 Toshiaki Takada <takada@zebra.org>
2839
2840 * ospf_lsa.c (ospf_lsa_more_recent): function added.
2841 * ospf_neighbor.h (struct ospf_neighbor): Change member ms_flag
2842 to dd_flags.
2843
28441999-06-19 Toshiaki Takada <takada@zebra.org>
2845
2846 * ospf_lsa.c: DEFUN (show_ip_ospf_database) Added.
2847 * ospf_interface.c (if_ospf_cost), (if_ospf_dead_interval),
2848 (if_ospf_hello_interval), (if_ospf_priority),
2849 (if_ospf_retransmit_interval), (if_ospf_transmit_delay)
2850 argument changed from NUMBER to <range>.
2851 DEFUN (if_ospf_network_broadcast),
2852 DEFUN (if_ospf_network_non_broadcast),
2853 DEFUN (if_ospf_network_point_to_multipoint),
2854 DEFUN (if_ospf_network_point_to_point) functions are combined to
2855 DEFUN (if_ospf_network).
2856
28571999-06-18 Toshiaki Takada <takada@zebra.org>
2858
2859 * ospf_lsa.c: ospf_add_router_lsa (), ospf_add_network_lsa (),
2860 ospf_lsa_lookup (), ospf_lsa_count () Added.
2861
28621999-06-15 Toshiaki Takada <takada@zebra.org>
2863
2864 * DEFUN (ospf_debug_ism), DEFUN (ospf_debug_nsm),
2865 DEFUN (no_ospf_debug_ism), DEFUN (no_ospf_debug_nsm) Added.
2866 `debug ospf ism' command shows debug message.
2867 `debuf ospf nsm' command shows debug message.
2868
28691999-06-14 Toshiaki Takada <takada@zebra.org>
2870
2871 * ospf_lsa.c: ospf_network_lsa () Added.
2872 ospf_lsa_checksum () Added.
2873 * DEFUN (ospf_debug_packet), DEFUN (no_ospf_debug_packet) Added.
2874 `debug ospf packet' command shows debug message.
2875
28761999-06-13 Toshiaki Takada <takada@zebra.org>
2877
2878 * ospf_packet.h: Remove struct ospf_ls_req {}, ospf_ls_upd {},
2879 ospf_ls_ack {}.
2880
28811999-06-11 Toshiaki Takada <takada@zebra.org>
2882
2883 * ospf_dump.c: fix IP packet length treatment.
2884
28851999-06-10 Toshiaki Takada <takada@zebra.org>
2886
2887 * ospf_ism.h: Add OSPF_ISM_EVENT_EXECUTE() Macro Added.
2888 * ospf_nsm.h: Add OSPF_NSM_EVENT_EXECUTE() Macro Added.
2889
2890 * ospf_packet.c: ospf_db_desc (), ospf_db_desc_send () Added.
2891 ospf_make_hello (), ospf_make_db_desc () Added.
2892 ospf_db_desc_proc () Added.n
2893
2894 * Database Description packet can be processed.
2895
28961999-06-08 Toshiaki Takada <takada@zebra.org>
2897
2898 * ospf_lsa.c: New file.
2899
29001999-06-07 Toshiaki Takada <takada@zebra.org>
2901
2902 * ospf_neighbor.c: ospf_fully_adjacent_count () Added.
2903
29041999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2905
2906 * ospf_spf.[ch]: New file.
2907
29081999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2909
2910 * ospf_zebra.c: Changed to use lib/zclient.c routines.
2911
2912 * ospf_zebra.h (zebra_start): Remove struct zebra.
2913
29141999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2915
2916 * ospfd.c (ospf_config_write): Add cast (unsigned long int) to
2917 ntohl for sprintf warning.
2918
29191999-05-19 Toshiaki Takada <takada@zebra.org>
2920
2921 * ospf_ism.c (ospf_dr_election): Join AllDRouters Multicast group
2922 if interface state changes to DR or BDR.
2923
29241999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2925
2926 * ospf_main.c (signal_init): SIGTERM call sigint.
2927 (sigint): Logging more better message.
2928
29291999-05-12 Toshiaki Takada <takada@zebra.org>
2930
2931 * ospfd.c: Fix bug of `no router ospf' statement, it will work.
2932
29331999-05-11 Toshiaki Takada <takada@zebra.org>
2934
2935 * ospf_neighbor.c: ospf_nbr_free () Added.
2936
29371999-05-10 Toshiaki Takada <takada@zebra.org>
2938
2939 * ospfd.h: struct ospf_area { }, struct ospf_network { } Changed.
2940 * Fix bug of `no network' statement, it will work.
2941
29421999-05-07 Toshiaki Takada <takada@zebra.org>
2943
2944 * ospf_interface.c, ospf_zebra.c: Fix bug of last interface is not
2945 updated by ospf_if_update ().
2946
29471999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2948
2949 * Makefile.am (noinst_HEADERS): Add ospf_lsa.h for distribution.
2950
29511999-04-25 Toshiaki Takada <takada@zebra.org>
2952
2953 * ospf_interface.c: DEFUN (no_if_ospf_cost),
2954 DEFUN (no_if_ospf_dead_interval),
2955 DEFUN (no_if_ospf_hello_interval),
2956 DEFUN (no_if_ospf_priority),
2957 DEFUN (no_if_ospf_retransmit_interval),
2958 DEFUN (no_if_ospf_transmit_delay) Added.
2959
2960 interface_config_write () suppress showing interface
2961 default values.
2962
29631999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2964
2965 * ospf_dump.c (ospf_timer_dump): If thread is NULL return "inactive".
2966
2967 * ospfd.c (ospf_if_update): Fix bug of using ospf_area { } instead
2968 of ospf_network { }. So `router ospf' statement in ospfd.conf
2969 works again.
2970 (ospf_if_update): Call ospf_get_router_id for updating router ID.
2971
29721999-04-25 Toshiaki Takada <takada@zebra.org>
2973
2974 * ospf_interface.c: DEFUN (if_ospf_network) deleted.
2975 DEFUN (if_ospf_network_broadcast),
2976 DEFUN (if_ospf_network_non_broadcast),
2977 DEFUN (if_ospf_network_point_to_multipoint),
2978 DEFUN (if_ospf_network_point_to_point),
2979 DEFUN (no_if_ospf_network) Added.
2980
29811999-04-23 Toshiaki Takada <takada@zebra.org>
2982
2983 * ospfd.h: struct area { } changed to struct ospf_network { }.
2984 Add struct ospf_area { }.
2985 * ospfd.c: Add ospf_area_lookup_by_area_id (), ospf_network_new (),
2986 and ospf_network_free ().
2987 DEFUN (area_authentication), DEFUN (no_area_authentication) Added.
2988
29891999-04-22 Toshiaki Takada <takada@zebra.org>
2990
2991 * ospf_lsa.h: New file.
2992 * ospf_packet.h: LSA related struct definition are moved to
2993 ospf_lsa.h.
2994 * ospf_packet.c: ospf_verify_header () Added.
2995
29961999-04-21 Toshiaki Takada <takada@zebra.org>
2997
2998 * ospf_ism.c: ospf_elect_dr () and related function is changed.
2999 DR Election bug fixed.
3000 * ospf_dump.c: ospf_nbr_state_message (), ospf_timer_dump () Added.
3001 * ospfd.c: DEFUN (show_ip_ospf_neighbor) Added.
3002
30031999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
3004
3005 * ospf_main.c (main): access_list_init () is added for vty
3006 connection filtering.
3007
30081999-04-16 Toshiaki Takada <takada@zebra.org>
3009
3010 * ospfd.c: DEFUN (show_ip_ospf_interface) Added.
3011 * ospf_neighbor.c: ospf_nbr_count () Added.
3012
30131999-04-15 Toshiaki Takada <takada@zebra.org>
3014
3015 * ospfd.h: struct ospf { } Changed.
3016 * ospfd.c: ospf_lookup_by_process_id () Deleted.
3017 * ospf_ism.c: ospf_wait_timer () Added. WaitTimer will work.
3018
30191999-04-14 Toshiaki Takada <takada@zebra.org>
3020
3021 * ospf_ism.c: ospf_elect_dr () Added.
3022 * ospf_network.c: ospf_if_ipmulticast () Added.
3023
30241999-04-11 Toshiaki Takada <takada@zebra.org>
3025
3026 * ospf_interface.c: interface_config_write (),
3027 DEFUN (if_ip_ospf_cost),
3028 DEFUN (if_ip_ospf_dead_interval),
3029 DEFUN (if_ip_ospf_hello_interval),
3030 DEFUN (if_ip_ospf_priority),
3031 DEFUN (if_ip_ospf_retransmit_interval) and
3032 DEFUN (if_ip_ospf_transmit_delay) Added.
3033
30341999-04-08 Toshiaki Takada <takada@zebra.org>
3035
3036 * ospf_dump.c: ospf_packet_db_desc_dump () Added.
3037 * ospf_neighbor.c: ospf_nbr_bidirectional () Added.
3038 * ospf_nsm.c: nsm_twoway_received () Added.
3039
30401999-04-02 Toshiaki Takada <takada@zebra.org>
3041
3042 * ospf_neighbor.c: New file.
3043 * ospf_neighbor.h: New file.
3044 * ospf_nsm.c: New file.
3045 * ospf_nsm.h: New file.
3046 * ospf_packet.c: Add ospf_make_header (), ospf_hello () and
3047 ospf_hello_send (). Now OSPFd can receive Hello and send Hello.
3048
30491999-03-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3050
3051 * ospf_packet.c: Add ospf_recv_packet (). Now OSPF Hello can receive.
3052
30531999-03-19 Toshiaki Takada <takada@zebra.org>
3054
3055 * ospf_packet.c: New file.
3056 * ospf_packet.h: New file.
3057 * ospf_network.c: New file.
3058 * ospf_network.h: New file.
3059 * ospfd.h: move OSPF message structure has moved to ospf_packet.h.
3060
30611999-03-17 Kunihiro Ishiguro <kunihiro@zebra.org>
3062
3063 * ospf_zebra.c (ospf_zebra_get_interface): Fix for IPv6 interface
3064 address.
3065
3066 * Makefile.am (install-sysconfDATA): Overwrite install-sysconfDATA
3067 for install ospfd.conf.sample as owner read only file.
3068
3069 * ospf_main.c (usage): Change to use ZEBRA_BUG_ADDRESS.
3070
30711999-03-15 Toshiaki Takada <takada@zebra.org>
3072
3073 * ospf_ism.c: New file.
3074 * ospf_ism.h: New file.
3075 * ospf_dump.c: New file.
3076 * ospf_dump.h: New file.
3077
3078 * ospfd.h: Add (struct ospf), (struct config_network),
3079 (struct message) structure.
3080
3081 * ospf_interface.c: Add ospf_if_match_network ().
3082 * ospf_interface.h (struct ospf_interface): Change struct members.
3083
3084 * ospfd.c: ospf_lookup_by_process_id (), ospf_network_new (),
3085 DEFUN (network_area): Added.
3086
3087 * ospfd.conf.sample: Change sample configuration.
3088
30891999-03-05 Toshiaki Takada <takada@zebra.org>
3090
3091 * ospf_interface.c: New file.
3092 * ospf_interface.h: New file.
3093 * ospf_zebra.h: New file.
3094 * ospf_zebra.c: Add interface function for zebra daemon.
3095 * ospfd.c: New file.
3096
30971999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3098
3099 * Move IPv6 codes and files to ospf6d directory.
3100
31011999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
3102
3103 * syslog support added
3104
31051998-12-22 Toshiaki Takada <takada@zebra.org>
3106
3107 * ospfd.h: New file.
3108 * ospf_lsa.h: New file.
3109
31101998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
3111
3112 * Makefile.am: New file.
3113 * ospf_main.c: New file.
3114