blob: 8b5c3ba1c70a4484373d34b8671422fe79ebfdd4 [file] [log] [blame]
gdt87efd642004-06-30 17:36:11 +000012004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
2
3 * Makefile.am: Add shlib support.
4
hassobeebba72004-06-20 21:00:27 +000052004-06-10 Hasso Tepper <hasso@estpak.ee>
6
7 * *: Removed ifdefs HAVE_NSSA.
8
paul553ff112004-06-06 09:41:00 +000092004-06-06 Paul Jakma <paul@dishone.st>
10
11 * ospf_dump.c,ospf_lsa.c: Fix typos of merge of previous.
12 ospf_flood.c: (ospf_process_self_originated_lsa) fix zlog format
13
paul0c2be262004-05-31 14:16:54 +0000142004-05-31 Sagun Shakya <sagun.shakya@sun.com>
15
16 * ospf_dump.c: (ospf_lsa_header_dump) LOOKUP can return null if
17 index is out of range.
18 ospf_flood.c: endianness fix
19 ospf_lsa.c: Missing ntohl's on (struct lsa *)->data->ls_seqnum
20 in various places.
21
hassodd669bb2004-05-10 07:43:59 +0000222004-05-10 Hasso Tepper <hasso@estpak.ee>
23
24 * ospf_zebra.c, ospfd.c: Move ospf_prefix_list_update() function
25 to ospf_zebra.c from ospfd.c and add redistribution updates if
26 route-map is used in redistribution.
27 * ospf_main.c: Remove now useless call to ospf_init().
28
paul0a589352004-05-08 11:48:26 +0000292004-05-08 Paul Jakma <paul@dishone.st>
30
31 * ospf_zebra.c: Sync with lib/zclient changes
32
pauld3f0d622004-05-05 15:27:15 +0000332004-05-05 Paul Jakma <paul@dishone.st>
34
paul5bd41892004-05-05 17:29:24 +000035 * ospf_network.c: (ospf_sock_init) Check whether IP_HDRINCL is
36 defined. Warn at compile and runtime. Use
37 IPTOS_PREC_INTERNETCONTROL otherwise.
pauld3f0d622004-05-05 15:27:15 +000038 * ospf_packet.c: (ospf_associate_packet_vl) cleanup, move
39 some of the checks up to ospf_read, return either a
40 virtual link oi, or NULL.
41 (ospf_read) Cleanup, make it responsible for checks. Remove
42 the nbr lookup - moved to ospf_neighbor. Adjust all nbr
43 lookups to use new wrappers exported by ospf_neighbor.
44 * ospf_neighbor.h: Add ospf_neigbour_get and ospf_nbr_lookup.
45 * ospf_neighbor.c: (ospf_neigbour_get) Index ospf_interface
46 neighbour table by router-id for virtual-link ospf_interfaces,
47 not by peer_addr (which breaks for asymmetric vlinks)
48 (ospf_nbr_lookup) add a wrapper for nbr lookups to deal with
49 above.
paulcd59da62004-05-05 17:26:55 +000050 * ospf_interface.c: (ospf_vl_set_params) Catch changes of interface
51 address for either end of a virtual-link, and hence potential cost
52 changes.
53
hassoa0a39762004-04-23 08:51:10 +0000542004-04-22 Hasso Tepper <hasso@estpak.ee>
55
56 * ospf_zebra.c: Don't ignore reject/bh routes, it's the only way
57 to "summarize" routes in ASBR at the moment.
58
hasso8585d4e2004-04-20 17:25:12 +0000592004-04-20 Hasso Tepper <hasso@estpak.ee>
60
61 * ospfd.c: Unset NP flag if area is going to be normal or stub.
62 Fixes UNH OSPF_NSSA.1.2a comment.
63 * ospf_abr.c: Originate default into stub/nssa area even if
64 summaries are disabled.
65 * ospf_zebra.c: Don't attempt to redistribute 127.0.0.0/8.
66
hassoc266ac72004-04-19 17:31:00 +0000672004-04-19 Hasso Tepper <hasso@estpak.ee>
68
69 * ospf_vty.c: Don't warn that export- and import-list can't be
70 configured to backbone area if they are applied and are working
71 fine.
72
hasso128d31d2004-04-04 12:52:33 +0000732004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
74
75 * ospf_packet.c: Don't drop packets in Solaris x86.
76 [quagga-dev 1005].
77
hasso0d85b992004-03-18 19:18:33 +0000782004-03-18 Amir Guindehi <amir@datacore.ch>
79
80 * ospf_opaque.c: Attempt to correct the incorrect behavior of
81 Quagga's ospfd in the special situation that a node's opaque
82 capability has changed as "ON -> OFF -> ON". [quagga-dev 843].
83
paul7f352b82004-02-19 19:37:47 +0000842004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
85
86 * ospf_abr.c: (ospf_abr_update_aggregate) UNH 3.12b,c, address range
87 should be configured with the highest cost path within the range,
88 not lowest.
89
paul940b01a2004-02-17 20:07:30 +0000902004-02-17 Paul Jakma <paul@dishone.st>
91
92 * ospf_zebra.c: (ospf_interface_delete) Do not delete the interface
93 params, nor the interface structure, if an interface delete
94 message is received from zebra.
95 * ospf_interface.c: (ospf_if_delete_hook) Delete the interface
96 params and interface, ie that which was previously removed in
97 (ospf_interface_delete) above.
98
hasso2db3d052004-02-11 21:52:13 +0000992004-02-11 Hasso Tepper <hasso@estpak.ee>
100 * ospf_interface.c, ospf_zebra.c: Don't attempt to read path->oi->ifp
101 if oi doesn't exist any more.
102
hassocb05eb22004-02-11 21:10:19 +00001032004-02-11 Vadim Suraev <vadim.suraev@terayon.com>
104 * ospf_packet.c (ospf_ls_upd): Router should flush received network
105 LSA if it was originated with older router-id ([zebra 14710] #6).
106
1072003-12-08 Mattias Amnefelt <mattiasa@kth.se>
paul239aecc2003-12-08 10:34:54 +0000108
109 * ospf_packet.c: (ospf_recv_packet) OpenBSD now leaves iph.ip_len
110 network byte order.
111
gdt8f40e892003-12-05 14:01:43 +00001122003-12-05 Greg Troxel <gdt@poblano.ir.bbn.com>
113
114 * ospfd.c (ospf_network_match_iface): Rewrite code for clarity
115 while trying not to change semantics. Add ifdefed-out code to
116 avoid matching ppp interfaces whose destination address does not
117 also match the prefix under consideration, to help out people with
118 problems due to as-yet-unfixed bugs with p2p interfaces coming and
119 going.
120
paul736d3442003-07-24 23:22:57 +00001212003-07-25 kamatchi soundaram <kamatchi@tdd.sj.nec.com>
122
123 * ospf_packet.c (ospf_ls_upd_send_queue_event): get next route
124 node in body of the loop to avoid chance that route node
125 is unlocked and deleted before the next iteration tries to
126 get next route node.
127
paul0a825c72003-05-24 13:48:16 +00001282003-05-24 Kenji Yabuuchi
129
130 * ospf_interface.c(ospf_if_lookup_recv_if): Use the most specific
131 match for interface lookup.
132
paul551a8972003-05-18 15:22:55 +00001332003-05-18 Hasso Tepper <hasso@estpak.ee>
paul445f1432003-05-16 19:00:31 +0000134
paul551a8972003-05-18 15:22:55 +0000135 * ospf_vty.c: Show NSSA LSA route info in "show ip ospf database"
136 output
paul445f1432003-05-16 19:00:31 +0000137
pauld7480322003-05-16 17:31:51 +00001382003-05-16 Hasso Tepper <hasso@estpak.ee>
139
140 * ospf_lsa.c: Fix handling of NSSA
141
paul551a8972003-05-18 15:22:55 +00001422003-04-23 Hasso Tepper <hasso@estpak.ee>
143
144 * ospf_vty.c: fix "router xxx" node commands in vtysh
145
paul445f1432003-05-16 19:00:31 +00001462003-04-19 Hasso Tepper <hasso@estpak.ee>
147
148 * {ospf_abr,ospfd}.c: area id's DECIMAL -> ADDRESS
149 * ospf_routemap.c: sync daemon's route-map commands to have same
150 syntax.
151
1522003-04-19 Sergey Vyshnevetskiy <serg@vostok.net>
153
154 * ospf_packet.c: Add missing param to zlog
155 * ospf_flood.c: remove unused vars
156
1572003-04-17 Denis Ovsienko <zebra@pilot.org.ua>
158
159 * ospf_interface.c: fix incorrect memset
160
paul28a13842003-05-16 20:30:37 +00001612003-04-10 Amir Guindehi <amir@datacore.ch>
paul445f1432003-05-16 19:00:31 +0000162
163 * ospf_lsa.[ch]: opaque LSA fix, use ospf_lookup.
164
1652003-04-03 David Watson <dwatson@eecs.umich.edu>
166
167 * ospf_lsa.c: byte order fix
168
paul07661cb2003-03-18 00:03:05 +00001692002-03-17 Amir Guindehi <amir@datacore.ch>
170
171 * ospf_apiserver.[ch]: Merge Ralph Keller's OSPFAPI support.
172 * ospf_api.[ch]: Merge Ralph Keller's OSPFAPI support.
173 * ospfclient: OSPFAPI demonstration client.
174
1752003-01-23 Masahiko Endo <endo@suri.co.jp>
176
177 * ospf_ism.c: NSM event schedule bug fix.
178
1792002-10-30 Greg Troxel <gdt@ir.bbn.com>
180
181 * ospf_packet.c (ospf_make_md5_digest): MD5 length fix.
182
paul718e3742002-12-13 20:15:29 +00001832002-10-23 endo@suri.co.jp (Masahiko Endo)
184
185 * ospf_opaque.c: Update Opaque LSA patch.
186
1872002-10-23 Ralph Keller <keller@tik.ee.ethz.ch>
188
189 * ospf_vty.c (show_ip_ospf_database): Fix CLI parse.
190
1912002-10-23 Juris Kalnins <juris@mt.lv>
192
193 * ospf_interface.c (ospf_if_stream_unset): When write queue
194 becomes empty stop write timer.
195
1962002-10-10 Greg Troxel <gdt@ir.bbn.com>
197
198 * ospf_packet.c (ospf_check_md5_digest): Change >= to > to make it
199 conform to RFC.
200
2012002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
202
203 * zebra-0.93 released.
204
2052002-06-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
206
207 * ospf_spf.c (ospf_nexthop_calculation): Add NULL set to oi and
208 check of l2. Reported by: Daniel Drown <dan-zebra@drown.org>
209 (ospf_lsa_has_link): LSA Length calculation fix. Reported by:
210 Paul Jakma <paulj@alphyra.ie>.
211
212 * ospfd.c (ospf_if_update): Fix nextnode reference bug. Reported
213 by: juris@mt.lv.
214
2152002-01-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
216
217 * ospfd.c: Merge [zebra 11445] Masahiko ENDO's Opaque-LSA support.
218
2192001-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
220
221 * ospf_interface.c (ospf_add_to_if): Use /32 address to register
222 OSPF interface information.
223 (ospf_delete_from_if): Likewise.
224
225 * ospf_zebra.c (ospf_interface_address_delete): Likewise.
226
2272001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
228
229 * ospf_zebra.c (ospf_redistribute_unset): When redistribute type
230 is OSPF, do not unset redistribute flag.
231
2322001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
233
234 * zebra-0.92a released.
235
2362001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
237
238 * zebra-0.92 released.
239
2402001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
241
242 * ospfd.c (ospf_config_write): auto-cost reference-bandwidth
243 configuration display.
244
2452001-07-24 David Watson <dwatson@eecs.umich.edu>
246
247 * ospf_spf.c (ospf_spf_next): Modify ospf_vertex_add_parent to
248 check for an existing link before connecting the parent and child.
249 ospf_nexthop_calculation is also modified to check for duplicate
250 entries when copying from the parent. Finally, ospf_spf_next
251 removes duplicates when it merges two equal cost candidates.
252
2532001-07-23 itojun@iijlab.net
254
255 * ospfd.c (show_ip_ospf_neighbor): Check ospf_top before use it
256 [zebra 8549].
257
2582001-07-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
259
260 * ospf_packet.c (ospf_write): Remove defined(__OpenBSD__) to make
261 it work on OpenBSD.
262
2632001-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
264
265 * ospf_zebra.c (config_write_ospf_default_metric): Display
266 default-metric configuration.
267
2682001-06-18 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
269
270 * ospf_ia.h (OSPF_EXAMINE_SUMMARIES_ALL): Remove old macros.
271
2722001-05-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
273
274 * ospf_snmp.c (ospfIfEntry): Fix interface lookup bug to avoid
275 crush.
276 (ospfIfMetricEntry): Likewise.
277
2782001-03-18 Kunihiro Ishiguro <kunihiro@zebra.org>
279
280 * ospf_packet.c (ospf_read): Fix typo. Reported by: "Jen B
281 Lin'Kova" <jen@stack.net>.
282
2832001-03-15 Gleb Natapov <gleb@nbase.co.il>
284
285 * ospf_interface.c (ip_ospf_network): Set interface parameter.
286 (interface_config_write): Add check for OSPF_IFTYPE_LOOPBACK.
287
288 * ospf_zebra.c (ospf_interface_add): Set interface parameter.
289
2902001-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
291
292 * ospf_packet.c (ospf_recv_packet): Solaris also need to add
293 (iph.ip_hl << 2) to iph.ip_len.
294
2952001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
296
297 * ospfd.h (OSPF_LS_REFRESH_TIME): Fix OSPF_LS_REFRESH_TIME value.
298 Suggested by: David Watson <dwatson@eecs.umich.edu>.
299
300 * ospf_zebra.c (zebra_init): Remove zebra node.
301
302 * ospfd.c (ospf_area_range_set): Function name is changed from
303 ospf_ara_range_cmd.
304 (ospf_area_range_unset): New function which separated from DEFUN.
305 New commands are added:
306 "no area A.B.C.D range A.B.C.D/M advertise"
307 "no area <0-4294967295> range A.B.C.D/M advertise"
308 "no area A.B.C.D range A.B.C.D/M not-advertise"
309 "no area <0-4294967295> range A.B.C.D/M not-advertise"
310
311 * ospf_lsa.c (ospf_lsa_more_recent): Fix previous change.
312
3132001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
314
315 * ospf_network.c (ospf_if_add_allspfrouters): Use
316 setsockopt_multicast_ipv4.
317 (ospf_if_drop_allspfrouters): Likewise.
318
319 * ospf_lsa.c (ospf_router_lsa_install): Add rt_recalc flag.
320 (ospf_network_lsa_install): Likewise.
321 (ospf_summary_lsa_install): Likewise.
322 (ospf_summary_asbr_lsa_install): Likewise.
323 (ospf_external_lsa_install): Likewise.
324 (ospf_lsa_install): Call ospf_lsa_different to check this LSA is
325 new one or not.
326
3272001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
328
329 * ospf_zebra.c (ospf_interface_delete): Do not free interface
330 structure when ospfd receive interface delete message to support
331 pseudo interface.
332
3332001-02-01 Dick Glasspool <dick@ipinfusion.com>
334
335 * ospfd.c (area_range_notadvertise): Change area range "suppress"
336 command to "not-advertise".
337
338 * ospfd.h (OSPF_LS_REFRESH_TIME): Change OSPF_LS_REFRESH_TIME from
339 1800 to 60.
340
341 * ospf_abr.c (ospf_abr_update_aggregate): When update_aggregate is
342 updating the area-range, the lowest cost is now saved.
343
344 * ospf_lsa.c (ospf_lsa_more_recent): Routing to compare sequence
345 numbers rather than creating overflow during calculation.
346
3472001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
348
349 * zebra-0.91 is released.
350
3512001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
352
353 * ospf_packet.c (ospf_db_desc_proc): Do not continue process when
354 NSM_SeqNumberMismatch is scheduled.
355 (ospf_ls_req): Free ls_upd when return from this function.
356 (ospf_ls_upd_timer): When update list is empty do not call
357 ospf_ls_upd_send(). Suggested by: endo@suri.co.jp (Masahiko
358 Endo).
359
3602001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
361
362 * ospf_lsa.c (ospf_maxage_flood): Flood LSA when it reaches
363 MaxAge. RFC2328 Section 14.
364 (ospf_maxage_lsa_remover): Call above function during removing
365 MaxAge LSA.
366
3672001-01-26 Dick Glasspool <dick@ipinfusion.com>
368
369 * ospf_flood.c (ospf_flood_through_as): Function is updated for
370 NSSA Translations now done at ospf_abr.c with no change in P-bit.
371
372 * ospf_lsa.c (ospf_get_nssa_ip): Get 1st IP connection for Forward
373 Addr.
374 (ospf_install_flood_nssa): Leave Type-7 LSA at Lock Count = 2.
375
376 * ospf_ase.c (ospf_ase_calculate_route): Add debug codes.
377
378 * ospf_abr.c (ospf_abr_translate_nssa): Recalculate LSA checksum.
379
380 * ospf_packet.h (OSPF_SEND_PACKET_LOOP): Added for test packet.
381
382 * ospf_dump.c (ospf_lsa_type_msg): Add OSPF_GROUP_MEMBER_LSA and
383 OSPF_AS_NSSA_LSA.
384
385 * ospfd.c (data_injection): Function to inject LSA. This is
386 debugging command.
387
3882001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
389
390 * ospf_route.c (ospf_route_match_same): Remove function.
391 (ospf_route_match_same_new): Renamed to ospf_route_match_same.
392
393 * ospf_zebra.c (ospf_interface_address_delete): Add check for
394 oi->address. Suggested by Matthew Grant
395 <grantma@anathoth.gen.nz>.
396 (ospf_zebra_add): Remove function.
397 (ospf_zebra_add_multipath): Rename to ospf_zebra_add.
398
399 * ospf_interface.c: Remove HAVE_IF_PSEUDO part.
400
401 * ospf_zebra.c: Likewise.
402
4032001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
404
405 * ospf_ase.c: Remove OLD_RIB part.
406
407 * ospf_route.c: Likewise.
408
409 * zebra-0.90 is released.
410
411 * ospf_packet.c (ospf_recv_packet): Use ip_len adjestment code to
412 NetBSD.
413
4142001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
415
416 * ospf_route.c (ospf_route_delete): Use
417 ospf_zebra_delete_multipath.
418
4192001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
420
421 * ospf_interface.c (ospf_if_cleanup): Function name is renamed
422 from ospf_if_free(). Rewrite whole procudure to support primary
423 address deletion.
424
425 * ospf_zebra.c (ospf_interface_address_delete): Add primary
426 address deletion process.
427
4282001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
429
430 * ospf_packet.c (ospf_recv_packet): OpenBSD has same ip_len
431 treatment like FreeBSD.
432
4332001-01-09 endo@suri.co.jp (Masahiko Endo)
434
435 * ospf_packet.c (ospf_recv_packet): FreeBSD kernel network code
436 strips IP header size from receiving IP Packet. So we adjust
437 ip_len to whole IP packet size by adding IP header size.
438
4392001-01-08 endo@suri.co.jp (Masahiko Endo)
440
441 * ospf_network.c (ospf_serv_sock): When socket() is failed return
442 immediately.
443 (ospf_serv_sock): Close socket when it is not used.
444
445 * ospf_packet.c (ospf_write): Set sin_len when HAVE_SIN_LEN is
446 defined.
447 (ospf_write): When bind is fined, close sock.
448
4492001-01-07 Gleb Natapov <gleb@nbase.co.il>
450
451 * ospf_zebra.c (ospf_interface_state_up): Fixes coredump that
452 appears when you try to configure bandwidth on the ppp interface
453 that is not yet configured in ospfd.
454
4552001-01-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
456
457 * ospf_route.c (show_ip_ospf_route_external): "show ip ospf route"
458 will print nexthops for AS-external routes.
459
460 * ospf_ase.c (ospf_ase_route_match_same): New function to compare
461 ASE route under multipath environment.
462 (ospf_ase_compare_tables): Likewise.
463
4642001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
465
466 * ospfd.h (OSPF_VTYSH_PATH): Change "/tmp/ospfd" to "/tmp/.ospfd".
467
4682000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
469
470 * ospf_route.c (ospf_route_install): Install multipath information
471 to zebra daemon.
472
473 * ospf_zebra.c (ospf_zebra_add_multipath): Function for passing
474 multipath information to zebra daemon.
475
4762000-12-25 Dick Glasspool <dick@ipinfusion.com>
477
478 * ospf_packet.c (ospf_write): Call ospf_packet_delete when sendto
479 fail.
480 (DISCARD_LSA): Add argument N for logging point of DISCARD_LSA is
481 called.
482
483 * ospf_lsa.c (ospf_external_lsa_refresh): NSSA install_flood will
484 leave Type-7 LSA at Lock Count = 2.
485
486 * ospf_flood.c (ospf_flood_through): Flood_though_as updated for
487 NSSA no P-bit off during Area flooding, but P-bit is turned off
488 for mulitple NSSA AS flooding.
489
490 * ospf_ase.c (ospf_ase_calculate_timer): Added calculations for
491 Type-7 LSDB.
492
493 * ospf_abr.c (ospf_abr_translate_nssa): Removed one unlock call.
494 (ospf_abr_announce_nssa_defaults): Corrected Debug from EVENT to
495 NSSA.
496
4972000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
498
499 * ospf_zebra.c (ospf_zebra_read_ipv4): Checking the age of the
500 found LSA and if the LSA is MAXAGE we should call refresh instead
501 of originate.
502
5032000-12-18 Dick Glasspool <dick@ipinfusion.com>
504
505 * ospf_abr.c: Removed redundant "...flood" in
506 announce_network_to_area(). Repaired nssa Unlock by using
507 discard.
508
509 * ospf_packet.c: Removed old NSSA translate during mk_ls_update.
510
511 * ospfd.c: Free up all data bases including NSSA.
512
513 * ospf_lsa.c: Now allow removal of XLATE LSA's Check in
514 discard_callback. Added routine to get ip addr from within the
515 ifp.
516
517 * ospf_flood.c: Now set Forward Address for outgoing Type-7.
518
519 * ospf_lsa.h: Added prototype for the below. struct in_addr
520 ospf_get_ip_from_ifp (struct interface *ifp).
521
5222000-12-14 Gleb Natapov <gleb@nbase.co.il>
523
524 * ospf_packet.c (ospf_recv_packet): New OSPF pakcet read method.
525 Now maximum packet length may be 65535 bytes (maximum IP packet
526 length).
527
528 * ospf_interface.c (ospf_if_stream_set): Don't make input buffer.
529
530 * ospfd.c (config_write_network_area): Remove unnecessary area
531 lookup code.
532
5332000-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
534
535 * ospf_packet.c (ospf_read): Accept packet bigger than MTU value.
536
5372000-12-13 Gleb Natapov <gleb@nbase.co.il>
538
539 * ospfd.c (config_write_network_area): Fix bug in
540 config_write_network_area function.
541
5422000-12-12 Gleb Natapov <gleb@nbase.co.il>
543
544 * ospf_abr.c (ospf_abr_announce_network_to_area): Make Summary
545 LSA's origination and refreshment as same as other type of LSA.
546
547 * ospf_lsa.c (ospf_summary_lsa_refresh): Return struct ospf_lsa *.
548
549 * ospf_lsa.c (ospf_summary_asbr_lsa_refresh): Likewise.
550
5512000-12-08 Dick Glasspool <dick@ipinfusion.com>
552
553 The bulk of NSSA changes are contained herein; This version will
554 require manual setting of "always" for NSSA Translator, and will
555 not perform aggregation yet.
556
557 * ospf_dump.c: "debug ospf nssa" is added.
558
559 * ospf_dump.h: Likewise.
560
561 * ospf_packet.c (ospf_hello): Display router ID on Bad NSSA Hello.
562
563 * ospfd.c: Discard_LSA to stay away from LOCAL_XLT Process NSSA
564 'never, candidate, always'. Change "suppress" to "not-advertise".
565
566 * ospfd.h: Add TranslatorRole to struct ospf_area. Add anyNSSA to
567 struct ospf.
568
569 * ospf_ase.c (ospf_ase_calculate_route): External to stay away
570 from LOCAL_XLT
571
572 * ospf_nsm.c (ospf_db_summary_add): External to stay away from
573 LOCAL_XLT
574
575 * ospf_abr.c: Major logic added for abr_nssa_task(). If ABR, and
576 NSSA translator, then do it. Approve the global list, and flush
577 any unapproved.
578
579 * ospf_lsa.h: New LSA flag OSPF_LSA_LOCAL_XLT to indicate that the
580 Type-5 resulted from a Local Type-7 translation; not used for
581 flooding, but used for flushing.
582
583 * ospf_flood.c: New NSSA flooding.
584
5852000-12-08 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
586
587 * ospfd.c (ospf_find_vl_data): New function for looking up virtual
588 link data.
589 (ospf_vl_set_security): Virtual link configuration with
590 authentication.
591 (ospf_vl_set_timers): Set timers for virtual link.
592
593 * New commands are added.
594 "area A.B.C.D virtual-link A.B.C.D"
595 "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>"
596 "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"
597 "area A.B.C.D virtual-link A.B.C.D authentication-key AUTH_KEY"
598 "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"
599 "area A.B.C.D virtual-link A.B.C.D message-digest-key <1-255> md5 KEY"
600
601 * ospf_packet.c (ospf_check_md5_digest): Add neighbor's
602 cryptographic sequence number treatment.
603 (ospf_check_auth): OSPF input buffer is added to argument.
604 (ospf_read): Save neighbor's cryptographic sequence number.
605
606 * ospf_nsm.c (nsm_change_status): Clear cryptographic sequence
607 number when neighbor status is changed to NSM down.
608
609 * ospf_neighbor.c (ospf_nbr_new): Set zero to crypt_seqnum.
610
611 * ospf_neighbor.h (struct ospf_neighbor): Add cryptographic
612 sequence number to neighbor structure.
613
6142000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
615
616 * ospf_snmp.c (ospfIfLookup): OSPF MIB updates.
617 (ospfExtLsdbEntry): Add OspfExtLsdbTable treatment.
618
6192000-11-28 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
620
621 * ospfd.c (ospf_interface_down): Clear a ls_upd_queue queue of the
622 interface.
623 (ospf_ls_upd_queue_empty): New function to empty ls update queue
624 of the OSPF interface.
625 (no_router_ospf): 'no router ospf' unregister redistribution
626 requests from zebra.
627
6282000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
629
630 * ospf_ism.c (ism_change_status): Increment status change number.
631
632 * ospf_interface.h (struct ospf_interface): Add new member for
633 status change statistics.
634
635 * Makefile.am: Update dependencies.
636
637 * ospf_zebra.c (ospf_interface_add): OSPF SNMP interface update.
638 (ospf_interface_delete): OSPF SNMP interface delete.
639
640 * ospf_snmp.h: New file is added.
641
6422000-11-23 Dick Glasspool <dick@ipinfusion.com>
643
644 * ospfd.h: Add new ospf_area structure member for
645 NSSATranslatorRole and NSSATranslator state.
646
647 * ospfd.c: Provided for eventual commands to specify NSSA
648 elections for "translator- ALWAYS/NEVER/CANDIDATE". Provided for
649 decimal integer version of area-suppress.
650
651 * ospf_flood.c: Flood Type-7's only into NSSA (not AS).
652
653 * ospf_lsa.c: Undo some previous changes for NSSA. If NSSA
654 translator, advertise Nt bit.
655
656 * ospf_route.c: 1st version of "sh ip os border-routers".
657
6582000-11-23 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
659
660 * ospfd.c (area_vlink): Virtual link can not configured in stub
661 area.
662
6632000-11-23 Gleb Natapov <gleb@nbase.co.il>
664
665 * ospf_packet.c (ospf_db_desc): In states Loading and Full the
666 slave must resend its last Database Description packet in response
667 to duplicate Database Description packets received from the
668 master. For this reason the slave must wait RouterDeadInterval
669 seconds before freeing the last Database Description packet.
670 Reception of a Database Description packet from the master after
671 this interval will generate a SeqNumberMismatch neighbor
672 event. RFC2328 Section 10.8
673 (ospf_make_db_desc): DD Master flag treatment.
674
675 * ospf_nsm.c (nsm_twoway_received): Move DD related procedure to
676 nsm_change_status().
677 (nsm_bad_ls_req): Likewise.
678 (nsm_adj_ok): Likewise.
679 (nsm_seq_number_mismatch): Likewise.
680 (nsm_oneway_received): Likewise.
681
682 * ospf_neighbor.h (struct ospf_neighbor): New structure member
683 last_send_ts for timestemp when last Database Description packet
684 was sent.
685
686 * ospf_nsm.c (ospf_db_desc_timer): Make it sure nbr->last_send is
687 there. Call ospf_db_desc_resend() in any case.
688
6892000-11-16 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
690
691 * ospf_lsa.c (lsa_link_broadcast_set): When there is no DR on
692 network (suppose you have only one router with interface priority
693 0). It's router LSA does not contain the link information about
694 this network.
695
696 * ospf_nsm.c (nsm_timer_set): When you change a priority of
697 interface from/to 0 ISM_NeighborChange event should be scheduled
698 in order to elect new DR/BDR on the network.
699
700 * ospf_interface.c (ip_ospf_priority): Likewise.
701
702 * ospf_flood.c (ospf_ls_retransmit_add): When we add some LSA into
703 retransmit list we need to check whether the present old LSA in
704 retransmit list is not more recent than the new
705 one.
706
7072000-11-09 Dick Glasspool <dick@ipinfusion.com>
708
709 * ospf_packet.c: Allows for NSSA Type-7 LSA's throughout the NSSA
710 area. Any that exit the NSSA area are translated to type-5 LSA's.
711 The instantiated image is restored after translation.
712 (ospf_ls_upd_send_list): Renamed to ospf_ls_upd_queu_send().
713 (ospf_ls_upd_send): Old function which enclosed by #ifdef 0 is
714 removed.
715 (ospf_ls_ack_send): Likewise.
716
717 * ospf_flood.c: NSSA-LSA's without P-bit will be restricted to
718 local area. Otherwise they are allowed out the area to be
719 translated by ospf_packet.c.
720
721 * ospf_lsa.c: Undo some previous changes for NSSA.
722
723 * ospf_lsdb.h: New access for type 7.
724
7252000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
726
727 * ospf_route.c (ospf_path_exist): New function to check nexthop
728 and interface are in current OSPF path or not.
729 (ospf_route_copy_nexthops_from_vertex): Add nexthop to OSPF path
730 when it is not there. Reported by Michael Rozhavsky
731 <mrozhavsky@opticalaccess.com>
732
7332000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
734
735 * ospf_dump.c (config_write_debug): Add seventh string "detail" is
736 added for flag is OSPF_DEBUG_SEND | OSPF_DEBUG_RECV |
737 OSPF_DEBUG_DETAIL.
738
7392000-11-06 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
740
741 * ospf_lsa.c (router_lsa_flags): ASBR can't exit in stub area.
742
7432000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
744
745 * ospf_lsa.c (ospf_router_lsa_originate): Reduce unconditional
746 logging.
747
7482000-11-06 Dick Glasspool <dick@ipinfusion.com>
749
750 * ospfd.h: Add ait_ntoa function prototype.
751
752 * ospfd.c (ait_ntoa): New function for displaying area ID and
753 Stub/NSSA status.
754 (show_ip_ospf_interface_sub): Use ait_ntoa.
755 (show_ip_ospf_nbr_static_detail_sub): Likewise.
756 (show_ip_ospf_neighbor_detail_sub): Likewise.
757
758 * ospf_route.c (ospf_intra_route_add): Set external routing type
759 to ospf route.
760 (ospf_intra_add_router): Likewise.
761 (ospf_intra_add_transit): Likewise.
762 (ospf_intra_add_stub): Likewise.
763 (ospf_add_discard_route): Likewise.
764 (show_ip_ospf_route_network): Use ait_ntoa.
765 (show_ip_ospf_route_network): Likewise.
766 (show_ip_ospf_route_router): Likewise.
767
768 * ospf_lsa.c (show_lsa_detail): Use ait_ntoa.
769 (show_lsa_detail_adv_router): Likewise.
770 (show_ip_ospf_database_summary): Likewise.
771
772 * ospf_route.h (struct route_standard): Add new member
773 external_routing.
774
775 * ospf_ia.c (process_summary_lsa): Set external routing tyep to ospf
776 route.
777 (ospf_update_network_route): Likewise.
778 (ospf_update_router_route): Likewise.
779
7802000-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
781
782 * ospf_flood.c (ospf_process_self_originated_lsa): Enclose
783 OSPF_AS_NSSA_LSA treatment with #ifdef HAVE_NSSA.
784
7852000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
786
787 * Unconditional logging is enclosed with if (IS_DEBUG_OSPF_EVENT).
788 Please specify "debug ospf event" for enable logging.
789
790 * ospf_ism.c: Do not extern debug flag varible. It is done by
791 ospf_debug.h
792 * ospf_asbr.c: Likewise.
793 * ospf_lsa.c: Likewise.
794 * ospf_nsm.c: Likewise.
795 * ospf_zebra.c: Likewise.
796
797 * ospf_dump.c (debug_ospf_event): New command "debug ospf event"
798 is added.
799
800 * ospfd.c (router_ospf): Change logging from vty_out() to
801 zlog_info().
802 (ospf_area_stub_cmd): Likewise.
803
804 * ospf_dump.h: Extern term_debug flags.
805 (OSPF_DEBUG_EVENT): Add new flag.
806 (IS_DEBUG_OSPF_EVENT): Add new macro.
807
8082000-11-03 Dick Glasspool <dick@ipinfusion.com>
809
810 * ospf_flood.c (ospf_process_self_originated_lsa):
811 OSPF_AS_NSSA_LSA is treated as same as OSPF_AS_EXTERNAL_LSA.
812 (ospf_flood): Type-5's have no change. Type-7's can be received,
813 and will Flood the AS as Type-5's They will also flood the local
814 NSSA Area as Type-7's. The LSDB will be updated as Type-5's, and
815 during re-fresh will be converted back to Type-7's (if within an
816 NSSA).
817 (ospf_flood_through): Incoming Type-7's were allowed here if our
818 neighbor was an NSSA. So Flood our area with the Type-7 and also
819 if we are an ABR, flood thru AS as Type-5.
820
821 * ospf_lsa.c (ospf_external_lsa_refresh): Flood NSSA both NSSA
822 area and other area.
823
824 * ospf_packet.c (ospf_db_desc_proc): When AS External LSA is
825 exists in DD packet, make it sure that this area is not stub.
826 (ospf_ls_upd_list_lsa): When LSA type is NSSA then set lsa's area
827 to NULL.
828 (ospf_ls_upd): If the LSA is AS External LSA and the area is stub
829 then discard the lsa. If the LSA is NSSA LSA and the area is not
830 NSSA then discard the lsa.
831
8322000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
833
834 * ospfd.c (ospf_interface_run): Fix bug of Hello packet's option
835 is not properly set when interface comes up.
836
8372000-11-02 Kunihiro Ishiguro <kunihiro@zebra.org>
838
839 * ospfd.h (OSPF_OPTION_O): Add new hello header option.
840
8412000-11-01 Dick Glasspool <dick@ipinfusion.com>
842
843 * ospf_lsa.h: Define OSPF_MAX_LSA to 8 when HAVE_NSSA is enabled.
844 (OSPF_GROUP_MEMBER_LSA): Define OSPF_GROUP_MEMBER_LSA.
845
846 * ospf_lsa.c (show_database_desc): Add "Group Membership LSA"
847 string.
848
8492000-10-31 Dick Glasspool <dick@ipinfusion.com>
850
851 * ospf_lsa.h (OSPF_AS_NSSA_LSA): Define OSPF_AS_NSSA_LSA.
852
853 * ospf_lsa.c (show_ip_ospf_database): NSSA database display
854 function is added. ALIASES which have "show ip ospf database
855 nssa-external" is added.
856 (show_ip_ospf_border_routers): New command "show ip ospf
857 border-routers" is added.
858
8592000-10-30 Dick Glasspool <dick@ipinfusion.com>
860
861 * ospfd.c (router_ospf): NSSA Enabled message is added for
862 testing.
863 (ospf_area_type_set): Are type set for NSSA area.
864 (ospf_area_stub_cmd): Special translation of no_summary into NSSA
865 and summary information. If NSSA is enabled pass the information
866 to ospf_area_type_set().
867 (area_nssa): New commands are added:
868 "area A.B.C.D nssa"
869 "area <0-4294967295> nssa"
870 "area A.B.C.D nssa no-summary"
871 "area <0-4294967295> nssa no-summary"
872 (ospf_no_area_stub_cmd): Special translation of no_summary into
873 NSSA and summary information. If external_routing is
874 OSPF_AREA_NSSA unset area with ospf_area_type_set (area,
875 OSPF_AREA_DEFAULT).
876 (show_ip_ospf_area): Display NSSA status.
877 (config_write_ospf_area): Show NSSA configuration.
878
879 * ospf_packet.c (ospf_hello): For NSSA support, ensure that NP is
880 on and E is off.
881
8822000-10-26 Gleb Natapov <gleb@nbase.co.il>
883
884 * ospf_lsa.c (ospf_network_lsa_body_set): The network-LSA lists
885 those routers that are fully adjacent to the Designated Router;
886 each fully adjacent router is identified by its OSPF Router ID.
887 The Designated Router includes itself in this list. RFC2328,
888 Section 12.4.2.
889
8902000-10-23 Jochen Friedrich <jochen@scram.de>
891
892 * ospf_snmp.c: ospf_oid and ospfd_oid are used in smux_open after
893 it is registered. So those variables must be static.
894
8952000-10-18 K N Sridhar <sridhar@euler.ece.iisc.ernet.in>
896
897 * ospfd.c: Add area_default_cost_decimal_cmd and
898 no_area_default_cost_decimal_cmd alias.
899
9002000-10-05 Gleb Natapov <gleb@nbase.co.il>
901
902 * ospfd.c (ospf_network_new): Fix setting area format.
903 (no_router_ospf): Check area existance when calling
904 ospf_interface_down().
905
906 * ospf_flood.c (ospf_external_info_check): Fix bug of refreshing
907 default route.
908
9092000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
910
911 * zebra-0.89 is released.
912
9132000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
914
915 * ospf_snmp.c (ospfHostEntry): OSPF Host MIB is implemented.
916
917 * ospfd.c (ospf_nbr_static_cmp): OSPF neighbor is sorted by it's
918 address.
919
9202000-09-28 Michael Rozhavsky <mike@nbase.co.il>
921
922 * ospf_interface.c (ospf_if_free): Fix deleting self neighbor twice.
923
9242000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
925
926 * ospf_packet.c (ospf_read): Solaris on x86 has ip_len with host
927 byte order.
928
9292000-09-25 Toshiaki Takada <takada@zebra.org>
930
931 * ospfd.c (ospf_compatible_rfc1583), (no_ospf_compatible_rfc1583):
932 Add CISCO compatible command.
933
9342000-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
935
936 * ospf_abr.c (ospf_area_range_lookup): New function is added for
937 area range lookup in OSPF-MIB.
938 (ospf_area_range_lookup_next): Likewise.
939
9402000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
941
942 * ospfd.c (no_router_ospf): Delete virtual link before deleting
943 area structure.
944
945 * ospf_lsa.c (ospf_external_lsa_refresh_type): Check
946 EXTERNAL_INFO(type).
947
948 * ospfd.c (no_router_ospf): Call ospf_vl_delete() instead of
949 ospf_vl_data_free().
950
951 * ospf_interface.c (ospf_vl_shutdown): Execute ISM_InterfaceDown
952 when ospf_vl_shutdown is called.
953 (ospf_vl_delete): Call ospf_vl_shutdown() to delete virtual link
954 interface's thread.
955
9562000-09-21 Gleb Natapov <gleb@nbase.co.il>
957
958 * ospf_lsa.c: New implementation of OSPF refresh.
959
9602000-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
961
962 * ospf_snmp.c (ospfLsdbLookup): Add LSDB MIB implementation.
963
9642000-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
965
966 * ospf_snmp.c (ospfStubAreaEntry): Add OSPF stub area MIB.
967
9682000-09-18 Gleb Natapov <gleb@nbase.co.il>
969
970 * ospf_route.h (route_standard): Change member from `struct area'
971 to area_id.
972
973 * ospf_abr.c (ospf_abr_announce_network), (ospf_abr_should_announce),
974 (ospf_abr_process_network_rt), (ospf_abr_announce_rtr),
975 (ospf_abr_process_router_rt):
976 * ospf_ase.c (ospf_find_asbr_route),
977 (ospf_find_asbr_router_through_area),
978 * ospf_ia.c (ospf_find_abr_route), (ospf_ia_router_route),
979 (process_summary_lsa), (ospf_update_network_route),
980 (ospf_update_router_route):
981 * ospf_route.c (ospf_intra_route_add), (ospf_intra_add_router),
982 (ospf_intra_add_transit), (ospf_intra_add_stub),
983 (ospf_route_table_dump), (show_ip_ospf_route_network),
984 (show_ip_ospf_route_router), (ospf_asbr_route_cmp),
985 (ospf_prune_unreachable_routers):
986 * ospf_spf.c (ospf_rtrs_print):
987 * ospfd.c (ospf_rtrs_free): Fix the struct change above.
988
9892000-09-14 Kunihiro Ishiguro <kunihiro@zebra.org>
990
991 * ospf_network.c (ospf_serv_sock_init): Enclose SO_BINDTODEVICE
992 with ifdef.
993
9942000-09-13 Gleb Natapov <gleb@nbase.co.il>
995
996 * ospf_ism.c (ospf_elect_dr), (ospf_elect_bdr): Fix DR election.
997
998 * ospf_network.c (ospf_serv_sock_init): Add socket option
999 SO_BINDTODEVICE on read socket.
1000
1001 * ospf_packet.c (ospf_hello): Ignore Hello packet if E-bit does
1002 not match.
1003
1004 * ospfd.c (ospf_area_check_free), (ospf_area_get),
1005 (ospf_area_add_if): New function added.
1006
10072000-09-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1008
1009 * ospf_route.c (ospf_intra_add_router): Update ABR and ASBR router
1010 count.
1011
1012 * ospf_spf.c (ospf_spf_init): Rest ABR and ASBR router count
1013 starting SPF calculation.
1014
1015 * ospfd.h (struct ospf_area): Add ABR and ASBR router count.
1016
10172000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1018
1019 * ospfd.c (ospf_area_id_cmp): New area structure is sorted by area
1020 ID.
1021
1022 * ospf_lsa.c (ospf_router_lsa_originate): For OSPF MIB update
1023 lsa_originate_count.
1024 (ospf_network_lsa_originate): Likewise.
1025 (ospf_summary_lsa_originate): Likewise.
1026 (ospf_summary_asbr_lsa_originate): Likewise.
1027 (ospf_external_lsa_originate): Likewise.
1028
10292000-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1030
1031 * ospf_snmp.c (ospf_variables): ospfRouterID's type RouterID
1032 syntax is IpAddress.
1033 (ospf_admin_stat): New function for OSPF administrative status
1034 check.
1035
10362000-09-10 Jochen Friedrich <jochen@scram.de>
1037
1038 * ospf_snmp.c: Implement OSPF MIB skeleton.
1039
10402000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1041
1042 * ospf_snmp.c: New file is added.
1043
10442000-09-07 David Lipovkov <davidl@nbase.co.il>
1045
1046 * ospf_zebra.c (ospf_interface_delete): Add pseudo interface
1047 treatment.
1048
1049 * ospf_interface.c (interface_config_write): Likewise.
1050
10512000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1052
1053 * zebra-0.88 is released.
1054
10552000-08-17 Michael Rozhavsky <mike@nbase.co.il>
1056
1057 * ospfd.c (ospf_area_free): Remove virtual link configuration only
1058 when Area is removed.
1059
10602000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1061
1062 * ospfd.c (network_area): Revert check for EXTERNAL_INFO
1063 (ZEBRA_ROUTE_CONNECT).
1064 (no_network_area): Likewise.
1065
10662000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1067
1068 * ospfd.h (struct ospf): Add distance_table and
1069 distance_{all,intra,inter,external}.
1070
1071 * ospf_zebra.c: Add OSPF distance related functions.
1072
10732000-08-15 Gleb Natapov <gleb@nbase.co.il>
1074
1075 * ospf_asbr.c (ospf_external_info_find_lsa): New function added.
1076
1077 * ospf_lsa.c (ospf_default_external_info),
1078 (ospf_default_originate_timer), (ospf_external_lsa_refresh_default):
1079 New function added.
1080
1081 * ospf_zebra.c
1082 (ospf_default_information_originate_metric_type_routemap),
1083 (ospf_default_information_originate_always_metric_type_routemap):
1084 Change name and add route-map function.
1085 (ospf_default_information_originate_metric_routemap),
1086 (ospf_default_information_originate_routemap),
1087 (ospf_default_information_originate_type_metric_routemap):
1088 New DEFUN added.
1089
10902000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1091
1092 * ospf_zebra.c (zebra_interface_if_set_value): Change ifindex
1093 restore size from two octet to four.
1094
10952000-08-14 Michael Rozhavsky <mike@nbase.co.il>
1096
1097 * ospf_ase.c (ospf_ase_incremental_update): Implement incremental
1098 AS-external-LSA in 16.6 of RFC2328.
1099
11002000-08-14 Matthew Grant <grantma@anathoth.gen.nz>
1101
1102 * ospf_interface.c (ospf_if_get_output_cost): Change cost
1103 calculation algorithm.
1104
1105 * ospf_packet (ospf_ls_upd): Fix problem of LSA retransmitting.
1106
11072000-08-11 Michael Rozhavsky <mike@nbase.co.il>
1108
1109 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix maxage remover for
1110 AS-external-LSAs.
1111
11122000-08-10 Toshiaki Takada <takada@zebra.org>
1113
1114 * ospfd.c (auto_cost_reference_bandwidth): New DEFUN added.
1115 `auto-cost reference-bandwidth' OSPF router command added.
1116
11172000-08-08 Gleb Natapov <gleb@nbase.co.il>
1118
1119 * ospf_routemap.c (ospf_route_map_update): New function added.
1120 Add route-map event hook.
1121
11222000-08-08 Toshiaki Takada <takada@zebra.org>
1123
1124 * ospf_zebra.c (ospf_distribute_check_connected): If redistribute
1125 prefix is connected route on OSPF enabled interface, suppress to
1126 announce it.
1127
11282000-08-08 Matthew Grant <grantma@anathoth.gen.nz>
1129
1130 * ospf_interface.c (ospf_if_get_output_cost):
1131 New function added. Handle bandwidth parameter for cost
1132 calculation.
1133
11342000-08-08 Michael Rozhavsky <mike@nbase.co.il>
1135
1136 * ospf_interface.c (interface_config_write): Show interface
1137 configuration regardless interface is down.
1138
1139 * ospf_ase.c (ospf_ase_caocluate_route): Whole rewritten external
1140 route calculate function.
1141
11422000-08-08 Gleb Natapov <gleb@nbase.co.il>
1143
1144 * ospf_routemap.c: New file added.
1145
1146 * ospf_asbr.c (ospf_reset_route_map_set_values),
1147 (ospf_route_map_set_compare): New function added.
1148
1149 * ospf_lsa.c (ospf_external_lsa_body_set): Set routemap metric
1150 with AS-external-LSA.
1151
11522000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1153
1154 * ospf_ase.c (ospf_ase_calculate_route_add): Pass new->cost to
1155 ospf_zebra_add as metric.
1156 (ospf_ase_calculate_route_add): Likewise.
1157
1158 * ospf_route.c (ospf_route_install): Pass or->cost to
1159 ospf_zebra_add as metric.
1160
1161 * ospf_zebra.c (ospf_zebra_add): Add metric arguemnt.
1162 (ospf_zebra_delete): Likewise.
1163
11642000-08-03 Matthew Grant <grantma@anathoth.gen.nz>
1165
1166 * ospf_flood.c (ospf_flood_delayed_lsa_ack): New function added.
1167 Dispatch delayed-ACK with flooding AS-external-LSA across virtual
1168 link.
1169
11702000-07-31 Matthew Grant <grantma@anathoth.gen.nz>
1171
1172 * ospfd.c (show_ip_ospf_area): Fix lack of VTY_NEWLINE when
1173 `show ip ospf'.
1174
1175 * ospf_interface.c (ospf_if_free): Fix bug of crash with
1176 Point-to-Point interface.
1177
11782000-07-27 Michael Rozhavsky <mike@nbase.co.il>
1179
1180 * ospf_flood.c (ospf_process_self_originated_lsa):
1181 Make sure to clear LSA->param (redistributed external information)
1182 before refreshment.
1183
11842000-07-27 Gleb Natapov <gleb@nbase.co.il>
1185
1186 * ospfd.c (refresh_group_limit), (refresh_per_slice),
1187 (refresh_age_diff): New defun added. Refresher related parameter
1188 can be configurable.
1189
11902000-07-27 Akihiro Mizutani <mizutani@dml.com>
1191
1192 * ospf_interface.c (interface_config_write): Print `description'
1193 config directive to work.
1194
11952000-07-24 Akihiro Mizutani <mizutani@dml.com>
1196
1197 * ospf_interface.c (ospf_if_init): Use install_default for
1198 INTERFACE_NODE.
1199
12002000-07-24 Gleb Natapov <gleb@nbase.co.il>
1201
1202 * ospf_packet.c (ospf_ls_upd_send_list), (ospf_ls_upd_send_event),
1203 (ospf_ls_ack_send_list), (ospf_ls_ack_send_event): New function added.
1204 This make sending always as many LS update/Ack combined in one ospf
1205 packet.
1206
12072000-07-24 Gleb Natapov <gleb@nbase.co.il>
1208
1209 * ospf_packet.c (ospf_ls_upd_list_lsa): Set NULL to lsa->area if
1210 LSA is AS-external-LSA.
1211
1212 * ospf_nsm.c (nsm_reset_nbr): Do not cancel Inactivity timer.
1213
12142000-07-21 Toshiaki Takada <takada@zebra.org>
1215
1216 * ospf_zebra.c (ospf_default_originate_timer): Set timer for
1217 `default-information originate'. Fix some default originate
1218 related functions.
1219
12202000-07-12 Toshiaki Takada <takada@zebra.org>
1221
1222 * ospf_lsa.c (stream_put_ospf_metric): New function added.
1223
12242000-07-12 Toshiaki Takada <takada@zebra.org>
1225
1226 * ospf_lsa.c (show_ip_ospf_database_router),
1227 (show_ip_ospf_database_network), (show_ip_ospf_database_summary),
1228 (show_ip_ospf_database_summary_asbr), (show_ip_ospf_database_externel),
1229 (show_router_lsa), (show_any_lsa), (show_router_lsa_self),
1230 (show_any_lsa_self): Functions removed.
1231
1232 (show_lsa_prefix_set), (show_lsa_detail_proc), (show_lsa_detail),
1233 (show_lsa_detail_adv_router_proc), (show_lsa_detail_adv_router):
1234 New functions added. Replace above functions.
1235
1236 (show_ip_ospf_database_all), (show_ip_ospf_database_self_originated):
1237 Functions removed.
1238 (show_ip_ospf_database_summary): New functions added. Replace
1239 above functions.
1240
1241 (show_ip_ospf_database_cmd): DEFUN rearranged.
1242 (show_ip_ospf_database_type_id_cmd),
1243 (show_ip_ospf_database_type_id_adv_router_cmd),
1244 (show_ip_ospf_database_type_is_self_cmd): New ALIASes added.
1245 (show_ip_ospf_database_type_adv_rotuer_cmd): New DEFUN added.
1246 (show_ip_ospf_database_type_self_cmd): New ALIAS added.
1247
12482000-07-11 Toshiaki Takada <takada@zebra.org>
1249
1250 * ospf_asbr.c (ospf_external_info_new),
1251 (ospf_external_info_free): New functions added.
1252
1253 * ospf_lsa.h (ospf_lsa): Add new member `void *param' to set
1254 origination parameter for external-LSA.
1255 Remove member `redistribute'.
1256
1257 * ospf_zebra.c (ospf_redistirbute_set): When `redistribute'
1258 command executed, metric and metric-type values are overridden.
1259 If one of those is changed refresh AS-external-LSAs for appropriate
1260 type.
1261
12622000-07-11 Michael Rozhavsky <mike@nbase.co.il>
1263
1264 * ospf_lsa.c (ospf_summary_lsa_refresh),
1265 (ospf_summary_asbr_lsa_refresh): Make sure to refresh summary-LSAs.
1266
1267 * ospf_abr.c (set_metric): New function added.
1268
12692000-07-07 Toshiaki Takada <takada@zebra.org>
1270
1271 * ospf_zebra.c (ospf_default_information_originate_metric_type),
1272 (ospf_default_information_originate_type_metric): New defun added.
1273 Metic and Metric type can be set to default route.
1274 (ospf_default_information_originate_always_metric_type):
1275 (ospf_default_information_originate_always_type_metric):
1276 New defun added. Metric and Metric type can be set to default
1277 always route.
1278
1279 * ospf_zebra.c (ospf_default_metric), (no_ospf_default_metric):
1280 New defun added.
1281
12822000-07-06 Gleb Natapov <gleb@nbase.co.il>
1283
1284 * ospf_flood.c (ospf_flood_through_area): Fix bug of considering
1285 on the same interface the LSA was received from.
1286
12872000-07-06 Michael Rozhavsky <mike@nbase.co.il>
1288
1289 * ospfd.c (ospf_config_write): Fix bug of printing `area stub'
1290 command with `write mem'.
1291
1292 * ospfd.c (no_router_ospf): Remove installed routes from zebra.
1293
1294 * ospf_zebra.c (ospf_interface_delete): Fix function to handle
1295 zebra interface delete event.
1296
12972000-07-06 Toshiaki Takada <takada@zebra.org>
1298
1299 * ospf_zebra.c (ospf_default_information_originate),
1300 (ospf_default_information_originate_always): New DEFUN added.
1301
13022000-07-05 Michael Rozhavsky <mike@nbase.co.il>
1303
1304 * ospf_route.c (ospf_terminate): Make sure to remove external route
1305 when SIGINT received.
1306
13072000-07-03 Gleb Natapov <gleb@nbase.co.il>
1308
1309 * ospf_flood.c, ospf_ism.c, ospf_lsa,c, ospfd.c: Make sure to free
1310 many structure with `no router ospf'.
1311
13122000-06-30 Gleb Natapov <gleb@nbase.co.il>
1313
1314 * ospf_neighbor.c (ospf_nbr_new),
1315 ospf_nsm.c (nsm_timer_set): Start LS update timer only
1316 when neighbor enters Exchange state.
1317
13182000-06-29 Gleb Natapov <gleb@nbase.co.il>
1319
1320 * ospf_nsm.c (nsm_timer_set), (nsm_exchange_done),
1321 ospf_packet.c (ospf_db_desc_proc):
1322 Do not cancel DD retransmit timer when Master.
1323
13242000-06-29 Gleb Natapov <gleb@nbase.co.il>
1325
1326 * ospf_abr.c (ospf_abr_announce_network_to_area),
1327 (ospf_abr_announce_rtr_to_area)
1328 ospf_ase.c (ospf_ase_rtrs_register_lsa),
1329 ospf_flood.c (ospf_process_self_originated_lsa),
1330 (ospf_flood_through_area), (ospf_ls_request_delete),
1331 ospf_interface.c (ospf_if_free),
1332 ospf_ism.c (ism_change_status),
1333 ospf_lsa.c (ospf_router_lsa_update_timer),
1334 (ospf_router_lsa_install), (ospf_network_lsa_install),
1335 (ospf_lsa_maxage_delete), (ospf_lsa_action),
1336 (ospf_schedule_lsa_flood_area),
1337 ospf_nsm.c (nsm_change_status),
1338 ospf_packet.c (ospf_make_ls_req_func), (ospf_make_ls_ack):
1339 Use ospf_lsa_{lock,unlock} for all looking-up of LSA.
1340
1341 * ospf_flood.c (ospf_ls_request_free): Function deleted.
1342
1343 * ospf_lsa.c (ospf_discard_from_db): New function added.
1344
13452000-06-26 Toshiaki Takada <takada@zebra.org>
1346
1347 * ospfd.h (ospf): struct member `external_lsa' name changed to
1348 `lsdb'.
1349
13502000-06-26 Toshiaki Takada <takada@zebra.org>
1351
1352 * ospf_lsa.c (ospf_lsa_install), (ospf_router_lsa_install),
1353 (ospf_network_lsa_install), (ospf_summary_lsa_install),
1354 (ospf_summary_asbr_lsa_install), (ospf_external_lsa_install):
1355 Functions re-arranged.
1356
1357 * ospf_lsa.c (IS_LSA_MAXAGE), (IS_LSA_SELF): Macro added.
1358
13592000-06-20 Michael Rozhavsky <mike@nbase.co.il>
1360
1361 * ospf_packet.c (ospf_ls_req), (ospf_ls_upd), (ospf_ls_ack): Add
1362 verification of LS type.
1363
13642000-06-20 Gleb Natapov <gleb@nbase.co.il>
1365
1366 * ospf_ase.c (ospf_ase_calculate_timer): Add more sanity check
1367 whether rn->info is NULL.
1368
13692000-06-20 Toshiaki Takada <takada@zebra.org>
1370
1371 * ospfd.c (show_ip_ospf_interface_sub): Show Router-ID of both
1372 DR and Backup correctly with `show ip ospf interface' command.
1373
13742000-06-20 Toshiaki Takada <takada@zebra.org>
1375
1376 * ospf_lsa.c (ospf_lsa_lock), (ospf_lsa_unlock),
1377 (ospf_lsa_discard): These functions are used for avoiding
1378 unexpected reference to freed LSAs.
1379
13802000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1381
1382 * ospf_packet.c (ospf_ls_upd): Initialize lsa by NULL to avoid
1383 warning.
1384
13852000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1386
1387 * ospf_ase.h (ospf_ase_rtrs_register_lsa): Add prototype.
1388
13892000-06-12 Toshiaki Takada <takada@zebra.org>
1390
1391 * ospf_lsa.c (ospf_external_lsa_install): Make sure to register
1392 LSA to rtrs_external when replacing AS-external-LSAs in LSDB.
1393 Fix core dump.
1394
13952000-06-10 Toshiaki Takada <takada@zebra.org>
1396
1397 * ospf_lsdb.c (id_to_prefix), (ospf_lsdb_hash_key),
1398 (ospf_lsdb_hash_cmp), (ospf_lsdb_new), (ospf_lsdb_iterator),
1399 (lsdb_free), (ospf_lsdb_free), (ospf_lsdb_add), (ospf_lsdb_delete),
1400 (find_lsa), (ospf_lsdb_lookup), (find_by_id),
1401 (ospf_lsdb_lookup_by_id), (ospf_lsdb_lookup_by_header): Functinos
1402 removed for migration to new_lsdb.
1403
1404 * ospf_lsa.c (ospf_summary_lsa_install),
1405 (ospf_summary_asbr_lsa_install), (ospf_maxage_lsa_remover),
1406 (ospf_lsa_maxage_walker), (ospf_lsa_lookup),
1407 (ospf_lsa_lookup_by_id): Use new_lsdb instead of ospf_lsdb.
1408 (count_lsa), (ospf_lsa_count_table), (ospf_lsa_count),
1409 (ospf_get_free_id_for_prefix): Funcitions removed.
1410
14112000-06-09 Gleb Natapov <gleb@nbase.co.il>
1412
1413 * ospf_ism.c (ism_interface_down): Prevent some unneeded DR changes.
1414
1415 * ospf_packet.c (ospf_db_desc_proc): Fix memory leak.
1416 (ospf_hello): Always copy router-ID when hello is received.
1417
14182000-06-08 Gleb Natapov <gleb@nbase.co.il>
1419
1420 * ospf_lsa.h (struct ospf_lsa): Add member of pointer to struct
1421 ospf_area.
1422
14232000-06-08 Michael Rozhavsky <mike@nbase.co.il>
1424
1425 * ospf_ase.c (ospf_asbr_route_same): New function added.
1426 This function makes sure external route calculation more
1427 precisely.
1428
14292000-06-07 Michael Rozhavsky <mike@nbase.co.il>
1430
1431 * ospf_ism.c (ism_change_status): Use ospf_lsa_flush_area for
1432 network-LSA deletion instead of using ospf_lsdb_delete.
1433 Also cancel network-LSA origination timer.
1434
14352000-06-07 Levi Harper <lharper@kennedytech.com>
1436
1437 * ospf_interface.c (ospf_if_down): Close read fd when an interface
1438 goes down.
1439
14402000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1441
1442 * ospf_asbr.c (ospf_external_info_lookup): Add explicit brace for
1443 avoid ambiguous else.
1444
1445 * ospf_flood.c (ospf_external_info_check): Likewise.
1446
14472000-06-05 Toshiaki Takada <takada@zebra.org>
1448
1449 * ospf_nsm.c (nsm_adj_ok): Fix bug of DR election.
1450
14512000-06-04 Toshiaki Takada <takada@zebra.org>
1452
1453 * ospf_zebra.c (ospf_default_information_originate),
1454 (no_ospf_default_information_originate): New DEFUN added.
1455
14562000-06-03 Toshiaki Takada <takada@zebra.org>
1457
1458 * ospf_lsa.h, ospf_asbr.h (external_info): Struct moved from
1459 ospf_lsa.h to ospf_asbr.h.
1460
1461 * ospf_lsa.c, ospf_asbr.c (ospf_external_info_add),
1462 (ospf_external_info_delete): Function moved from ospf_lsa.c
1463 to ospf_asbr.c.
1464
14652000-06-03 Toshiaki Takada <takada@zebra.org>
1466
1467 * ospf_flood.c (ospf_external_info_check): New function added.
1468 (ospf_process_self_orignated_lsa): Make sure to flush
1469 self-originated AS-external-LSA, when router reboot and no longer
1470 originate those AS-external-LSA.
1471
14722000-06-02 Toshiaki Takada <takada@zebra.org>
1473
1474 * ospf_network.c (ospf_serv_sock): Remove SO_DONTROUTE
1475 socket option.
1476
1477 * ospf_packet.c (ospf_write): Set MSG_DONTROUTE flag for
1478 unicast destination packets.
1479
14802000-06-02 Toshiaki Takada <takada@zebra.org>
1481
1482 * ospf_lsdb.c (new_lsdb_delete): Delete entry from LSDB only when
1483 specified LSA matches.
1484
14852000-06-02 Gleb Natapov <gleb@nbase.co.il>
1486
1487 * ospf_network.c (ospf_serv_sock): Set SO_DONTROUTE
1488 socket option.
1489
14902000-06-01 Akihiro Mizutani <mizutani@dml.com>
1491
1492 * ospf_dump.c: Replace string `Debugging functions\n' with DEBUG_STR.
1493 Replace string `OSPF information\n' with OSPF_STR.
1494
14952000-06-01 Toshiaki Takada <takada@zebra.org>
1496
1497 * ospf_lsdb.[ch]: Use new_lsdb struct for network-LSA instead of
1498 ospf_lsdb.
1499
15002000-06-01 Toshiaki Takada <takada@zebra.org>
1501
1502 * ospf_dump.c (config_debug_ospf_packet), (config_debug_ospf_event),
1503 (config_debug_ospf_ism), (config_debug_ospf_nsm),
1504 (config_debug_ospf_lsa), (config_debug_ospf_zebra),
1505 (term_debug_ospf_packet), (term_debug_ospf_event),
1506 (term_debug_ospf_ism), (term_debug_ospf_nsm),
1507 (term_debug_ospf_lsa), (term_debug_ospf_zebra): Repalce debug_ospf_*
1508 variable to use for debug option flags.
1509
1510 (debug_ospf_packet), (debug_ospf_ism), (debug_ospf_nsm),
1511 (debug_ospf_lsa), (debug_ospf_zebra): Set {config,term}_debug_*
1512 flags when vty->node is CONFIG_NODE, otherwise set only term_debug_*
1513 flags.
1514
1515 * ospf_dump.h (CONF_DEBUG_PACKET_ON), (CONF_DEBUG_PACKET_OFF),
1516 (TERM_DEBUG_PACKET_ON), (TERM_DEBUG_PACKET_OFF),
1517 (CONF_DEBUG_ON), (CONF_DEBUG_OFF), (IS_CONF_DEBUG_OSPF_PACKET),
1518 (IS_CONF_DEBUG_OSPF): New Macro added.
1519
15202000-05-31 Toshiaki Takada <takada@zebra.org>
1521
1522 * ospfd.c (clear_ip_ospf_neighbor): New DEFUN added.
1523 Currently this command is used for only debugging.
1524
1525 * ospf_nsm.c (nsm_change_status): Make sure thread cancellation
1526 for network-LSA when DR has no full neighbors.
1527
1528 * ospf_nsm.c (ospf_db_summary_clear): New function added.
1529
15302000-05-30 Toshiaki Takada <takada@zebra.org>
1531
1532 * ospf_lsdb.c (new_lsdb_insert): LSAs are always freed by
1533 maxage_lsa_remover when LSA is replaced.
1534
15352000-05-25 Gleb Natapov <gleb@nbase.co.il>
1536
1537 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all): Add argument
1538 `struct ospf_area' to remove LSA from Link State retransmission list
1539 of neighbor from only one Area.
1540
15412000-05-24 Michael Rozhavsky <mike@nbase.co.il>
1542
1543 * ospf_lsdb.c (ospf_lsdb_add): Preserve flags field when
1544 overriting old LSA with new LSA.
1545
15462000-05-24 Gleb Natapov <gleb@nbase.co.il>
1547
1548 * ospf_lsa.c (ospf_router_lsa_body_set): Fix bug of router-LSA
1549 size calculation.
1550
15512000-05-22 Michael Rozhavsky <mike@nbase.co.il>
1552
1553 * ospf_route.c (ospf_intra_add_stub):
1554 * ospf_spf.h (struct vertex): Use u_int32_t for distance (cost)
1555 value instead of u_int16_t.
1556
15572000-05-22 Axel Gerlach <agerlach@datus.datus.com>
1558
1559 * ospf_ia.c (ospf_ia_network_route): Fix bug of Inter-area route
1560 equal cost path calculation.
1561
15622000-05-21 Toshiaki Takada <takada@zebra.org>
1563
1564 * ospf_ase.c (ospf_ase_calculate_route_delete): New function added.
1565 Make sure, when rotuer route is deleted, related external routes
1566 are also deleted.
1567
15682000-05-20 Toshiaki Takada <takada@zebra.org>
1569
1570 * ospfd.c (ospf_interface_down): Make sure interface flag is disable
1571 and set fd to -1.
1572
15732000-05-16 Toshiaki Takada <takada@zebra.org>
1574
1575 * ospf_asbr.c (ospf_asbr_should_announce), (ospf_asbr_route_remove):
1576 Functions removed.
1577
1578 * ospfd.h (EXTERNAL_INFO): Macro added.
1579 Substitute `ospf_top->external_info[type]' with it.
1580
15812000-05-16 Toshiaki Takada <takada@zebra.org>
1582
1583 * ospf_lsa.c (ospf_rtrs_external_remove): New function added.
1584
15852000-05-14 Gleb Natapov <gleb@nbase.co.il>
1586
1587 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all)
1588 * ospf_lsdb.c (new_lsdb_insert)
1589 * ospf_packet.c (ospf_ls_ack): Fix database synchonization problem.
1590
15912000-05-14 Gleb Natapov <gleb@nbase.co.il>
1592
1593 * ospf_lsa.h (tv_adjust), (tv_ceil), (tv_floor), (int2tv),
1594 (tv_add), (tv_sub), (tv_cmp): Prototype definition added.
1595
1596 * ospf_nsm.h (ospf_db_summary_delete_all): Prototype definition added.
1597
15982000-05-13 Toshiaki Takada <takada@zebra.org>
1599
1600 * ospf_lsa.[ch] (ospf_lsa): struct timestamp type is changed from
1601 time_t to struct timeval.
1602 (tv_adjust), (tv_ceil), (tv_floor), (int2tv), (tv_add),
1603 (tv_sub), (tv_cmp): timeval utillity functions added.
1604
16052000-05-12 Toshiaki Takada <takada@zebra.org>
1606
1607 * ospf_lsa.[ch] (ospf_schedule_update_router_lsas): Delete function.
1608 Change to use macro OSPF_LSA_UPDATE_TIMER instead of using
1609 this function.
1610 router-LSA refresh timer related stuff is re-organized.
1611
16122000-05-10 Gleb Natapov <gleb@nbase.co.il>
1613
1614 * ospf_interface.c (ospf_vl_set_params):
1615 * ospf_packet.c (ospf_check_network_mask):
1616 * ospf_spf.[ch] (ospf_spf_next):
1617 Remove field address from `struct vertex', and search for peer
1618 address of virtual link in function `ospf_vl_set_params' instead.
1619
16202000-05-10 Gleb Natapov <gleb@nbase.co.il>
1621
1622 * ospf_packet.c (ospf_ls_upd): Fix some memory leak related LSA.
1623
16242000-05-08 Thomas Molkenbur <tmo@datus.com>
1625
1626 * ospf_packet.c (ospf_packet_dup): Replace ospf_steram_copy()
1627 with ospf_stream_dup() to fix memory leak.
1628
16292000-05-08 Michael Rozhavsky <mike@nbase.co.il>
1630
1631 * ospf_flood.c (ospf_flood_through_area): Fix the problem of
1632 LSA update without DROther.
1633
16342000-05-04 Gleb Natapov <gleb@nbase.co.il>
1635
1636 * ospf_spf.c (ospf_vertex_free): Fix memory leak of SPF calculation.
1637
16382000-05-03 Toshiaki Takada <takada@zebra.org>
1639
1640 * ospf_neighbor.c (ospf_db_summary_add): Use new_lsdb struct
1641 instead linked-list.
1642 (ospf_db_summary_count), (ospf_db_summary_isempty):
1643 New function added.
1644
1645 * ospf_lsa.c (ospf_rotuer_lsa): Re-arrange and divide functions.
1646
16472000-05-02 Gleb Natapov <gleb@nbase.co.il>
1648
1649 * ospf_lsdb.c (new_lsdb_cleanup): Fix memory leak. When LSDB are
1650 not needed any more, then free them.
1651
16522000-05-02 Toshiaki Takada <takada@zebra.org>
1653
1654 * ospfd.c (timers_spf), (no_timers_spf): New defun added.
1655 SPF calculation timers related stuff is rearranged.
1656
1657 * ospf_spf.c (ospf_spf_calculate_timer_add): Function removed.
1658 SPF timer is scheduled by SPF calculation delay and holdtime
1659 configuration variable.
1660
1661 * ospf_lsa.c (ospf_external_lsa_nexthop_get): Set AS-external-LSA's
1662 forwarding address when nexthop learned by other protocols is
1663 in the OSPF domain.
1664
1665 * ospf_zebra.c (ospf_redistribute_source_metric_type),
1666 (ospf_redistribute_source_type_metric): Re-arrange DEFUNs and
1667 ALIASes.
1668
16692000-05-01 Toshiaki Takada <takada@zebra.org>
1670
1671 * ospf_flood.c (ospf_ls_retransmit_count),
1672 (ospf_ls_retransmit_isempty): New function added.
1673
1674 (ospf_ls_retransmit_add), (ospf_ls_retransmit_delete),
1675 (ospf_ls_retransmit_clear), (ospf_ls_retransmit_lookup),
1676 (ospf_ls_retransmit_delete_all), (ospf_ls_retransmit_delete_nbr_all),
1677 (ospf_ls_retransmit_add_nbr_all): Replace these functions to use
1678 new_lsdb.
1679
16802000-04-29 Toshiaki Takada <takada@zebra.org>
1681
1682 * ospfd.c (no_network_area): Add check Area-ID whether specified
1683 Area-ID with prefix matches config.
1684
16852000-04-27 Toshiaki Takada <takada@zebra.org>
1686
1687 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix problem of
1688 remaining withdrawn routes on zebra.
1689
16902000-04-25 Michael Rozhavsky <mike@nbase.co.il>
1691
1692 * ospf_nsm.c (nsm_kill_nbr), (nsm_ll_down), (nsm_change_status),
1693 (ospf_nsm_event): Fix network-LSA re-origination problem.
1694
16952000-04-24 Toshiaki Takada <takada@zebra.org>
1696
1697 * ospf_nsm.c (ospf_db_desc_timer): Fix bug of segmentation fault
1698 with DD retransmission.
1699
1700 * ospf_nsm.c (nsm_kill_nbr): Fix bug of re-origination when
1701 a neighbor disappears.
1702
17032000-04-23 Michael Rozhavsky <mike@nbase.co.il>
1704
1705 * ospf_abr.c (ospf_abr_announce_network_to_area): Fix bug of
1706 summary-LSAs reorigination. Correctly copy OSPF_LSA_APPROVED
1707 flag to new LSA. when summary-LSA is reoriginatd.
1708
1709 * ospf_flood.c (ospf_flood_through_area): Fix bug of flooding
1710 procedure. Change the condition of interface selection.
1711
17122000-04-21 Toshiaki Takada <takada@zebra.org>
1713
1714 * ospf_lsa.c (ospf_refresher_register_lsa): Fix bug of refresh never
1715 occurs.
1716
1717 * ospfd.c (show_ip_ospf_neighbor_id): New defun added.
1718 `show ip ospf neighbor' related commands are re-arranged.
1719
17202000-04-20 Toshiaki Takada <takada@zebra.org>
1721
1722 * ospf_dump.c (debug_ospf_zebra): New defun added.
1723 Suppress zebra related debug information.
1724
17252000-04-19 Toshiaki Takada <takada@zebra.org>
1726
1727 * ospf_zebra.c (ospf_distribute_list_update_timer),
1728 (ospf_distribute_list_update), (ospf_filter_update):
1729 New function added. Re-organize `distribute-list' router ospf
1730 command.
1731
17322000-04-13 Michael Rozhavsky <mike@nbase.co.il>
1733
1734 * ospf_packet.c (ospf_make_ls_upd): Add check for MAX_AGE.
1735
17362000-04-14 Michael Rozhavsky <mike@nbase.co.il>
1737
1738 * ospf_packet.c (ospf_make_ls_upd): Increment LS age by configured
1739 interface transmit_delay.
1740
17412000-04-14 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1742
1743 * ospf_interface.c (ip_ospf_cost), (no_ip_ospf_cost):
1744 Add to schedule router_lsa origination when the interface cost changes.
1745
17462000-04-12 Toshiaki Takada <takada@zebra.org>
1747
1748 * ospf_lsa.c (ospf_refresher_register_lsa),
1749 (ospf_refresher_unregister_lsa): Fix bug of core dumped.
1750
1751 * ospfd.c (no_router_ospf): Fix bug of core dumped.
1752
17532000-03-29 Toshiaki Takada <takada@zebra.org>
1754
1755 * ospf_nsm.c (nsm_oneway_received): Fix bug of MS flag unset.
1756
17572000-03-29 Michael Rozhavsky <mike@nbase.co.il>
1758
1759 * ospf_lsa.c (ospf_network_lsa):
1760 * ospf_nsm.c (ospf_nsm_event): Fix bug of Network-LSA originated
1761 in stub network.
1762
17632000-03-28 Toshiaki Takada <takada@zebra.org>
1764
1765 * ospf_nsm.c (nsm_bad_ls_req), (nsm_seq_number_mismatch),
1766 (nsm_oneway_received): Fix bug of NSM state flapping between
1767 ExStart and Exchange.
1768
17692000-03-28 Toshiaki Takada <takada@zebra.org>
1770
1771 * ospf_packet.h (strcut ospf_header): Fix the size of ospf_header,
1772 change u_int8_t to u_char.
1773
17742000-03-27 Toshiaki Takada <takada@zebra.org>
1775
1776 * ospf_lsa.c (ospf_lsa_checksum): Take care of BIGENDIAN architecture.
1777
17782000-03-27 Toshiaki Takada <takada@zebra.org>
1779
1780 * ospfd.c (ospf_interface_run): Make sure Address family matches.
1781
17822000-03-26 Love <lha@s3.kth.se>
1783
1784 * ospf_packet.c (ospf_write): Chack result of sendto().
1785
17862000-03-26 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1787
1788 * ospf_nsm.c (nsm_oneway_received): Fix bug of 1-WayReceived in NSM.
1789
17902000-03-23 Libor Pechacek <farco@clnet.cz>
1791
1792 * ospf_lsa.c (ospf_network_lsa)
1793 * ospf_lsdb.c (new_lsdb_insert): Fix bug of accessing to
1794 unallocated memory.
1795
17962000-03-23 Toshiaki Takada <takada@zebra.org>
1797
1798 * ospfd.c (ospf_config_write): Fix bug of duplicate line for
1799 `area A.B.C.D authentication'.
1800
18012000-03-22 Toshiaki Takada <takada@zebra.org>
1802
1803 * ospf_debug.c (debug_ospf_lsa), (no_debug_ospf_lsa): Defun added.
1804 Suppress all zlog related to LSAs with this config option.
1805
18062000-03-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1807
1808 * ospf_nsm.c (ospf_nsm_event): Add check for NSM_InactivityTimer.
1809
18102000-03-21 Toshiaki Takada <takada@zebra.org>
1811
1812 * ospf_packet.c (ospf_ls_upd_timer), (ospf_ls_req):
1813 Fix bug of memory leak about linklist.
1814
1815 * ospf_flood.c (ospf_flood_through_area): Likewise.
1816
18172000-03-18 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1818
1819 * ospf_flood.c (ospf_ls_retransmit_lookup): Add checksum comparison
1820 to identify LSA uniquely. This fix routes lost.
1821
18222000-03-18 Toshiaki Takada <takada@zebra.org>
1823
1824 * ospf_ase.c (ospf_find_asbr_route): Add sanity check with router
1825 routing table.
1826
18272000-03-17 Alex Zinin <zinin@amt.ru>
1828
1829 * ospf_spf.[ch]: Bug fix.
1830 The 2nd stage of Dijkstra could consider one vertex
1831 more than once if there is more than one link
1832 between the routers, thus adding extra CPU overhead
1833 and extra next-hops.
1834 Fixed.
1835
18362000-03-15 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1837
1838 * ospf_nsm.c (nsm_inactivity_timer): Changed to call nsm_kill_nbr().
1839
18402000-03-14 Toshiaki Takada <takada@zebra.org>
1841
1842 * ospf_route.c (ospf_route_copy_nexthops): Fix bug of memory leak of
1843 ospf_path. Actually ignore merging ospf_route with completely same
1844 paths.
1845
18462000-03-12 Toshiaki Takada <takada@zebra.org>
1847
1848 * ospf_lsa.c (show_as_external_lsa_detail): fix bug of
1849 external route tag byte order.
1850
18512000-03-11 Toshiaki Takada <takada@zebra.org>
1852
1853 * ospf_lsdb.c (ospf_lsdb_insert): New function added.
1854
18552000-03-09 Toshiaki Takada <takada@zebra.org>
1856
1857 * ospf_lsa.c (ospf_external_lsa_install),
1858 (ospf_lsa_lookup), (show_ip_ospf_database_all),
1859 (show_ip_ospf_database_self_originate): Use struct new_lsdb for
1860 LSDB of AS-external-LSAs instead of ospf_lsdb.
1861
1862 * ospf_lsa.c (ospf_lsa_unique_id): New function added.
1863 Use for assigning Unique Link State ID instead of
1864 ospf_get_free_id_for_prefix().
1865
18662000-03-09 Toshiaki Takada <takada@zebra.org>
1867
1868 * ospf_ase.c (ospf_ase_calculate_timer): Fix bug of segmentation
1869 fault reported by George Bonser <george@siteROCK.com>.
1870
18712000-03-07 Libor Pechacek <farco@clnet.cz>
1872
1873 * ospfd.c (ospf_interface_down): Fix bug of segmentation fault.
1874
18752000-03-06 Toshiaki Takada <takada@zebra.org>
1876
1877 * ospf_route.c (ospf_route_cmp): Change meaning of return values.
1878
18792000-03-02 Alex Zinin <zinin@amt.ru>
1880 * ospfd.h, ospf_ia.h
1881 New Shortcut ABR code. Now area's flag can be configured
1882 with Default, Enable, and Disable values.
1883 More info will be in the new ver of I-D soon (see IETF web).
1884
18852000-02-25 Toshiaki Takada <takada@zebra.org>
1886
1887 * ospf_lsa.c (ospf_lsa_header_set), (ospf_external_lsa_body_set),
1888 (osfp_external_lsa_originate), (ospf_external_lsa_queue),
1889 (ospf_external_lsa_originate_from_queue): New function added.
1890 (ospf_external_lsa): Function removed.
1891
1892 * ospf_zebra.c (ospf_zebra_read_ipv4): Originate AS-external-LSA
1893 when listen a route from Zebra, instead creating external route.
1894
1895 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
1896 (ospf_asbr_route_add_queue_lsa),
1897 (ospf_asbr_route_install_lsa), (ospf_asbr_route_add):
1898 Functions removed.
1899
1900 * ospf_ase.c (process_ase_lsa): Function will not be used.
1901 (ospf_ase_calculate), (ospf_ase_calculate_route_add),
1902 (ospf_ase_calculate_new_route), (ospf_ase_caluculate_asbr_route):
1903 process_ase_lsa () is separated to these functions.
1904
1905 OSPF AS-external-LSA origination is whole re-organized.
1906
19072000-02-18 Toshiaki Takada <takada@zebra.org>
1908
1909 * ospf_packet.c (ospf_ls_upd): Fix bug of OSPF LSA memory leak.
1910
1911 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
1912 (ospf_asbr_route_add_queue_lsa): Fix bug of OSPF external route
1913 memory leak.
1914
19152000-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1916
1917 * ospf_asbr.c (ospf_asbr_route_install_lsa): Re-calculate LSA
1918 checksum after change Advertised Router field.
1919
19202000-02-09 Toshiaki Takada <takada@zebra.org>
1921
1922 * ospf_asbr.c (ospf_external_route_lookup): Add new function.
1923
19242000-02-08 Toshiaki Takada <takada@zebra.org>
1925
1926 * ospfd.c (ospf_router_id_get), (ospf_router_id_update),
1927 (ospf_router_id_update_timer): Router ID decision algorithm is changed.
1928 Router ID is chosen from all of eligible interface addresses even if
1929 it is not enable to OSPF.
1930
19312000-02-08 Toshiaki Takada <takada@zebra.org>
1932
1933 * ospf_asbr.c (ospf_asbr_route_add): Function divided to
1934 ospf_asbr_route_add_flood_lsa, ospf_asbr_route_add_queue_lsa and
1935 ospf_asbr_route_install_lsa. If Router-ID is not set, then LSA is
1936 waited to install to LSDB.
1937 `0.0.0.0 adv_router' AS-external-LSA origination bug was fixed.
1938
19392000-02-01 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1940
1941 * ospf_flood.c (ospf_ls_retransmit_lookup): Compare LS seqnum
1942 in the ACK before deleting.
1943
1944 * ospf_packet.c (ospf_hello): Reset the flags after a shutdown
1945 and no shutdown of the interface.
1946
19472000-01-31 Toshiaki Takada <takada@zebra.org>
1948
1949 * ospf_packet.c (ospf_ls_req): Send multiple Link State Update
1950 packets respond to a Link State Request packet.
1951
1952 * ospfd.c (show_ip_ospf_neighbor_detail_sub): Show thread state.
1953
1954 * ospf_interface.c (ospf_vl_new): Crash when backbone area
1955 is not configured and set virtual-link to no-backbone area,
1956 bug fixed.
1957
19582000-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1959
1960 * ospf_neighbor.h (struct ospf_neighbor): Add pointer to last send
1961 LS Request LSA.
1962
1963 * ospf_packet.c (ospf_ls_upd): Comment out LS request list
1964 treatment. That should be done in OSPF flooding procedure.
1965
1966 * ospf_flood.c (ospf_flood_through_area): Enclose
1967 ospf_check_nbr_loding inside if-else close.
1968
19692000-01-31 Toshiaki Takada <takada@zebra.org>
1970
1971 * ospf_packet.c (ospf_make_ls_upd): Fix bug of #LSAs counting.
1972
19732000-01-29 Toshiaki Takada <takada@zebra.org>
1974
1975 * ospf_packet.c (ospf_make_md5_digest): Fix bug of md5 authentication.
1976
19772000-01-28 Toshiaki Takada <takada@zebra.org>
1978
1979 * ospfd.c (show_ip_ospf): Show Number of ASE-LSAs.
1980
19812000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1982
1983 * ospf_packet.c (ospf_make_db_desc): Don't use rm_list for
1984 removing LSA from nbr->db_summary.
1985
19862000-01-27 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1987
1988 * ospf_packet.c (ospf_ls_upd_send): Set AllSPFRouters to
1989 destination when the link is point-to-point.
1990 (ospf_ls_ack_send_delayed): Likewise.
1991
19922000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1993
1994 * ospf_flood.c (ospf_ls_request_delete_all): Fix bug of next
1995 pointer lookup after the node is freed.
1996
19972000-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1998
1999 * ospf_asbr.c (ospf_asbr_route_add): Instead of scanning all AS
2000 external route, use ospf_top->external_self.
2001
20022000-01-27 Toshiaki Takada <takada@zebra.org>
2003
2004 * ospf_lsa.c (ospf_forward_address_get): New function added.
2005
2006 * ospf_asbr.c (ospf_asbr_check_lsas): Originate AS-external-LSA
2007 only when it should be replaced.
2008
20092000-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2010
2011 * ospf_flood.c (ospf_ls_retransmit_clear): Delete list node.
2012
2013 * ospf_lsa.c (ospf_lsa_free): Reduce logging message using
2014 ospf_zlog value.
2015
2016 * ospf_ism.c (ism_change_status): Fix bug of DR -> non DR status
2017 change. Self originated LSA is freed but not deleted from lsdb.
2018
20192000-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2020
2021 * ospf_ism.c (ism_interface_down): Don't use router_id for
2022 detecting self neighbor structure. Instead of that compare
2023 pointer itself.
2024
2025 * ospf_neighbor.c (ospf_nbr_free): Cancel all timer when neighbor
2026 is deleted.
2027 (ospf_nbr_free): Free last send packet.
2028
2029 * ospf_neighbor.h (struct ospf_neighbor): Remove host strucutre.
2030 Instead of that src is introduced.
2031
2032 * ospf_nsm.h: Enclose macro defenition with do {} while (0).
2033
20342000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2035
2036 * ospfd.c: Change part of passive interface implementation. For
2037 passive interface just disabling sending/receiving Hello on the
2038 interface.
2039
20402000-01-16 Kai Bankett <kai.bankett@vew-telnet.net>
2041
2042 * ospf_interface.h (OSPF_IF_PASSIVE): Add passive flag.
2043 * ospf_interface.c (ospf_if_lookup_by_name): Add new function.
2044 * ospf_lsa.c (ospf_router_lsa): Skip passive interface.
2045 * ospfd.c (passive_interface): New command passive-interface is
2046 added.
2047 (ospf_config_write): Print passive interface.
2048
20492000-01-15 Toshiaki Takada <takada@zebra.org>
2050
2051 * ospf_interface.h (crypt_key): New struct added to store
2052 multiple cryptographic autheitication keys.
2053 (ospf_interface): struct changed.
2054
2055 * ospf_interface.c: ospf_crypt_key_new, ospf_crypt_key_add,
2056 ospf_crypt_key_lookup, ospf_crypt_key_delete: new functions added.
2057
2058 * ospf_packet.c (ip_ospf_message_digest_key): Changed to store
2059 multiple cryptographic authentication keys.
2060
20612000-01-14 Toshiaki Takada <takada@zebra.org>
2062
2063 * ospf_interface.c: DEFUN (if_ospf_*) commands changed name to
2064 ip_ospf_* ().
2065 Old notation `ospf *' still remains backward compatibility.
2066
20671999-12-29 Alex Zinin <zinin@amt.ru>
2068 * ospf_lsa.c: ospf_lsa_more_recent() bug fix
2069 * ospf_nsm.c, ospf_packet.c: remove nbr data struct when
2070 int goes down, also check DD flags correctly (bug fix)
2071
20721999-12-28 Alex Zinin <zinin@amt.ru>
2073 * "redistribute <source> metric-type (1|2) metric <XXX>" added
2074
20751999-12-23 Alex Zinin <zinin@amt.ru>
2076 * added RFC1583Compatibility flag
2077 * added dynamic interface up/down functionality
2078
20791999-11-19 Toshiaki Takada <takada@zebra.org>
2080
2081 * ospf_neighbor.h (struct ospf_neighbor): Add member state_change
2082 for NSM state change statistics.
2083
20841999-11-19 Toshiaki Takada <takada@zebra.org>
2085
2086 * ospfd.c (show_ip_ospf_neighbor_detail),
2087 (show_ip_ospf_neighbor_int_detail): DEFUN Added.
2088
20891999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2090
2091 * ospf_asbr.c (ospf_asbr_check_lsas): Add check of
2092 lsa->refresh_list.
2093
20941999-11-11 Toshiaki Takada <takada@zebra.org>
2095
2096 * ospf_ia.[ch] (OSPF_EXAMINE_SUMMARIES_ALL): Macro added.
2097 This macro is expanded to ospf_examine_summaries ()
2098 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2099 (OSPF_EXAMINE_TRANSIT_SUMMARIES_ALL): Macro added.
2100 This macro is expanded to ospf_examine_transit_summaries ()
2101 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2102
21031999-11-11 Toshiaki Takada <takada@zebra.org>
2104
2105 * ospf_lsa.[ch] (ospf_find_self_summary_lsa_by_prefix): Changed to
2106 macro OSPF_SUMMARY_LSA_SELF_FIND_BY_PREFIX.
2107 (ospf_find_self_summary_asbr_lsa_by_prefix): Changed to
2108 macro OSPF_SUMMARY_ASBR_LSA_SELF_FIND_BY_PREFIX.
2109 (ospf_find_self_external_lsa_by_prefix): Changed to
2110 macro OSPF_EXTERNAL_LSA_SELF_FIND_BY_PREFIX.
2111
21121999-11-11 Toshiaki Takada <takada@zebra.org>
2113
2114 * ospfd.c (ospf_abr_type): ospf_abr_type_cisco, ospf_abr_type_ibm,
2115 ospf_abr_type_shortcut and ospf_abr_type_standard DEFUNs are
2116 combined.
2117 * ospfd.c (no_ospf_abr_type): no_ospf_abr_type_cisco,
2118 no_ospf_abr_type_ibm and no_ospf_abr_type_shortcut DEFUNS are
2119 combined.
2120
21211999-11-10 Toshiaki Takada <takada@zebra.org>
2122
2123 * ospf_route.c (ospf_lookup_int_by_prefix): Move function to
2124 ospf_interface.c and change name to ospf_if_lookup_by_prefix ().
2125
21261999-11-01 Alex Zinin <zinin@amt.ru>
2127 * ospf_packet.c
2128 some correction to LSU processing
2129
2130 * ospf_lsa.c ospfd.h
2131 randomize initial LSA refreshment interval
2132 and limit the size of LSA-group to 10
2133 to let randomization work more effectively.
2134
21351999-10-31 Alex Zinin <zinin@amt.ru>
2136 * ospf_interface.c
2137 cancel t_network_lsa_self
2138 when freeing int structure
2139
2140 * ospf_abr.c ospf_asbr.c ospf_flood.c ospf_lsa.c
2141 ospf_lsa.h ospf_lsdb.h ospfd.c ospfd.h
2142
2143 Summary and ASE LSA refreshment functions
2144 added---LSA refreshment is paced to 70 LSAs
2145 per sec to avoid link overflow. Refreshment events
2146 are further randomized within a 10 sec interval
2147 to avoid syncing.
2148
2149 Also the sigfault of memcmp() in ospf_lsa_is_different()
2150 is fixed.
2151
21521999-10-30 Alex Zinin <zinin@amt.ru>
2153 * ospf_nsm.c
2154 Fix the bug where MAX_AGE LSAs
2155 are included into the DB summary.
2156
2157 * ospf_interface.c
2158 allocate 2*MTU input buffer instead of just MTU
2159 for the cases when the other router mistakenly
2160 sends larger packets thus causing fragmentation, etc.
2161
2162 * ospf_nsm.c
2163 in nsm_reset_nbr() lists should be freed
2164 not when they are empty.
2165
21661999-10-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2167
2168 * ospf_zebra.c (ospf_acl_hook): Move OSPF_IS_ASBR and OSPF_IS_ABR
2169 check inside of if (ospf_top).
2170
21711999-10-29 Alex Zinin <zinin@amt.ru>
2172 * ospf_lsa.c ospf_lsdb.c :
2173 add assertion in lsa and lsa->data alloc functions,
2174 as well as in lsdb_add for new->data
2175
2176 * ospf_lsdb.c: free hash table correctly
2177
21781999-10-28 John Capo <jc@irbs.com>
2179
2180 * ospf_packet.h (OSPF_PACKET_MAX): Correct MAX packet length
2181 calculation
2182
21831999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2184
2185 * OSPF-TRAP-MIB.txt: New file added. Edited version of RFC1850.
2186
2187 * OSPF-MIB.txt: New file added. Edited version of RFC1850.
2188
21891999-10-27 Alex Zinin <zinin@amt.ru>
2190 * ospfd, ospf_zebra, ospf_abr
2191 "area import-list" command is added.
2192 This command allows to filter the inter-area routes
2193 injected into an area. Access list hook function
2194 extended to invalidate area exp/imp lists.
2195
21961999-10-25 Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
2197
2198 * ospfd.c (ospf_interface_run): Enable to detect P2P network
2199 on an OSPF interface.
2200
22011999-10-19 Jordan Mendelson <jordy@wserv.com>
2202
2203 * ospf_lsdb.c (ospf_lsdb_add): Fix bug of crash
2204 in ospf_ls_retransmit_lookup ().
2205
22061999-10-19 Vladimir B. Grebenschikov <vova@express.ru>
2207
2208 * ospf_route.c: Workaround about installation of OSPF routes into
2209 the zebra daemon. Add checking of existance routes. Free
2210 ospf_top->old_table if it exists.
2211
22121999-10-15 Jordan Mendelson <jordy@wserv.com>
2213
2214 * Add support for MD5 authentication.
2215
22161999-10-12 Alex Zinin <zinin@amt.ru>
2217 * ospfd.c, ospfd.h, ospf_abr.c:
2218 a new command "area export-list" was added, it allows
2219 the admin. to control which intra-area routes are
2220 announced to other areas by the ABR
2221
22221999-10-12 Alex Zinin <zinin@amt.ru>
2223 * ospf_asbr.c (ospf_asbr_check_lsas): Fix bug of coredump
2224 when "no redistribute" is used after a distribute list
2225 denying some networks was used
2226
22271999-10-05 Toshiaki Takada <takada@zebra.org>
2228
2229 * ospf_route.c (ospf_path_dup): New function added.
2230
22311999-10-05 Toshiaki Takada <takada@zebra.org>
2232
2233 * ospf_interface.[ch]: Some of VL related funciton name changed.
2234
22351999-09-27 Alex Zinin <zinin@amt.ru>
2236
2237 * ospf_zebra.c: Distribute-list functionality added
2238
22391999-09-27 Toshiaki Takada <takada@zebra.org>
2240
2241 * ospfd.c (show_ip_ospf): Fix bug of segmentation fault when no ospf
2242 instance exists.
2243
22441999-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2245
2246 * ospfd.c (ospf_interface_down): Fix bug of misusing nextnode()
2247 instead of node->next. Reported by Hiroki Ishibashi
2248 <ishibasi@dcd.abk.nec.co.jp>.
2249
2250 * ospf_route.c (show_ip_ospf_route): Add check for ospf is enabled
2251 or not.
2252
22531999-09-23 Alex Zinin <zinin@amt.ru>
2254
2255 * stub area support added
2256
22571999-09-23 Alex Zinin <zinin@amt.ru>
2258
2259 * fwd_addr in ASE-LSAs is now set correctly
2260 * ASE routing changed to check the fwd_addr
2261 and skip the route if the addr points to one
2262 of our interfaces to avoid loops.
2263
22641999-09-22 Alex Zinin <zinin@amt.ru>
2265
2266 * ospf_interface:
2267 ospf_vls_in_area() added, it returns
2268 the number of VLs configured through the area
2269
2270 * ospf_interface.c ospf_lsa.c ospf_lsdb.c ospfd.c
2271 honor correct mem alloc
2272
22731999-09-22 Alex Zinin <zinin@amt.ru>
2274
2275 * memory.[ch]:
2276 Some OSPF mem types added,
2277 plus more info in "show mem"
2278
22791999-09-21 Alex Zinin <zinin@amt.ru>
2280
2281 * ospfd.c:
2282 "area range substitute" added.
2283 It can be used on NAT-enabled (IP-masquarade)
2284 routers to announce private networks
2285 from an area as public ones into the outside
2286 world (not in the RFC, btw :)
2287
22881999-09-21 Alex Zinin <zinin@amt.ru>
2289
2290 * ospfd.c:
2291 "area range suppress" added.
2292 This command allows to instruct the router
2293 to be silent about specific ranges, i.e.,
2294 it is a method of route filtering on area
2295 borders
2296
22971999-09-21 Alex Zinin <zinin@amt.ru>
2298
2299 * ospfd.c VLs removed when "no network area" executed
2300
23011999-09-20 Alex Zinin <zinin@amt.ru>
2302
2303 * ospf_ase.c bug fix for not-zero fwd_addr
2304 and directly connected routes.
2305
23061999-09-20 Yon Uriarte <yon@plannet.de>
2307
2308 * ospf_packet.c (ospf_make_ls_req): Introduce delta value for
2309 checking the length of OSPF packet exceeds MTU or not.
2310
2311 * ospf_lsa.c (ospf_lsa_different): Apply ntohs for checking
2312 l1->data->length.
2313
23141999-09-18 Alex Zinin <zinin@amt.ru>
2315
2316 * ospf_lsa.c bug fix for ospf_network_lsa() to
2317 include itself into the RID list
2318
23191999-09-10 Alex Zinin <zinin@amt.ru>
2320
2321 * Alternative ABR behaviors IBM/Cisco/Shortcut
2322 implemented
2323
23241999-09-10 Alex Zinin <zinin@amt.ru>
2325
2326 * router and network-LSA origination
2327 changed to honor MinLSInterval
2328
23291999-09-08 Alex Zinin <zinin@amt.ru>
2330
2331 * modified ABR behavior to honor VLs and transit
2332 areas
2333
23341999-09-07 Alex Zinin <zinin@amt.ru>
2335
2336 * completed VL functionality
2337
23381999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2339
2340 * ospf_asbr.c: New file.
2341 ospf_asbr.h: New file.
2342
2343 * ospf_zebra.c (ospf_redistribute_connected): Add redistribute
2344 related stuff.
2345
23461999-09-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2347
2348 * ospfd.h (OSPF_FLAG_VIRTUAL_LINK): Change OSPF_FLAG_VEND to
2349 OSPF_FLAG_VIRTUAL_LINK for comprehensiveness.
2350
23511999-09-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2352
2353 * ospf_spf.c (ospf_spf_register): Change name from
2354 ospf_spf_route_add() to ospf_spf_register().
2355 Include "ospfd/ospf_abr.h" for ospf_abr_task() prototype.
2356
23571999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2358
2359 * ospf_lsa.c (ospf_external_lsa_install): Change to update
2360 lsa->data rather than install new one, when same id lsa is already
2361 installed.
2362
23631999-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2364
2365 * ospf_lsa.c (ospf_router_lsa_install): Return lsa value.
2366 (ospf_network_lsa_install): Likewise.
2367 (ospf_summary_lsa_install): Likewise.
2368 (ospf_summary_asbr_lsa_install): Likewise.
2369 (ospf_external_lsa_install): Likewise.
2370
2371 * ospf_spf.c (ospf_spf_calculate): Comment out debug function
2372 ospf_rtrs_print().
2373
23741999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2375
2376 * ospf_spf.c (ospf_rtrs_free): Add ospf_spf_calculate() for
2377 freeing rtrs.
2378
23791999-08-31 Toshiaki Takada <takada@zebra.org>
2380
2381 * ospf_lsa.c (show_ip_ospf_database_summary),
2382 (show_ip_ospf_database_summary_asbr),
2383 (show_ip_ospf_database_external): New function added.
2384 `show ip ospf database summary',
2385 `show ip ospf database asbr-summary'
2386 `show ip ospf database external' command can be used.
2387
2388 * ospf_lsa.c (ospf_lsa_count_table): New function added.
2389 (show_ip_ospf_database_all): show nothing if a type of LSA
2390 does not exist.
2391
23921999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2393
2394 * ospf_lsa.c (ospf_maxage_lsa_remover): Preserve next pointer when
2395 the node is deleted.
2396
23971999-08-31 Toshiaki Takada <takada@zebra.org>
2398
2399 * ospf_flood.c (ospf_ls_retransmit_lookup): change to return
2400 struct ospf_lsa *.
2401 (ospf_ls_request_new), (ospf_ls_request_free),
2402 (ospf_ls_request_add), (ospf_ls_request_delete),
2403 (ospf_ls_request_delete_all), (ospf_ls_request_lookup):
2404 New function added.
2405
2406 * ospf_packet.c (ospf_ls_upd_send_lsa): New function added.
2407
2408 * ospf_lsa.h (LS_AGE): Slightly change macro definition.
2409
2410 * ospf_lsa.c (ospf_lsa_more_recent), (ospf_lsa_diffrent):
2411 Use LS_AGE macro.
2412
24131999-08-30 Alex Zinin <zinin@amt.ru>
2414
2415 * ospfd.c
2416 fix a bug with area range config write
2417 added "show ip ospf" command, it will be enhanced later on
2418
24191999-08-30 Alex Zinin <zinin@amt.ru>
2420
2421 * ospf_lsa.c
2422 updated ospf_router_lsa() to honor flags (B-bit)
2423
24241999-08-30 Alex Zinin <zinin@amt.ru>
2425
2426 * ospf_abr.c
2427 wrote major functions implementing ABR activity
2428
24291999-08-30 Alex Zinin <zinin@amt.ru>
2430
2431 * ospf_ia.c ospf_route.c ospf_route.h
2432 fixed the bug with ospf_route.origin field.
2433 Now it holds pointer to lsa_header
2434
24351999-08-30 Alex Zinin <zinin@amt.ru>
2436
2437 * ospf_flood.c ospf_flood.h:
2438 transformed ospf_flood_if_select into ospf_flood_through_area()
2439 added new ospf_flood_if_select() and ospf_flood_through_as()
2440
24411999-08-30 Toshiaki Takada <takada@zebra.org>
2442
2443 * ospf_flood.[ch]: New file added.
2444
2445 * ospf_packet.c (ospf_lsa_flooding),
2446 (ospf_lsa_flooding_select_if): functions move to ospf_flood.c
2447
2448 * ospf_neighbor.c (ospf_put_lsa_on_retransm_list),
2449 (ospf_remove_lsa_from_retransm_list),
2450 (ospf_nbr_remove_all_lsas_from_retransm_list),
2451 (ospf_lsa_remove_from_ls_retransmit):
2452 (ospf_lsa_retransmit): functions move to
2453 ospf_flood.c, and change function's name:
2454
2455 ospf_put_lsa_on_retransm_list ()
2456 -> ospf_ls_retransmit_add ()
2457 ospf_remove_lsa_from_retransm_list ()
2458 -> ospf_ls_retransmit_delete ()
2459 ospf_nbr_remove_all_lsas_from_retransm_list ()
2460 -> ospf_ls_retransmit_clear ()
2461 ospf_lsa_remove_from_ls_retransmit ()
2462 -> ospf_ls_retransmit_delete_nbr_all ()
2463 ospf_lsa_retransmit ()
2464 -> ospf_ls_retransmit_add_nbr_all ()
2465
2466 * ospf_lsa.c (ospf_lsa_lookup_from_list): function move to
2467 ospf_flood.c, and change name to ospf_ls_retransmit_lookup ().
2468
24691999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2470
2471 * ospf_neighbor.c (ospf_nbr_lookup_by_addr): Use
2472 route_node_lookup() instead of route_node_get().
2473
2474 * ospf_packet.c (ospf_ls_upd): Temporary comment out (6) check.
2475
24761999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2477
2478 * ospf_route.c (ospf_lookup_int_by_prefix): Add check of
2479 oi->address.
2480
24811999-08-29 Alex Zinin <zinin@amt.ru>
2482 * ospf_lsa.c
2483 MaxAge LSA deletion functions added.
2484
24851999-08-29 Alex Zinin <zinin@amt.ru>
2486 * ospf_neighbor.c
2487 ospf_nbr_lookup_by_addr(): added route_unlock_node()
2488 when function returns NULL if (rn->info == NULL)
2489
24901999-08-29 Alex Zinin <zinin@amt.ru>
2491 * ospfd.c
2492 added a hack for area range deletion
2493
24941999-08-29 Alex Zinin <zinin@amt.ru>
2495 * ospf_lsa.h
2496 included lsdb field into struct ospf_lsa, to find
2497 LSDB easier when removing MaxAge LSAs.
2498
24991999-08-29 Alex Zinin <zinin@amt.ru>
2500 * ospf_lsa.c ospf_neighbor.c ospf_nsm.c
2501 ospf_packet.c changed to honor new retransmit list
2502 management functions
2503
25041999-08-29 Alex Zinin <zinin@amt.ru>
2505 * ospf_neighbor.c , .h added new retransmit list functions.
2506
25071999-08-29 Alex Zinin <zinin@amt.ru>
2508 * Makefile.in
2509 added ospf_ase, ospf_abr, ospf_ia
2510
25111999-08-29 Alex Zinin <zinin@amt.ru>
2512 * ospf_spf.c:
2513 - changed ospf_next_hop_calculation() to include interface
2514 and nexthop addr for directly connected routers---more informative
2515 and solves problem with route installation into the kernel
2516 - changed ospf_nexthop_out_if_addr() to support routers, not only
2517 transit networks
2518 - added ospf_process_stubs();
2519
25201999-08-29 Alex Zinin <zinin@amt.ru>
2521 * ospf_lsa.c:
2522 - changed ospf_router_lsa() to provide correct links
2523 for p-t-p interfaces;
2524 - changed ospf_summary_lsa_install() to support table
2525 of self-originated summary-LSAs;
2526 - added ospf_summary_asbr_lsa_install() and ospf_external_lsa_install()
2527 - changed ospf_lsa_install() accordingly
2528 - changed show_ip_ospf_database_router_links() to support p-t-p
2529
25301999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2531
2532 * ospf_packet.c (ospf_make_db_desc): Only master can clear more
2533 flag.
2534
25351999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2536
2537 * ospf_packet.c (ospf_read): Add check of IP src address.
2538
25391999-08-28 Alex Zinin <zinin@amt.ru>
2540 * ospf_neighbor.h
2541 added ospf_nbr_lookup_by_routerid()
2542
25431999-08-28 Alex Zinin <zinin@amt.ru>
2544 * ospfd.h
2545 added ABR/ASBR flag definitions and fields;
2546 added iflist field to area structure;
2547 summary_lsa_self and summary_lsa_asbr_self are changed
2548 to be route tables;
2549 added ranges field---configured area ranges;
2550 A separate Routers RT added;
2551 area range config commands and config write added
2552
2553
25541999-08-28 Alex Zinin <zinin@amt.ru>
2555 * ospf_route.c :
2556 ospf_route_free()--added code to free the list of paths;
2557 The following functions added:
2558 ospf_intra_add_router();
2559 ospf_intra_add_transit();
2560 ospf_intra_add_stub();
2561 the last function uses new ospf_int_lookup_by_prefix();
2562 show_ip_ospf_route_cmd()--changed to support new RT structure;
2563 added ospf_cmp_routes()--general route comparision function;
2564 added ospf_route_copy_nexthops() and ospf_route_copy_nexthops_from_vertex()
2565 they are used in ASE and IA routing;
2566 added ospf_subst_route() and ospf_add_route();
2567
25681999-08-28 Alex Zinin <zinin@amt.ru>
2569 * ospf_route.h :
2570 changed struct ospf_path to include output interface,
2571 changed struct ospf_route to support IA and ASE routing.
2572 added prototypes of the function used in IA and ASE modules.
2573
25741999-08-28 Alex Zinin <zinin@amt.ru>
2575 * ospf_lsa.h ospf_lsa.c :
2576 added ospf_my_lsa(), an interface independent version of
2577 ospf_lsa_is_self_originated(), it will be used in ASE and IA-routing.
2578
25791999-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2580
2581 * ospf_interface.c (interface_config_write): Add check for
2582 oi->nbr_self.
2583
25841999-08-25 Toshiaki Takada <takada@zebra.org>
2585
2586 * ospf_lsa.c (ospf_lsa_dup): New function added.
2587
2588 * ospf_packet.c (ospf_write), (ospf_read): Print send/recv
2589 interface in debug message.
2590
25911999-08-25 Toshiaki Takada <takada@zebra.org>
2592
2593 * ospf_packet.c (ospf_ls_ack_send): The name is changed from
2594 `ospf_ls_ack_send'.
2595 (ospf_ls_ack_send_delayed) (ospf_ls_ack_timer): New function added.
2596 Delayed Link State Acknowledgment is scheduled by timer.
2597
25981999-08-25 Alex Zinin <zinin@amt.ru>
2599
2600 * ospf_lsa.c (ospf_router_lsa): Incorrectly included link to
2601 a stub network instead of link to a transit network into
2602 originated router-LSA, bug fixed.
2603
26041999-08-24 Toshiaki Takada <takada@zebra.org>
2605
2606 * ospfd.c (ospf_update_router_id): New function added.
2607
2608 * ospf_network.c (ospf_write): Create new socket per transmission.
2609 And select outgoing interface whether dst is unicast or multicast.
2610
2611 * ospf_packet.c: LSA flooding will work.
2612
26131999-08-24 VOP <vop@unity.net>
2614
2615 * ospf_route.c: Include "sockunion.h"
2616
26171999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2618
2619 * ospf_network.c (ospf_serv_sock_init): Enclose
2620 IPTOS_PREC_INTERNETCONTROL setting with #ifdef for OS which does
2621 not have the definition.
2622
26231999-08-23 Toshiaki Takada <takada@zebra.org>
2624
2625 * ospf_packet.c: Fix bug of DD processing.
2626
26271999-08-18 Toshiaki Takada <takada@zebra.org>
2628
2629 * ospf_lsa.c (show_ip_ospf_database): Show actual `LS age'.
2630
26311999-08-17 Toshiaki Takada <takada@zebra.org>
2632
2633 * ospf_lsa.h (OSPF_MAX_LSA): The value of OSPF_MAX_LSA is
2634 corrected. The bug of `mes_lookup' is fixed.
2635 This had been reported by Poul-Henning Kamp <phk@freebsd.org>.
2636
2637 * ospf_lsa.c (ospf_router_lsa_install): The name is changed from
2638 `ospf_add_router_lsa'.
2639 (ospf_network_lsa_install): The name is changed from
2640 `ospf_add_network_lsa'.
2641
2642 * ospf_interface.h (ospf_interface): Add member `nbr_self'.
2643
2644 * ospf_interface.c (ospf_if_is_enable): New function added.
2645
26461999-08-16 Toshiaki Takada <takada@zebra.org>
2647
2648 * ospf_lsa.h (struct lsa_header): The name is changed from
2649 `struct ospf_lsa'.
2650 (struct ospf_lsa): New struct added to control each LSA's aging
2651 and timers.
2652
2653 * ospf_lsa.c (ospf_lsa_data_free): The name is change from
2654 `ospf_lsa_free'.
2655 (ospf_lsa_data_new), (ospf_lsa_new), (ospf_lsa_free),
2656 (ospf_lsa_different), (ospf_lsa_install): New function added.
2657
2658 * ospf_packet.c (ospf_ls_upd_list_lsa): New function added.
2659
26601999-08-12 Toshiaki Takada <takada@zebra.org>
2661
2662 * ospf_nsm.c (nsm_reset_nbr): New function added.
2663 KillNbr and LLDown neighbor event call this function.
2664
26651999-08-10 Toshiaki Takada <takada@zebra.org>
2666
2667 * ospf_packet.c (ospf_ls_retransmit)
2668 (ospf_ls_upd_timer): New function added.
2669 Set retransmission timer for Link State Update.
2670
26711999-07-29 Toshiaki Takada <takada@zebra.org>
2672
2673 * ospf_ism.c (ospf_dr_election): Fix bug of DR election.
2674
26751999-07-28 Toshiaki Takada <takada@zebra.org>
2676
2677 * ospf_network.c (ospf_serv_sock_init): Set IP precedence field
2678 with IPTOS_PREC_INTERNET_CONTROL.
2679
2680 * ospf_nsm.c (nsm_change_status): Schedule NeighborChange event
2681 if NSM status change.
2682
2683 * ospf_packet.c (ospf_make_hello): Never include a neighbor in
2684 Hello packet, when the neighbor goes down.
2685
26861999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2687
2688 * Makefile.am (noinst_HEADERS): Add ospf_route.h.
2689
2690 * ospf_route.c (show_ip_ospf_route): Add `show ip ospf route'
2691 command.
2692
26931999-07-25 Toshiaki Takada <takada@zebra.org>
2694
2695 * ospf_lsa.c (ospf_router_lsa): Fix bug of LS sequence number
2696 assignement.
2697
26981999-07-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2699
2700 * ospf_route.c (ospf_route_table_free): New function added.
2701
2702 * ospf_spf.c (ospf_spf_next): Free vertex w when cw's and w's
2703 distance is same.
2704
2705 * ospfd.h (struct ospf): Add old_table.
2706
2707 * ospf_main.c (sighup): Call of log_rotate () removed.
2708
2709 * ospf_lsa.c (ospf_lsa_is_self_originated): Fix bug of checking
2710 area->lsa as self LSA. This should be area->lsa_self.
2711
27121999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2713
2714 * ospf_zebra.c (ospf_zebra_add): ospf_zebra_add
2715 (),ospf_zebra_delete () added.
2716
2717 * ospf_spf.c (ospf_spf_calculate): Call ospf_intra_route_add ().
2718
27191999-07-24 Toshiaki Takada <takada@zebra.org>
2720
2721 * ospf_lsa.c: Change LS sequence number treatment.
2722 (ospf_lsa_is_self_originated): New function added.
2723 (show_ip_ospf_database_self_originated): New DEFUN added.
2724
27251999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2726
2727 * ospf_interface.c (ospf_if_lookup_by_addr): Add loopback check.
2728
27291999-07-22 Toshiaki Takada <takada@zebra.org>
2730
2731 * ospf_spf.c (ospf_nexthop_new), (ospf_nexthop_free),
2732 (ospf_nexthop_dup): function added.
2733 (ospf_nexthop_calculation): function changed.
2734
2735 * ospf_interface.c (ospf_if_lookup_by_addr): function added.
2736
27371999-07-21 Toshiaki Takada <takada@zebra.org>
2738
2739 * ospf_spf.c (ospf_spf_closest_vertex): function removed.
2740
27411999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2742
2743 * ospf_spf.c (ospf_spf_next): Apply ntohs for fetching metric.
2744
27451999-07-21 Toshiaki Takada <takada@zebra.org>
2746
2747 * ospf_neighbor.c (ospf_nbr_lookup_by_router_id): fundtion removed.
2748
2749 * ospf_lsa.c (show_ip_ospf_database_router): describe each
2750 connected link.
2751
27521999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2753
2754 * ospf_spf.c (ospf_spf_next): V is router LSA or network LSA so
2755 change behavior according to LSA type.
2756 (ospf_lsa_has_link): Link check function is added.
2757
27581999-07-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2759
2760 * ospf_spf.c (ospf_spf_calculate_schedule): Add new function for
2761 SPF calcultion schedule addtition.
2762 (ospf_spf_calculate_timer_add): Rough 30 sec interval SPF calc
2763 timer is added.
2764 (ospf_spf_next_router): Delete ospf_spf_next_network ().
2765
2766 * ospf_lsa.c (show_ip_ospf_database_all): Network-LSA display
2767 header typo correction. Display of router LSA's #link added.
2768
27691999-07-19 Toshiaki Takada <takada@zebra.org>
2770
2771 * ospf_packet.c (ospf_check_network_mask): Added new function for
2772 receiving Raw IP packet on an appropriate interface.
2773
27741999-07-16 Toshiaki Takada <takada@zebra.org>
2775
2776 * ospfd.c (ospf_router_id): new DEFUN added.
2777
27781999-07-15 Toshiaki Takada <takada@zebra.org>
2779
2780 * ospf_spf.c (ospf_spf_init), (ospf_spf_free),
2781 (ospf_spf_has_vertex), (ospf_vertex_lookup),
2782 (ospf_spf_next_router), (ospf_spf_next_network),
2783 (ospf_spf_closest_vertex), (ospf_spf_calculate):
2784 function added.
2785
27861999-07-13 Toshiaki Takada <takada@zebra.org>
2787
2788 * ospf_ism.c: fix bug of DR Election.
2789
2790 * ospf_nsm.c: fix bug of adjacency forming.
2791
27921999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2793
2794 * ospfd.c (ospf_init): Change to use install_default.
2795
27961999-07-01 Rick Payne <rickp@rossfell.co.uk>
2797
2798 * ospf_zebra.c (zebra_init): Install standard commands to
2799 ZEBRA_NODE.
2800
28011999-06-30 Toshiaki Takada <takada@zebra.org>
2802
2803 * ospf_dump.c: Whole debug command is improved.
2804 (ISM|NSM) (events|status|timers) debug option added.
2805 (show_debugging_ospf): new DEFUN added.
2806
28071999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2808
2809 * ospf_lsa.c (ospf_lsa_lookup_from_list): Change !IPV4_ADDR_CMP to
2810 IPV4_ADDR_SAME.
2811
28121999-06-29 Toshiaki Takada <takada@zebra.org>
2813
2814 * ospf_dump.c (ospf_summary_lsa_dump): Add summary-LSA dump routine.
2815 (ospf_as_external_lsa_dump): Add AS-external-LSA dump routine.
2816
2817 * ospf_nsm.c (nsm_twoway_received): fix condtion of adjacnet.
2818
2819 * ospf_ism.c (ospf_dr_election): fix DR Election.
2820
2821 * ospf_dump.c (ospf_nbr_state_message): fix `show ip ospf neighbor'
2822 command's state.
2823
28241999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2825
2826 * ospf_dump.c (ospf_router_lsa_dump): Add router-LSA dump routine.
2827
28281999-06-28 Toshiaki Takada <takada@zebra.org>
2829
2830 * ospf_lsa.c (show_ip_ospf_database_network): fix bug of
2831 `show ip ospf database network' command output.
2832
2833 * ospf_nsm.c (nsm_inactivity_timer): Clear list of Link State
2834 Retransmission, Database Summary and Link State Request.
2835
2836 * ospf_packet.c (ospf_ls_req_timer): New function added.
2837 Set Link State Request retransmission timer.
2838
28391999-06-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2840
2841 * ospf_main.c (main): Change default output from ZLOG_SYSLOG to
2842 ZLOG_STDOUT.
2843
2844 * ospfd.c (ospf_init): Register show_ip_ospf_interface_cmd and
2845 show_ip_ospf_neighbor_cmd to VIEW_NODE.
2846
2847 * ospf_lsa.c (ospf_lsa_init): Register show_ip_ospf_database_cmd
2848 and show_ip_ospf_database_type_cmd to VIEW_NODE.
2849
28501999-06-25 Toshiaki Takada <takada@zebra.org>
2851
2852 * ospf_packet.c: fix bug of DD making.
2853 fix bug of LS-Update reading.
2854
28551999-06-23 Toshiaki Takada <takada@zebra.org>
2856
2857 * ospf_packet.c: All type of packets are changed to use
2858 fifo queue structure.
2859 (ospf_fill_header) function added.
2860
28611999-06-22 Toshiaki Takada <takada@zebra.org>
2862
2863 * ospf_packet.c (ospf_packet_new): New function added to handle
2864 sending ospf packet by fifo queue structure.
2865 (ospf_packet_free), (ospf_fifo_new), (ospf_fifo_push),
2866 (ospf_fifo_pop), (ospf_fifo_head), (ospf_fifo_flush),
2867 (ospf_fifo_free): Likewise.
2868
28691999-06-21 Toshiaki Takada <takada@zebra.org>
2870
2871 * ospf_nsm.c (ospf_db_desc_timer): function added.
2872 (nsm_timer_set) function added.
2873 * ospf_dump.c (ospf_option_dump): function added.
2874 * ospf_packet.c (ospf_ls_req) (ospf_make_ls_req): function added.
2875
28761999-06-20 Toshiaki Takada <takada@zebra.org>
2877
2878 * ospf_lsa.c (ospf_lsa_more_recent): function added.
2879 * ospf_neighbor.h (struct ospf_neighbor): Change member ms_flag
2880 to dd_flags.
2881
28821999-06-19 Toshiaki Takada <takada@zebra.org>
2883
2884 * ospf_lsa.c: DEFUN (show_ip_ospf_database) Added.
2885 * ospf_interface.c (if_ospf_cost), (if_ospf_dead_interval),
2886 (if_ospf_hello_interval), (if_ospf_priority),
2887 (if_ospf_retransmit_interval), (if_ospf_transmit_delay)
2888 argument changed from NUMBER to <range>.
2889 DEFUN (if_ospf_network_broadcast),
2890 DEFUN (if_ospf_network_non_broadcast),
2891 DEFUN (if_ospf_network_point_to_multipoint),
2892 DEFUN (if_ospf_network_point_to_point) functions are combined to
2893 DEFUN (if_ospf_network).
2894
28951999-06-18 Toshiaki Takada <takada@zebra.org>
2896
2897 * ospf_lsa.c: ospf_add_router_lsa (), ospf_add_network_lsa (),
2898 ospf_lsa_lookup (), ospf_lsa_count () Added.
2899
29001999-06-15 Toshiaki Takada <takada@zebra.org>
2901
2902 * DEFUN (ospf_debug_ism), DEFUN (ospf_debug_nsm),
2903 DEFUN (no_ospf_debug_ism), DEFUN (no_ospf_debug_nsm) Added.
2904 `debug ospf ism' command shows debug message.
2905 `debuf ospf nsm' command shows debug message.
2906
29071999-06-14 Toshiaki Takada <takada@zebra.org>
2908
2909 * ospf_lsa.c: ospf_network_lsa () Added.
2910 ospf_lsa_checksum () Added.
2911 * DEFUN (ospf_debug_packet), DEFUN (no_ospf_debug_packet) Added.
2912 `debug ospf packet' command shows debug message.
2913
29141999-06-13 Toshiaki Takada <takada@zebra.org>
2915
2916 * ospf_packet.h: Remove struct ospf_ls_req {}, ospf_ls_upd {},
2917 ospf_ls_ack {}.
2918
29191999-06-11 Toshiaki Takada <takada@zebra.org>
2920
2921 * ospf_dump.c: fix IP packet length treatment.
2922
29231999-06-10 Toshiaki Takada <takada@zebra.org>
2924
2925 * ospf_ism.h: Add OSPF_ISM_EVENT_EXECUTE() Macro Added.
2926 * ospf_nsm.h: Add OSPF_NSM_EVENT_EXECUTE() Macro Added.
2927
2928 * ospf_packet.c: ospf_db_desc (), ospf_db_desc_send () Added.
2929 ospf_make_hello (), ospf_make_db_desc () Added.
2930 ospf_db_desc_proc () Added.n
2931
2932 * Database Description packet can be processed.
2933
29341999-06-08 Toshiaki Takada <takada@zebra.org>
2935
2936 * ospf_lsa.c: New file.
2937
29381999-06-07 Toshiaki Takada <takada@zebra.org>
2939
2940 * ospf_neighbor.c: ospf_fully_adjacent_count () Added.
2941
29421999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2943
2944 * ospf_spf.[ch]: New file.
2945
29461999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2947
2948 * ospf_zebra.c: Changed to use lib/zclient.c routines.
2949
2950 * ospf_zebra.h (zebra_start): Remove struct zebra.
2951
29521999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2953
2954 * ospfd.c (ospf_config_write): Add cast (unsigned long int) to
2955 ntohl for sprintf warning.
2956
29571999-05-19 Toshiaki Takada <takada@zebra.org>
2958
2959 * ospf_ism.c (ospf_dr_election): Join AllDRouters Multicast group
2960 if interface state changes to DR or BDR.
2961
29621999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2963
2964 * ospf_main.c (signal_init): SIGTERM call sigint.
2965 (sigint): Logging more better message.
2966
29671999-05-12 Toshiaki Takada <takada@zebra.org>
2968
2969 * ospfd.c: Fix bug of `no router ospf' statement, it will work.
2970
29711999-05-11 Toshiaki Takada <takada@zebra.org>
2972
2973 * ospf_neighbor.c: ospf_nbr_free () Added.
2974
29751999-05-10 Toshiaki Takada <takada@zebra.org>
2976
2977 * ospfd.h: struct ospf_area { }, struct ospf_network { } Changed.
2978 * Fix bug of `no network' statement, it will work.
2979
29801999-05-07 Toshiaki Takada <takada@zebra.org>
2981
2982 * ospf_interface.c, ospf_zebra.c: Fix bug of last interface is not
2983 updated by ospf_if_update ().
2984
29851999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2986
2987 * Makefile.am (noinst_HEADERS): Add ospf_lsa.h for distribution.
2988
29891999-04-25 Toshiaki Takada <takada@zebra.org>
2990
2991 * ospf_interface.c: DEFUN (no_if_ospf_cost),
2992 DEFUN (no_if_ospf_dead_interval),
2993 DEFUN (no_if_ospf_hello_interval),
2994 DEFUN (no_if_ospf_priority),
2995 DEFUN (no_if_ospf_retransmit_interval),
2996 DEFUN (no_if_ospf_transmit_delay) Added.
2997
2998 interface_config_write () suppress showing interface
2999 default values.
3000
30011999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3002
3003 * ospf_dump.c (ospf_timer_dump): If thread is NULL return "inactive".
3004
3005 * ospfd.c (ospf_if_update): Fix bug of using ospf_area { } instead
3006 of ospf_network { }. So `router ospf' statement in ospfd.conf
3007 works again.
3008 (ospf_if_update): Call ospf_get_router_id for updating router ID.
3009
30101999-04-25 Toshiaki Takada <takada@zebra.org>
3011
3012 * ospf_interface.c: DEFUN (if_ospf_network) deleted.
3013 DEFUN (if_ospf_network_broadcast),
3014 DEFUN (if_ospf_network_non_broadcast),
3015 DEFUN (if_ospf_network_point_to_multipoint),
3016 DEFUN (if_ospf_network_point_to_point),
3017 DEFUN (no_if_ospf_network) Added.
3018
30191999-04-23 Toshiaki Takada <takada@zebra.org>
3020
3021 * ospfd.h: struct area { } changed to struct ospf_network { }.
3022 Add struct ospf_area { }.
3023 * ospfd.c: Add ospf_area_lookup_by_area_id (), ospf_network_new (),
3024 and ospf_network_free ().
3025 DEFUN (area_authentication), DEFUN (no_area_authentication) Added.
3026
30271999-04-22 Toshiaki Takada <takada@zebra.org>
3028
3029 * ospf_lsa.h: New file.
3030 * ospf_packet.h: LSA related struct definition are moved to
3031 ospf_lsa.h.
3032 * ospf_packet.c: ospf_verify_header () Added.
3033
30341999-04-21 Toshiaki Takada <takada@zebra.org>
3035
3036 * ospf_ism.c: ospf_elect_dr () and related function is changed.
3037 DR Election bug fixed.
3038 * ospf_dump.c: ospf_nbr_state_message (), ospf_timer_dump () Added.
3039 * ospfd.c: DEFUN (show_ip_ospf_neighbor) Added.
3040
30411999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
3042
3043 * ospf_main.c (main): access_list_init () is added for vty
3044 connection filtering.
3045
30461999-04-16 Toshiaki Takada <takada@zebra.org>
3047
3048 * ospfd.c: DEFUN (show_ip_ospf_interface) Added.
3049 * ospf_neighbor.c: ospf_nbr_count () Added.
3050
30511999-04-15 Toshiaki Takada <takada@zebra.org>
3052
3053 * ospfd.h: struct ospf { } Changed.
3054 * ospfd.c: ospf_lookup_by_process_id () Deleted.
3055 * ospf_ism.c: ospf_wait_timer () Added. WaitTimer will work.
3056
30571999-04-14 Toshiaki Takada <takada@zebra.org>
3058
3059 * ospf_ism.c: ospf_elect_dr () Added.
3060 * ospf_network.c: ospf_if_ipmulticast () Added.
3061
30621999-04-11 Toshiaki Takada <takada@zebra.org>
3063
3064 * ospf_interface.c: interface_config_write (),
3065 DEFUN (if_ip_ospf_cost),
3066 DEFUN (if_ip_ospf_dead_interval),
3067 DEFUN (if_ip_ospf_hello_interval),
3068 DEFUN (if_ip_ospf_priority),
3069 DEFUN (if_ip_ospf_retransmit_interval) and
3070 DEFUN (if_ip_ospf_transmit_delay) Added.
3071
30721999-04-08 Toshiaki Takada <takada@zebra.org>
3073
3074 * ospf_dump.c: ospf_packet_db_desc_dump () Added.
3075 * ospf_neighbor.c: ospf_nbr_bidirectional () Added.
3076 * ospf_nsm.c: nsm_twoway_received () Added.
3077
30781999-04-02 Toshiaki Takada <takada@zebra.org>
3079
3080 * ospf_neighbor.c: New file.
3081 * ospf_neighbor.h: New file.
3082 * ospf_nsm.c: New file.
3083 * ospf_nsm.h: New file.
3084 * ospf_packet.c: Add ospf_make_header (), ospf_hello () and
3085 ospf_hello_send (). Now OSPFd can receive Hello and send Hello.
3086
30871999-03-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3088
3089 * ospf_packet.c: Add ospf_recv_packet (). Now OSPF Hello can receive.
3090
30911999-03-19 Toshiaki Takada <takada@zebra.org>
3092
3093 * ospf_packet.c: New file.
3094 * ospf_packet.h: New file.
3095 * ospf_network.c: New file.
3096 * ospf_network.h: New file.
3097 * ospfd.h: move OSPF message structure has moved to ospf_packet.h.
3098
30991999-03-17 Kunihiro Ishiguro <kunihiro@zebra.org>
3100
3101 * ospf_zebra.c (ospf_zebra_get_interface): Fix for IPv6 interface
3102 address.
3103
3104 * Makefile.am (install-sysconfDATA): Overwrite install-sysconfDATA
3105 for install ospfd.conf.sample as owner read only file.
3106
3107 * ospf_main.c (usage): Change to use ZEBRA_BUG_ADDRESS.
3108
31091999-03-15 Toshiaki Takada <takada@zebra.org>
3110
3111 * ospf_ism.c: New file.
3112 * ospf_ism.h: New file.
3113 * ospf_dump.c: New file.
3114 * ospf_dump.h: New file.
3115
3116 * ospfd.h: Add (struct ospf), (struct config_network),
3117 (struct message) structure.
3118
3119 * ospf_interface.c: Add ospf_if_match_network ().
3120 * ospf_interface.h (struct ospf_interface): Change struct members.
3121
3122 * ospfd.c: ospf_lookup_by_process_id (), ospf_network_new (),
3123 DEFUN (network_area): Added.
3124
3125 * ospfd.conf.sample: Change sample configuration.
3126
31271999-03-05 Toshiaki Takada <takada@zebra.org>
3128
3129 * ospf_interface.c: New file.
3130 * ospf_interface.h: New file.
3131 * ospf_zebra.h: New file.
3132 * ospf_zebra.c: Add interface function for zebra daemon.
3133 * ospfd.c: New file.
3134
31351999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3136
3137 * Move IPv6 codes and files to ospf6d directory.
3138
31391999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
3140
3141 * syslog support added
3142
31431998-12-22 Toshiaki Takada <takada@zebra.org>
3144
3145 * ospfd.h: New file.
3146 * ospf_lsa.h: New file.
3147
31481998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
3149
3150 * Makefile.am: New file.
3151 * ospf_main.c: New file.
3152