blob: 1339ba24a497f97e0a458f837423ba23f5a2fa7c [file] [log] [blame]
paul863082d2004-08-19 04:43:43 +000012004-08-19 Paul Jakma <paul@dishone.st>
2
3 * ospf_packet.c: update to match sockopt renames.
4
paul75ee0b82004-08-05 09:10:31 +000052004-08-04 Paul Jakma <paul@dishone.st>
6
7 * ospf_spf.c: (ospf_spf_consider_nexthop) Add comment about issue.
8 Compare only against list head - all nexthops must be same cost
9 anyway, fixes a reference-listnode-after-delete bug noted by
10 Kir Kostuchenko.
11 (ospf_nexthop_calculation) Use ospf_spf_consider_nexthop for all
12 candidates attached to root.
13
paul36c64ef2004-07-27 11:19:11 +0000142004-07-27 Paul Jakma <paul@dishone.st>
15
paul48fe13b2004-07-27 17:40:44 +000016 * ospf_packet.c: (ospf_ls_upd_send_queue_event) fix thinko from
17 last fix for ospfd wedging due to oversize LSAs: dont list loop on
18 ospf_ls_upd_queue_send() - guaranteed segfault.
19
202004-07-27 Paul Jakma <paul@dishone.st>
21
paul36c64ef2004-07-27 11:19:11 +000022 * ospf_opaque.c: (ospf_opaque_lsa_flush_schedule) do not NULL out
23 the LSA as then free_opaque_info_per_id() can never unlock (and
24 free) the LSA. Reported by Gunnar Stigen.
25
paul2dd8bb42004-07-23 15:13:48 +0000262004-07-23 Paul Jakma <paul@dishone.st>
27
28 * ospf_network.c: Replace PKTINFO/RECVIF with call to
29 setsockopt_pktinfo
30 * ospf_packet.c: Use getsockopt_pktinfo_ifindex and
31 SOPT_SIZE_CMSG_PKTINFO_IPV4.
32
paul59ea14c2004-07-14 20:50:36 +0000332004-07-14 Paul Jakma <paul@dishone.st>
34
35 * ospf_packet.c: (ospf_ls_upd_send_queue_event) Partial fix for
36 problem reported by Peter Frost amongst others, where function
37 will spin indefinitely if update list contains LSAs greater than
38 MTU-headers or other condition leading to update list never being
39 cleared. Problem of what to do with these LSAs remains.
40 (ospf_make_ls_upd) add comment about large LSA problem,
41 indentation cleanup.
42
gdtb2c1b282004-07-01 12:35:36 +0000432004-07-01 Greg Troxel <gdt@fnord.ir.bbn.com>
44
45 * Makefile.am (lib_LTLIBRARIES): make libospf shared
46
gdt87efd642004-06-30 17:36:11 +0000472004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
48
49 * Makefile.am: Add shlib support.
50
hassobeebba72004-06-20 21:00:27 +0000512004-06-10 Hasso Tepper <hasso@estpak.ee>
52
53 * *: Removed ifdefs HAVE_NSSA.
54
paul553ff112004-06-06 09:41:00 +0000552004-06-06 Paul Jakma <paul@dishone.st>
56
57 * ospf_dump.c,ospf_lsa.c: Fix typos of merge of previous.
58 ospf_flood.c: (ospf_process_self_originated_lsa) fix zlog format
59
paul0c2be262004-05-31 14:16:54 +0000602004-05-31 Sagun Shakya <sagun.shakya@sun.com>
61
62 * ospf_dump.c: (ospf_lsa_header_dump) LOOKUP can return null if
63 index is out of range.
64 ospf_flood.c: endianness fix
65 ospf_lsa.c: Missing ntohl's on (struct lsa *)->data->ls_seqnum
66 in various places.
67
hassodd669bb2004-05-10 07:43:59 +0000682004-05-10 Hasso Tepper <hasso@estpak.ee>
69
70 * ospf_zebra.c, ospfd.c: Move ospf_prefix_list_update() function
71 to ospf_zebra.c from ospfd.c and add redistribution updates if
72 route-map is used in redistribution.
73 * ospf_main.c: Remove now useless call to ospf_init().
74
paul0a589352004-05-08 11:48:26 +0000752004-05-08 Paul Jakma <paul@dishone.st>
76
77 * ospf_zebra.c: Sync with lib/zclient changes
78
pauld3f0d622004-05-05 15:27:15 +0000792004-05-05 Paul Jakma <paul@dishone.st>
80
paul5bd41892004-05-05 17:29:24 +000081 * ospf_network.c: (ospf_sock_init) Check whether IP_HDRINCL is
82 defined. Warn at compile and runtime. Use
83 IPTOS_PREC_INTERNETCONTROL otherwise.
pauld3f0d622004-05-05 15:27:15 +000084 * ospf_packet.c: (ospf_associate_packet_vl) cleanup, move
85 some of the checks up to ospf_read, return either a
86 virtual link oi, or NULL.
87 (ospf_read) Cleanup, make it responsible for checks. Remove
88 the nbr lookup - moved to ospf_neighbor. Adjust all nbr
89 lookups to use new wrappers exported by ospf_neighbor.
90 * ospf_neighbor.h: Add ospf_neigbour_get and ospf_nbr_lookup.
91 * ospf_neighbor.c: (ospf_neigbour_get) Index ospf_interface
92 neighbour table by router-id for virtual-link ospf_interfaces,
93 not by peer_addr (which breaks for asymmetric vlinks)
94 (ospf_nbr_lookup) add a wrapper for nbr lookups to deal with
95 above.
paulcd59da62004-05-05 17:26:55 +000096 * ospf_interface.c: (ospf_vl_set_params) Catch changes of interface
97 address for either end of a virtual-link, and hence potential cost
98 changes.
99
hassoa0a39762004-04-23 08:51:10 +00001002004-04-22 Hasso Tepper <hasso@estpak.ee>
101
102 * ospf_zebra.c: Don't ignore reject/bh routes, it's the only way
103 to "summarize" routes in ASBR at the moment.
104
hasso8585d4e2004-04-20 17:25:12 +00001052004-04-20 Hasso Tepper <hasso@estpak.ee>
106
107 * ospfd.c: Unset NP flag if area is going to be normal or stub.
108 Fixes UNH OSPF_NSSA.1.2a comment.
109 * ospf_abr.c: Originate default into stub/nssa area even if
110 summaries are disabled.
111 * ospf_zebra.c: Don't attempt to redistribute 127.0.0.0/8.
112
hassoc266ac72004-04-19 17:31:00 +00001132004-04-19 Hasso Tepper <hasso@estpak.ee>
114
115 * ospf_vty.c: Don't warn that export- and import-list can't be
116 configured to backbone area if they are applied and are working
117 fine.
118
hasso128d31d2004-04-04 12:52:33 +00001192004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
120
121 * ospf_packet.c: Don't drop packets in Solaris x86.
122 [quagga-dev 1005].
123
hasso0d85b992004-03-18 19:18:33 +00001242004-03-18 Amir Guindehi <amir@datacore.ch>
125
126 * ospf_opaque.c: Attempt to correct the incorrect behavior of
127 Quagga's ospfd in the special situation that a node's opaque
128 capability has changed as "ON -> OFF -> ON". [quagga-dev 843].
129
paul7f352b82004-02-19 19:37:47 +00001302004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
131
132 * ospf_abr.c: (ospf_abr_update_aggregate) UNH 3.12b,c, address range
133 should be configured with the highest cost path within the range,
134 not lowest.
135
paul940b01a2004-02-17 20:07:30 +00001362004-02-17 Paul Jakma <paul@dishone.st>
137
138 * ospf_zebra.c: (ospf_interface_delete) Do not delete the interface
139 params, nor the interface structure, if an interface delete
140 message is received from zebra.
141 * ospf_interface.c: (ospf_if_delete_hook) Delete the interface
142 params and interface, ie that which was previously removed in
143 (ospf_interface_delete) above.
144
hasso2db3d052004-02-11 21:52:13 +00001452004-02-11 Hasso Tepper <hasso@estpak.ee>
146 * ospf_interface.c, ospf_zebra.c: Don't attempt to read path->oi->ifp
147 if oi doesn't exist any more.
148
hassocb05eb22004-02-11 21:10:19 +00001492004-02-11 Vadim Suraev <vadim.suraev@terayon.com>
150 * ospf_packet.c (ospf_ls_upd): Router should flush received network
151 LSA if it was originated with older router-id ([zebra 14710] #6).
152
1532003-12-08 Mattias Amnefelt <mattiasa@kth.se>
paul239aecc2003-12-08 10:34:54 +0000154
155 * ospf_packet.c: (ospf_recv_packet) OpenBSD now leaves iph.ip_len
156 network byte order.
157
gdt8f40e892003-12-05 14:01:43 +00001582003-12-05 Greg Troxel <gdt@poblano.ir.bbn.com>
159
160 * ospfd.c (ospf_network_match_iface): Rewrite code for clarity
161 while trying not to change semantics. Add ifdefed-out code to
162 avoid matching ppp interfaces whose destination address does not
163 also match the prefix under consideration, to help out people with
164 problems due to as-yet-unfixed bugs with p2p interfaces coming and
165 going.
166
paul736d3442003-07-24 23:22:57 +00001672003-07-25 kamatchi soundaram <kamatchi@tdd.sj.nec.com>
168
169 * ospf_packet.c (ospf_ls_upd_send_queue_event): get next route
170 node in body of the loop to avoid chance that route node
171 is unlocked and deleted before the next iteration tries to
172 get next route node.
173
paul0a825c72003-05-24 13:48:16 +00001742003-05-24 Kenji Yabuuchi
175
176 * ospf_interface.c(ospf_if_lookup_recv_if): Use the most specific
177 match for interface lookup.
178
paul551a8972003-05-18 15:22:55 +00001792003-05-18 Hasso Tepper <hasso@estpak.ee>
paul445f1432003-05-16 19:00:31 +0000180
paul551a8972003-05-18 15:22:55 +0000181 * ospf_vty.c: Show NSSA LSA route info in "show ip ospf database"
182 output
paul445f1432003-05-16 19:00:31 +0000183
pauld7480322003-05-16 17:31:51 +00001842003-05-16 Hasso Tepper <hasso@estpak.ee>
185
186 * ospf_lsa.c: Fix handling of NSSA
187
paul551a8972003-05-18 15:22:55 +00001882003-04-23 Hasso Tepper <hasso@estpak.ee>
189
190 * ospf_vty.c: fix "router xxx" node commands in vtysh
191
paul445f1432003-05-16 19:00:31 +00001922003-04-19 Hasso Tepper <hasso@estpak.ee>
193
194 * {ospf_abr,ospfd}.c: area id's DECIMAL -> ADDRESS
195 * ospf_routemap.c: sync daemon's route-map commands to have same
196 syntax.
197
1982003-04-19 Sergey Vyshnevetskiy <serg@vostok.net>
199
200 * ospf_packet.c: Add missing param to zlog
201 * ospf_flood.c: remove unused vars
202
2032003-04-17 Denis Ovsienko <zebra@pilot.org.ua>
204
205 * ospf_interface.c: fix incorrect memset
206
paul28a13842003-05-16 20:30:37 +00002072003-04-10 Amir Guindehi <amir@datacore.ch>
paul445f1432003-05-16 19:00:31 +0000208
209 * ospf_lsa.[ch]: opaque LSA fix, use ospf_lookup.
210
2112003-04-03 David Watson <dwatson@eecs.umich.edu>
212
213 * ospf_lsa.c: byte order fix
214
paul07661cb2003-03-18 00:03:05 +00002152002-03-17 Amir Guindehi <amir@datacore.ch>
216
217 * ospf_apiserver.[ch]: Merge Ralph Keller's OSPFAPI support.
218 * ospf_api.[ch]: Merge Ralph Keller's OSPFAPI support.
219 * ospfclient: OSPFAPI demonstration client.
220
2212003-01-23 Masahiko Endo <endo@suri.co.jp>
222
223 * ospf_ism.c: NSM event schedule bug fix.
224
2252002-10-30 Greg Troxel <gdt@ir.bbn.com>
226
227 * ospf_packet.c (ospf_make_md5_digest): MD5 length fix.
228
paul718e3742002-12-13 20:15:29 +00002292002-10-23 endo@suri.co.jp (Masahiko Endo)
230
231 * ospf_opaque.c: Update Opaque LSA patch.
232
2332002-10-23 Ralph Keller <keller@tik.ee.ethz.ch>
234
235 * ospf_vty.c (show_ip_ospf_database): Fix CLI parse.
236
2372002-10-23 Juris Kalnins <juris@mt.lv>
238
239 * ospf_interface.c (ospf_if_stream_unset): When write queue
240 becomes empty stop write timer.
241
2422002-10-10 Greg Troxel <gdt@ir.bbn.com>
243
244 * ospf_packet.c (ospf_check_md5_digest): Change >= to > to make it
245 conform to RFC.
246
2472002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
248
249 * zebra-0.93 released.
250
2512002-06-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
252
253 * ospf_spf.c (ospf_nexthop_calculation): Add NULL set to oi and
254 check of l2. Reported by: Daniel Drown <dan-zebra@drown.org>
255 (ospf_lsa_has_link): LSA Length calculation fix. Reported by:
256 Paul Jakma <paulj@alphyra.ie>.
257
258 * ospfd.c (ospf_if_update): Fix nextnode reference bug. Reported
259 by: juris@mt.lv.
260
2612002-01-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
262
263 * ospfd.c: Merge [zebra 11445] Masahiko ENDO's Opaque-LSA support.
264
2652001-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
266
267 * ospf_interface.c (ospf_add_to_if): Use /32 address to register
268 OSPF interface information.
269 (ospf_delete_from_if): Likewise.
270
271 * ospf_zebra.c (ospf_interface_address_delete): Likewise.
272
2732001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
274
275 * ospf_zebra.c (ospf_redistribute_unset): When redistribute type
276 is OSPF, do not unset redistribute flag.
277
2782001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
279
280 * zebra-0.92a released.
281
2822001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
283
284 * zebra-0.92 released.
285
2862001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
287
288 * ospfd.c (ospf_config_write): auto-cost reference-bandwidth
289 configuration display.
290
2912001-07-24 David Watson <dwatson@eecs.umich.edu>
292
293 * ospf_spf.c (ospf_spf_next): Modify ospf_vertex_add_parent to
294 check for an existing link before connecting the parent and child.
295 ospf_nexthop_calculation is also modified to check for duplicate
296 entries when copying from the parent. Finally, ospf_spf_next
297 removes duplicates when it merges two equal cost candidates.
298
2992001-07-23 itojun@iijlab.net
300
301 * ospfd.c (show_ip_ospf_neighbor): Check ospf_top before use it
302 [zebra 8549].
303
3042001-07-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
305
306 * ospf_packet.c (ospf_write): Remove defined(__OpenBSD__) to make
307 it work on OpenBSD.
308
3092001-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
310
311 * ospf_zebra.c (config_write_ospf_default_metric): Display
312 default-metric configuration.
313
3142001-06-18 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
315
316 * ospf_ia.h (OSPF_EXAMINE_SUMMARIES_ALL): Remove old macros.
317
3182001-05-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
319
320 * ospf_snmp.c (ospfIfEntry): Fix interface lookup bug to avoid
321 crush.
322 (ospfIfMetricEntry): Likewise.
323
3242001-03-18 Kunihiro Ishiguro <kunihiro@zebra.org>
325
326 * ospf_packet.c (ospf_read): Fix typo. Reported by: "Jen B
327 Lin'Kova" <jen@stack.net>.
328
3292001-03-15 Gleb Natapov <gleb@nbase.co.il>
330
331 * ospf_interface.c (ip_ospf_network): Set interface parameter.
332 (interface_config_write): Add check for OSPF_IFTYPE_LOOPBACK.
333
334 * ospf_zebra.c (ospf_interface_add): Set interface parameter.
335
3362001-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
337
338 * ospf_packet.c (ospf_recv_packet): Solaris also need to add
339 (iph.ip_hl << 2) to iph.ip_len.
340
3412001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
342
343 * ospfd.h (OSPF_LS_REFRESH_TIME): Fix OSPF_LS_REFRESH_TIME value.
344 Suggested by: David Watson <dwatson@eecs.umich.edu>.
345
346 * ospf_zebra.c (zebra_init): Remove zebra node.
347
348 * ospfd.c (ospf_area_range_set): Function name is changed from
349 ospf_ara_range_cmd.
350 (ospf_area_range_unset): New function which separated from DEFUN.
351 New commands are added:
352 "no area A.B.C.D range A.B.C.D/M advertise"
353 "no area <0-4294967295> range A.B.C.D/M advertise"
354 "no area A.B.C.D range A.B.C.D/M not-advertise"
355 "no area <0-4294967295> range A.B.C.D/M not-advertise"
356
357 * ospf_lsa.c (ospf_lsa_more_recent): Fix previous change.
358
3592001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
360
361 * ospf_network.c (ospf_if_add_allspfrouters): Use
362 setsockopt_multicast_ipv4.
363 (ospf_if_drop_allspfrouters): Likewise.
364
365 * ospf_lsa.c (ospf_router_lsa_install): Add rt_recalc flag.
366 (ospf_network_lsa_install): Likewise.
367 (ospf_summary_lsa_install): Likewise.
368 (ospf_summary_asbr_lsa_install): Likewise.
369 (ospf_external_lsa_install): Likewise.
370 (ospf_lsa_install): Call ospf_lsa_different to check this LSA is
371 new one or not.
372
3732001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
374
375 * ospf_zebra.c (ospf_interface_delete): Do not free interface
376 structure when ospfd receive interface delete message to support
377 pseudo interface.
378
3792001-02-01 Dick Glasspool <dick@ipinfusion.com>
380
381 * ospfd.c (area_range_notadvertise): Change area range "suppress"
382 command to "not-advertise".
383
384 * ospfd.h (OSPF_LS_REFRESH_TIME): Change OSPF_LS_REFRESH_TIME from
385 1800 to 60.
386
387 * ospf_abr.c (ospf_abr_update_aggregate): When update_aggregate is
388 updating the area-range, the lowest cost is now saved.
389
390 * ospf_lsa.c (ospf_lsa_more_recent): Routing to compare sequence
391 numbers rather than creating overflow during calculation.
392
3932001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
394
395 * zebra-0.91 is released.
396
3972001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
398
399 * ospf_packet.c (ospf_db_desc_proc): Do not continue process when
400 NSM_SeqNumberMismatch is scheduled.
401 (ospf_ls_req): Free ls_upd when return from this function.
402 (ospf_ls_upd_timer): When update list is empty do not call
403 ospf_ls_upd_send(). Suggested by: endo@suri.co.jp (Masahiko
404 Endo).
405
4062001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
407
408 * ospf_lsa.c (ospf_maxage_flood): Flood LSA when it reaches
409 MaxAge. RFC2328 Section 14.
410 (ospf_maxage_lsa_remover): Call above function during removing
411 MaxAge LSA.
412
4132001-01-26 Dick Glasspool <dick@ipinfusion.com>
414
415 * ospf_flood.c (ospf_flood_through_as): Function is updated for
416 NSSA Translations now done at ospf_abr.c with no change in P-bit.
417
418 * ospf_lsa.c (ospf_get_nssa_ip): Get 1st IP connection for Forward
419 Addr.
420 (ospf_install_flood_nssa): Leave Type-7 LSA at Lock Count = 2.
421
422 * ospf_ase.c (ospf_ase_calculate_route): Add debug codes.
423
424 * ospf_abr.c (ospf_abr_translate_nssa): Recalculate LSA checksum.
425
426 * ospf_packet.h (OSPF_SEND_PACKET_LOOP): Added for test packet.
427
428 * ospf_dump.c (ospf_lsa_type_msg): Add OSPF_GROUP_MEMBER_LSA and
429 OSPF_AS_NSSA_LSA.
430
431 * ospfd.c (data_injection): Function to inject LSA. This is
432 debugging command.
433
4342001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
435
436 * ospf_route.c (ospf_route_match_same): Remove function.
437 (ospf_route_match_same_new): Renamed to ospf_route_match_same.
438
439 * ospf_zebra.c (ospf_interface_address_delete): Add check for
440 oi->address. Suggested by Matthew Grant
441 <grantma@anathoth.gen.nz>.
442 (ospf_zebra_add): Remove function.
443 (ospf_zebra_add_multipath): Rename to ospf_zebra_add.
444
445 * ospf_interface.c: Remove HAVE_IF_PSEUDO part.
446
447 * ospf_zebra.c: Likewise.
448
4492001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
450
451 * ospf_ase.c: Remove OLD_RIB part.
452
453 * ospf_route.c: Likewise.
454
455 * zebra-0.90 is released.
456
457 * ospf_packet.c (ospf_recv_packet): Use ip_len adjestment code to
458 NetBSD.
459
4602001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
461
462 * ospf_route.c (ospf_route_delete): Use
463 ospf_zebra_delete_multipath.
464
4652001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
466
467 * ospf_interface.c (ospf_if_cleanup): Function name is renamed
468 from ospf_if_free(). Rewrite whole procudure to support primary
469 address deletion.
470
471 * ospf_zebra.c (ospf_interface_address_delete): Add primary
472 address deletion process.
473
4742001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
475
476 * ospf_packet.c (ospf_recv_packet): OpenBSD has same ip_len
477 treatment like FreeBSD.
478
4792001-01-09 endo@suri.co.jp (Masahiko Endo)
480
481 * ospf_packet.c (ospf_recv_packet): FreeBSD kernel network code
482 strips IP header size from receiving IP Packet. So we adjust
483 ip_len to whole IP packet size by adding IP header size.
484
4852001-01-08 endo@suri.co.jp (Masahiko Endo)
486
487 * ospf_network.c (ospf_serv_sock): When socket() is failed return
488 immediately.
489 (ospf_serv_sock): Close socket when it is not used.
490
491 * ospf_packet.c (ospf_write): Set sin_len when HAVE_SIN_LEN is
492 defined.
493 (ospf_write): When bind is fined, close sock.
494
4952001-01-07 Gleb Natapov <gleb@nbase.co.il>
496
497 * ospf_zebra.c (ospf_interface_state_up): Fixes coredump that
498 appears when you try to configure bandwidth on the ppp interface
499 that is not yet configured in ospfd.
500
5012001-01-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
502
503 * ospf_route.c (show_ip_ospf_route_external): "show ip ospf route"
504 will print nexthops for AS-external routes.
505
506 * ospf_ase.c (ospf_ase_route_match_same): New function to compare
507 ASE route under multipath environment.
508 (ospf_ase_compare_tables): Likewise.
509
5102001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
511
512 * ospfd.h (OSPF_VTYSH_PATH): Change "/tmp/ospfd" to "/tmp/.ospfd".
513
5142000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
515
516 * ospf_route.c (ospf_route_install): Install multipath information
517 to zebra daemon.
518
519 * ospf_zebra.c (ospf_zebra_add_multipath): Function for passing
520 multipath information to zebra daemon.
521
5222000-12-25 Dick Glasspool <dick@ipinfusion.com>
523
524 * ospf_packet.c (ospf_write): Call ospf_packet_delete when sendto
525 fail.
526 (DISCARD_LSA): Add argument N for logging point of DISCARD_LSA is
527 called.
528
529 * ospf_lsa.c (ospf_external_lsa_refresh): NSSA install_flood will
530 leave Type-7 LSA at Lock Count = 2.
531
532 * ospf_flood.c (ospf_flood_through): Flood_though_as updated for
533 NSSA no P-bit off during Area flooding, but P-bit is turned off
534 for mulitple NSSA AS flooding.
535
536 * ospf_ase.c (ospf_ase_calculate_timer): Added calculations for
537 Type-7 LSDB.
538
539 * ospf_abr.c (ospf_abr_translate_nssa): Removed one unlock call.
540 (ospf_abr_announce_nssa_defaults): Corrected Debug from EVENT to
541 NSSA.
542
5432000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
544
545 * ospf_zebra.c (ospf_zebra_read_ipv4): Checking the age of the
546 found LSA and if the LSA is MAXAGE we should call refresh instead
547 of originate.
548
5492000-12-18 Dick Glasspool <dick@ipinfusion.com>
550
551 * ospf_abr.c: Removed redundant "...flood" in
552 announce_network_to_area(). Repaired nssa Unlock by using
553 discard.
554
555 * ospf_packet.c: Removed old NSSA translate during mk_ls_update.
556
557 * ospfd.c: Free up all data bases including NSSA.
558
559 * ospf_lsa.c: Now allow removal of XLATE LSA's Check in
560 discard_callback. Added routine to get ip addr from within the
561 ifp.
562
563 * ospf_flood.c: Now set Forward Address for outgoing Type-7.
564
565 * ospf_lsa.h: Added prototype for the below. struct in_addr
566 ospf_get_ip_from_ifp (struct interface *ifp).
567
5682000-12-14 Gleb Natapov <gleb@nbase.co.il>
569
570 * ospf_packet.c (ospf_recv_packet): New OSPF pakcet read method.
571 Now maximum packet length may be 65535 bytes (maximum IP packet
572 length).
573
574 * ospf_interface.c (ospf_if_stream_set): Don't make input buffer.
575
576 * ospfd.c (config_write_network_area): Remove unnecessary area
577 lookup code.
578
5792000-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
580
581 * ospf_packet.c (ospf_read): Accept packet bigger than MTU value.
582
5832000-12-13 Gleb Natapov <gleb@nbase.co.il>
584
585 * ospfd.c (config_write_network_area): Fix bug in
586 config_write_network_area function.
587
5882000-12-12 Gleb Natapov <gleb@nbase.co.il>
589
590 * ospf_abr.c (ospf_abr_announce_network_to_area): Make Summary
591 LSA's origination and refreshment as same as other type of LSA.
592
593 * ospf_lsa.c (ospf_summary_lsa_refresh): Return struct ospf_lsa *.
594
595 * ospf_lsa.c (ospf_summary_asbr_lsa_refresh): Likewise.
596
5972000-12-08 Dick Glasspool <dick@ipinfusion.com>
598
599 The bulk of NSSA changes are contained herein; This version will
600 require manual setting of "always" for NSSA Translator, and will
601 not perform aggregation yet.
602
603 * ospf_dump.c: "debug ospf nssa" is added.
604
605 * ospf_dump.h: Likewise.
606
607 * ospf_packet.c (ospf_hello): Display router ID on Bad NSSA Hello.
608
609 * ospfd.c: Discard_LSA to stay away from LOCAL_XLT Process NSSA
610 'never, candidate, always'. Change "suppress" to "not-advertise".
611
612 * ospfd.h: Add TranslatorRole to struct ospf_area. Add anyNSSA to
613 struct ospf.
614
615 * ospf_ase.c (ospf_ase_calculate_route): External to stay away
616 from LOCAL_XLT
617
618 * ospf_nsm.c (ospf_db_summary_add): External to stay away from
619 LOCAL_XLT
620
621 * ospf_abr.c: Major logic added for abr_nssa_task(). If ABR, and
622 NSSA translator, then do it. Approve the global list, and flush
623 any unapproved.
624
625 * ospf_lsa.h: New LSA flag OSPF_LSA_LOCAL_XLT to indicate that the
626 Type-5 resulted from a Local Type-7 translation; not used for
627 flooding, but used for flushing.
628
629 * ospf_flood.c: New NSSA flooding.
630
6312000-12-08 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
632
633 * ospfd.c (ospf_find_vl_data): New function for looking up virtual
634 link data.
635 (ospf_vl_set_security): Virtual link configuration with
636 authentication.
637 (ospf_vl_set_timers): Set timers for virtual link.
638
639 * New commands are added.
640 "area A.B.C.D virtual-link A.B.C.D"
641 "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>"
642 "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"
643 "area A.B.C.D virtual-link A.B.C.D authentication-key AUTH_KEY"
644 "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"
645 "area A.B.C.D virtual-link A.B.C.D message-digest-key <1-255> md5 KEY"
646
647 * ospf_packet.c (ospf_check_md5_digest): Add neighbor's
648 cryptographic sequence number treatment.
649 (ospf_check_auth): OSPF input buffer is added to argument.
650 (ospf_read): Save neighbor's cryptographic sequence number.
651
652 * ospf_nsm.c (nsm_change_status): Clear cryptographic sequence
653 number when neighbor status is changed to NSM down.
654
655 * ospf_neighbor.c (ospf_nbr_new): Set zero to crypt_seqnum.
656
657 * ospf_neighbor.h (struct ospf_neighbor): Add cryptographic
658 sequence number to neighbor structure.
659
6602000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
661
662 * ospf_snmp.c (ospfIfLookup): OSPF MIB updates.
663 (ospfExtLsdbEntry): Add OspfExtLsdbTable treatment.
664
6652000-11-28 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
666
667 * ospfd.c (ospf_interface_down): Clear a ls_upd_queue queue of the
668 interface.
669 (ospf_ls_upd_queue_empty): New function to empty ls update queue
670 of the OSPF interface.
671 (no_router_ospf): 'no router ospf' unregister redistribution
672 requests from zebra.
673
6742000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
675
676 * ospf_ism.c (ism_change_status): Increment status change number.
677
678 * ospf_interface.h (struct ospf_interface): Add new member for
679 status change statistics.
680
681 * Makefile.am: Update dependencies.
682
683 * ospf_zebra.c (ospf_interface_add): OSPF SNMP interface update.
684 (ospf_interface_delete): OSPF SNMP interface delete.
685
686 * ospf_snmp.h: New file is added.
687
6882000-11-23 Dick Glasspool <dick@ipinfusion.com>
689
690 * ospfd.h: Add new ospf_area structure member for
691 NSSATranslatorRole and NSSATranslator state.
692
693 * ospfd.c: Provided for eventual commands to specify NSSA
694 elections for "translator- ALWAYS/NEVER/CANDIDATE". Provided for
695 decimal integer version of area-suppress.
696
697 * ospf_flood.c: Flood Type-7's only into NSSA (not AS).
698
699 * ospf_lsa.c: Undo some previous changes for NSSA. If NSSA
700 translator, advertise Nt bit.
701
702 * ospf_route.c: 1st version of "sh ip os border-routers".
703
7042000-11-23 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
705
706 * ospfd.c (area_vlink): Virtual link can not configured in stub
707 area.
708
7092000-11-23 Gleb Natapov <gleb@nbase.co.il>
710
711 * ospf_packet.c (ospf_db_desc): In states Loading and Full the
712 slave must resend its last Database Description packet in response
713 to duplicate Database Description packets received from the
714 master. For this reason the slave must wait RouterDeadInterval
715 seconds before freeing the last Database Description packet.
716 Reception of a Database Description packet from the master after
717 this interval will generate a SeqNumberMismatch neighbor
718 event. RFC2328 Section 10.8
719 (ospf_make_db_desc): DD Master flag treatment.
720
721 * ospf_nsm.c (nsm_twoway_received): Move DD related procedure to
722 nsm_change_status().
723 (nsm_bad_ls_req): Likewise.
724 (nsm_adj_ok): Likewise.
725 (nsm_seq_number_mismatch): Likewise.
726 (nsm_oneway_received): Likewise.
727
728 * ospf_neighbor.h (struct ospf_neighbor): New structure member
729 last_send_ts for timestemp when last Database Description packet
730 was sent.
731
732 * ospf_nsm.c (ospf_db_desc_timer): Make it sure nbr->last_send is
733 there. Call ospf_db_desc_resend() in any case.
734
7352000-11-16 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
736
737 * ospf_lsa.c (lsa_link_broadcast_set): When there is no DR on
738 network (suppose you have only one router with interface priority
739 0). It's router LSA does not contain the link information about
740 this network.
741
742 * ospf_nsm.c (nsm_timer_set): When you change a priority of
743 interface from/to 0 ISM_NeighborChange event should be scheduled
744 in order to elect new DR/BDR on the network.
745
746 * ospf_interface.c (ip_ospf_priority): Likewise.
747
748 * ospf_flood.c (ospf_ls_retransmit_add): When we add some LSA into
749 retransmit list we need to check whether the present old LSA in
750 retransmit list is not more recent than the new
751 one.
752
7532000-11-09 Dick Glasspool <dick@ipinfusion.com>
754
755 * ospf_packet.c: Allows for NSSA Type-7 LSA's throughout the NSSA
756 area. Any that exit the NSSA area are translated to type-5 LSA's.
757 The instantiated image is restored after translation.
758 (ospf_ls_upd_send_list): Renamed to ospf_ls_upd_queu_send().
759 (ospf_ls_upd_send): Old function which enclosed by #ifdef 0 is
760 removed.
761 (ospf_ls_ack_send): Likewise.
762
763 * ospf_flood.c: NSSA-LSA's without P-bit will be restricted to
764 local area. Otherwise they are allowed out the area to be
765 translated by ospf_packet.c.
766
767 * ospf_lsa.c: Undo some previous changes for NSSA.
768
769 * ospf_lsdb.h: New access for type 7.
770
7712000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
772
773 * ospf_route.c (ospf_path_exist): New function to check nexthop
774 and interface are in current OSPF path or not.
775 (ospf_route_copy_nexthops_from_vertex): Add nexthop to OSPF path
776 when it is not there. Reported by Michael Rozhavsky
777 <mrozhavsky@opticalaccess.com>
778
7792000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
780
781 * ospf_dump.c (config_write_debug): Add seventh string "detail" is
782 added for flag is OSPF_DEBUG_SEND | OSPF_DEBUG_RECV |
783 OSPF_DEBUG_DETAIL.
784
7852000-11-06 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
786
787 * ospf_lsa.c (router_lsa_flags): ASBR can't exit in stub area.
788
7892000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
790
791 * ospf_lsa.c (ospf_router_lsa_originate): Reduce unconditional
792 logging.
793
7942000-11-06 Dick Glasspool <dick@ipinfusion.com>
795
796 * ospfd.h: Add ait_ntoa function prototype.
797
798 * ospfd.c (ait_ntoa): New function for displaying area ID and
799 Stub/NSSA status.
800 (show_ip_ospf_interface_sub): Use ait_ntoa.
801 (show_ip_ospf_nbr_static_detail_sub): Likewise.
802 (show_ip_ospf_neighbor_detail_sub): Likewise.
803
804 * ospf_route.c (ospf_intra_route_add): Set external routing type
805 to ospf route.
806 (ospf_intra_add_router): Likewise.
807 (ospf_intra_add_transit): Likewise.
808 (ospf_intra_add_stub): Likewise.
809 (ospf_add_discard_route): Likewise.
810 (show_ip_ospf_route_network): Use ait_ntoa.
811 (show_ip_ospf_route_network): Likewise.
812 (show_ip_ospf_route_router): Likewise.
813
814 * ospf_lsa.c (show_lsa_detail): Use ait_ntoa.
815 (show_lsa_detail_adv_router): Likewise.
816 (show_ip_ospf_database_summary): Likewise.
817
818 * ospf_route.h (struct route_standard): Add new member
819 external_routing.
820
821 * ospf_ia.c (process_summary_lsa): Set external routing tyep to ospf
822 route.
823 (ospf_update_network_route): Likewise.
824 (ospf_update_router_route): Likewise.
825
8262000-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
827
828 * ospf_flood.c (ospf_process_self_originated_lsa): Enclose
829 OSPF_AS_NSSA_LSA treatment with #ifdef HAVE_NSSA.
830
8312000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
832
833 * Unconditional logging is enclosed with if (IS_DEBUG_OSPF_EVENT).
834 Please specify "debug ospf event" for enable logging.
835
836 * ospf_ism.c: Do not extern debug flag varible. It is done by
837 ospf_debug.h
838 * ospf_asbr.c: Likewise.
839 * ospf_lsa.c: Likewise.
840 * ospf_nsm.c: Likewise.
841 * ospf_zebra.c: Likewise.
842
843 * ospf_dump.c (debug_ospf_event): New command "debug ospf event"
844 is added.
845
846 * ospfd.c (router_ospf): Change logging from vty_out() to
847 zlog_info().
848 (ospf_area_stub_cmd): Likewise.
849
850 * ospf_dump.h: Extern term_debug flags.
851 (OSPF_DEBUG_EVENT): Add new flag.
852 (IS_DEBUG_OSPF_EVENT): Add new macro.
853
8542000-11-03 Dick Glasspool <dick@ipinfusion.com>
855
856 * ospf_flood.c (ospf_process_self_originated_lsa):
857 OSPF_AS_NSSA_LSA is treated as same as OSPF_AS_EXTERNAL_LSA.
858 (ospf_flood): Type-5's have no change. Type-7's can be received,
859 and will Flood the AS as Type-5's They will also flood the local
860 NSSA Area as Type-7's. The LSDB will be updated as Type-5's, and
861 during re-fresh will be converted back to Type-7's (if within an
862 NSSA).
863 (ospf_flood_through): Incoming Type-7's were allowed here if our
864 neighbor was an NSSA. So Flood our area with the Type-7 and also
865 if we are an ABR, flood thru AS as Type-5.
866
867 * ospf_lsa.c (ospf_external_lsa_refresh): Flood NSSA both NSSA
868 area and other area.
869
870 * ospf_packet.c (ospf_db_desc_proc): When AS External LSA is
871 exists in DD packet, make it sure that this area is not stub.
872 (ospf_ls_upd_list_lsa): When LSA type is NSSA then set lsa's area
873 to NULL.
874 (ospf_ls_upd): If the LSA is AS External LSA and the area is stub
875 then discard the lsa. If the LSA is NSSA LSA and the area is not
876 NSSA then discard the lsa.
877
8782000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
879
880 * ospfd.c (ospf_interface_run): Fix bug of Hello packet's option
881 is not properly set when interface comes up.
882
8832000-11-02 Kunihiro Ishiguro <kunihiro@zebra.org>
884
885 * ospfd.h (OSPF_OPTION_O): Add new hello header option.
886
8872000-11-01 Dick Glasspool <dick@ipinfusion.com>
888
889 * ospf_lsa.h: Define OSPF_MAX_LSA to 8 when HAVE_NSSA is enabled.
890 (OSPF_GROUP_MEMBER_LSA): Define OSPF_GROUP_MEMBER_LSA.
891
892 * ospf_lsa.c (show_database_desc): Add "Group Membership LSA"
893 string.
894
8952000-10-31 Dick Glasspool <dick@ipinfusion.com>
896
897 * ospf_lsa.h (OSPF_AS_NSSA_LSA): Define OSPF_AS_NSSA_LSA.
898
899 * ospf_lsa.c (show_ip_ospf_database): NSSA database display
900 function is added. ALIASES which have "show ip ospf database
901 nssa-external" is added.
902 (show_ip_ospf_border_routers): New command "show ip ospf
903 border-routers" is added.
904
9052000-10-30 Dick Glasspool <dick@ipinfusion.com>
906
907 * ospfd.c (router_ospf): NSSA Enabled message is added for
908 testing.
909 (ospf_area_type_set): Are type set for NSSA area.
910 (ospf_area_stub_cmd): Special translation of no_summary into NSSA
911 and summary information. If NSSA is enabled pass the information
912 to ospf_area_type_set().
913 (area_nssa): New commands are added:
914 "area A.B.C.D nssa"
915 "area <0-4294967295> nssa"
916 "area A.B.C.D nssa no-summary"
917 "area <0-4294967295> nssa no-summary"
918 (ospf_no_area_stub_cmd): Special translation of no_summary into
919 NSSA and summary information. If external_routing is
920 OSPF_AREA_NSSA unset area with ospf_area_type_set (area,
921 OSPF_AREA_DEFAULT).
922 (show_ip_ospf_area): Display NSSA status.
923 (config_write_ospf_area): Show NSSA configuration.
924
925 * ospf_packet.c (ospf_hello): For NSSA support, ensure that NP is
926 on and E is off.
927
9282000-10-26 Gleb Natapov <gleb@nbase.co.il>
929
930 * ospf_lsa.c (ospf_network_lsa_body_set): The network-LSA lists
931 those routers that are fully adjacent to the Designated Router;
932 each fully adjacent router is identified by its OSPF Router ID.
933 The Designated Router includes itself in this list. RFC2328,
934 Section 12.4.2.
935
9362000-10-23 Jochen Friedrich <jochen@scram.de>
937
938 * ospf_snmp.c: ospf_oid and ospfd_oid are used in smux_open after
939 it is registered. So those variables must be static.
940
9412000-10-18 K N Sridhar <sridhar@euler.ece.iisc.ernet.in>
942
943 * ospfd.c: Add area_default_cost_decimal_cmd and
944 no_area_default_cost_decimal_cmd alias.
945
9462000-10-05 Gleb Natapov <gleb@nbase.co.il>
947
948 * ospfd.c (ospf_network_new): Fix setting area format.
949 (no_router_ospf): Check area existance when calling
950 ospf_interface_down().
951
952 * ospf_flood.c (ospf_external_info_check): Fix bug of refreshing
953 default route.
954
9552000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
956
957 * zebra-0.89 is released.
958
9592000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
960
961 * ospf_snmp.c (ospfHostEntry): OSPF Host MIB is implemented.
962
963 * ospfd.c (ospf_nbr_static_cmp): OSPF neighbor is sorted by it's
964 address.
965
9662000-09-28 Michael Rozhavsky <mike@nbase.co.il>
967
968 * ospf_interface.c (ospf_if_free): Fix deleting self neighbor twice.
969
9702000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
971
972 * ospf_packet.c (ospf_read): Solaris on x86 has ip_len with host
973 byte order.
974
9752000-09-25 Toshiaki Takada <takada@zebra.org>
976
977 * ospfd.c (ospf_compatible_rfc1583), (no_ospf_compatible_rfc1583):
978 Add CISCO compatible command.
979
9802000-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
981
982 * ospf_abr.c (ospf_area_range_lookup): New function is added for
983 area range lookup in OSPF-MIB.
984 (ospf_area_range_lookup_next): Likewise.
985
9862000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
987
988 * ospfd.c (no_router_ospf): Delete virtual link before deleting
989 area structure.
990
991 * ospf_lsa.c (ospf_external_lsa_refresh_type): Check
992 EXTERNAL_INFO(type).
993
994 * ospfd.c (no_router_ospf): Call ospf_vl_delete() instead of
995 ospf_vl_data_free().
996
997 * ospf_interface.c (ospf_vl_shutdown): Execute ISM_InterfaceDown
998 when ospf_vl_shutdown is called.
999 (ospf_vl_delete): Call ospf_vl_shutdown() to delete virtual link
1000 interface's thread.
1001
10022000-09-21 Gleb Natapov <gleb@nbase.co.il>
1003
1004 * ospf_lsa.c: New implementation of OSPF refresh.
1005
10062000-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1007
1008 * ospf_snmp.c (ospfLsdbLookup): Add LSDB MIB implementation.
1009
10102000-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1011
1012 * ospf_snmp.c (ospfStubAreaEntry): Add OSPF stub area MIB.
1013
10142000-09-18 Gleb Natapov <gleb@nbase.co.il>
1015
1016 * ospf_route.h (route_standard): Change member from `struct area'
1017 to area_id.
1018
1019 * ospf_abr.c (ospf_abr_announce_network), (ospf_abr_should_announce),
1020 (ospf_abr_process_network_rt), (ospf_abr_announce_rtr),
1021 (ospf_abr_process_router_rt):
1022 * ospf_ase.c (ospf_find_asbr_route),
1023 (ospf_find_asbr_router_through_area),
1024 * ospf_ia.c (ospf_find_abr_route), (ospf_ia_router_route),
1025 (process_summary_lsa), (ospf_update_network_route),
1026 (ospf_update_router_route):
1027 * ospf_route.c (ospf_intra_route_add), (ospf_intra_add_router),
1028 (ospf_intra_add_transit), (ospf_intra_add_stub),
1029 (ospf_route_table_dump), (show_ip_ospf_route_network),
1030 (show_ip_ospf_route_router), (ospf_asbr_route_cmp),
1031 (ospf_prune_unreachable_routers):
1032 * ospf_spf.c (ospf_rtrs_print):
1033 * ospfd.c (ospf_rtrs_free): Fix the struct change above.
1034
10352000-09-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1036
1037 * ospf_network.c (ospf_serv_sock_init): Enclose SO_BINDTODEVICE
1038 with ifdef.
1039
10402000-09-13 Gleb Natapov <gleb@nbase.co.il>
1041
1042 * ospf_ism.c (ospf_elect_dr), (ospf_elect_bdr): Fix DR election.
1043
1044 * ospf_network.c (ospf_serv_sock_init): Add socket option
1045 SO_BINDTODEVICE on read socket.
1046
1047 * ospf_packet.c (ospf_hello): Ignore Hello packet if E-bit does
1048 not match.
1049
1050 * ospfd.c (ospf_area_check_free), (ospf_area_get),
1051 (ospf_area_add_if): New function added.
1052
10532000-09-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1054
1055 * ospf_route.c (ospf_intra_add_router): Update ABR and ASBR router
1056 count.
1057
1058 * ospf_spf.c (ospf_spf_init): Rest ABR and ASBR router count
1059 starting SPF calculation.
1060
1061 * ospfd.h (struct ospf_area): Add ABR and ASBR router count.
1062
10632000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1064
1065 * ospfd.c (ospf_area_id_cmp): New area structure is sorted by area
1066 ID.
1067
1068 * ospf_lsa.c (ospf_router_lsa_originate): For OSPF MIB update
1069 lsa_originate_count.
1070 (ospf_network_lsa_originate): Likewise.
1071 (ospf_summary_lsa_originate): Likewise.
1072 (ospf_summary_asbr_lsa_originate): Likewise.
1073 (ospf_external_lsa_originate): Likewise.
1074
10752000-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1076
1077 * ospf_snmp.c (ospf_variables): ospfRouterID's type RouterID
1078 syntax is IpAddress.
1079 (ospf_admin_stat): New function for OSPF administrative status
1080 check.
1081
10822000-09-10 Jochen Friedrich <jochen@scram.de>
1083
1084 * ospf_snmp.c: Implement OSPF MIB skeleton.
1085
10862000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1087
1088 * ospf_snmp.c: New file is added.
1089
10902000-09-07 David Lipovkov <davidl@nbase.co.il>
1091
1092 * ospf_zebra.c (ospf_interface_delete): Add pseudo interface
1093 treatment.
1094
1095 * ospf_interface.c (interface_config_write): Likewise.
1096
10972000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1098
1099 * zebra-0.88 is released.
1100
11012000-08-17 Michael Rozhavsky <mike@nbase.co.il>
1102
1103 * ospfd.c (ospf_area_free): Remove virtual link configuration only
1104 when Area is removed.
1105
11062000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1107
1108 * ospfd.c (network_area): Revert check for EXTERNAL_INFO
1109 (ZEBRA_ROUTE_CONNECT).
1110 (no_network_area): Likewise.
1111
11122000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1113
1114 * ospfd.h (struct ospf): Add distance_table and
1115 distance_{all,intra,inter,external}.
1116
1117 * ospf_zebra.c: Add OSPF distance related functions.
1118
11192000-08-15 Gleb Natapov <gleb@nbase.co.il>
1120
1121 * ospf_asbr.c (ospf_external_info_find_lsa): New function added.
1122
1123 * ospf_lsa.c (ospf_default_external_info),
1124 (ospf_default_originate_timer), (ospf_external_lsa_refresh_default):
1125 New function added.
1126
1127 * ospf_zebra.c
1128 (ospf_default_information_originate_metric_type_routemap),
1129 (ospf_default_information_originate_always_metric_type_routemap):
1130 Change name and add route-map function.
1131 (ospf_default_information_originate_metric_routemap),
1132 (ospf_default_information_originate_routemap),
1133 (ospf_default_information_originate_type_metric_routemap):
1134 New DEFUN added.
1135
11362000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1137
1138 * ospf_zebra.c (zebra_interface_if_set_value): Change ifindex
1139 restore size from two octet to four.
1140
11412000-08-14 Michael Rozhavsky <mike@nbase.co.il>
1142
1143 * ospf_ase.c (ospf_ase_incremental_update): Implement incremental
1144 AS-external-LSA in 16.6 of RFC2328.
1145
11462000-08-14 Matthew Grant <grantma@anathoth.gen.nz>
1147
1148 * ospf_interface.c (ospf_if_get_output_cost): Change cost
1149 calculation algorithm.
1150
1151 * ospf_packet (ospf_ls_upd): Fix problem of LSA retransmitting.
1152
11532000-08-11 Michael Rozhavsky <mike@nbase.co.il>
1154
1155 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix maxage remover for
1156 AS-external-LSAs.
1157
11582000-08-10 Toshiaki Takada <takada@zebra.org>
1159
1160 * ospfd.c (auto_cost_reference_bandwidth): New DEFUN added.
1161 `auto-cost reference-bandwidth' OSPF router command added.
1162
11632000-08-08 Gleb Natapov <gleb@nbase.co.il>
1164
1165 * ospf_routemap.c (ospf_route_map_update): New function added.
1166 Add route-map event hook.
1167
11682000-08-08 Toshiaki Takada <takada@zebra.org>
1169
1170 * ospf_zebra.c (ospf_distribute_check_connected): If redistribute
1171 prefix is connected route on OSPF enabled interface, suppress to
1172 announce it.
1173
11742000-08-08 Matthew Grant <grantma@anathoth.gen.nz>
1175
1176 * ospf_interface.c (ospf_if_get_output_cost):
1177 New function added. Handle bandwidth parameter for cost
1178 calculation.
1179
11802000-08-08 Michael Rozhavsky <mike@nbase.co.il>
1181
1182 * ospf_interface.c (interface_config_write): Show interface
1183 configuration regardless interface is down.
1184
1185 * ospf_ase.c (ospf_ase_caocluate_route): Whole rewritten external
1186 route calculate function.
1187
11882000-08-08 Gleb Natapov <gleb@nbase.co.il>
1189
1190 * ospf_routemap.c: New file added.
1191
1192 * ospf_asbr.c (ospf_reset_route_map_set_values),
1193 (ospf_route_map_set_compare): New function added.
1194
1195 * ospf_lsa.c (ospf_external_lsa_body_set): Set routemap metric
1196 with AS-external-LSA.
1197
11982000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1199
1200 * ospf_ase.c (ospf_ase_calculate_route_add): Pass new->cost to
1201 ospf_zebra_add as metric.
1202 (ospf_ase_calculate_route_add): Likewise.
1203
1204 * ospf_route.c (ospf_route_install): Pass or->cost to
1205 ospf_zebra_add as metric.
1206
1207 * ospf_zebra.c (ospf_zebra_add): Add metric arguemnt.
1208 (ospf_zebra_delete): Likewise.
1209
12102000-08-03 Matthew Grant <grantma@anathoth.gen.nz>
1211
1212 * ospf_flood.c (ospf_flood_delayed_lsa_ack): New function added.
1213 Dispatch delayed-ACK with flooding AS-external-LSA across virtual
1214 link.
1215
12162000-07-31 Matthew Grant <grantma@anathoth.gen.nz>
1217
1218 * ospfd.c (show_ip_ospf_area): Fix lack of VTY_NEWLINE when
1219 `show ip ospf'.
1220
1221 * ospf_interface.c (ospf_if_free): Fix bug of crash with
1222 Point-to-Point interface.
1223
12242000-07-27 Michael Rozhavsky <mike@nbase.co.il>
1225
1226 * ospf_flood.c (ospf_process_self_originated_lsa):
1227 Make sure to clear LSA->param (redistributed external information)
1228 before refreshment.
1229
12302000-07-27 Gleb Natapov <gleb@nbase.co.il>
1231
1232 * ospfd.c (refresh_group_limit), (refresh_per_slice),
1233 (refresh_age_diff): New defun added. Refresher related parameter
1234 can be configurable.
1235
12362000-07-27 Akihiro Mizutani <mizutani@dml.com>
1237
1238 * ospf_interface.c (interface_config_write): Print `description'
1239 config directive to work.
1240
12412000-07-24 Akihiro Mizutani <mizutani@dml.com>
1242
1243 * ospf_interface.c (ospf_if_init): Use install_default for
1244 INTERFACE_NODE.
1245
12462000-07-24 Gleb Natapov <gleb@nbase.co.il>
1247
1248 * ospf_packet.c (ospf_ls_upd_send_list), (ospf_ls_upd_send_event),
1249 (ospf_ls_ack_send_list), (ospf_ls_ack_send_event): New function added.
1250 This make sending always as many LS update/Ack combined in one ospf
1251 packet.
1252
12532000-07-24 Gleb Natapov <gleb@nbase.co.il>
1254
1255 * ospf_packet.c (ospf_ls_upd_list_lsa): Set NULL to lsa->area if
1256 LSA is AS-external-LSA.
1257
1258 * ospf_nsm.c (nsm_reset_nbr): Do not cancel Inactivity timer.
1259
12602000-07-21 Toshiaki Takada <takada@zebra.org>
1261
1262 * ospf_zebra.c (ospf_default_originate_timer): Set timer for
1263 `default-information originate'. Fix some default originate
1264 related functions.
1265
12662000-07-12 Toshiaki Takada <takada@zebra.org>
1267
1268 * ospf_lsa.c (stream_put_ospf_metric): New function added.
1269
12702000-07-12 Toshiaki Takada <takada@zebra.org>
1271
1272 * ospf_lsa.c (show_ip_ospf_database_router),
1273 (show_ip_ospf_database_network), (show_ip_ospf_database_summary),
1274 (show_ip_ospf_database_summary_asbr), (show_ip_ospf_database_externel),
1275 (show_router_lsa), (show_any_lsa), (show_router_lsa_self),
1276 (show_any_lsa_self): Functions removed.
1277
1278 (show_lsa_prefix_set), (show_lsa_detail_proc), (show_lsa_detail),
1279 (show_lsa_detail_adv_router_proc), (show_lsa_detail_adv_router):
1280 New functions added. Replace above functions.
1281
1282 (show_ip_ospf_database_all), (show_ip_ospf_database_self_originated):
1283 Functions removed.
1284 (show_ip_ospf_database_summary): New functions added. Replace
1285 above functions.
1286
1287 (show_ip_ospf_database_cmd): DEFUN rearranged.
1288 (show_ip_ospf_database_type_id_cmd),
1289 (show_ip_ospf_database_type_id_adv_router_cmd),
1290 (show_ip_ospf_database_type_is_self_cmd): New ALIASes added.
1291 (show_ip_ospf_database_type_adv_rotuer_cmd): New DEFUN added.
1292 (show_ip_ospf_database_type_self_cmd): New ALIAS added.
1293
12942000-07-11 Toshiaki Takada <takada@zebra.org>
1295
1296 * ospf_asbr.c (ospf_external_info_new),
1297 (ospf_external_info_free): New functions added.
1298
1299 * ospf_lsa.h (ospf_lsa): Add new member `void *param' to set
1300 origination parameter for external-LSA.
1301 Remove member `redistribute'.
1302
1303 * ospf_zebra.c (ospf_redistirbute_set): When `redistribute'
1304 command executed, metric and metric-type values are overridden.
1305 If one of those is changed refresh AS-external-LSAs for appropriate
1306 type.
1307
13082000-07-11 Michael Rozhavsky <mike@nbase.co.il>
1309
1310 * ospf_lsa.c (ospf_summary_lsa_refresh),
1311 (ospf_summary_asbr_lsa_refresh): Make sure to refresh summary-LSAs.
1312
1313 * ospf_abr.c (set_metric): New function added.
1314
13152000-07-07 Toshiaki Takada <takada@zebra.org>
1316
1317 * ospf_zebra.c (ospf_default_information_originate_metric_type),
1318 (ospf_default_information_originate_type_metric): New defun added.
1319 Metic and Metric type can be set to default route.
1320 (ospf_default_information_originate_always_metric_type):
1321 (ospf_default_information_originate_always_type_metric):
1322 New defun added. Metric and Metric type can be set to default
1323 always route.
1324
1325 * ospf_zebra.c (ospf_default_metric), (no_ospf_default_metric):
1326 New defun added.
1327
13282000-07-06 Gleb Natapov <gleb@nbase.co.il>
1329
1330 * ospf_flood.c (ospf_flood_through_area): Fix bug of considering
1331 on the same interface the LSA was received from.
1332
13332000-07-06 Michael Rozhavsky <mike@nbase.co.il>
1334
1335 * ospfd.c (ospf_config_write): Fix bug of printing `area stub'
1336 command with `write mem'.
1337
1338 * ospfd.c (no_router_ospf): Remove installed routes from zebra.
1339
1340 * ospf_zebra.c (ospf_interface_delete): Fix function to handle
1341 zebra interface delete event.
1342
13432000-07-06 Toshiaki Takada <takada@zebra.org>
1344
1345 * ospf_zebra.c (ospf_default_information_originate),
1346 (ospf_default_information_originate_always): New DEFUN added.
1347
13482000-07-05 Michael Rozhavsky <mike@nbase.co.il>
1349
1350 * ospf_route.c (ospf_terminate): Make sure to remove external route
1351 when SIGINT received.
1352
13532000-07-03 Gleb Natapov <gleb@nbase.co.il>
1354
1355 * ospf_flood.c, ospf_ism.c, ospf_lsa,c, ospfd.c: Make sure to free
1356 many structure with `no router ospf'.
1357
13582000-06-30 Gleb Natapov <gleb@nbase.co.il>
1359
1360 * ospf_neighbor.c (ospf_nbr_new),
1361 ospf_nsm.c (nsm_timer_set): Start LS update timer only
1362 when neighbor enters Exchange state.
1363
13642000-06-29 Gleb Natapov <gleb@nbase.co.il>
1365
1366 * ospf_nsm.c (nsm_timer_set), (nsm_exchange_done),
1367 ospf_packet.c (ospf_db_desc_proc):
1368 Do not cancel DD retransmit timer when Master.
1369
13702000-06-29 Gleb Natapov <gleb@nbase.co.il>
1371
1372 * ospf_abr.c (ospf_abr_announce_network_to_area),
1373 (ospf_abr_announce_rtr_to_area)
1374 ospf_ase.c (ospf_ase_rtrs_register_lsa),
1375 ospf_flood.c (ospf_process_self_originated_lsa),
1376 (ospf_flood_through_area), (ospf_ls_request_delete),
1377 ospf_interface.c (ospf_if_free),
1378 ospf_ism.c (ism_change_status),
1379 ospf_lsa.c (ospf_router_lsa_update_timer),
1380 (ospf_router_lsa_install), (ospf_network_lsa_install),
1381 (ospf_lsa_maxage_delete), (ospf_lsa_action),
1382 (ospf_schedule_lsa_flood_area),
1383 ospf_nsm.c (nsm_change_status),
1384 ospf_packet.c (ospf_make_ls_req_func), (ospf_make_ls_ack):
1385 Use ospf_lsa_{lock,unlock} for all looking-up of LSA.
1386
1387 * ospf_flood.c (ospf_ls_request_free): Function deleted.
1388
1389 * ospf_lsa.c (ospf_discard_from_db): New function added.
1390
13912000-06-26 Toshiaki Takada <takada@zebra.org>
1392
1393 * ospfd.h (ospf): struct member `external_lsa' name changed to
1394 `lsdb'.
1395
13962000-06-26 Toshiaki Takada <takada@zebra.org>
1397
1398 * ospf_lsa.c (ospf_lsa_install), (ospf_router_lsa_install),
1399 (ospf_network_lsa_install), (ospf_summary_lsa_install),
1400 (ospf_summary_asbr_lsa_install), (ospf_external_lsa_install):
1401 Functions re-arranged.
1402
1403 * ospf_lsa.c (IS_LSA_MAXAGE), (IS_LSA_SELF): Macro added.
1404
14052000-06-20 Michael Rozhavsky <mike@nbase.co.il>
1406
1407 * ospf_packet.c (ospf_ls_req), (ospf_ls_upd), (ospf_ls_ack): Add
1408 verification of LS type.
1409
14102000-06-20 Gleb Natapov <gleb@nbase.co.il>
1411
1412 * ospf_ase.c (ospf_ase_calculate_timer): Add more sanity check
1413 whether rn->info is NULL.
1414
14152000-06-20 Toshiaki Takada <takada@zebra.org>
1416
1417 * ospfd.c (show_ip_ospf_interface_sub): Show Router-ID of both
1418 DR and Backup correctly with `show ip ospf interface' command.
1419
14202000-06-20 Toshiaki Takada <takada@zebra.org>
1421
1422 * ospf_lsa.c (ospf_lsa_lock), (ospf_lsa_unlock),
1423 (ospf_lsa_discard): These functions are used for avoiding
1424 unexpected reference to freed LSAs.
1425
14262000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1427
1428 * ospf_packet.c (ospf_ls_upd): Initialize lsa by NULL to avoid
1429 warning.
1430
14312000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1432
1433 * ospf_ase.h (ospf_ase_rtrs_register_lsa): Add prototype.
1434
14352000-06-12 Toshiaki Takada <takada@zebra.org>
1436
1437 * ospf_lsa.c (ospf_external_lsa_install): Make sure to register
1438 LSA to rtrs_external when replacing AS-external-LSAs in LSDB.
1439 Fix core dump.
1440
14412000-06-10 Toshiaki Takada <takada@zebra.org>
1442
1443 * ospf_lsdb.c (id_to_prefix), (ospf_lsdb_hash_key),
1444 (ospf_lsdb_hash_cmp), (ospf_lsdb_new), (ospf_lsdb_iterator),
1445 (lsdb_free), (ospf_lsdb_free), (ospf_lsdb_add), (ospf_lsdb_delete),
1446 (find_lsa), (ospf_lsdb_lookup), (find_by_id),
1447 (ospf_lsdb_lookup_by_id), (ospf_lsdb_lookup_by_header): Functinos
1448 removed for migration to new_lsdb.
1449
1450 * ospf_lsa.c (ospf_summary_lsa_install),
1451 (ospf_summary_asbr_lsa_install), (ospf_maxage_lsa_remover),
1452 (ospf_lsa_maxage_walker), (ospf_lsa_lookup),
1453 (ospf_lsa_lookup_by_id): Use new_lsdb instead of ospf_lsdb.
1454 (count_lsa), (ospf_lsa_count_table), (ospf_lsa_count),
1455 (ospf_get_free_id_for_prefix): Funcitions removed.
1456
14572000-06-09 Gleb Natapov <gleb@nbase.co.il>
1458
1459 * ospf_ism.c (ism_interface_down): Prevent some unneeded DR changes.
1460
1461 * ospf_packet.c (ospf_db_desc_proc): Fix memory leak.
1462 (ospf_hello): Always copy router-ID when hello is received.
1463
14642000-06-08 Gleb Natapov <gleb@nbase.co.il>
1465
1466 * ospf_lsa.h (struct ospf_lsa): Add member of pointer to struct
1467 ospf_area.
1468
14692000-06-08 Michael Rozhavsky <mike@nbase.co.il>
1470
1471 * ospf_ase.c (ospf_asbr_route_same): New function added.
1472 This function makes sure external route calculation more
1473 precisely.
1474
14752000-06-07 Michael Rozhavsky <mike@nbase.co.il>
1476
1477 * ospf_ism.c (ism_change_status): Use ospf_lsa_flush_area for
1478 network-LSA deletion instead of using ospf_lsdb_delete.
1479 Also cancel network-LSA origination timer.
1480
14812000-06-07 Levi Harper <lharper@kennedytech.com>
1482
1483 * ospf_interface.c (ospf_if_down): Close read fd when an interface
1484 goes down.
1485
14862000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1487
1488 * ospf_asbr.c (ospf_external_info_lookup): Add explicit brace for
1489 avoid ambiguous else.
1490
1491 * ospf_flood.c (ospf_external_info_check): Likewise.
1492
14932000-06-05 Toshiaki Takada <takada@zebra.org>
1494
1495 * ospf_nsm.c (nsm_adj_ok): Fix bug of DR election.
1496
14972000-06-04 Toshiaki Takada <takada@zebra.org>
1498
1499 * ospf_zebra.c (ospf_default_information_originate),
1500 (no_ospf_default_information_originate): New DEFUN added.
1501
15022000-06-03 Toshiaki Takada <takada@zebra.org>
1503
1504 * ospf_lsa.h, ospf_asbr.h (external_info): Struct moved from
1505 ospf_lsa.h to ospf_asbr.h.
1506
1507 * ospf_lsa.c, ospf_asbr.c (ospf_external_info_add),
1508 (ospf_external_info_delete): Function moved from ospf_lsa.c
1509 to ospf_asbr.c.
1510
15112000-06-03 Toshiaki Takada <takada@zebra.org>
1512
1513 * ospf_flood.c (ospf_external_info_check): New function added.
1514 (ospf_process_self_orignated_lsa): Make sure to flush
1515 self-originated AS-external-LSA, when router reboot and no longer
1516 originate those AS-external-LSA.
1517
15182000-06-02 Toshiaki Takada <takada@zebra.org>
1519
1520 * ospf_network.c (ospf_serv_sock): Remove SO_DONTROUTE
1521 socket option.
1522
1523 * ospf_packet.c (ospf_write): Set MSG_DONTROUTE flag for
1524 unicast destination packets.
1525
15262000-06-02 Toshiaki Takada <takada@zebra.org>
1527
1528 * ospf_lsdb.c (new_lsdb_delete): Delete entry from LSDB only when
1529 specified LSA matches.
1530
15312000-06-02 Gleb Natapov <gleb@nbase.co.il>
1532
1533 * ospf_network.c (ospf_serv_sock): Set SO_DONTROUTE
1534 socket option.
1535
15362000-06-01 Akihiro Mizutani <mizutani@dml.com>
1537
1538 * ospf_dump.c: Replace string `Debugging functions\n' with DEBUG_STR.
1539 Replace string `OSPF information\n' with OSPF_STR.
1540
15412000-06-01 Toshiaki Takada <takada@zebra.org>
1542
1543 * ospf_lsdb.[ch]: Use new_lsdb struct for network-LSA instead of
1544 ospf_lsdb.
1545
15462000-06-01 Toshiaki Takada <takada@zebra.org>
1547
1548 * ospf_dump.c (config_debug_ospf_packet), (config_debug_ospf_event),
1549 (config_debug_ospf_ism), (config_debug_ospf_nsm),
1550 (config_debug_ospf_lsa), (config_debug_ospf_zebra),
1551 (term_debug_ospf_packet), (term_debug_ospf_event),
1552 (term_debug_ospf_ism), (term_debug_ospf_nsm),
1553 (term_debug_ospf_lsa), (term_debug_ospf_zebra): Repalce debug_ospf_*
1554 variable to use for debug option flags.
1555
1556 (debug_ospf_packet), (debug_ospf_ism), (debug_ospf_nsm),
1557 (debug_ospf_lsa), (debug_ospf_zebra): Set {config,term}_debug_*
1558 flags when vty->node is CONFIG_NODE, otherwise set only term_debug_*
1559 flags.
1560
1561 * ospf_dump.h (CONF_DEBUG_PACKET_ON), (CONF_DEBUG_PACKET_OFF),
1562 (TERM_DEBUG_PACKET_ON), (TERM_DEBUG_PACKET_OFF),
1563 (CONF_DEBUG_ON), (CONF_DEBUG_OFF), (IS_CONF_DEBUG_OSPF_PACKET),
1564 (IS_CONF_DEBUG_OSPF): New Macro added.
1565
15662000-05-31 Toshiaki Takada <takada@zebra.org>
1567
1568 * ospfd.c (clear_ip_ospf_neighbor): New DEFUN added.
1569 Currently this command is used for only debugging.
1570
1571 * ospf_nsm.c (nsm_change_status): Make sure thread cancellation
1572 for network-LSA when DR has no full neighbors.
1573
1574 * ospf_nsm.c (ospf_db_summary_clear): New function added.
1575
15762000-05-30 Toshiaki Takada <takada@zebra.org>
1577
1578 * ospf_lsdb.c (new_lsdb_insert): LSAs are always freed by
1579 maxage_lsa_remover when LSA is replaced.
1580
15812000-05-25 Gleb Natapov <gleb@nbase.co.il>
1582
1583 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all): Add argument
1584 `struct ospf_area' to remove LSA from Link State retransmission list
1585 of neighbor from only one Area.
1586
15872000-05-24 Michael Rozhavsky <mike@nbase.co.il>
1588
1589 * ospf_lsdb.c (ospf_lsdb_add): Preserve flags field when
1590 overriting old LSA with new LSA.
1591
15922000-05-24 Gleb Natapov <gleb@nbase.co.il>
1593
1594 * ospf_lsa.c (ospf_router_lsa_body_set): Fix bug of router-LSA
1595 size calculation.
1596
15972000-05-22 Michael Rozhavsky <mike@nbase.co.il>
1598
1599 * ospf_route.c (ospf_intra_add_stub):
1600 * ospf_spf.h (struct vertex): Use u_int32_t for distance (cost)
1601 value instead of u_int16_t.
1602
16032000-05-22 Axel Gerlach <agerlach@datus.datus.com>
1604
1605 * ospf_ia.c (ospf_ia_network_route): Fix bug of Inter-area route
1606 equal cost path calculation.
1607
16082000-05-21 Toshiaki Takada <takada@zebra.org>
1609
1610 * ospf_ase.c (ospf_ase_calculate_route_delete): New function added.
1611 Make sure, when rotuer route is deleted, related external routes
1612 are also deleted.
1613
16142000-05-20 Toshiaki Takada <takada@zebra.org>
1615
1616 * ospfd.c (ospf_interface_down): Make sure interface flag is disable
1617 and set fd to -1.
1618
16192000-05-16 Toshiaki Takada <takada@zebra.org>
1620
1621 * ospf_asbr.c (ospf_asbr_should_announce), (ospf_asbr_route_remove):
1622 Functions removed.
1623
1624 * ospfd.h (EXTERNAL_INFO): Macro added.
1625 Substitute `ospf_top->external_info[type]' with it.
1626
16272000-05-16 Toshiaki Takada <takada@zebra.org>
1628
1629 * ospf_lsa.c (ospf_rtrs_external_remove): New function added.
1630
16312000-05-14 Gleb Natapov <gleb@nbase.co.il>
1632
1633 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all)
1634 * ospf_lsdb.c (new_lsdb_insert)
1635 * ospf_packet.c (ospf_ls_ack): Fix database synchonization problem.
1636
16372000-05-14 Gleb Natapov <gleb@nbase.co.il>
1638
1639 * ospf_lsa.h (tv_adjust), (tv_ceil), (tv_floor), (int2tv),
1640 (tv_add), (tv_sub), (tv_cmp): Prototype definition added.
1641
1642 * ospf_nsm.h (ospf_db_summary_delete_all): Prototype definition added.
1643
16442000-05-13 Toshiaki Takada <takada@zebra.org>
1645
1646 * ospf_lsa.[ch] (ospf_lsa): struct timestamp type is changed from
1647 time_t to struct timeval.
1648 (tv_adjust), (tv_ceil), (tv_floor), (int2tv), (tv_add),
1649 (tv_sub), (tv_cmp): timeval utillity functions added.
1650
16512000-05-12 Toshiaki Takada <takada@zebra.org>
1652
1653 * ospf_lsa.[ch] (ospf_schedule_update_router_lsas): Delete function.
1654 Change to use macro OSPF_LSA_UPDATE_TIMER instead of using
1655 this function.
1656 router-LSA refresh timer related stuff is re-organized.
1657
16582000-05-10 Gleb Natapov <gleb@nbase.co.il>
1659
1660 * ospf_interface.c (ospf_vl_set_params):
1661 * ospf_packet.c (ospf_check_network_mask):
1662 * ospf_spf.[ch] (ospf_spf_next):
1663 Remove field address from `struct vertex', and search for peer
1664 address of virtual link in function `ospf_vl_set_params' instead.
1665
16662000-05-10 Gleb Natapov <gleb@nbase.co.il>
1667
1668 * ospf_packet.c (ospf_ls_upd): Fix some memory leak related LSA.
1669
16702000-05-08 Thomas Molkenbur <tmo@datus.com>
1671
1672 * ospf_packet.c (ospf_packet_dup): Replace ospf_steram_copy()
1673 with ospf_stream_dup() to fix memory leak.
1674
16752000-05-08 Michael Rozhavsky <mike@nbase.co.il>
1676
1677 * ospf_flood.c (ospf_flood_through_area): Fix the problem of
1678 LSA update without DROther.
1679
16802000-05-04 Gleb Natapov <gleb@nbase.co.il>
1681
1682 * ospf_spf.c (ospf_vertex_free): Fix memory leak of SPF calculation.
1683
16842000-05-03 Toshiaki Takada <takada@zebra.org>
1685
1686 * ospf_neighbor.c (ospf_db_summary_add): Use new_lsdb struct
1687 instead linked-list.
1688 (ospf_db_summary_count), (ospf_db_summary_isempty):
1689 New function added.
1690
1691 * ospf_lsa.c (ospf_rotuer_lsa): Re-arrange and divide functions.
1692
16932000-05-02 Gleb Natapov <gleb@nbase.co.il>
1694
1695 * ospf_lsdb.c (new_lsdb_cleanup): Fix memory leak. When LSDB are
1696 not needed any more, then free them.
1697
16982000-05-02 Toshiaki Takada <takada@zebra.org>
1699
1700 * ospfd.c (timers_spf), (no_timers_spf): New defun added.
1701 SPF calculation timers related stuff is rearranged.
1702
1703 * ospf_spf.c (ospf_spf_calculate_timer_add): Function removed.
1704 SPF timer is scheduled by SPF calculation delay and holdtime
1705 configuration variable.
1706
1707 * ospf_lsa.c (ospf_external_lsa_nexthop_get): Set AS-external-LSA's
1708 forwarding address when nexthop learned by other protocols is
1709 in the OSPF domain.
1710
1711 * ospf_zebra.c (ospf_redistribute_source_metric_type),
1712 (ospf_redistribute_source_type_metric): Re-arrange DEFUNs and
1713 ALIASes.
1714
17152000-05-01 Toshiaki Takada <takada@zebra.org>
1716
1717 * ospf_flood.c (ospf_ls_retransmit_count),
1718 (ospf_ls_retransmit_isempty): New function added.
1719
1720 (ospf_ls_retransmit_add), (ospf_ls_retransmit_delete),
1721 (ospf_ls_retransmit_clear), (ospf_ls_retransmit_lookup),
1722 (ospf_ls_retransmit_delete_all), (ospf_ls_retransmit_delete_nbr_all),
1723 (ospf_ls_retransmit_add_nbr_all): Replace these functions to use
1724 new_lsdb.
1725
17262000-04-29 Toshiaki Takada <takada@zebra.org>
1727
1728 * ospfd.c (no_network_area): Add check Area-ID whether specified
1729 Area-ID with prefix matches config.
1730
17312000-04-27 Toshiaki Takada <takada@zebra.org>
1732
1733 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix problem of
1734 remaining withdrawn routes on zebra.
1735
17362000-04-25 Michael Rozhavsky <mike@nbase.co.il>
1737
1738 * ospf_nsm.c (nsm_kill_nbr), (nsm_ll_down), (nsm_change_status),
1739 (ospf_nsm_event): Fix network-LSA re-origination problem.
1740
17412000-04-24 Toshiaki Takada <takada@zebra.org>
1742
1743 * ospf_nsm.c (ospf_db_desc_timer): Fix bug of segmentation fault
1744 with DD retransmission.
1745
1746 * ospf_nsm.c (nsm_kill_nbr): Fix bug of re-origination when
1747 a neighbor disappears.
1748
17492000-04-23 Michael Rozhavsky <mike@nbase.co.il>
1750
1751 * ospf_abr.c (ospf_abr_announce_network_to_area): Fix bug of
1752 summary-LSAs reorigination. Correctly copy OSPF_LSA_APPROVED
1753 flag to new LSA. when summary-LSA is reoriginatd.
1754
1755 * ospf_flood.c (ospf_flood_through_area): Fix bug of flooding
1756 procedure. Change the condition of interface selection.
1757
17582000-04-21 Toshiaki Takada <takada@zebra.org>
1759
1760 * ospf_lsa.c (ospf_refresher_register_lsa): Fix bug of refresh never
1761 occurs.
1762
1763 * ospfd.c (show_ip_ospf_neighbor_id): New defun added.
1764 `show ip ospf neighbor' related commands are re-arranged.
1765
17662000-04-20 Toshiaki Takada <takada@zebra.org>
1767
1768 * ospf_dump.c (debug_ospf_zebra): New defun added.
1769 Suppress zebra related debug information.
1770
17712000-04-19 Toshiaki Takada <takada@zebra.org>
1772
1773 * ospf_zebra.c (ospf_distribute_list_update_timer),
1774 (ospf_distribute_list_update), (ospf_filter_update):
1775 New function added. Re-organize `distribute-list' router ospf
1776 command.
1777
17782000-04-13 Michael Rozhavsky <mike@nbase.co.il>
1779
1780 * ospf_packet.c (ospf_make_ls_upd): Add check for MAX_AGE.
1781
17822000-04-14 Michael Rozhavsky <mike@nbase.co.il>
1783
1784 * ospf_packet.c (ospf_make_ls_upd): Increment LS age by configured
1785 interface transmit_delay.
1786
17872000-04-14 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1788
1789 * ospf_interface.c (ip_ospf_cost), (no_ip_ospf_cost):
1790 Add to schedule router_lsa origination when the interface cost changes.
1791
17922000-04-12 Toshiaki Takada <takada@zebra.org>
1793
1794 * ospf_lsa.c (ospf_refresher_register_lsa),
1795 (ospf_refresher_unregister_lsa): Fix bug of core dumped.
1796
1797 * ospfd.c (no_router_ospf): Fix bug of core dumped.
1798
17992000-03-29 Toshiaki Takada <takada@zebra.org>
1800
1801 * ospf_nsm.c (nsm_oneway_received): Fix bug of MS flag unset.
1802
18032000-03-29 Michael Rozhavsky <mike@nbase.co.il>
1804
1805 * ospf_lsa.c (ospf_network_lsa):
1806 * ospf_nsm.c (ospf_nsm_event): Fix bug of Network-LSA originated
1807 in stub network.
1808
18092000-03-28 Toshiaki Takada <takada@zebra.org>
1810
1811 * ospf_nsm.c (nsm_bad_ls_req), (nsm_seq_number_mismatch),
1812 (nsm_oneway_received): Fix bug of NSM state flapping between
1813 ExStart and Exchange.
1814
18152000-03-28 Toshiaki Takada <takada@zebra.org>
1816
1817 * ospf_packet.h (strcut ospf_header): Fix the size of ospf_header,
1818 change u_int8_t to u_char.
1819
18202000-03-27 Toshiaki Takada <takada@zebra.org>
1821
1822 * ospf_lsa.c (ospf_lsa_checksum): Take care of BIGENDIAN architecture.
1823
18242000-03-27 Toshiaki Takada <takada@zebra.org>
1825
1826 * ospfd.c (ospf_interface_run): Make sure Address family matches.
1827
18282000-03-26 Love <lha@s3.kth.se>
1829
1830 * ospf_packet.c (ospf_write): Chack result of sendto().
1831
18322000-03-26 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1833
1834 * ospf_nsm.c (nsm_oneway_received): Fix bug of 1-WayReceived in NSM.
1835
18362000-03-23 Libor Pechacek <farco@clnet.cz>
1837
1838 * ospf_lsa.c (ospf_network_lsa)
1839 * ospf_lsdb.c (new_lsdb_insert): Fix bug of accessing to
1840 unallocated memory.
1841
18422000-03-23 Toshiaki Takada <takada@zebra.org>
1843
1844 * ospfd.c (ospf_config_write): Fix bug of duplicate line for
1845 `area A.B.C.D authentication'.
1846
18472000-03-22 Toshiaki Takada <takada@zebra.org>
1848
1849 * ospf_debug.c (debug_ospf_lsa), (no_debug_ospf_lsa): Defun added.
1850 Suppress all zlog related to LSAs with this config option.
1851
18522000-03-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1853
1854 * ospf_nsm.c (ospf_nsm_event): Add check for NSM_InactivityTimer.
1855
18562000-03-21 Toshiaki Takada <takada@zebra.org>
1857
1858 * ospf_packet.c (ospf_ls_upd_timer), (ospf_ls_req):
1859 Fix bug of memory leak about linklist.
1860
1861 * ospf_flood.c (ospf_flood_through_area): Likewise.
1862
18632000-03-18 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1864
1865 * ospf_flood.c (ospf_ls_retransmit_lookup): Add checksum comparison
1866 to identify LSA uniquely. This fix routes lost.
1867
18682000-03-18 Toshiaki Takada <takada@zebra.org>
1869
1870 * ospf_ase.c (ospf_find_asbr_route): Add sanity check with router
1871 routing table.
1872
18732000-03-17 Alex Zinin <zinin@amt.ru>
1874
1875 * ospf_spf.[ch]: Bug fix.
1876 The 2nd stage of Dijkstra could consider one vertex
1877 more than once if there is more than one link
1878 between the routers, thus adding extra CPU overhead
1879 and extra next-hops.
1880 Fixed.
1881
18822000-03-15 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1883
1884 * ospf_nsm.c (nsm_inactivity_timer): Changed to call nsm_kill_nbr().
1885
18862000-03-14 Toshiaki Takada <takada@zebra.org>
1887
1888 * ospf_route.c (ospf_route_copy_nexthops): Fix bug of memory leak of
1889 ospf_path. Actually ignore merging ospf_route with completely same
1890 paths.
1891
18922000-03-12 Toshiaki Takada <takada@zebra.org>
1893
1894 * ospf_lsa.c (show_as_external_lsa_detail): fix bug of
1895 external route tag byte order.
1896
18972000-03-11 Toshiaki Takada <takada@zebra.org>
1898
1899 * ospf_lsdb.c (ospf_lsdb_insert): New function added.
1900
19012000-03-09 Toshiaki Takada <takada@zebra.org>
1902
1903 * ospf_lsa.c (ospf_external_lsa_install),
1904 (ospf_lsa_lookup), (show_ip_ospf_database_all),
1905 (show_ip_ospf_database_self_originate): Use struct new_lsdb for
1906 LSDB of AS-external-LSAs instead of ospf_lsdb.
1907
1908 * ospf_lsa.c (ospf_lsa_unique_id): New function added.
1909 Use for assigning Unique Link State ID instead of
1910 ospf_get_free_id_for_prefix().
1911
19122000-03-09 Toshiaki Takada <takada@zebra.org>
1913
1914 * ospf_ase.c (ospf_ase_calculate_timer): Fix bug of segmentation
1915 fault reported by George Bonser <george@siteROCK.com>.
1916
19172000-03-07 Libor Pechacek <farco@clnet.cz>
1918
1919 * ospfd.c (ospf_interface_down): Fix bug of segmentation fault.
1920
19212000-03-06 Toshiaki Takada <takada@zebra.org>
1922
1923 * ospf_route.c (ospf_route_cmp): Change meaning of return values.
1924
19252000-03-02 Alex Zinin <zinin@amt.ru>
1926 * ospfd.h, ospf_ia.h
1927 New Shortcut ABR code. Now area's flag can be configured
1928 with Default, Enable, and Disable values.
1929 More info will be in the new ver of I-D soon (see IETF web).
1930
19312000-02-25 Toshiaki Takada <takada@zebra.org>
1932
1933 * ospf_lsa.c (ospf_lsa_header_set), (ospf_external_lsa_body_set),
1934 (osfp_external_lsa_originate), (ospf_external_lsa_queue),
1935 (ospf_external_lsa_originate_from_queue): New function added.
1936 (ospf_external_lsa): Function removed.
1937
1938 * ospf_zebra.c (ospf_zebra_read_ipv4): Originate AS-external-LSA
1939 when listen a route from Zebra, instead creating external route.
1940
1941 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
1942 (ospf_asbr_route_add_queue_lsa),
1943 (ospf_asbr_route_install_lsa), (ospf_asbr_route_add):
1944 Functions removed.
1945
1946 * ospf_ase.c (process_ase_lsa): Function will not be used.
1947 (ospf_ase_calculate), (ospf_ase_calculate_route_add),
1948 (ospf_ase_calculate_new_route), (ospf_ase_caluculate_asbr_route):
1949 process_ase_lsa () is separated to these functions.
1950
1951 OSPF AS-external-LSA origination is whole re-organized.
1952
19532000-02-18 Toshiaki Takada <takada@zebra.org>
1954
1955 * ospf_packet.c (ospf_ls_upd): Fix bug of OSPF LSA memory leak.
1956
1957 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
1958 (ospf_asbr_route_add_queue_lsa): Fix bug of OSPF external route
1959 memory leak.
1960
19612000-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1962
1963 * ospf_asbr.c (ospf_asbr_route_install_lsa): Re-calculate LSA
1964 checksum after change Advertised Router field.
1965
19662000-02-09 Toshiaki Takada <takada@zebra.org>
1967
1968 * ospf_asbr.c (ospf_external_route_lookup): Add new function.
1969
19702000-02-08 Toshiaki Takada <takada@zebra.org>
1971
1972 * ospfd.c (ospf_router_id_get), (ospf_router_id_update),
1973 (ospf_router_id_update_timer): Router ID decision algorithm is changed.
1974 Router ID is chosen from all of eligible interface addresses even if
1975 it is not enable to OSPF.
1976
19772000-02-08 Toshiaki Takada <takada@zebra.org>
1978
1979 * ospf_asbr.c (ospf_asbr_route_add): Function divided to
1980 ospf_asbr_route_add_flood_lsa, ospf_asbr_route_add_queue_lsa and
1981 ospf_asbr_route_install_lsa. If Router-ID is not set, then LSA is
1982 waited to install to LSDB.
1983 `0.0.0.0 adv_router' AS-external-LSA origination bug was fixed.
1984
19852000-02-01 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1986
1987 * ospf_flood.c (ospf_ls_retransmit_lookup): Compare LS seqnum
1988 in the ACK before deleting.
1989
1990 * ospf_packet.c (ospf_hello): Reset the flags after a shutdown
1991 and no shutdown of the interface.
1992
19932000-01-31 Toshiaki Takada <takada@zebra.org>
1994
1995 * ospf_packet.c (ospf_ls_req): Send multiple Link State Update
1996 packets respond to a Link State Request packet.
1997
1998 * ospfd.c (show_ip_ospf_neighbor_detail_sub): Show thread state.
1999
2000 * ospf_interface.c (ospf_vl_new): Crash when backbone area
2001 is not configured and set virtual-link to no-backbone area,
2002 bug fixed.
2003
20042000-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2005
2006 * ospf_neighbor.h (struct ospf_neighbor): Add pointer to last send
2007 LS Request LSA.
2008
2009 * ospf_packet.c (ospf_ls_upd): Comment out LS request list
2010 treatment. That should be done in OSPF flooding procedure.
2011
2012 * ospf_flood.c (ospf_flood_through_area): Enclose
2013 ospf_check_nbr_loding inside if-else close.
2014
20152000-01-31 Toshiaki Takada <takada@zebra.org>
2016
2017 * ospf_packet.c (ospf_make_ls_upd): Fix bug of #LSAs counting.
2018
20192000-01-29 Toshiaki Takada <takada@zebra.org>
2020
2021 * ospf_packet.c (ospf_make_md5_digest): Fix bug of md5 authentication.
2022
20232000-01-28 Toshiaki Takada <takada@zebra.org>
2024
2025 * ospfd.c (show_ip_ospf): Show Number of ASE-LSAs.
2026
20272000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2028
2029 * ospf_packet.c (ospf_make_db_desc): Don't use rm_list for
2030 removing LSA from nbr->db_summary.
2031
20322000-01-27 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2033
2034 * ospf_packet.c (ospf_ls_upd_send): Set AllSPFRouters to
2035 destination when the link is point-to-point.
2036 (ospf_ls_ack_send_delayed): Likewise.
2037
20382000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2039
2040 * ospf_flood.c (ospf_ls_request_delete_all): Fix bug of next
2041 pointer lookup after the node is freed.
2042
20432000-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2044
2045 * ospf_asbr.c (ospf_asbr_route_add): Instead of scanning all AS
2046 external route, use ospf_top->external_self.
2047
20482000-01-27 Toshiaki Takada <takada@zebra.org>
2049
2050 * ospf_lsa.c (ospf_forward_address_get): New function added.
2051
2052 * ospf_asbr.c (ospf_asbr_check_lsas): Originate AS-external-LSA
2053 only when it should be replaced.
2054
20552000-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2056
2057 * ospf_flood.c (ospf_ls_retransmit_clear): Delete list node.
2058
2059 * ospf_lsa.c (ospf_lsa_free): Reduce logging message using
2060 ospf_zlog value.
2061
2062 * ospf_ism.c (ism_change_status): Fix bug of DR -> non DR status
2063 change. Self originated LSA is freed but not deleted from lsdb.
2064
20652000-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2066
2067 * ospf_ism.c (ism_interface_down): Don't use router_id for
2068 detecting self neighbor structure. Instead of that compare
2069 pointer itself.
2070
2071 * ospf_neighbor.c (ospf_nbr_free): Cancel all timer when neighbor
2072 is deleted.
2073 (ospf_nbr_free): Free last send packet.
2074
2075 * ospf_neighbor.h (struct ospf_neighbor): Remove host strucutre.
2076 Instead of that src is introduced.
2077
2078 * ospf_nsm.h: Enclose macro defenition with do {} while (0).
2079
20802000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2081
2082 * ospfd.c: Change part of passive interface implementation. For
2083 passive interface just disabling sending/receiving Hello on the
2084 interface.
2085
20862000-01-16 Kai Bankett <kai.bankett@vew-telnet.net>
2087
2088 * ospf_interface.h (OSPF_IF_PASSIVE): Add passive flag.
2089 * ospf_interface.c (ospf_if_lookup_by_name): Add new function.
2090 * ospf_lsa.c (ospf_router_lsa): Skip passive interface.
2091 * ospfd.c (passive_interface): New command passive-interface is
2092 added.
2093 (ospf_config_write): Print passive interface.
2094
20952000-01-15 Toshiaki Takada <takada@zebra.org>
2096
2097 * ospf_interface.h (crypt_key): New struct added to store
2098 multiple cryptographic autheitication keys.
2099 (ospf_interface): struct changed.
2100
2101 * ospf_interface.c: ospf_crypt_key_new, ospf_crypt_key_add,
2102 ospf_crypt_key_lookup, ospf_crypt_key_delete: new functions added.
2103
2104 * ospf_packet.c (ip_ospf_message_digest_key): Changed to store
2105 multiple cryptographic authentication keys.
2106
21072000-01-14 Toshiaki Takada <takada@zebra.org>
2108
2109 * ospf_interface.c: DEFUN (if_ospf_*) commands changed name to
2110 ip_ospf_* ().
2111 Old notation `ospf *' still remains backward compatibility.
2112
21131999-12-29 Alex Zinin <zinin@amt.ru>
2114 * ospf_lsa.c: ospf_lsa_more_recent() bug fix
2115 * ospf_nsm.c, ospf_packet.c: remove nbr data struct when
2116 int goes down, also check DD flags correctly (bug fix)
2117
21181999-12-28 Alex Zinin <zinin@amt.ru>
2119 * "redistribute <source> metric-type (1|2) metric <XXX>" added
2120
21211999-12-23 Alex Zinin <zinin@amt.ru>
2122 * added RFC1583Compatibility flag
2123 * added dynamic interface up/down functionality
2124
21251999-11-19 Toshiaki Takada <takada@zebra.org>
2126
2127 * ospf_neighbor.h (struct ospf_neighbor): Add member state_change
2128 for NSM state change statistics.
2129
21301999-11-19 Toshiaki Takada <takada@zebra.org>
2131
2132 * ospfd.c (show_ip_ospf_neighbor_detail),
2133 (show_ip_ospf_neighbor_int_detail): DEFUN Added.
2134
21351999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2136
2137 * ospf_asbr.c (ospf_asbr_check_lsas): Add check of
2138 lsa->refresh_list.
2139
21401999-11-11 Toshiaki Takada <takada@zebra.org>
2141
2142 * ospf_ia.[ch] (OSPF_EXAMINE_SUMMARIES_ALL): Macro added.
2143 This macro is expanded to ospf_examine_summaries ()
2144 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2145 (OSPF_EXAMINE_TRANSIT_SUMMARIES_ALL): Macro added.
2146 This macro is expanded to ospf_examine_transit_summaries ()
2147 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2148
21491999-11-11 Toshiaki Takada <takada@zebra.org>
2150
2151 * ospf_lsa.[ch] (ospf_find_self_summary_lsa_by_prefix): Changed to
2152 macro OSPF_SUMMARY_LSA_SELF_FIND_BY_PREFIX.
2153 (ospf_find_self_summary_asbr_lsa_by_prefix): Changed to
2154 macro OSPF_SUMMARY_ASBR_LSA_SELF_FIND_BY_PREFIX.
2155 (ospf_find_self_external_lsa_by_prefix): Changed to
2156 macro OSPF_EXTERNAL_LSA_SELF_FIND_BY_PREFIX.
2157
21581999-11-11 Toshiaki Takada <takada@zebra.org>
2159
2160 * ospfd.c (ospf_abr_type): ospf_abr_type_cisco, ospf_abr_type_ibm,
2161 ospf_abr_type_shortcut and ospf_abr_type_standard DEFUNs are
2162 combined.
2163 * ospfd.c (no_ospf_abr_type): no_ospf_abr_type_cisco,
2164 no_ospf_abr_type_ibm and no_ospf_abr_type_shortcut DEFUNS are
2165 combined.
2166
21671999-11-10 Toshiaki Takada <takada@zebra.org>
2168
2169 * ospf_route.c (ospf_lookup_int_by_prefix): Move function to
2170 ospf_interface.c and change name to ospf_if_lookup_by_prefix ().
2171
21721999-11-01 Alex Zinin <zinin@amt.ru>
2173 * ospf_packet.c
2174 some correction to LSU processing
2175
2176 * ospf_lsa.c ospfd.h
2177 randomize initial LSA refreshment interval
2178 and limit the size of LSA-group to 10
2179 to let randomization work more effectively.
2180
21811999-10-31 Alex Zinin <zinin@amt.ru>
2182 * ospf_interface.c
2183 cancel t_network_lsa_self
2184 when freeing int structure
2185
2186 * ospf_abr.c ospf_asbr.c ospf_flood.c ospf_lsa.c
2187 ospf_lsa.h ospf_lsdb.h ospfd.c ospfd.h
2188
2189 Summary and ASE LSA refreshment functions
2190 added---LSA refreshment is paced to 70 LSAs
2191 per sec to avoid link overflow. Refreshment events
2192 are further randomized within a 10 sec interval
2193 to avoid syncing.
2194
2195 Also the sigfault of memcmp() in ospf_lsa_is_different()
2196 is fixed.
2197
21981999-10-30 Alex Zinin <zinin@amt.ru>
2199 * ospf_nsm.c
2200 Fix the bug where MAX_AGE LSAs
2201 are included into the DB summary.
2202
2203 * ospf_interface.c
2204 allocate 2*MTU input buffer instead of just MTU
2205 for the cases when the other router mistakenly
2206 sends larger packets thus causing fragmentation, etc.
2207
2208 * ospf_nsm.c
2209 in nsm_reset_nbr() lists should be freed
2210 not when they are empty.
2211
22121999-10-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2213
2214 * ospf_zebra.c (ospf_acl_hook): Move OSPF_IS_ASBR and OSPF_IS_ABR
2215 check inside of if (ospf_top).
2216
22171999-10-29 Alex Zinin <zinin@amt.ru>
2218 * ospf_lsa.c ospf_lsdb.c :
2219 add assertion in lsa and lsa->data alloc functions,
2220 as well as in lsdb_add for new->data
2221
2222 * ospf_lsdb.c: free hash table correctly
2223
22241999-10-28 John Capo <jc@irbs.com>
2225
2226 * ospf_packet.h (OSPF_PACKET_MAX): Correct MAX packet length
2227 calculation
2228
22291999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2230
2231 * OSPF-TRAP-MIB.txt: New file added. Edited version of RFC1850.
2232
2233 * OSPF-MIB.txt: New file added. Edited version of RFC1850.
2234
22351999-10-27 Alex Zinin <zinin@amt.ru>
2236 * ospfd, ospf_zebra, ospf_abr
2237 "area import-list" command is added.
2238 This command allows to filter the inter-area routes
2239 injected into an area. Access list hook function
2240 extended to invalidate area exp/imp lists.
2241
22421999-10-25 Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
2243
2244 * ospfd.c (ospf_interface_run): Enable to detect P2P network
2245 on an OSPF interface.
2246
22471999-10-19 Jordan Mendelson <jordy@wserv.com>
2248
2249 * ospf_lsdb.c (ospf_lsdb_add): Fix bug of crash
2250 in ospf_ls_retransmit_lookup ().
2251
22521999-10-19 Vladimir B. Grebenschikov <vova@express.ru>
2253
2254 * ospf_route.c: Workaround about installation of OSPF routes into
2255 the zebra daemon. Add checking of existance routes. Free
2256 ospf_top->old_table if it exists.
2257
22581999-10-15 Jordan Mendelson <jordy@wserv.com>
2259
2260 * Add support for MD5 authentication.
2261
22621999-10-12 Alex Zinin <zinin@amt.ru>
2263 * ospfd.c, ospfd.h, ospf_abr.c:
2264 a new command "area export-list" was added, it allows
2265 the admin. to control which intra-area routes are
2266 announced to other areas by the ABR
2267
22681999-10-12 Alex Zinin <zinin@amt.ru>
2269 * ospf_asbr.c (ospf_asbr_check_lsas): Fix bug of coredump
2270 when "no redistribute" is used after a distribute list
2271 denying some networks was used
2272
22731999-10-05 Toshiaki Takada <takada@zebra.org>
2274
2275 * ospf_route.c (ospf_path_dup): New function added.
2276
22771999-10-05 Toshiaki Takada <takada@zebra.org>
2278
2279 * ospf_interface.[ch]: Some of VL related funciton name changed.
2280
22811999-09-27 Alex Zinin <zinin@amt.ru>
2282
2283 * ospf_zebra.c: Distribute-list functionality added
2284
22851999-09-27 Toshiaki Takada <takada@zebra.org>
2286
2287 * ospfd.c (show_ip_ospf): Fix bug of segmentation fault when no ospf
2288 instance exists.
2289
22901999-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2291
2292 * ospfd.c (ospf_interface_down): Fix bug of misusing nextnode()
2293 instead of node->next. Reported by Hiroki Ishibashi
2294 <ishibasi@dcd.abk.nec.co.jp>.
2295
2296 * ospf_route.c (show_ip_ospf_route): Add check for ospf is enabled
2297 or not.
2298
22991999-09-23 Alex Zinin <zinin@amt.ru>
2300
2301 * stub area support added
2302
23031999-09-23 Alex Zinin <zinin@amt.ru>
2304
2305 * fwd_addr in ASE-LSAs is now set correctly
2306 * ASE routing changed to check the fwd_addr
2307 and skip the route if the addr points to one
2308 of our interfaces to avoid loops.
2309
23101999-09-22 Alex Zinin <zinin@amt.ru>
2311
2312 * ospf_interface:
2313 ospf_vls_in_area() added, it returns
2314 the number of VLs configured through the area
2315
2316 * ospf_interface.c ospf_lsa.c ospf_lsdb.c ospfd.c
2317 honor correct mem alloc
2318
23191999-09-22 Alex Zinin <zinin@amt.ru>
2320
2321 * memory.[ch]:
2322 Some OSPF mem types added,
2323 plus more info in "show mem"
2324
23251999-09-21 Alex Zinin <zinin@amt.ru>
2326
2327 * ospfd.c:
2328 "area range substitute" added.
2329 It can be used on NAT-enabled (IP-masquarade)
2330 routers to announce private networks
2331 from an area as public ones into the outside
2332 world (not in the RFC, btw :)
2333
23341999-09-21 Alex Zinin <zinin@amt.ru>
2335
2336 * ospfd.c:
2337 "area range suppress" added.
2338 This command allows to instruct the router
2339 to be silent about specific ranges, i.e.,
2340 it is a method of route filtering on area
2341 borders
2342
23431999-09-21 Alex Zinin <zinin@amt.ru>
2344
2345 * ospfd.c VLs removed when "no network area" executed
2346
23471999-09-20 Alex Zinin <zinin@amt.ru>
2348
2349 * ospf_ase.c bug fix for not-zero fwd_addr
2350 and directly connected routes.
2351
23521999-09-20 Yon Uriarte <yon@plannet.de>
2353
2354 * ospf_packet.c (ospf_make_ls_req): Introduce delta value for
2355 checking the length of OSPF packet exceeds MTU or not.
2356
2357 * ospf_lsa.c (ospf_lsa_different): Apply ntohs for checking
2358 l1->data->length.
2359
23601999-09-18 Alex Zinin <zinin@amt.ru>
2361
2362 * ospf_lsa.c bug fix for ospf_network_lsa() to
2363 include itself into the RID list
2364
23651999-09-10 Alex Zinin <zinin@amt.ru>
2366
2367 * Alternative ABR behaviors IBM/Cisco/Shortcut
2368 implemented
2369
23701999-09-10 Alex Zinin <zinin@amt.ru>
2371
2372 * router and network-LSA origination
2373 changed to honor MinLSInterval
2374
23751999-09-08 Alex Zinin <zinin@amt.ru>
2376
2377 * modified ABR behavior to honor VLs and transit
2378 areas
2379
23801999-09-07 Alex Zinin <zinin@amt.ru>
2381
2382 * completed VL functionality
2383
23841999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2385
2386 * ospf_asbr.c: New file.
2387 ospf_asbr.h: New file.
2388
2389 * ospf_zebra.c (ospf_redistribute_connected): Add redistribute
2390 related stuff.
2391
23921999-09-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2393
2394 * ospfd.h (OSPF_FLAG_VIRTUAL_LINK): Change OSPF_FLAG_VEND to
2395 OSPF_FLAG_VIRTUAL_LINK for comprehensiveness.
2396
23971999-09-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2398
2399 * ospf_spf.c (ospf_spf_register): Change name from
2400 ospf_spf_route_add() to ospf_spf_register().
2401 Include "ospfd/ospf_abr.h" for ospf_abr_task() prototype.
2402
24031999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2404
2405 * ospf_lsa.c (ospf_external_lsa_install): Change to update
2406 lsa->data rather than install new one, when same id lsa is already
2407 installed.
2408
24091999-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2410
2411 * ospf_lsa.c (ospf_router_lsa_install): Return lsa value.
2412 (ospf_network_lsa_install): Likewise.
2413 (ospf_summary_lsa_install): Likewise.
2414 (ospf_summary_asbr_lsa_install): Likewise.
2415 (ospf_external_lsa_install): Likewise.
2416
2417 * ospf_spf.c (ospf_spf_calculate): Comment out debug function
2418 ospf_rtrs_print().
2419
24201999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2421
2422 * ospf_spf.c (ospf_rtrs_free): Add ospf_spf_calculate() for
2423 freeing rtrs.
2424
24251999-08-31 Toshiaki Takada <takada@zebra.org>
2426
2427 * ospf_lsa.c (show_ip_ospf_database_summary),
2428 (show_ip_ospf_database_summary_asbr),
2429 (show_ip_ospf_database_external): New function added.
2430 `show ip ospf database summary',
2431 `show ip ospf database asbr-summary'
2432 `show ip ospf database external' command can be used.
2433
2434 * ospf_lsa.c (ospf_lsa_count_table): New function added.
2435 (show_ip_ospf_database_all): show nothing if a type of LSA
2436 does not exist.
2437
24381999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2439
2440 * ospf_lsa.c (ospf_maxage_lsa_remover): Preserve next pointer when
2441 the node is deleted.
2442
24431999-08-31 Toshiaki Takada <takada@zebra.org>
2444
2445 * ospf_flood.c (ospf_ls_retransmit_lookup): change to return
2446 struct ospf_lsa *.
2447 (ospf_ls_request_new), (ospf_ls_request_free),
2448 (ospf_ls_request_add), (ospf_ls_request_delete),
2449 (ospf_ls_request_delete_all), (ospf_ls_request_lookup):
2450 New function added.
2451
2452 * ospf_packet.c (ospf_ls_upd_send_lsa): New function added.
2453
2454 * ospf_lsa.h (LS_AGE): Slightly change macro definition.
2455
2456 * ospf_lsa.c (ospf_lsa_more_recent), (ospf_lsa_diffrent):
2457 Use LS_AGE macro.
2458
24591999-08-30 Alex Zinin <zinin@amt.ru>
2460
2461 * ospfd.c
2462 fix a bug with area range config write
2463 added "show ip ospf" command, it will be enhanced later on
2464
24651999-08-30 Alex Zinin <zinin@amt.ru>
2466
2467 * ospf_lsa.c
2468 updated ospf_router_lsa() to honor flags (B-bit)
2469
24701999-08-30 Alex Zinin <zinin@amt.ru>
2471
2472 * ospf_abr.c
2473 wrote major functions implementing ABR activity
2474
24751999-08-30 Alex Zinin <zinin@amt.ru>
2476
2477 * ospf_ia.c ospf_route.c ospf_route.h
2478 fixed the bug with ospf_route.origin field.
2479 Now it holds pointer to lsa_header
2480
24811999-08-30 Alex Zinin <zinin@amt.ru>
2482
2483 * ospf_flood.c ospf_flood.h:
2484 transformed ospf_flood_if_select into ospf_flood_through_area()
2485 added new ospf_flood_if_select() and ospf_flood_through_as()
2486
24871999-08-30 Toshiaki Takada <takada@zebra.org>
2488
2489 * ospf_flood.[ch]: New file added.
2490
2491 * ospf_packet.c (ospf_lsa_flooding),
2492 (ospf_lsa_flooding_select_if): functions move to ospf_flood.c
2493
2494 * ospf_neighbor.c (ospf_put_lsa_on_retransm_list),
2495 (ospf_remove_lsa_from_retransm_list),
2496 (ospf_nbr_remove_all_lsas_from_retransm_list),
2497 (ospf_lsa_remove_from_ls_retransmit):
2498 (ospf_lsa_retransmit): functions move to
2499 ospf_flood.c, and change function's name:
2500
2501 ospf_put_lsa_on_retransm_list ()
2502 -> ospf_ls_retransmit_add ()
2503 ospf_remove_lsa_from_retransm_list ()
2504 -> ospf_ls_retransmit_delete ()
2505 ospf_nbr_remove_all_lsas_from_retransm_list ()
2506 -> ospf_ls_retransmit_clear ()
2507 ospf_lsa_remove_from_ls_retransmit ()
2508 -> ospf_ls_retransmit_delete_nbr_all ()
2509 ospf_lsa_retransmit ()
2510 -> ospf_ls_retransmit_add_nbr_all ()
2511
2512 * ospf_lsa.c (ospf_lsa_lookup_from_list): function move to
2513 ospf_flood.c, and change name to ospf_ls_retransmit_lookup ().
2514
25151999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2516
2517 * ospf_neighbor.c (ospf_nbr_lookup_by_addr): Use
2518 route_node_lookup() instead of route_node_get().
2519
2520 * ospf_packet.c (ospf_ls_upd): Temporary comment out (6) check.
2521
25221999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2523
2524 * ospf_route.c (ospf_lookup_int_by_prefix): Add check of
2525 oi->address.
2526
25271999-08-29 Alex Zinin <zinin@amt.ru>
2528 * ospf_lsa.c
2529 MaxAge LSA deletion functions added.
2530
25311999-08-29 Alex Zinin <zinin@amt.ru>
2532 * ospf_neighbor.c
2533 ospf_nbr_lookup_by_addr(): added route_unlock_node()
2534 when function returns NULL if (rn->info == NULL)
2535
25361999-08-29 Alex Zinin <zinin@amt.ru>
2537 * ospfd.c
2538 added a hack for area range deletion
2539
25401999-08-29 Alex Zinin <zinin@amt.ru>
2541 * ospf_lsa.h
2542 included lsdb field into struct ospf_lsa, to find
2543 LSDB easier when removing MaxAge LSAs.
2544
25451999-08-29 Alex Zinin <zinin@amt.ru>
2546 * ospf_lsa.c ospf_neighbor.c ospf_nsm.c
2547 ospf_packet.c changed to honor new retransmit list
2548 management functions
2549
25501999-08-29 Alex Zinin <zinin@amt.ru>
2551 * ospf_neighbor.c , .h added new retransmit list functions.
2552
25531999-08-29 Alex Zinin <zinin@amt.ru>
2554 * Makefile.in
2555 added ospf_ase, ospf_abr, ospf_ia
2556
25571999-08-29 Alex Zinin <zinin@amt.ru>
2558 * ospf_spf.c:
2559 - changed ospf_next_hop_calculation() to include interface
2560 and nexthop addr for directly connected routers---more informative
2561 and solves problem with route installation into the kernel
2562 - changed ospf_nexthop_out_if_addr() to support routers, not only
2563 transit networks
2564 - added ospf_process_stubs();
2565
25661999-08-29 Alex Zinin <zinin@amt.ru>
2567 * ospf_lsa.c:
2568 - changed ospf_router_lsa() to provide correct links
2569 for p-t-p interfaces;
2570 - changed ospf_summary_lsa_install() to support table
2571 of self-originated summary-LSAs;
2572 - added ospf_summary_asbr_lsa_install() and ospf_external_lsa_install()
2573 - changed ospf_lsa_install() accordingly
2574 - changed show_ip_ospf_database_router_links() to support p-t-p
2575
25761999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2577
2578 * ospf_packet.c (ospf_make_db_desc): Only master can clear more
2579 flag.
2580
25811999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2582
2583 * ospf_packet.c (ospf_read): Add check of IP src address.
2584
25851999-08-28 Alex Zinin <zinin@amt.ru>
2586 * ospf_neighbor.h
2587 added ospf_nbr_lookup_by_routerid()
2588
25891999-08-28 Alex Zinin <zinin@amt.ru>
2590 * ospfd.h
2591 added ABR/ASBR flag definitions and fields;
2592 added iflist field to area structure;
2593 summary_lsa_self and summary_lsa_asbr_self are changed
2594 to be route tables;
2595 added ranges field---configured area ranges;
2596 A separate Routers RT added;
2597 area range config commands and config write added
2598
2599
26001999-08-28 Alex Zinin <zinin@amt.ru>
2601 * ospf_route.c :
2602 ospf_route_free()--added code to free the list of paths;
2603 The following functions added:
2604 ospf_intra_add_router();
2605 ospf_intra_add_transit();
2606 ospf_intra_add_stub();
2607 the last function uses new ospf_int_lookup_by_prefix();
2608 show_ip_ospf_route_cmd()--changed to support new RT structure;
2609 added ospf_cmp_routes()--general route comparision function;
2610 added ospf_route_copy_nexthops() and ospf_route_copy_nexthops_from_vertex()
2611 they are used in ASE and IA routing;
2612 added ospf_subst_route() and ospf_add_route();
2613
26141999-08-28 Alex Zinin <zinin@amt.ru>
2615 * ospf_route.h :
2616 changed struct ospf_path to include output interface,
2617 changed struct ospf_route to support IA and ASE routing.
2618 added prototypes of the function used in IA and ASE modules.
2619
26201999-08-28 Alex Zinin <zinin@amt.ru>
2621 * ospf_lsa.h ospf_lsa.c :
2622 added ospf_my_lsa(), an interface independent version of
2623 ospf_lsa_is_self_originated(), it will be used in ASE and IA-routing.
2624
26251999-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2626
2627 * ospf_interface.c (interface_config_write): Add check for
2628 oi->nbr_self.
2629
26301999-08-25 Toshiaki Takada <takada@zebra.org>
2631
2632 * ospf_lsa.c (ospf_lsa_dup): New function added.
2633
2634 * ospf_packet.c (ospf_write), (ospf_read): Print send/recv
2635 interface in debug message.
2636
26371999-08-25 Toshiaki Takada <takada@zebra.org>
2638
2639 * ospf_packet.c (ospf_ls_ack_send): The name is changed from
2640 `ospf_ls_ack_send'.
2641 (ospf_ls_ack_send_delayed) (ospf_ls_ack_timer): New function added.
2642 Delayed Link State Acknowledgment is scheduled by timer.
2643
26441999-08-25 Alex Zinin <zinin@amt.ru>
2645
2646 * ospf_lsa.c (ospf_router_lsa): Incorrectly included link to
2647 a stub network instead of link to a transit network into
2648 originated router-LSA, bug fixed.
2649
26501999-08-24 Toshiaki Takada <takada@zebra.org>
2651
2652 * ospfd.c (ospf_update_router_id): New function added.
2653
2654 * ospf_network.c (ospf_write): Create new socket per transmission.
2655 And select outgoing interface whether dst is unicast or multicast.
2656
2657 * ospf_packet.c: LSA flooding will work.
2658
26591999-08-24 VOP <vop@unity.net>
2660
2661 * ospf_route.c: Include "sockunion.h"
2662
26631999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2664
2665 * ospf_network.c (ospf_serv_sock_init): Enclose
2666 IPTOS_PREC_INTERNETCONTROL setting with #ifdef for OS which does
2667 not have the definition.
2668
26691999-08-23 Toshiaki Takada <takada@zebra.org>
2670
2671 * ospf_packet.c: Fix bug of DD processing.
2672
26731999-08-18 Toshiaki Takada <takada@zebra.org>
2674
2675 * ospf_lsa.c (show_ip_ospf_database): Show actual `LS age'.
2676
26771999-08-17 Toshiaki Takada <takada@zebra.org>
2678
2679 * ospf_lsa.h (OSPF_MAX_LSA): The value of OSPF_MAX_LSA is
2680 corrected. The bug of `mes_lookup' is fixed.
2681 This had been reported by Poul-Henning Kamp <phk@freebsd.org>.
2682
2683 * ospf_lsa.c (ospf_router_lsa_install): The name is changed from
2684 `ospf_add_router_lsa'.
2685 (ospf_network_lsa_install): The name is changed from
2686 `ospf_add_network_lsa'.
2687
2688 * ospf_interface.h (ospf_interface): Add member `nbr_self'.
2689
2690 * ospf_interface.c (ospf_if_is_enable): New function added.
2691
26921999-08-16 Toshiaki Takada <takada@zebra.org>
2693
2694 * ospf_lsa.h (struct lsa_header): The name is changed from
2695 `struct ospf_lsa'.
2696 (struct ospf_lsa): New struct added to control each LSA's aging
2697 and timers.
2698
2699 * ospf_lsa.c (ospf_lsa_data_free): The name is change from
2700 `ospf_lsa_free'.
2701 (ospf_lsa_data_new), (ospf_lsa_new), (ospf_lsa_free),
2702 (ospf_lsa_different), (ospf_lsa_install): New function added.
2703
2704 * ospf_packet.c (ospf_ls_upd_list_lsa): New function added.
2705
27061999-08-12 Toshiaki Takada <takada@zebra.org>
2707
2708 * ospf_nsm.c (nsm_reset_nbr): New function added.
2709 KillNbr and LLDown neighbor event call this function.
2710
27111999-08-10 Toshiaki Takada <takada@zebra.org>
2712
2713 * ospf_packet.c (ospf_ls_retransmit)
2714 (ospf_ls_upd_timer): New function added.
2715 Set retransmission timer for Link State Update.
2716
27171999-07-29 Toshiaki Takada <takada@zebra.org>
2718
2719 * ospf_ism.c (ospf_dr_election): Fix bug of DR election.
2720
27211999-07-28 Toshiaki Takada <takada@zebra.org>
2722
2723 * ospf_network.c (ospf_serv_sock_init): Set IP precedence field
2724 with IPTOS_PREC_INTERNET_CONTROL.
2725
2726 * ospf_nsm.c (nsm_change_status): Schedule NeighborChange event
2727 if NSM status change.
2728
2729 * ospf_packet.c (ospf_make_hello): Never include a neighbor in
2730 Hello packet, when the neighbor goes down.
2731
27321999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2733
2734 * Makefile.am (noinst_HEADERS): Add ospf_route.h.
2735
2736 * ospf_route.c (show_ip_ospf_route): Add `show ip ospf route'
2737 command.
2738
27391999-07-25 Toshiaki Takada <takada@zebra.org>
2740
2741 * ospf_lsa.c (ospf_router_lsa): Fix bug of LS sequence number
2742 assignement.
2743
27441999-07-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2745
2746 * ospf_route.c (ospf_route_table_free): New function added.
2747
2748 * ospf_spf.c (ospf_spf_next): Free vertex w when cw's and w's
2749 distance is same.
2750
2751 * ospfd.h (struct ospf): Add old_table.
2752
2753 * ospf_main.c (sighup): Call of log_rotate () removed.
2754
2755 * ospf_lsa.c (ospf_lsa_is_self_originated): Fix bug of checking
2756 area->lsa as self LSA. This should be area->lsa_self.
2757
27581999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2759
2760 * ospf_zebra.c (ospf_zebra_add): ospf_zebra_add
2761 (),ospf_zebra_delete () added.
2762
2763 * ospf_spf.c (ospf_spf_calculate): Call ospf_intra_route_add ().
2764
27651999-07-24 Toshiaki Takada <takada@zebra.org>
2766
2767 * ospf_lsa.c: Change LS sequence number treatment.
2768 (ospf_lsa_is_self_originated): New function added.
2769 (show_ip_ospf_database_self_originated): New DEFUN added.
2770
27711999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2772
2773 * ospf_interface.c (ospf_if_lookup_by_addr): Add loopback check.
2774
27751999-07-22 Toshiaki Takada <takada@zebra.org>
2776
2777 * ospf_spf.c (ospf_nexthop_new), (ospf_nexthop_free),
2778 (ospf_nexthop_dup): function added.
2779 (ospf_nexthop_calculation): function changed.
2780
2781 * ospf_interface.c (ospf_if_lookup_by_addr): function added.
2782
27831999-07-21 Toshiaki Takada <takada@zebra.org>
2784
2785 * ospf_spf.c (ospf_spf_closest_vertex): function removed.
2786
27871999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2788
2789 * ospf_spf.c (ospf_spf_next): Apply ntohs for fetching metric.
2790
27911999-07-21 Toshiaki Takada <takada@zebra.org>
2792
2793 * ospf_neighbor.c (ospf_nbr_lookup_by_router_id): fundtion removed.
2794
2795 * ospf_lsa.c (show_ip_ospf_database_router): describe each
2796 connected link.
2797
27981999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2799
2800 * ospf_spf.c (ospf_spf_next): V is router LSA or network LSA so
2801 change behavior according to LSA type.
2802 (ospf_lsa_has_link): Link check function is added.
2803
28041999-07-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2805
2806 * ospf_spf.c (ospf_spf_calculate_schedule): Add new function for
2807 SPF calcultion schedule addtition.
2808 (ospf_spf_calculate_timer_add): Rough 30 sec interval SPF calc
2809 timer is added.
2810 (ospf_spf_next_router): Delete ospf_spf_next_network ().
2811
2812 * ospf_lsa.c (show_ip_ospf_database_all): Network-LSA display
2813 header typo correction. Display of router LSA's #link added.
2814
28151999-07-19 Toshiaki Takada <takada@zebra.org>
2816
2817 * ospf_packet.c (ospf_check_network_mask): Added new function for
2818 receiving Raw IP packet on an appropriate interface.
2819
28201999-07-16 Toshiaki Takada <takada@zebra.org>
2821
2822 * ospfd.c (ospf_router_id): new DEFUN added.
2823
28241999-07-15 Toshiaki Takada <takada@zebra.org>
2825
2826 * ospf_spf.c (ospf_spf_init), (ospf_spf_free),
2827 (ospf_spf_has_vertex), (ospf_vertex_lookup),
2828 (ospf_spf_next_router), (ospf_spf_next_network),
2829 (ospf_spf_closest_vertex), (ospf_spf_calculate):
2830 function added.
2831
28321999-07-13 Toshiaki Takada <takada@zebra.org>
2833
2834 * ospf_ism.c: fix bug of DR Election.
2835
2836 * ospf_nsm.c: fix bug of adjacency forming.
2837
28381999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2839
2840 * ospfd.c (ospf_init): Change to use install_default.
2841
28421999-07-01 Rick Payne <rickp@rossfell.co.uk>
2843
2844 * ospf_zebra.c (zebra_init): Install standard commands to
2845 ZEBRA_NODE.
2846
28471999-06-30 Toshiaki Takada <takada@zebra.org>
2848
2849 * ospf_dump.c: Whole debug command is improved.
2850 (ISM|NSM) (events|status|timers) debug option added.
2851 (show_debugging_ospf): new DEFUN added.
2852
28531999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2854
2855 * ospf_lsa.c (ospf_lsa_lookup_from_list): Change !IPV4_ADDR_CMP to
2856 IPV4_ADDR_SAME.
2857
28581999-06-29 Toshiaki Takada <takada@zebra.org>
2859
2860 * ospf_dump.c (ospf_summary_lsa_dump): Add summary-LSA dump routine.
2861 (ospf_as_external_lsa_dump): Add AS-external-LSA dump routine.
2862
2863 * ospf_nsm.c (nsm_twoway_received): fix condtion of adjacnet.
2864
2865 * ospf_ism.c (ospf_dr_election): fix DR Election.
2866
2867 * ospf_dump.c (ospf_nbr_state_message): fix `show ip ospf neighbor'
2868 command's state.
2869
28701999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2871
2872 * ospf_dump.c (ospf_router_lsa_dump): Add router-LSA dump routine.
2873
28741999-06-28 Toshiaki Takada <takada@zebra.org>
2875
2876 * ospf_lsa.c (show_ip_ospf_database_network): fix bug of
2877 `show ip ospf database network' command output.
2878
2879 * ospf_nsm.c (nsm_inactivity_timer): Clear list of Link State
2880 Retransmission, Database Summary and Link State Request.
2881
2882 * ospf_packet.c (ospf_ls_req_timer): New function added.
2883 Set Link State Request retransmission timer.
2884
28851999-06-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2886
2887 * ospf_main.c (main): Change default output from ZLOG_SYSLOG to
2888 ZLOG_STDOUT.
2889
2890 * ospfd.c (ospf_init): Register show_ip_ospf_interface_cmd and
2891 show_ip_ospf_neighbor_cmd to VIEW_NODE.
2892
2893 * ospf_lsa.c (ospf_lsa_init): Register show_ip_ospf_database_cmd
2894 and show_ip_ospf_database_type_cmd to VIEW_NODE.
2895
28961999-06-25 Toshiaki Takada <takada@zebra.org>
2897
2898 * ospf_packet.c: fix bug of DD making.
2899 fix bug of LS-Update reading.
2900
29011999-06-23 Toshiaki Takada <takada@zebra.org>
2902
2903 * ospf_packet.c: All type of packets are changed to use
2904 fifo queue structure.
2905 (ospf_fill_header) function added.
2906
29071999-06-22 Toshiaki Takada <takada@zebra.org>
2908
2909 * ospf_packet.c (ospf_packet_new): New function added to handle
2910 sending ospf packet by fifo queue structure.
2911 (ospf_packet_free), (ospf_fifo_new), (ospf_fifo_push),
2912 (ospf_fifo_pop), (ospf_fifo_head), (ospf_fifo_flush),
2913 (ospf_fifo_free): Likewise.
2914
29151999-06-21 Toshiaki Takada <takada@zebra.org>
2916
2917 * ospf_nsm.c (ospf_db_desc_timer): function added.
2918 (nsm_timer_set) function added.
2919 * ospf_dump.c (ospf_option_dump): function added.
2920 * ospf_packet.c (ospf_ls_req) (ospf_make_ls_req): function added.
2921
29221999-06-20 Toshiaki Takada <takada@zebra.org>
2923
2924 * ospf_lsa.c (ospf_lsa_more_recent): function added.
2925 * ospf_neighbor.h (struct ospf_neighbor): Change member ms_flag
2926 to dd_flags.
2927
29281999-06-19 Toshiaki Takada <takada@zebra.org>
2929
2930 * ospf_lsa.c: DEFUN (show_ip_ospf_database) Added.
2931 * ospf_interface.c (if_ospf_cost), (if_ospf_dead_interval),
2932 (if_ospf_hello_interval), (if_ospf_priority),
2933 (if_ospf_retransmit_interval), (if_ospf_transmit_delay)
2934 argument changed from NUMBER to <range>.
2935 DEFUN (if_ospf_network_broadcast),
2936 DEFUN (if_ospf_network_non_broadcast),
2937 DEFUN (if_ospf_network_point_to_multipoint),
2938 DEFUN (if_ospf_network_point_to_point) functions are combined to
2939 DEFUN (if_ospf_network).
2940
29411999-06-18 Toshiaki Takada <takada@zebra.org>
2942
2943 * ospf_lsa.c: ospf_add_router_lsa (), ospf_add_network_lsa (),
2944 ospf_lsa_lookup (), ospf_lsa_count () Added.
2945
29461999-06-15 Toshiaki Takada <takada@zebra.org>
2947
2948 * DEFUN (ospf_debug_ism), DEFUN (ospf_debug_nsm),
2949 DEFUN (no_ospf_debug_ism), DEFUN (no_ospf_debug_nsm) Added.
2950 `debug ospf ism' command shows debug message.
2951 `debuf ospf nsm' command shows debug message.
2952
29531999-06-14 Toshiaki Takada <takada@zebra.org>
2954
2955 * ospf_lsa.c: ospf_network_lsa () Added.
2956 ospf_lsa_checksum () Added.
2957 * DEFUN (ospf_debug_packet), DEFUN (no_ospf_debug_packet) Added.
2958 `debug ospf packet' command shows debug message.
2959
29601999-06-13 Toshiaki Takada <takada@zebra.org>
2961
2962 * ospf_packet.h: Remove struct ospf_ls_req {}, ospf_ls_upd {},
2963 ospf_ls_ack {}.
2964
29651999-06-11 Toshiaki Takada <takada@zebra.org>
2966
2967 * ospf_dump.c: fix IP packet length treatment.
2968
29691999-06-10 Toshiaki Takada <takada@zebra.org>
2970
2971 * ospf_ism.h: Add OSPF_ISM_EVENT_EXECUTE() Macro Added.
2972 * ospf_nsm.h: Add OSPF_NSM_EVENT_EXECUTE() Macro Added.
2973
2974 * ospf_packet.c: ospf_db_desc (), ospf_db_desc_send () Added.
2975 ospf_make_hello (), ospf_make_db_desc () Added.
2976 ospf_db_desc_proc () Added.n
2977
2978 * Database Description packet can be processed.
2979
29801999-06-08 Toshiaki Takada <takada@zebra.org>
2981
2982 * ospf_lsa.c: New file.
2983
29841999-06-07 Toshiaki Takada <takada@zebra.org>
2985
2986 * ospf_neighbor.c: ospf_fully_adjacent_count () Added.
2987
29881999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2989
2990 * ospf_spf.[ch]: New file.
2991
29921999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2993
2994 * ospf_zebra.c: Changed to use lib/zclient.c routines.
2995
2996 * ospf_zebra.h (zebra_start): Remove struct zebra.
2997
29981999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2999
3000 * ospfd.c (ospf_config_write): Add cast (unsigned long int) to
3001 ntohl for sprintf warning.
3002
30031999-05-19 Toshiaki Takada <takada@zebra.org>
3004
3005 * ospf_ism.c (ospf_dr_election): Join AllDRouters Multicast group
3006 if interface state changes to DR or BDR.
3007
30081999-05-14 Stephen R. van den Berg <srb@cuci.nl>
3009
3010 * ospf_main.c (signal_init): SIGTERM call sigint.
3011 (sigint): Logging more better message.
3012
30131999-05-12 Toshiaki Takada <takada@zebra.org>
3014
3015 * ospfd.c: Fix bug of `no router ospf' statement, it will work.
3016
30171999-05-11 Toshiaki Takada <takada@zebra.org>
3018
3019 * ospf_neighbor.c: ospf_nbr_free () Added.
3020
30211999-05-10 Toshiaki Takada <takada@zebra.org>
3022
3023 * ospfd.h: struct ospf_area { }, struct ospf_network { } Changed.
3024 * Fix bug of `no network' statement, it will work.
3025
30261999-05-07 Toshiaki Takada <takada@zebra.org>
3027
3028 * ospf_interface.c, ospf_zebra.c: Fix bug of last interface is not
3029 updated by ospf_if_update ().
3030
30311999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3032
3033 * Makefile.am (noinst_HEADERS): Add ospf_lsa.h for distribution.
3034
30351999-04-25 Toshiaki Takada <takada@zebra.org>
3036
3037 * ospf_interface.c: DEFUN (no_if_ospf_cost),
3038 DEFUN (no_if_ospf_dead_interval),
3039 DEFUN (no_if_ospf_hello_interval),
3040 DEFUN (no_if_ospf_priority),
3041 DEFUN (no_if_ospf_retransmit_interval),
3042 DEFUN (no_if_ospf_transmit_delay) Added.
3043
3044 interface_config_write () suppress showing interface
3045 default values.
3046
30471999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3048
3049 * ospf_dump.c (ospf_timer_dump): If thread is NULL return "inactive".
3050
3051 * ospfd.c (ospf_if_update): Fix bug of using ospf_area { } instead
3052 of ospf_network { }. So `router ospf' statement in ospfd.conf
3053 works again.
3054 (ospf_if_update): Call ospf_get_router_id for updating router ID.
3055
30561999-04-25 Toshiaki Takada <takada@zebra.org>
3057
3058 * ospf_interface.c: DEFUN (if_ospf_network) deleted.
3059 DEFUN (if_ospf_network_broadcast),
3060 DEFUN (if_ospf_network_non_broadcast),
3061 DEFUN (if_ospf_network_point_to_multipoint),
3062 DEFUN (if_ospf_network_point_to_point),
3063 DEFUN (no_if_ospf_network) Added.
3064
30651999-04-23 Toshiaki Takada <takada@zebra.org>
3066
3067 * ospfd.h: struct area { } changed to struct ospf_network { }.
3068 Add struct ospf_area { }.
3069 * ospfd.c: Add ospf_area_lookup_by_area_id (), ospf_network_new (),
3070 and ospf_network_free ().
3071 DEFUN (area_authentication), DEFUN (no_area_authentication) Added.
3072
30731999-04-22 Toshiaki Takada <takada@zebra.org>
3074
3075 * ospf_lsa.h: New file.
3076 * ospf_packet.h: LSA related struct definition are moved to
3077 ospf_lsa.h.
3078 * ospf_packet.c: ospf_verify_header () Added.
3079
30801999-04-21 Toshiaki Takada <takada@zebra.org>
3081
3082 * ospf_ism.c: ospf_elect_dr () and related function is changed.
3083 DR Election bug fixed.
3084 * ospf_dump.c: ospf_nbr_state_message (), ospf_timer_dump () Added.
3085 * ospfd.c: DEFUN (show_ip_ospf_neighbor) Added.
3086
30871999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
3088
3089 * ospf_main.c (main): access_list_init () is added for vty
3090 connection filtering.
3091
30921999-04-16 Toshiaki Takada <takada@zebra.org>
3093
3094 * ospfd.c: DEFUN (show_ip_ospf_interface) Added.
3095 * ospf_neighbor.c: ospf_nbr_count () Added.
3096
30971999-04-15 Toshiaki Takada <takada@zebra.org>
3098
3099 * ospfd.h: struct ospf { } Changed.
3100 * ospfd.c: ospf_lookup_by_process_id () Deleted.
3101 * ospf_ism.c: ospf_wait_timer () Added. WaitTimer will work.
3102
31031999-04-14 Toshiaki Takada <takada@zebra.org>
3104
3105 * ospf_ism.c: ospf_elect_dr () Added.
3106 * ospf_network.c: ospf_if_ipmulticast () Added.
3107
31081999-04-11 Toshiaki Takada <takada@zebra.org>
3109
3110 * ospf_interface.c: interface_config_write (),
3111 DEFUN (if_ip_ospf_cost),
3112 DEFUN (if_ip_ospf_dead_interval),
3113 DEFUN (if_ip_ospf_hello_interval),
3114 DEFUN (if_ip_ospf_priority),
3115 DEFUN (if_ip_ospf_retransmit_interval) and
3116 DEFUN (if_ip_ospf_transmit_delay) Added.
3117
31181999-04-08 Toshiaki Takada <takada@zebra.org>
3119
3120 * ospf_dump.c: ospf_packet_db_desc_dump () Added.
3121 * ospf_neighbor.c: ospf_nbr_bidirectional () Added.
3122 * ospf_nsm.c: nsm_twoway_received () Added.
3123
31241999-04-02 Toshiaki Takada <takada@zebra.org>
3125
3126 * ospf_neighbor.c: New file.
3127 * ospf_neighbor.h: New file.
3128 * ospf_nsm.c: New file.
3129 * ospf_nsm.h: New file.
3130 * ospf_packet.c: Add ospf_make_header (), ospf_hello () and
3131 ospf_hello_send (). Now OSPFd can receive Hello and send Hello.
3132
31331999-03-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3134
3135 * ospf_packet.c: Add ospf_recv_packet (). Now OSPF Hello can receive.
3136
31371999-03-19 Toshiaki Takada <takada@zebra.org>
3138
3139 * ospf_packet.c: New file.
3140 * ospf_packet.h: New file.
3141 * ospf_network.c: New file.
3142 * ospf_network.h: New file.
3143 * ospfd.h: move OSPF message structure has moved to ospf_packet.h.
3144
31451999-03-17 Kunihiro Ishiguro <kunihiro@zebra.org>
3146
3147 * ospf_zebra.c (ospf_zebra_get_interface): Fix for IPv6 interface
3148 address.
3149
3150 * Makefile.am (install-sysconfDATA): Overwrite install-sysconfDATA
3151 for install ospfd.conf.sample as owner read only file.
3152
3153 * ospf_main.c (usage): Change to use ZEBRA_BUG_ADDRESS.
3154
31551999-03-15 Toshiaki Takada <takada@zebra.org>
3156
3157 * ospf_ism.c: New file.
3158 * ospf_ism.h: New file.
3159 * ospf_dump.c: New file.
3160 * ospf_dump.h: New file.
3161
3162 * ospfd.h: Add (struct ospf), (struct config_network),
3163 (struct message) structure.
3164
3165 * ospf_interface.c: Add ospf_if_match_network ().
3166 * ospf_interface.h (struct ospf_interface): Change struct members.
3167
3168 * ospfd.c: ospf_lookup_by_process_id (), ospf_network_new (),
3169 DEFUN (network_area): Added.
3170
3171 * ospfd.conf.sample: Change sample configuration.
3172
31731999-03-05 Toshiaki Takada <takada@zebra.org>
3174
3175 * ospf_interface.c: New file.
3176 * ospf_interface.h: New file.
3177 * ospf_zebra.h: New file.
3178 * ospf_zebra.c: Add interface function for zebra daemon.
3179 * ospfd.c: New file.
3180
31811999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3182
3183 * Move IPv6 codes and files to ospf6d directory.
3184
31851999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
3186
3187 * syslog support added
3188
31891998-12-22 Toshiaki Takada <takada@zebra.org>
3190
3191 * ospfd.h: New file.
3192 * ospf_lsa.h: New file.
3193
31941998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
3195
3196 * Makefile.am: New file.
3197 * ospf_main.c: New file.
3198