blob: 453036ea2965ff3882e34e57d33e0c0aeb19821f [file] [log] [blame]
paul2dd8bb42004-07-23 15:13:48 +000012004-07-23 Paul Jakma <paul@dishone.st>
2
3 * ospf_network.c: Replace PKTINFO/RECVIF with call to
4 setsockopt_pktinfo
5 * ospf_packet.c: Use getsockopt_pktinfo_ifindex and
6 SOPT_SIZE_CMSG_PKTINFO_IPV4.
7
paul59ea14c2004-07-14 20:50:36 +000082004-07-14 Paul Jakma <paul@dishone.st>
9
10 * ospf_packet.c: (ospf_ls_upd_send_queue_event) Partial fix for
11 problem reported by Peter Frost amongst others, where function
12 will spin indefinitely if update list contains LSAs greater than
13 MTU-headers or other condition leading to update list never being
14 cleared. Problem of what to do with these LSAs remains.
15 (ospf_make_ls_upd) add comment about large LSA problem,
16 indentation cleanup.
17
gdtb2c1b282004-07-01 12:35:36 +0000182004-07-01 Greg Troxel <gdt@fnord.ir.bbn.com>
19
20 * Makefile.am (lib_LTLIBRARIES): make libospf shared
21
gdt87efd642004-06-30 17:36:11 +0000222004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
23
24 * Makefile.am: Add shlib support.
25
hassobeebba72004-06-20 21:00:27 +0000262004-06-10 Hasso Tepper <hasso@estpak.ee>
27
28 * *: Removed ifdefs HAVE_NSSA.
29
paul553ff112004-06-06 09:41:00 +0000302004-06-06 Paul Jakma <paul@dishone.st>
31
32 * ospf_dump.c,ospf_lsa.c: Fix typos of merge of previous.
33 ospf_flood.c: (ospf_process_self_originated_lsa) fix zlog format
34
paul0c2be262004-05-31 14:16:54 +0000352004-05-31 Sagun Shakya <sagun.shakya@sun.com>
36
37 * ospf_dump.c: (ospf_lsa_header_dump) LOOKUP can return null if
38 index is out of range.
39 ospf_flood.c: endianness fix
40 ospf_lsa.c: Missing ntohl's on (struct lsa *)->data->ls_seqnum
41 in various places.
42
hassodd669bb2004-05-10 07:43:59 +0000432004-05-10 Hasso Tepper <hasso@estpak.ee>
44
45 * ospf_zebra.c, ospfd.c: Move ospf_prefix_list_update() function
46 to ospf_zebra.c from ospfd.c and add redistribution updates if
47 route-map is used in redistribution.
48 * ospf_main.c: Remove now useless call to ospf_init().
49
paul0a589352004-05-08 11:48:26 +0000502004-05-08 Paul Jakma <paul@dishone.st>
51
52 * ospf_zebra.c: Sync with lib/zclient changes
53
pauld3f0d622004-05-05 15:27:15 +0000542004-05-05 Paul Jakma <paul@dishone.st>
55
paul5bd41892004-05-05 17:29:24 +000056 * ospf_network.c: (ospf_sock_init) Check whether IP_HDRINCL is
57 defined. Warn at compile and runtime. Use
58 IPTOS_PREC_INTERNETCONTROL otherwise.
pauld3f0d622004-05-05 15:27:15 +000059 * ospf_packet.c: (ospf_associate_packet_vl) cleanup, move
60 some of the checks up to ospf_read, return either a
61 virtual link oi, or NULL.
62 (ospf_read) Cleanup, make it responsible for checks. Remove
63 the nbr lookup - moved to ospf_neighbor. Adjust all nbr
64 lookups to use new wrappers exported by ospf_neighbor.
65 * ospf_neighbor.h: Add ospf_neigbour_get and ospf_nbr_lookup.
66 * ospf_neighbor.c: (ospf_neigbour_get) Index ospf_interface
67 neighbour table by router-id for virtual-link ospf_interfaces,
68 not by peer_addr (which breaks for asymmetric vlinks)
69 (ospf_nbr_lookup) add a wrapper for nbr lookups to deal with
70 above.
paulcd59da62004-05-05 17:26:55 +000071 * ospf_interface.c: (ospf_vl_set_params) Catch changes of interface
72 address for either end of a virtual-link, and hence potential cost
73 changes.
74
hassoa0a39762004-04-23 08:51:10 +0000752004-04-22 Hasso Tepper <hasso@estpak.ee>
76
77 * ospf_zebra.c: Don't ignore reject/bh routes, it's the only way
78 to "summarize" routes in ASBR at the moment.
79
hasso8585d4e2004-04-20 17:25:12 +0000802004-04-20 Hasso Tepper <hasso@estpak.ee>
81
82 * ospfd.c: Unset NP flag if area is going to be normal or stub.
83 Fixes UNH OSPF_NSSA.1.2a comment.
84 * ospf_abr.c: Originate default into stub/nssa area even if
85 summaries are disabled.
86 * ospf_zebra.c: Don't attempt to redistribute 127.0.0.0/8.
87
hassoc266ac72004-04-19 17:31:00 +0000882004-04-19 Hasso Tepper <hasso@estpak.ee>
89
90 * ospf_vty.c: Don't warn that export- and import-list can't be
91 configured to backbone area if they are applied and are working
92 fine.
93
hasso128d31d2004-04-04 12:52:33 +0000942004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
95
96 * ospf_packet.c: Don't drop packets in Solaris x86.
97 [quagga-dev 1005].
98
hasso0d85b992004-03-18 19:18:33 +0000992004-03-18 Amir Guindehi <amir@datacore.ch>
100
101 * ospf_opaque.c: Attempt to correct the incorrect behavior of
102 Quagga's ospfd in the special situation that a node's opaque
103 capability has changed as "ON -> OFF -> ON". [quagga-dev 843].
104
paul7f352b82004-02-19 19:37:47 +00001052004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
106
107 * ospf_abr.c: (ospf_abr_update_aggregate) UNH 3.12b,c, address range
108 should be configured with the highest cost path within the range,
109 not lowest.
110
paul940b01a2004-02-17 20:07:30 +00001112004-02-17 Paul Jakma <paul@dishone.st>
112
113 * ospf_zebra.c: (ospf_interface_delete) Do not delete the interface
114 params, nor the interface structure, if an interface delete
115 message is received from zebra.
116 * ospf_interface.c: (ospf_if_delete_hook) Delete the interface
117 params and interface, ie that which was previously removed in
118 (ospf_interface_delete) above.
119
hasso2db3d052004-02-11 21:52:13 +00001202004-02-11 Hasso Tepper <hasso@estpak.ee>
121 * ospf_interface.c, ospf_zebra.c: Don't attempt to read path->oi->ifp
122 if oi doesn't exist any more.
123
hassocb05eb22004-02-11 21:10:19 +00001242004-02-11 Vadim Suraev <vadim.suraev@terayon.com>
125 * ospf_packet.c (ospf_ls_upd): Router should flush received network
126 LSA if it was originated with older router-id ([zebra 14710] #6).
127
1282003-12-08 Mattias Amnefelt <mattiasa@kth.se>
paul239aecc2003-12-08 10:34:54 +0000129
130 * ospf_packet.c: (ospf_recv_packet) OpenBSD now leaves iph.ip_len
131 network byte order.
132
gdt8f40e892003-12-05 14:01:43 +00001332003-12-05 Greg Troxel <gdt@poblano.ir.bbn.com>
134
135 * ospfd.c (ospf_network_match_iface): Rewrite code for clarity
136 while trying not to change semantics. Add ifdefed-out code to
137 avoid matching ppp interfaces whose destination address does not
138 also match the prefix under consideration, to help out people with
139 problems due to as-yet-unfixed bugs with p2p interfaces coming and
140 going.
141
paul736d3442003-07-24 23:22:57 +00001422003-07-25 kamatchi soundaram <kamatchi@tdd.sj.nec.com>
143
144 * ospf_packet.c (ospf_ls_upd_send_queue_event): get next route
145 node in body of the loop to avoid chance that route node
146 is unlocked and deleted before the next iteration tries to
147 get next route node.
148
paul0a825c72003-05-24 13:48:16 +00001492003-05-24 Kenji Yabuuchi
150
151 * ospf_interface.c(ospf_if_lookup_recv_if): Use the most specific
152 match for interface lookup.
153
paul551a8972003-05-18 15:22:55 +00001542003-05-18 Hasso Tepper <hasso@estpak.ee>
paul445f1432003-05-16 19:00:31 +0000155
paul551a8972003-05-18 15:22:55 +0000156 * ospf_vty.c: Show NSSA LSA route info in "show ip ospf database"
157 output
paul445f1432003-05-16 19:00:31 +0000158
pauld7480322003-05-16 17:31:51 +00001592003-05-16 Hasso Tepper <hasso@estpak.ee>
160
161 * ospf_lsa.c: Fix handling of NSSA
162
paul551a8972003-05-18 15:22:55 +00001632003-04-23 Hasso Tepper <hasso@estpak.ee>
164
165 * ospf_vty.c: fix "router xxx" node commands in vtysh
166
paul445f1432003-05-16 19:00:31 +00001672003-04-19 Hasso Tepper <hasso@estpak.ee>
168
169 * {ospf_abr,ospfd}.c: area id's DECIMAL -> ADDRESS
170 * ospf_routemap.c: sync daemon's route-map commands to have same
171 syntax.
172
1732003-04-19 Sergey Vyshnevetskiy <serg@vostok.net>
174
175 * ospf_packet.c: Add missing param to zlog
176 * ospf_flood.c: remove unused vars
177
1782003-04-17 Denis Ovsienko <zebra@pilot.org.ua>
179
180 * ospf_interface.c: fix incorrect memset
181
paul28a13842003-05-16 20:30:37 +00001822003-04-10 Amir Guindehi <amir@datacore.ch>
paul445f1432003-05-16 19:00:31 +0000183
184 * ospf_lsa.[ch]: opaque LSA fix, use ospf_lookup.
185
1862003-04-03 David Watson <dwatson@eecs.umich.edu>
187
188 * ospf_lsa.c: byte order fix
189
paul07661cb2003-03-18 00:03:05 +00001902002-03-17 Amir Guindehi <amir@datacore.ch>
191
192 * ospf_apiserver.[ch]: Merge Ralph Keller's OSPFAPI support.
193 * ospf_api.[ch]: Merge Ralph Keller's OSPFAPI support.
194 * ospfclient: OSPFAPI demonstration client.
195
1962003-01-23 Masahiko Endo <endo@suri.co.jp>
197
198 * ospf_ism.c: NSM event schedule bug fix.
199
2002002-10-30 Greg Troxel <gdt@ir.bbn.com>
201
202 * ospf_packet.c (ospf_make_md5_digest): MD5 length fix.
203
paul718e3742002-12-13 20:15:29 +00002042002-10-23 endo@suri.co.jp (Masahiko Endo)
205
206 * ospf_opaque.c: Update Opaque LSA patch.
207
2082002-10-23 Ralph Keller <keller@tik.ee.ethz.ch>
209
210 * ospf_vty.c (show_ip_ospf_database): Fix CLI parse.
211
2122002-10-23 Juris Kalnins <juris@mt.lv>
213
214 * ospf_interface.c (ospf_if_stream_unset): When write queue
215 becomes empty stop write timer.
216
2172002-10-10 Greg Troxel <gdt@ir.bbn.com>
218
219 * ospf_packet.c (ospf_check_md5_digest): Change >= to > to make it
220 conform to RFC.
221
2222002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
223
224 * zebra-0.93 released.
225
2262002-06-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
227
228 * ospf_spf.c (ospf_nexthop_calculation): Add NULL set to oi and
229 check of l2. Reported by: Daniel Drown <dan-zebra@drown.org>
230 (ospf_lsa_has_link): LSA Length calculation fix. Reported by:
231 Paul Jakma <paulj@alphyra.ie>.
232
233 * ospfd.c (ospf_if_update): Fix nextnode reference bug. Reported
234 by: juris@mt.lv.
235
2362002-01-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
237
238 * ospfd.c: Merge [zebra 11445] Masahiko ENDO's Opaque-LSA support.
239
2402001-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
241
242 * ospf_interface.c (ospf_add_to_if): Use /32 address to register
243 OSPF interface information.
244 (ospf_delete_from_if): Likewise.
245
246 * ospf_zebra.c (ospf_interface_address_delete): Likewise.
247
2482001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
249
250 * ospf_zebra.c (ospf_redistribute_unset): When redistribute type
251 is OSPF, do not unset redistribute flag.
252
2532001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
254
255 * zebra-0.92a released.
256
2572001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
258
259 * zebra-0.92 released.
260
2612001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
262
263 * ospfd.c (ospf_config_write): auto-cost reference-bandwidth
264 configuration display.
265
2662001-07-24 David Watson <dwatson@eecs.umich.edu>
267
268 * ospf_spf.c (ospf_spf_next): Modify ospf_vertex_add_parent to
269 check for an existing link before connecting the parent and child.
270 ospf_nexthop_calculation is also modified to check for duplicate
271 entries when copying from the parent. Finally, ospf_spf_next
272 removes duplicates when it merges two equal cost candidates.
273
2742001-07-23 itojun@iijlab.net
275
276 * ospfd.c (show_ip_ospf_neighbor): Check ospf_top before use it
277 [zebra 8549].
278
2792001-07-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
280
281 * ospf_packet.c (ospf_write): Remove defined(__OpenBSD__) to make
282 it work on OpenBSD.
283
2842001-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
285
286 * ospf_zebra.c (config_write_ospf_default_metric): Display
287 default-metric configuration.
288
2892001-06-18 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
290
291 * ospf_ia.h (OSPF_EXAMINE_SUMMARIES_ALL): Remove old macros.
292
2932001-05-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
294
295 * ospf_snmp.c (ospfIfEntry): Fix interface lookup bug to avoid
296 crush.
297 (ospfIfMetricEntry): Likewise.
298
2992001-03-18 Kunihiro Ishiguro <kunihiro@zebra.org>
300
301 * ospf_packet.c (ospf_read): Fix typo. Reported by: "Jen B
302 Lin'Kova" <jen@stack.net>.
303
3042001-03-15 Gleb Natapov <gleb@nbase.co.il>
305
306 * ospf_interface.c (ip_ospf_network): Set interface parameter.
307 (interface_config_write): Add check for OSPF_IFTYPE_LOOPBACK.
308
309 * ospf_zebra.c (ospf_interface_add): Set interface parameter.
310
3112001-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
312
313 * ospf_packet.c (ospf_recv_packet): Solaris also need to add
314 (iph.ip_hl << 2) to iph.ip_len.
315
3162001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
317
318 * ospfd.h (OSPF_LS_REFRESH_TIME): Fix OSPF_LS_REFRESH_TIME value.
319 Suggested by: David Watson <dwatson@eecs.umich.edu>.
320
321 * ospf_zebra.c (zebra_init): Remove zebra node.
322
323 * ospfd.c (ospf_area_range_set): Function name is changed from
324 ospf_ara_range_cmd.
325 (ospf_area_range_unset): New function which separated from DEFUN.
326 New commands are added:
327 "no area A.B.C.D range A.B.C.D/M advertise"
328 "no area <0-4294967295> range A.B.C.D/M advertise"
329 "no area A.B.C.D range A.B.C.D/M not-advertise"
330 "no area <0-4294967295> range A.B.C.D/M not-advertise"
331
332 * ospf_lsa.c (ospf_lsa_more_recent): Fix previous change.
333
3342001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
335
336 * ospf_network.c (ospf_if_add_allspfrouters): Use
337 setsockopt_multicast_ipv4.
338 (ospf_if_drop_allspfrouters): Likewise.
339
340 * ospf_lsa.c (ospf_router_lsa_install): Add rt_recalc flag.
341 (ospf_network_lsa_install): Likewise.
342 (ospf_summary_lsa_install): Likewise.
343 (ospf_summary_asbr_lsa_install): Likewise.
344 (ospf_external_lsa_install): Likewise.
345 (ospf_lsa_install): Call ospf_lsa_different to check this LSA is
346 new one or not.
347
3482001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
349
350 * ospf_zebra.c (ospf_interface_delete): Do not free interface
351 structure when ospfd receive interface delete message to support
352 pseudo interface.
353
3542001-02-01 Dick Glasspool <dick@ipinfusion.com>
355
356 * ospfd.c (area_range_notadvertise): Change area range "suppress"
357 command to "not-advertise".
358
359 * ospfd.h (OSPF_LS_REFRESH_TIME): Change OSPF_LS_REFRESH_TIME from
360 1800 to 60.
361
362 * ospf_abr.c (ospf_abr_update_aggregate): When update_aggregate is
363 updating the area-range, the lowest cost is now saved.
364
365 * ospf_lsa.c (ospf_lsa_more_recent): Routing to compare sequence
366 numbers rather than creating overflow during calculation.
367
3682001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
369
370 * zebra-0.91 is released.
371
3722001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
373
374 * ospf_packet.c (ospf_db_desc_proc): Do not continue process when
375 NSM_SeqNumberMismatch is scheduled.
376 (ospf_ls_req): Free ls_upd when return from this function.
377 (ospf_ls_upd_timer): When update list is empty do not call
378 ospf_ls_upd_send(). Suggested by: endo@suri.co.jp (Masahiko
379 Endo).
380
3812001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
382
383 * ospf_lsa.c (ospf_maxage_flood): Flood LSA when it reaches
384 MaxAge. RFC2328 Section 14.
385 (ospf_maxage_lsa_remover): Call above function during removing
386 MaxAge LSA.
387
3882001-01-26 Dick Glasspool <dick@ipinfusion.com>
389
390 * ospf_flood.c (ospf_flood_through_as): Function is updated for
391 NSSA Translations now done at ospf_abr.c with no change in P-bit.
392
393 * ospf_lsa.c (ospf_get_nssa_ip): Get 1st IP connection for Forward
394 Addr.
395 (ospf_install_flood_nssa): Leave Type-7 LSA at Lock Count = 2.
396
397 * ospf_ase.c (ospf_ase_calculate_route): Add debug codes.
398
399 * ospf_abr.c (ospf_abr_translate_nssa): Recalculate LSA checksum.
400
401 * ospf_packet.h (OSPF_SEND_PACKET_LOOP): Added for test packet.
402
403 * ospf_dump.c (ospf_lsa_type_msg): Add OSPF_GROUP_MEMBER_LSA and
404 OSPF_AS_NSSA_LSA.
405
406 * ospfd.c (data_injection): Function to inject LSA. This is
407 debugging command.
408
4092001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
410
411 * ospf_route.c (ospf_route_match_same): Remove function.
412 (ospf_route_match_same_new): Renamed to ospf_route_match_same.
413
414 * ospf_zebra.c (ospf_interface_address_delete): Add check for
415 oi->address. Suggested by Matthew Grant
416 <grantma@anathoth.gen.nz>.
417 (ospf_zebra_add): Remove function.
418 (ospf_zebra_add_multipath): Rename to ospf_zebra_add.
419
420 * ospf_interface.c: Remove HAVE_IF_PSEUDO part.
421
422 * ospf_zebra.c: Likewise.
423
4242001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
425
426 * ospf_ase.c: Remove OLD_RIB part.
427
428 * ospf_route.c: Likewise.
429
430 * zebra-0.90 is released.
431
432 * ospf_packet.c (ospf_recv_packet): Use ip_len adjestment code to
433 NetBSD.
434
4352001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
436
437 * ospf_route.c (ospf_route_delete): Use
438 ospf_zebra_delete_multipath.
439
4402001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
441
442 * ospf_interface.c (ospf_if_cleanup): Function name is renamed
443 from ospf_if_free(). Rewrite whole procudure to support primary
444 address deletion.
445
446 * ospf_zebra.c (ospf_interface_address_delete): Add primary
447 address deletion process.
448
4492001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
450
451 * ospf_packet.c (ospf_recv_packet): OpenBSD has same ip_len
452 treatment like FreeBSD.
453
4542001-01-09 endo@suri.co.jp (Masahiko Endo)
455
456 * ospf_packet.c (ospf_recv_packet): FreeBSD kernel network code
457 strips IP header size from receiving IP Packet. So we adjust
458 ip_len to whole IP packet size by adding IP header size.
459
4602001-01-08 endo@suri.co.jp (Masahiko Endo)
461
462 * ospf_network.c (ospf_serv_sock): When socket() is failed return
463 immediately.
464 (ospf_serv_sock): Close socket when it is not used.
465
466 * ospf_packet.c (ospf_write): Set sin_len when HAVE_SIN_LEN is
467 defined.
468 (ospf_write): When bind is fined, close sock.
469
4702001-01-07 Gleb Natapov <gleb@nbase.co.il>
471
472 * ospf_zebra.c (ospf_interface_state_up): Fixes coredump that
473 appears when you try to configure bandwidth on the ppp interface
474 that is not yet configured in ospfd.
475
4762001-01-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
477
478 * ospf_route.c (show_ip_ospf_route_external): "show ip ospf route"
479 will print nexthops for AS-external routes.
480
481 * ospf_ase.c (ospf_ase_route_match_same): New function to compare
482 ASE route under multipath environment.
483 (ospf_ase_compare_tables): Likewise.
484
4852001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
486
487 * ospfd.h (OSPF_VTYSH_PATH): Change "/tmp/ospfd" to "/tmp/.ospfd".
488
4892000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
490
491 * ospf_route.c (ospf_route_install): Install multipath information
492 to zebra daemon.
493
494 * ospf_zebra.c (ospf_zebra_add_multipath): Function for passing
495 multipath information to zebra daemon.
496
4972000-12-25 Dick Glasspool <dick@ipinfusion.com>
498
499 * ospf_packet.c (ospf_write): Call ospf_packet_delete when sendto
500 fail.
501 (DISCARD_LSA): Add argument N for logging point of DISCARD_LSA is
502 called.
503
504 * ospf_lsa.c (ospf_external_lsa_refresh): NSSA install_flood will
505 leave Type-7 LSA at Lock Count = 2.
506
507 * ospf_flood.c (ospf_flood_through): Flood_though_as updated for
508 NSSA no P-bit off during Area flooding, but P-bit is turned off
509 for mulitple NSSA AS flooding.
510
511 * ospf_ase.c (ospf_ase_calculate_timer): Added calculations for
512 Type-7 LSDB.
513
514 * ospf_abr.c (ospf_abr_translate_nssa): Removed one unlock call.
515 (ospf_abr_announce_nssa_defaults): Corrected Debug from EVENT to
516 NSSA.
517
5182000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
519
520 * ospf_zebra.c (ospf_zebra_read_ipv4): Checking the age of the
521 found LSA and if the LSA is MAXAGE we should call refresh instead
522 of originate.
523
5242000-12-18 Dick Glasspool <dick@ipinfusion.com>
525
526 * ospf_abr.c: Removed redundant "...flood" in
527 announce_network_to_area(). Repaired nssa Unlock by using
528 discard.
529
530 * ospf_packet.c: Removed old NSSA translate during mk_ls_update.
531
532 * ospfd.c: Free up all data bases including NSSA.
533
534 * ospf_lsa.c: Now allow removal of XLATE LSA's Check in
535 discard_callback. Added routine to get ip addr from within the
536 ifp.
537
538 * ospf_flood.c: Now set Forward Address for outgoing Type-7.
539
540 * ospf_lsa.h: Added prototype for the below. struct in_addr
541 ospf_get_ip_from_ifp (struct interface *ifp).
542
5432000-12-14 Gleb Natapov <gleb@nbase.co.il>
544
545 * ospf_packet.c (ospf_recv_packet): New OSPF pakcet read method.
546 Now maximum packet length may be 65535 bytes (maximum IP packet
547 length).
548
549 * ospf_interface.c (ospf_if_stream_set): Don't make input buffer.
550
551 * ospfd.c (config_write_network_area): Remove unnecessary area
552 lookup code.
553
5542000-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
555
556 * ospf_packet.c (ospf_read): Accept packet bigger than MTU value.
557
5582000-12-13 Gleb Natapov <gleb@nbase.co.il>
559
560 * ospfd.c (config_write_network_area): Fix bug in
561 config_write_network_area function.
562
5632000-12-12 Gleb Natapov <gleb@nbase.co.il>
564
565 * ospf_abr.c (ospf_abr_announce_network_to_area): Make Summary
566 LSA's origination and refreshment as same as other type of LSA.
567
568 * ospf_lsa.c (ospf_summary_lsa_refresh): Return struct ospf_lsa *.
569
570 * ospf_lsa.c (ospf_summary_asbr_lsa_refresh): Likewise.
571
5722000-12-08 Dick Glasspool <dick@ipinfusion.com>
573
574 The bulk of NSSA changes are contained herein; This version will
575 require manual setting of "always" for NSSA Translator, and will
576 not perform aggregation yet.
577
578 * ospf_dump.c: "debug ospf nssa" is added.
579
580 * ospf_dump.h: Likewise.
581
582 * ospf_packet.c (ospf_hello): Display router ID on Bad NSSA Hello.
583
584 * ospfd.c: Discard_LSA to stay away from LOCAL_XLT Process NSSA
585 'never, candidate, always'. Change "suppress" to "not-advertise".
586
587 * ospfd.h: Add TranslatorRole to struct ospf_area. Add anyNSSA to
588 struct ospf.
589
590 * ospf_ase.c (ospf_ase_calculate_route): External to stay away
591 from LOCAL_XLT
592
593 * ospf_nsm.c (ospf_db_summary_add): External to stay away from
594 LOCAL_XLT
595
596 * ospf_abr.c: Major logic added for abr_nssa_task(). If ABR, and
597 NSSA translator, then do it. Approve the global list, and flush
598 any unapproved.
599
600 * ospf_lsa.h: New LSA flag OSPF_LSA_LOCAL_XLT to indicate that the
601 Type-5 resulted from a Local Type-7 translation; not used for
602 flooding, but used for flushing.
603
604 * ospf_flood.c: New NSSA flooding.
605
6062000-12-08 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
607
608 * ospfd.c (ospf_find_vl_data): New function for looking up virtual
609 link data.
610 (ospf_vl_set_security): Virtual link configuration with
611 authentication.
612 (ospf_vl_set_timers): Set timers for virtual link.
613
614 * New commands are added.
615 "area A.B.C.D virtual-link A.B.C.D"
616 "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>"
617 "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"
618 "area A.B.C.D virtual-link A.B.C.D authentication-key AUTH_KEY"
619 "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"
620 "area A.B.C.D virtual-link A.B.C.D message-digest-key <1-255> md5 KEY"
621
622 * ospf_packet.c (ospf_check_md5_digest): Add neighbor's
623 cryptographic sequence number treatment.
624 (ospf_check_auth): OSPF input buffer is added to argument.
625 (ospf_read): Save neighbor's cryptographic sequence number.
626
627 * ospf_nsm.c (nsm_change_status): Clear cryptographic sequence
628 number when neighbor status is changed to NSM down.
629
630 * ospf_neighbor.c (ospf_nbr_new): Set zero to crypt_seqnum.
631
632 * ospf_neighbor.h (struct ospf_neighbor): Add cryptographic
633 sequence number to neighbor structure.
634
6352000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
636
637 * ospf_snmp.c (ospfIfLookup): OSPF MIB updates.
638 (ospfExtLsdbEntry): Add OspfExtLsdbTable treatment.
639
6402000-11-28 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
641
642 * ospfd.c (ospf_interface_down): Clear a ls_upd_queue queue of the
643 interface.
644 (ospf_ls_upd_queue_empty): New function to empty ls update queue
645 of the OSPF interface.
646 (no_router_ospf): 'no router ospf' unregister redistribution
647 requests from zebra.
648
6492000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
650
651 * ospf_ism.c (ism_change_status): Increment status change number.
652
653 * ospf_interface.h (struct ospf_interface): Add new member for
654 status change statistics.
655
656 * Makefile.am: Update dependencies.
657
658 * ospf_zebra.c (ospf_interface_add): OSPF SNMP interface update.
659 (ospf_interface_delete): OSPF SNMP interface delete.
660
661 * ospf_snmp.h: New file is added.
662
6632000-11-23 Dick Glasspool <dick@ipinfusion.com>
664
665 * ospfd.h: Add new ospf_area structure member for
666 NSSATranslatorRole and NSSATranslator state.
667
668 * ospfd.c: Provided for eventual commands to specify NSSA
669 elections for "translator- ALWAYS/NEVER/CANDIDATE". Provided for
670 decimal integer version of area-suppress.
671
672 * ospf_flood.c: Flood Type-7's only into NSSA (not AS).
673
674 * ospf_lsa.c: Undo some previous changes for NSSA. If NSSA
675 translator, advertise Nt bit.
676
677 * ospf_route.c: 1st version of "sh ip os border-routers".
678
6792000-11-23 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
680
681 * ospfd.c (area_vlink): Virtual link can not configured in stub
682 area.
683
6842000-11-23 Gleb Natapov <gleb@nbase.co.il>
685
686 * ospf_packet.c (ospf_db_desc): In states Loading and Full the
687 slave must resend its last Database Description packet in response
688 to duplicate Database Description packets received from the
689 master. For this reason the slave must wait RouterDeadInterval
690 seconds before freeing the last Database Description packet.
691 Reception of a Database Description packet from the master after
692 this interval will generate a SeqNumberMismatch neighbor
693 event. RFC2328 Section 10.8
694 (ospf_make_db_desc): DD Master flag treatment.
695
696 * ospf_nsm.c (nsm_twoway_received): Move DD related procedure to
697 nsm_change_status().
698 (nsm_bad_ls_req): Likewise.
699 (nsm_adj_ok): Likewise.
700 (nsm_seq_number_mismatch): Likewise.
701 (nsm_oneway_received): Likewise.
702
703 * ospf_neighbor.h (struct ospf_neighbor): New structure member
704 last_send_ts for timestemp when last Database Description packet
705 was sent.
706
707 * ospf_nsm.c (ospf_db_desc_timer): Make it sure nbr->last_send is
708 there. Call ospf_db_desc_resend() in any case.
709
7102000-11-16 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
711
712 * ospf_lsa.c (lsa_link_broadcast_set): When there is no DR on
713 network (suppose you have only one router with interface priority
714 0). It's router LSA does not contain the link information about
715 this network.
716
717 * ospf_nsm.c (nsm_timer_set): When you change a priority of
718 interface from/to 0 ISM_NeighborChange event should be scheduled
719 in order to elect new DR/BDR on the network.
720
721 * ospf_interface.c (ip_ospf_priority): Likewise.
722
723 * ospf_flood.c (ospf_ls_retransmit_add): When we add some LSA into
724 retransmit list we need to check whether the present old LSA in
725 retransmit list is not more recent than the new
726 one.
727
7282000-11-09 Dick Glasspool <dick@ipinfusion.com>
729
730 * ospf_packet.c: Allows for NSSA Type-7 LSA's throughout the NSSA
731 area. Any that exit the NSSA area are translated to type-5 LSA's.
732 The instantiated image is restored after translation.
733 (ospf_ls_upd_send_list): Renamed to ospf_ls_upd_queu_send().
734 (ospf_ls_upd_send): Old function which enclosed by #ifdef 0 is
735 removed.
736 (ospf_ls_ack_send): Likewise.
737
738 * ospf_flood.c: NSSA-LSA's without P-bit will be restricted to
739 local area. Otherwise they are allowed out the area to be
740 translated by ospf_packet.c.
741
742 * ospf_lsa.c: Undo some previous changes for NSSA.
743
744 * ospf_lsdb.h: New access for type 7.
745
7462000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
747
748 * ospf_route.c (ospf_path_exist): New function to check nexthop
749 and interface are in current OSPF path or not.
750 (ospf_route_copy_nexthops_from_vertex): Add nexthop to OSPF path
751 when it is not there. Reported by Michael Rozhavsky
752 <mrozhavsky@opticalaccess.com>
753
7542000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
755
756 * ospf_dump.c (config_write_debug): Add seventh string "detail" is
757 added for flag is OSPF_DEBUG_SEND | OSPF_DEBUG_RECV |
758 OSPF_DEBUG_DETAIL.
759
7602000-11-06 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
761
762 * ospf_lsa.c (router_lsa_flags): ASBR can't exit in stub area.
763
7642000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
765
766 * ospf_lsa.c (ospf_router_lsa_originate): Reduce unconditional
767 logging.
768
7692000-11-06 Dick Glasspool <dick@ipinfusion.com>
770
771 * ospfd.h: Add ait_ntoa function prototype.
772
773 * ospfd.c (ait_ntoa): New function for displaying area ID and
774 Stub/NSSA status.
775 (show_ip_ospf_interface_sub): Use ait_ntoa.
776 (show_ip_ospf_nbr_static_detail_sub): Likewise.
777 (show_ip_ospf_neighbor_detail_sub): Likewise.
778
779 * ospf_route.c (ospf_intra_route_add): Set external routing type
780 to ospf route.
781 (ospf_intra_add_router): Likewise.
782 (ospf_intra_add_transit): Likewise.
783 (ospf_intra_add_stub): Likewise.
784 (ospf_add_discard_route): Likewise.
785 (show_ip_ospf_route_network): Use ait_ntoa.
786 (show_ip_ospf_route_network): Likewise.
787 (show_ip_ospf_route_router): Likewise.
788
789 * ospf_lsa.c (show_lsa_detail): Use ait_ntoa.
790 (show_lsa_detail_adv_router): Likewise.
791 (show_ip_ospf_database_summary): Likewise.
792
793 * ospf_route.h (struct route_standard): Add new member
794 external_routing.
795
796 * ospf_ia.c (process_summary_lsa): Set external routing tyep to ospf
797 route.
798 (ospf_update_network_route): Likewise.
799 (ospf_update_router_route): Likewise.
800
8012000-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
802
803 * ospf_flood.c (ospf_process_self_originated_lsa): Enclose
804 OSPF_AS_NSSA_LSA treatment with #ifdef HAVE_NSSA.
805
8062000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
807
808 * Unconditional logging is enclosed with if (IS_DEBUG_OSPF_EVENT).
809 Please specify "debug ospf event" for enable logging.
810
811 * ospf_ism.c: Do not extern debug flag varible. It is done by
812 ospf_debug.h
813 * ospf_asbr.c: Likewise.
814 * ospf_lsa.c: Likewise.
815 * ospf_nsm.c: Likewise.
816 * ospf_zebra.c: Likewise.
817
818 * ospf_dump.c (debug_ospf_event): New command "debug ospf event"
819 is added.
820
821 * ospfd.c (router_ospf): Change logging from vty_out() to
822 zlog_info().
823 (ospf_area_stub_cmd): Likewise.
824
825 * ospf_dump.h: Extern term_debug flags.
826 (OSPF_DEBUG_EVENT): Add new flag.
827 (IS_DEBUG_OSPF_EVENT): Add new macro.
828
8292000-11-03 Dick Glasspool <dick@ipinfusion.com>
830
831 * ospf_flood.c (ospf_process_self_originated_lsa):
832 OSPF_AS_NSSA_LSA is treated as same as OSPF_AS_EXTERNAL_LSA.
833 (ospf_flood): Type-5's have no change. Type-7's can be received,
834 and will Flood the AS as Type-5's They will also flood the local
835 NSSA Area as Type-7's. The LSDB will be updated as Type-5's, and
836 during re-fresh will be converted back to Type-7's (if within an
837 NSSA).
838 (ospf_flood_through): Incoming Type-7's were allowed here if our
839 neighbor was an NSSA. So Flood our area with the Type-7 and also
840 if we are an ABR, flood thru AS as Type-5.
841
842 * ospf_lsa.c (ospf_external_lsa_refresh): Flood NSSA both NSSA
843 area and other area.
844
845 * ospf_packet.c (ospf_db_desc_proc): When AS External LSA is
846 exists in DD packet, make it sure that this area is not stub.
847 (ospf_ls_upd_list_lsa): When LSA type is NSSA then set lsa's area
848 to NULL.
849 (ospf_ls_upd): If the LSA is AS External LSA and the area is stub
850 then discard the lsa. If the LSA is NSSA LSA and the area is not
851 NSSA then discard the lsa.
852
8532000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
854
855 * ospfd.c (ospf_interface_run): Fix bug of Hello packet's option
856 is not properly set when interface comes up.
857
8582000-11-02 Kunihiro Ishiguro <kunihiro@zebra.org>
859
860 * ospfd.h (OSPF_OPTION_O): Add new hello header option.
861
8622000-11-01 Dick Glasspool <dick@ipinfusion.com>
863
864 * ospf_lsa.h: Define OSPF_MAX_LSA to 8 when HAVE_NSSA is enabled.
865 (OSPF_GROUP_MEMBER_LSA): Define OSPF_GROUP_MEMBER_LSA.
866
867 * ospf_lsa.c (show_database_desc): Add "Group Membership LSA"
868 string.
869
8702000-10-31 Dick Glasspool <dick@ipinfusion.com>
871
872 * ospf_lsa.h (OSPF_AS_NSSA_LSA): Define OSPF_AS_NSSA_LSA.
873
874 * ospf_lsa.c (show_ip_ospf_database): NSSA database display
875 function is added. ALIASES which have "show ip ospf database
876 nssa-external" is added.
877 (show_ip_ospf_border_routers): New command "show ip ospf
878 border-routers" is added.
879
8802000-10-30 Dick Glasspool <dick@ipinfusion.com>
881
882 * ospfd.c (router_ospf): NSSA Enabled message is added for
883 testing.
884 (ospf_area_type_set): Are type set for NSSA area.
885 (ospf_area_stub_cmd): Special translation of no_summary into NSSA
886 and summary information. If NSSA is enabled pass the information
887 to ospf_area_type_set().
888 (area_nssa): New commands are added:
889 "area A.B.C.D nssa"
890 "area <0-4294967295> nssa"
891 "area A.B.C.D nssa no-summary"
892 "area <0-4294967295> nssa no-summary"
893 (ospf_no_area_stub_cmd): Special translation of no_summary into
894 NSSA and summary information. If external_routing is
895 OSPF_AREA_NSSA unset area with ospf_area_type_set (area,
896 OSPF_AREA_DEFAULT).
897 (show_ip_ospf_area): Display NSSA status.
898 (config_write_ospf_area): Show NSSA configuration.
899
900 * ospf_packet.c (ospf_hello): For NSSA support, ensure that NP is
901 on and E is off.
902
9032000-10-26 Gleb Natapov <gleb@nbase.co.il>
904
905 * ospf_lsa.c (ospf_network_lsa_body_set): The network-LSA lists
906 those routers that are fully adjacent to the Designated Router;
907 each fully adjacent router is identified by its OSPF Router ID.
908 The Designated Router includes itself in this list. RFC2328,
909 Section 12.4.2.
910
9112000-10-23 Jochen Friedrich <jochen@scram.de>
912
913 * ospf_snmp.c: ospf_oid and ospfd_oid are used in smux_open after
914 it is registered. So those variables must be static.
915
9162000-10-18 K N Sridhar <sridhar@euler.ece.iisc.ernet.in>
917
918 * ospfd.c: Add area_default_cost_decimal_cmd and
919 no_area_default_cost_decimal_cmd alias.
920
9212000-10-05 Gleb Natapov <gleb@nbase.co.il>
922
923 * ospfd.c (ospf_network_new): Fix setting area format.
924 (no_router_ospf): Check area existance when calling
925 ospf_interface_down().
926
927 * ospf_flood.c (ospf_external_info_check): Fix bug of refreshing
928 default route.
929
9302000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
931
932 * zebra-0.89 is released.
933
9342000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
935
936 * ospf_snmp.c (ospfHostEntry): OSPF Host MIB is implemented.
937
938 * ospfd.c (ospf_nbr_static_cmp): OSPF neighbor is sorted by it's
939 address.
940
9412000-09-28 Michael Rozhavsky <mike@nbase.co.il>
942
943 * ospf_interface.c (ospf_if_free): Fix deleting self neighbor twice.
944
9452000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
946
947 * ospf_packet.c (ospf_read): Solaris on x86 has ip_len with host
948 byte order.
949
9502000-09-25 Toshiaki Takada <takada@zebra.org>
951
952 * ospfd.c (ospf_compatible_rfc1583), (no_ospf_compatible_rfc1583):
953 Add CISCO compatible command.
954
9552000-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
956
957 * ospf_abr.c (ospf_area_range_lookup): New function is added for
958 area range lookup in OSPF-MIB.
959 (ospf_area_range_lookup_next): Likewise.
960
9612000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
962
963 * ospfd.c (no_router_ospf): Delete virtual link before deleting
964 area structure.
965
966 * ospf_lsa.c (ospf_external_lsa_refresh_type): Check
967 EXTERNAL_INFO(type).
968
969 * ospfd.c (no_router_ospf): Call ospf_vl_delete() instead of
970 ospf_vl_data_free().
971
972 * ospf_interface.c (ospf_vl_shutdown): Execute ISM_InterfaceDown
973 when ospf_vl_shutdown is called.
974 (ospf_vl_delete): Call ospf_vl_shutdown() to delete virtual link
975 interface's thread.
976
9772000-09-21 Gleb Natapov <gleb@nbase.co.il>
978
979 * ospf_lsa.c: New implementation of OSPF refresh.
980
9812000-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
982
983 * ospf_snmp.c (ospfLsdbLookup): Add LSDB MIB implementation.
984
9852000-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
986
987 * ospf_snmp.c (ospfStubAreaEntry): Add OSPF stub area MIB.
988
9892000-09-18 Gleb Natapov <gleb@nbase.co.il>
990
991 * ospf_route.h (route_standard): Change member from `struct area'
992 to area_id.
993
994 * ospf_abr.c (ospf_abr_announce_network), (ospf_abr_should_announce),
995 (ospf_abr_process_network_rt), (ospf_abr_announce_rtr),
996 (ospf_abr_process_router_rt):
997 * ospf_ase.c (ospf_find_asbr_route),
998 (ospf_find_asbr_router_through_area),
999 * ospf_ia.c (ospf_find_abr_route), (ospf_ia_router_route),
1000 (process_summary_lsa), (ospf_update_network_route),
1001 (ospf_update_router_route):
1002 * ospf_route.c (ospf_intra_route_add), (ospf_intra_add_router),
1003 (ospf_intra_add_transit), (ospf_intra_add_stub),
1004 (ospf_route_table_dump), (show_ip_ospf_route_network),
1005 (show_ip_ospf_route_router), (ospf_asbr_route_cmp),
1006 (ospf_prune_unreachable_routers):
1007 * ospf_spf.c (ospf_rtrs_print):
1008 * ospfd.c (ospf_rtrs_free): Fix the struct change above.
1009
10102000-09-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1011
1012 * ospf_network.c (ospf_serv_sock_init): Enclose SO_BINDTODEVICE
1013 with ifdef.
1014
10152000-09-13 Gleb Natapov <gleb@nbase.co.il>
1016
1017 * ospf_ism.c (ospf_elect_dr), (ospf_elect_bdr): Fix DR election.
1018
1019 * ospf_network.c (ospf_serv_sock_init): Add socket option
1020 SO_BINDTODEVICE on read socket.
1021
1022 * ospf_packet.c (ospf_hello): Ignore Hello packet if E-bit does
1023 not match.
1024
1025 * ospfd.c (ospf_area_check_free), (ospf_area_get),
1026 (ospf_area_add_if): New function added.
1027
10282000-09-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1029
1030 * ospf_route.c (ospf_intra_add_router): Update ABR and ASBR router
1031 count.
1032
1033 * ospf_spf.c (ospf_spf_init): Rest ABR and ASBR router count
1034 starting SPF calculation.
1035
1036 * ospfd.h (struct ospf_area): Add ABR and ASBR router count.
1037
10382000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1039
1040 * ospfd.c (ospf_area_id_cmp): New area structure is sorted by area
1041 ID.
1042
1043 * ospf_lsa.c (ospf_router_lsa_originate): For OSPF MIB update
1044 lsa_originate_count.
1045 (ospf_network_lsa_originate): Likewise.
1046 (ospf_summary_lsa_originate): Likewise.
1047 (ospf_summary_asbr_lsa_originate): Likewise.
1048 (ospf_external_lsa_originate): Likewise.
1049
10502000-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1051
1052 * ospf_snmp.c (ospf_variables): ospfRouterID's type RouterID
1053 syntax is IpAddress.
1054 (ospf_admin_stat): New function for OSPF administrative status
1055 check.
1056
10572000-09-10 Jochen Friedrich <jochen@scram.de>
1058
1059 * ospf_snmp.c: Implement OSPF MIB skeleton.
1060
10612000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1062
1063 * ospf_snmp.c: New file is added.
1064
10652000-09-07 David Lipovkov <davidl@nbase.co.il>
1066
1067 * ospf_zebra.c (ospf_interface_delete): Add pseudo interface
1068 treatment.
1069
1070 * ospf_interface.c (interface_config_write): Likewise.
1071
10722000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1073
1074 * zebra-0.88 is released.
1075
10762000-08-17 Michael Rozhavsky <mike@nbase.co.il>
1077
1078 * ospfd.c (ospf_area_free): Remove virtual link configuration only
1079 when Area is removed.
1080
10812000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1082
1083 * ospfd.c (network_area): Revert check for EXTERNAL_INFO
1084 (ZEBRA_ROUTE_CONNECT).
1085 (no_network_area): Likewise.
1086
10872000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1088
1089 * ospfd.h (struct ospf): Add distance_table and
1090 distance_{all,intra,inter,external}.
1091
1092 * ospf_zebra.c: Add OSPF distance related functions.
1093
10942000-08-15 Gleb Natapov <gleb@nbase.co.il>
1095
1096 * ospf_asbr.c (ospf_external_info_find_lsa): New function added.
1097
1098 * ospf_lsa.c (ospf_default_external_info),
1099 (ospf_default_originate_timer), (ospf_external_lsa_refresh_default):
1100 New function added.
1101
1102 * ospf_zebra.c
1103 (ospf_default_information_originate_metric_type_routemap),
1104 (ospf_default_information_originate_always_metric_type_routemap):
1105 Change name and add route-map function.
1106 (ospf_default_information_originate_metric_routemap),
1107 (ospf_default_information_originate_routemap),
1108 (ospf_default_information_originate_type_metric_routemap):
1109 New DEFUN added.
1110
11112000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1112
1113 * ospf_zebra.c (zebra_interface_if_set_value): Change ifindex
1114 restore size from two octet to four.
1115
11162000-08-14 Michael Rozhavsky <mike@nbase.co.il>
1117
1118 * ospf_ase.c (ospf_ase_incremental_update): Implement incremental
1119 AS-external-LSA in 16.6 of RFC2328.
1120
11212000-08-14 Matthew Grant <grantma@anathoth.gen.nz>
1122
1123 * ospf_interface.c (ospf_if_get_output_cost): Change cost
1124 calculation algorithm.
1125
1126 * ospf_packet (ospf_ls_upd): Fix problem of LSA retransmitting.
1127
11282000-08-11 Michael Rozhavsky <mike@nbase.co.il>
1129
1130 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix maxage remover for
1131 AS-external-LSAs.
1132
11332000-08-10 Toshiaki Takada <takada@zebra.org>
1134
1135 * ospfd.c (auto_cost_reference_bandwidth): New DEFUN added.
1136 `auto-cost reference-bandwidth' OSPF router command added.
1137
11382000-08-08 Gleb Natapov <gleb@nbase.co.il>
1139
1140 * ospf_routemap.c (ospf_route_map_update): New function added.
1141 Add route-map event hook.
1142
11432000-08-08 Toshiaki Takada <takada@zebra.org>
1144
1145 * ospf_zebra.c (ospf_distribute_check_connected): If redistribute
1146 prefix is connected route on OSPF enabled interface, suppress to
1147 announce it.
1148
11492000-08-08 Matthew Grant <grantma@anathoth.gen.nz>
1150
1151 * ospf_interface.c (ospf_if_get_output_cost):
1152 New function added. Handle bandwidth parameter for cost
1153 calculation.
1154
11552000-08-08 Michael Rozhavsky <mike@nbase.co.il>
1156
1157 * ospf_interface.c (interface_config_write): Show interface
1158 configuration regardless interface is down.
1159
1160 * ospf_ase.c (ospf_ase_caocluate_route): Whole rewritten external
1161 route calculate function.
1162
11632000-08-08 Gleb Natapov <gleb@nbase.co.il>
1164
1165 * ospf_routemap.c: New file added.
1166
1167 * ospf_asbr.c (ospf_reset_route_map_set_values),
1168 (ospf_route_map_set_compare): New function added.
1169
1170 * ospf_lsa.c (ospf_external_lsa_body_set): Set routemap metric
1171 with AS-external-LSA.
1172
11732000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1174
1175 * ospf_ase.c (ospf_ase_calculate_route_add): Pass new->cost to
1176 ospf_zebra_add as metric.
1177 (ospf_ase_calculate_route_add): Likewise.
1178
1179 * ospf_route.c (ospf_route_install): Pass or->cost to
1180 ospf_zebra_add as metric.
1181
1182 * ospf_zebra.c (ospf_zebra_add): Add metric arguemnt.
1183 (ospf_zebra_delete): Likewise.
1184
11852000-08-03 Matthew Grant <grantma@anathoth.gen.nz>
1186
1187 * ospf_flood.c (ospf_flood_delayed_lsa_ack): New function added.
1188 Dispatch delayed-ACK with flooding AS-external-LSA across virtual
1189 link.
1190
11912000-07-31 Matthew Grant <grantma@anathoth.gen.nz>
1192
1193 * ospfd.c (show_ip_ospf_area): Fix lack of VTY_NEWLINE when
1194 `show ip ospf'.
1195
1196 * ospf_interface.c (ospf_if_free): Fix bug of crash with
1197 Point-to-Point interface.
1198
11992000-07-27 Michael Rozhavsky <mike@nbase.co.il>
1200
1201 * ospf_flood.c (ospf_process_self_originated_lsa):
1202 Make sure to clear LSA->param (redistributed external information)
1203 before refreshment.
1204
12052000-07-27 Gleb Natapov <gleb@nbase.co.il>
1206
1207 * ospfd.c (refresh_group_limit), (refresh_per_slice),
1208 (refresh_age_diff): New defun added. Refresher related parameter
1209 can be configurable.
1210
12112000-07-27 Akihiro Mizutani <mizutani@dml.com>
1212
1213 * ospf_interface.c (interface_config_write): Print `description'
1214 config directive to work.
1215
12162000-07-24 Akihiro Mizutani <mizutani@dml.com>
1217
1218 * ospf_interface.c (ospf_if_init): Use install_default for
1219 INTERFACE_NODE.
1220
12212000-07-24 Gleb Natapov <gleb@nbase.co.il>
1222
1223 * ospf_packet.c (ospf_ls_upd_send_list), (ospf_ls_upd_send_event),
1224 (ospf_ls_ack_send_list), (ospf_ls_ack_send_event): New function added.
1225 This make sending always as many LS update/Ack combined in one ospf
1226 packet.
1227
12282000-07-24 Gleb Natapov <gleb@nbase.co.il>
1229
1230 * ospf_packet.c (ospf_ls_upd_list_lsa): Set NULL to lsa->area if
1231 LSA is AS-external-LSA.
1232
1233 * ospf_nsm.c (nsm_reset_nbr): Do not cancel Inactivity timer.
1234
12352000-07-21 Toshiaki Takada <takada@zebra.org>
1236
1237 * ospf_zebra.c (ospf_default_originate_timer): Set timer for
1238 `default-information originate'. Fix some default originate
1239 related functions.
1240
12412000-07-12 Toshiaki Takada <takada@zebra.org>
1242
1243 * ospf_lsa.c (stream_put_ospf_metric): New function added.
1244
12452000-07-12 Toshiaki Takada <takada@zebra.org>
1246
1247 * ospf_lsa.c (show_ip_ospf_database_router),
1248 (show_ip_ospf_database_network), (show_ip_ospf_database_summary),
1249 (show_ip_ospf_database_summary_asbr), (show_ip_ospf_database_externel),
1250 (show_router_lsa), (show_any_lsa), (show_router_lsa_self),
1251 (show_any_lsa_self): Functions removed.
1252
1253 (show_lsa_prefix_set), (show_lsa_detail_proc), (show_lsa_detail),
1254 (show_lsa_detail_adv_router_proc), (show_lsa_detail_adv_router):
1255 New functions added. Replace above functions.
1256
1257 (show_ip_ospf_database_all), (show_ip_ospf_database_self_originated):
1258 Functions removed.
1259 (show_ip_ospf_database_summary): New functions added. Replace
1260 above functions.
1261
1262 (show_ip_ospf_database_cmd): DEFUN rearranged.
1263 (show_ip_ospf_database_type_id_cmd),
1264 (show_ip_ospf_database_type_id_adv_router_cmd),
1265 (show_ip_ospf_database_type_is_self_cmd): New ALIASes added.
1266 (show_ip_ospf_database_type_adv_rotuer_cmd): New DEFUN added.
1267 (show_ip_ospf_database_type_self_cmd): New ALIAS added.
1268
12692000-07-11 Toshiaki Takada <takada@zebra.org>
1270
1271 * ospf_asbr.c (ospf_external_info_new),
1272 (ospf_external_info_free): New functions added.
1273
1274 * ospf_lsa.h (ospf_lsa): Add new member `void *param' to set
1275 origination parameter for external-LSA.
1276 Remove member `redistribute'.
1277
1278 * ospf_zebra.c (ospf_redistirbute_set): When `redistribute'
1279 command executed, metric and metric-type values are overridden.
1280 If one of those is changed refresh AS-external-LSAs for appropriate
1281 type.
1282
12832000-07-11 Michael Rozhavsky <mike@nbase.co.il>
1284
1285 * ospf_lsa.c (ospf_summary_lsa_refresh),
1286 (ospf_summary_asbr_lsa_refresh): Make sure to refresh summary-LSAs.
1287
1288 * ospf_abr.c (set_metric): New function added.
1289
12902000-07-07 Toshiaki Takada <takada@zebra.org>
1291
1292 * ospf_zebra.c (ospf_default_information_originate_metric_type),
1293 (ospf_default_information_originate_type_metric): New defun added.
1294 Metic and Metric type can be set to default route.
1295 (ospf_default_information_originate_always_metric_type):
1296 (ospf_default_information_originate_always_type_metric):
1297 New defun added. Metric and Metric type can be set to default
1298 always route.
1299
1300 * ospf_zebra.c (ospf_default_metric), (no_ospf_default_metric):
1301 New defun added.
1302
13032000-07-06 Gleb Natapov <gleb@nbase.co.il>
1304
1305 * ospf_flood.c (ospf_flood_through_area): Fix bug of considering
1306 on the same interface the LSA was received from.
1307
13082000-07-06 Michael Rozhavsky <mike@nbase.co.il>
1309
1310 * ospfd.c (ospf_config_write): Fix bug of printing `area stub'
1311 command with `write mem'.
1312
1313 * ospfd.c (no_router_ospf): Remove installed routes from zebra.
1314
1315 * ospf_zebra.c (ospf_interface_delete): Fix function to handle
1316 zebra interface delete event.
1317
13182000-07-06 Toshiaki Takada <takada@zebra.org>
1319
1320 * ospf_zebra.c (ospf_default_information_originate),
1321 (ospf_default_information_originate_always): New DEFUN added.
1322
13232000-07-05 Michael Rozhavsky <mike@nbase.co.il>
1324
1325 * ospf_route.c (ospf_terminate): Make sure to remove external route
1326 when SIGINT received.
1327
13282000-07-03 Gleb Natapov <gleb@nbase.co.il>
1329
1330 * ospf_flood.c, ospf_ism.c, ospf_lsa,c, ospfd.c: Make sure to free
1331 many structure with `no router ospf'.
1332
13332000-06-30 Gleb Natapov <gleb@nbase.co.il>
1334
1335 * ospf_neighbor.c (ospf_nbr_new),
1336 ospf_nsm.c (nsm_timer_set): Start LS update timer only
1337 when neighbor enters Exchange state.
1338
13392000-06-29 Gleb Natapov <gleb@nbase.co.il>
1340
1341 * ospf_nsm.c (nsm_timer_set), (nsm_exchange_done),
1342 ospf_packet.c (ospf_db_desc_proc):
1343 Do not cancel DD retransmit timer when Master.
1344
13452000-06-29 Gleb Natapov <gleb@nbase.co.il>
1346
1347 * ospf_abr.c (ospf_abr_announce_network_to_area),
1348 (ospf_abr_announce_rtr_to_area)
1349 ospf_ase.c (ospf_ase_rtrs_register_lsa),
1350 ospf_flood.c (ospf_process_self_originated_lsa),
1351 (ospf_flood_through_area), (ospf_ls_request_delete),
1352 ospf_interface.c (ospf_if_free),
1353 ospf_ism.c (ism_change_status),
1354 ospf_lsa.c (ospf_router_lsa_update_timer),
1355 (ospf_router_lsa_install), (ospf_network_lsa_install),
1356 (ospf_lsa_maxage_delete), (ospf_lsa_action),
1357 (ospf_schedule_lsa_flood_area),
1358 ospf_nsm.c (nsm_change_status),
1359 ospf_packet.c (ospf_make_ls_req_func), (ospf_make_ls_ack):
1360 Use ospf_lsa_{lock,unlock} for all looking-up of LSA.
1361
1362 * ospf_flood.c (ospf_ls_request_free): Function deleted.
1363
1364 * ospf_lsa.c (ospf_discard_from_db): New function added.
1365
13662000-06-26 Toshiaki Takada <takada@zebra.org>
1367
1368 * ospfd.h (ospf): struct member `external_lsa' name changed to
1369 `lsdb'.
1370
13712000-06-26 Toshiaki Takada <takada@zebra.org>
1372
1373 * ospf_lsa.c (ospf_lsa_install), (ospf_router_lsa_install),
1374 (ospf_network_lsa_install), (ospf_summary_lsa_install),
1375 (ospf_summary_asbr_lsa_install), (ospf_external_lsa_install):
1376 Functions re-arranged.
1377
1378 * ospf_lsa.c (IS_LSA_MAXAGE), (IS_LSA_SELF): Macro added.
1379
13802000-06-20 Michael Rozhavsky <mike@nbase.co.il>
1381
1382 * ospf_packet.c (ospf_ls_req), (ospf_ls_upd), (ospf_ls_ack): Add
1383 verification of LS type.
1384
13852000-06-20 Gleb Natapov <gleb@nbase.co.il>
1386
1387 * ospf_ase.c (ospf_ase_calculate_timer): Add more sanity check
1388 whether rn->info is NULL.
1389
13902000-06-20 Toshiaki Takada <takada@zebra.org>
1391
1392 * ospfd.c (show_ip_ospf_interface_sub): Show Router-ID of both
1393 DR and Backup correctly with `show ip ospf interface' command.
1394
13952000-06-20 Toshiaki Takada <takada@zebra.org>
1396
1397 * ospf_lsa.c (ospf_lsa_lock), (ospf_lsa_unlock),
1398 (ospf_lsa_discard): These functions are used for avoiding
1399 unexpected reference to freed LSAs.
1400
14012000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1402
1403 * ospf_packet.c (ospf_ls_upd): Initialize lsa by NULL to avoid
1404 warning.
1405
14062000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1407
1408 * ospf_ase.h (ospf_ase_rtrs_register_lsa): Add prototype.
1409
14102000-06-12 Toshiaki Takada <takada@zebra.org>
1411
1412 * ospf_lsa.c (ospf_external_lsa_install): Make sure to register
1413 LSA to rtrs_external when replacing AS-external-LSAs in LSDB.
1414 Fix core dump.
1415
14162000-06-10 Toshiaki Takada <takada@zebra.org>
1417
1418 * ospf_lsdb.c (id_to_prefix), (ospf_lsdb_hash_key),
1419 (ospf_lsdb_hash_cmp), (ospf_lsdb_new), (ospf_lsdb_iterator),
1420 (lsdb_free), (ospf_lsdb_free), (ospf_lsdb_add), (ospf_lsdb_delete),
1421 (find_lsa), (ospf_lsdb_lookup), (find_by_id),
1422 (ospf_lsdb_lookup_by_id), (ospf_lsdb_lookup_by_header): Functinos
1423 removed for migration to new_lsdb.
1424
1425 * ospf_lsa.c (ospf_summary_lsa_install),
1426 (ospf_summary_asbr_lsa_install), (ospf_maxage_lsa_remover),
1427 (ospf_lsa_maxage_walker), (ospf_lsa_lookup),
1428 (ospf_lsa_lookup_by_id): Use new_lsdb instead of ospf_lsdb.
1429 (count_lsa), (ospf_lsa_count_table), (ospf_lsa_count),
1430 (ospf_get_free_id_for_prefix): Funcitions removed.
1431
14322000-06-09 Gleb Natapov <gleb@nbase.co.il>
1433
1434 * ospf_ism.c (ism_interface_down): Prevent some unneeded DR changes.
1435
1436 * ospf_packet.c (ospf_db_desc_proc): Fix memory leak.
1437 (ospf_hello): Always copy router-ID when hello is received.
1438
14392000-06-08 Gleb Natapov <gleb@nbase.co.il>
1440
1441 * ospf_lsa.h (struct ospf_lsa): Add member of pointer to struct
1442 ospf_area.
1443
14442000-06-08 Michael Rozhavsky <mike@nbase.co.il>
1445
1446 * ospf_ase.c (ospf_asbr_route_same): New function added.
1447 This function makes sure external route calculation more
1448 precisely.
1449
14502000-06-07 Michael Rozhavsky <mike@nbase.co.il>
1451
1452 * ospf_ism.c (ism_change_status): Use ospf_lsa_flush_area for
1453 network-LSA deletion instead of using ospf_lsdb_delete.
1454 Also cancel network-LSA origination timer.
1455
14562000-06-07 Levi Harper <lharper@kennedytech.com>
1457
1458 * ospf_interface.c (ospf_if_down): Close read fd when an interface
1459 goes down.
1460
14612000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1462
1463 * ospf_asbr.c (ospf_external_info_lookup): Add explicit brace for
1464 avoid ambiguous else.
1465
1466 * ospf_flood.c (ospf_external_info_check): Likewise.
1467
14682000-06-05 Toshiaki Takada <takada@zebra.org>
1469
1470 * ospf_nsm.c (nsm_adj_ok): Fix bug of DR election.
1471
14722000-06-04 Toshiaki Takada <takada@zebra.org>
1473
1474 * ospf_zebra.c (ospf_default_information_originate),
1475 (no_ospf_default_information_originate): New DEFUN added.
1476
14772000-06-03 Toshiaki Takada <takada@zebra.org>
1478
1479 * ospf_lsa.h, ospf_asbr.h (external_info): Struct moved from
1480 ospf_lsa.h to ospf_asbr.h.
1481
1482 * ospf_lsa.c, ospf_asbr.c (ospf_external_info_add),
1483 (ospf_external_info_delete): Function moved from ospf_lsa.c
1484 to ospf_asbr.c.
1485
14862000-06-03 Toshiaki Takada <takada@zebra.org>
1487
1488 * ospf_flood.c (ospf_external_info_check): New function added.
1489 (ospf_process_self_orignated_lsa): Make sure to flush
1490 self-originated AS-external-LSA, when router reboot and no longer
1491 originate those AS-external-LSA.
1492
14932000-06-02 Toshiaki Takada <takada@zebra.org>
1494
1495 * ospf_network.c (ospf_serv_sock): Remove SO_DONTROUTE
1496 socket option.
1497
1498 * ospf_packet.c (ospf_write): Set MSG_DONTROUTE flag for
1499 unicast destination packets.
1500
15012000-06-02 Toshiaki Takada <takada@zebra.org>
1502
1503 * ospf_lsdb.c (new_lsdb_delete): Delete entry from LSDB only when
1504 specified LSA matches.
1505
15062000-06-02 Gleb Natapov <gleb@nbase.co.il>
1507
1508 * ospf_network.c (ospf_serv_sock): Set SO_DONTROUTE
1509 socket option.
1510
15112000-06-01 Akihiro Mizutani <mizutani@dml.com>
1512
1513 * ospf_dump.c: Replace string `Debugging functions\n' with DEBUG_STR.
1514 Replace string `OSPF information\n' with OSPF_STR.
1515
15162000-06-01 Toshiaki Takada <takada@zebra.org>
1517
1518 * ospf_lsdb.[ch]: Use new_lsdb struct for network-LSA instead of
1519 ospf_lsdb.
1520
15212000-06-01 Toshiaki Takada <takada@zebra.org>
1522
1523 * ospf_dump.c (config_debug_ospf_packet), (config_debug_ospf_event),
1524 (config_debug_ospf_ism), (config_debug_ospf_nsm),
1525 (config_debug_ospf_lsa), (config_debug_ospf_zebra),
1526 (term_debug_ospf_packet), (term_debug_ospf_event),
1527 (term_debug_ospf_ism), (term_debug_ospf_nsm),
1528 (term_debug_ospf_lsa), (term_debug_ospf_zebra): Repalce debug_ospf_*
1529 variable to use for debug option flags.
1530
1531 (debug_ospf_packet), (debug_ospf_ism), (debug_ospf_nsm),
1532 (debug_ospf_lsa), (debug_ospf_zebra): Set {config,term}_debug_*
1533 flags when vty->node is CONFIG_NODE, otherwise set only term_debug_*
1534 flags.
1535
1536 * ospf_dump.h (CONF_DEBUG_PACKET_ON), (CONF_DEBUG_PACKET_OFF),
1537 (TERM_DEBUG_PACKET_ON), (TERM_DEBUG_PACKET_OFF),
1538 (CONF_DEBUG_ON), (CONF_DEBUG_OFF), (IS_CONF_DEBUG_OSPF_PACKET),
1539 (IS_CONF_DEBUG_OSPF): New Macro added.
1540
15412000-05-31 Toshiaki Takada <takada@zebra.org>
1542
1543 * ospfd.c (clear_ip_ospf_neighbor): New DEFUN added.
1544 Currently this command is used for only debugging.
1545
1546 * ospf_nsm.c (nsm_change_status): Make sure thread cancellation
1547 for network-LSA when DR has no full neighbors.
1548
1549 * ospf_nsm.c (ospf_db_summary_clear): New function added.
1550
15512000-05-30 Toshiaki Takada <takada@zebra.org>
1552
1553 * ospf_lsdb.c (new_lsdb_insert): LSAs are always freed by
1554 maxage_lsa_remover when LSA is replaced.
1555
15562000-05-25 Gleb Natapov <gleb@nbase.co.il>
1557
1558 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all): Add argument
1559 `struct ospf_area' to remove LSA from Link State retransmission list
1560 of neighbor from only one Area.
1561
15622000-05-24 Michael Rozhavsky <mike@nbase.co.il>
1563
1564 * ospf_lsdb.c (ospf_lsdb_add): Preserve flags field when
1565 overriting old LSA with new LSA.
1566
15672000-05-24 Gleb Natapov <gleb@nbase.co.il>
1568
1569 * ospf_lsa.c (ospf_router_lsa_body_set): Fix bug of router-LSA
1570 size calculation.
1571
15722000-05-22 Michael Rozhavsky <mike@nbase.co.il>
1573
1574 * ospf_route.c (ospf_intra_add_stub):
1575 * ospf_spf.h (struct vertex): Use u_int32_t for distance (cost)
1576 value instead of u_int16_t.
1577
15782000-05-22 Axel Gerlach <agerlach@datus.datus.com>
1579
1580 * ospf_ia.c (ospf_ia_network_route): Fix bug of Inter-area route
1581 equal cost path calculation.
1582
15832000-05-21 Toshiaki Takada <takada@zebra.org>
1584
1585 * ospf_ase.c (ospf_ase_calculate_route_delete): New function added.
1586 Make sure, when rotuer route is deleted, related external routes
1587 are also deleted.
1588
15892000-05-20 Toshiaki Takada <takada@zebra.org>
1590
1591 * ospfd.c (ospf_interface_down): Make sure interface flag is disable
1592 and set fd to -1.
1593
15942000-05-16 Toshiaki Takada <takada@zebra.org>
1595
1596 * ospf_asbr.c (ospf_asbr_should_announce), (ospf_asbr_route_remove):
1597 Functions removed.
1598
1599 * ospfd.h (EXTERNAL_INFO): Macro added.
1600 Substitute `ospf_top->external_info[type]' with it.
1601
16022000-05-16 Toshiaki Takada <takada@zebra.org>
1603
1604 * ospf_lsa.c (ospf_rtrs_external_remove): New function added.
1605
16062000-05-14 Gleb Natapov <gleb@nbase.co.il>
1607
1608 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all)
1609 * ospf_lsdb.c (new_lsdb_insert)
1610 * ospf_packet.c (ospf_ls_ack): Fix database synchonization problem.
1611
16122000-05-14 Gleb Natapov <gleb@nbase.co.il>
1613
1614 * ospf_lsa.h (tv_adjust), (tv_ceil), (tv_floor), (int2tv),
1615 (tv_add), (tv_sub), (tv_cmp): Prototype definition added.
1616
1617 * ospf_nsm.h (ospf_db_summary_delete_all): Prototype definition added.
1618
16192000-05-13 Toshiaki Takada <takada@zebra.org>
1620
1621 * ospf_lsa.[ch] (ospf_lsa): struct timestamp type is changed from
1622 time_t to struct timeval.
1623 (tv_adjust), (tv_ceil), (tv_floor), (int2tv), (tv_add),
1624 (tv_sub), (tv_cmp): timeval utillity functions added.
1625
16262000-05-12 Toshiaki Takada <takada@zebra.org>
1627
1628 * ospf_lsa.[ch] (ospf_schedule_update_router_lsas): Delete function.
1629 Change to use macro OSPF_LSA_UPDATE_TIMER instead of using
1630 this function.
1631 router-LSA refresh timer related stuff is re-organized.
1632
16332000-05-10 Gleb Natapov <gleb@nbase.co.il>
1634
1635 * ospf_interface.c (ospf_vl_set_params):
1636 * ospf_packet.c (ospf_check_network_mask):
1637 * ospf_spf.[ch] (ospf_spf_next):
1638 Remove field address from `struct vertex', and search for peer
1639 address of virtual link in function `ospf_vl_set_params' instead.
1640
16412000-05-10 Gleb Natapov <gleb@nbase.co.il>
1642
1643 * ospf_packet.c (ospf_ls_upd): Fix some memory leak related LSA.
1644
16452000-05-08 Thomas Molkenbur <tmo@datus.com>
1646
1647 * ospf_packet.c (ospf_packet_dup): Replace ospf_steram_copy()
1648 with ospf_stream_dup() to fix memory leak.
1649
16502000-05-08 Michael Rozhavsky <mike@nbase.co.il>
1651
1652 * ospf_flood.c (ospf_flood_through_area): Fix the problem of
1653 LSA update without DROther.
1654
16552000-05-04 Gleb Natapov <gleb@nbase.co.il>
1656
1657 * ospf_spf.c (ospf_vertex_free): Fix memory leak of SPF calculation.
1658
16592000-05-03 Toshiaki Takada <takada@zebra.org>
1660
1661 * ospf_neighbor.c (ospf_db_summary_add): Use new_lsdb struct
1662 instead linked-list.
1663 (ospf_db_summary_count), (ospf_db_summary_isempty):
1664 New function added.
1665
1666 * ospf_lsa.c (ospf_rotuer_lsa): Re-arrange and divide functions.
1667
16682000-05-02 Gleb Natapov <gleb@nbase.co.il>
1669
1670 * ospf_lsdb.c (new_lsdb_cleanup): Fix memory leak. When LSDB are
1671 not needed any more, then free them.
1672
16732000-05-02 Toshiaki Takada <takada@zebra.org>
1674
1675 * ospfd.c (timers_spf), (no_timers_spf): New defun added.
1676 SPF calculation timers related stuff is rearranged.
1677
1678 * ospf_spf.c (ospf_spf_calculate_timer_add): Function removed.
1679 SPF timer is scheduled by SPF calculation delay and holdtime
1680 configuration variable.
1681
1682 * ospf_lsa.c (ospf_external_lsa_nexthop_get): Set AS-external-LSA's
1683 forwarding address when nexthop learned by other protocols is
1684 in the OSPF domain.
1685
1686 * ospf_zebra.c (ospf_redistribute_source_metric_type),
1687 (ospf_redistribute_source_type_metric): Re-arrange DEFUNs and
1688 ALIASes.
1689
16902000-05-01 Toshiaki Takada <takada@zebra.org>
1691
1692 * ospf_flood.c (ospf_ls_retransmit_count),
1693 (ospf_ls_retransmit_isempty): New function added.
1694
1695 (ospf_ls_retransmit_add), (ospf_ls_retransmit_delete),
1696 (ospf_ls_retransmit_clear), (ospf_ls_retransmit_lookup),
1697 (ospf_ls_retransmit_delete_all), (ospf_ls_retransmit_delete_nbr_all),
1698 (ospf_ls_retransmit_add_nbr_all): Replace these functions to use
1699 new_lsdb.
1700
17012000-04-29 Toshiaki Takada <takada@zebra.org>
1702
1703 * ospfd.c (no_network_area): Add check Area-ID whether specified
1704 Area-ID with prefix matches config.
1705
17062000-04-27 Toshiaki Takada <takada@zebra.org>
1707
1708 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix problem of
1709 remaining withdrawn routes on zebra.
1710
17112000-04-25 Michael Rozhavsky <mike@nbase.co.il>
1712
1713 * ospf_nsm.c (nsm_kill_nbr), (nsm_ll_down), (nsm_change_status),
1714 (ospf_nsm_event): Fix network-LSA re-origination problem.
1715
17162000-04-24 Toshiaki Takada <takada@zebra.org>
1717
1718 * ospf_nsm.c (ospf_db_desc_timer): Fix bug of segmentation fault
1719 with DD retransmission.
1720
1721 * ospf_nsm.c (nsm_kill_nbr): Fix bug of re-origination when
1722 a neighbor disappears.
1723
17242000-04-23 Michael Rozhavsky <mike@nbase.co.il>
1725
1726 * ospf_abr.c (ospf_abr_announce_network_to_area): Fix bug of
1727 summary-LSAs reorigination. Correctly copy OSPF_LSA_APPROVED
1728 flag to new LSA. when summary-LSA is reoriginatd.
1729
1730 * ospf_flood.c (ospf_flood_through_area): Fix bug of flooding
1731 procedure. Change the condition of interface selection.
1732
17332000-04-21 Toshiaki Takada <takada@zebra.org>
1734
1735 * ospf_lsa.c (ospf_refresher_register_lsa): Fix bug of refresh never
1736 occurs.
1737
1738 * ospfd.c (show_ip_ospf_neighbor_id): New defun added.
1739 `show ip ospf neighbor' related commands are re-arranged.
1740
17412000-04-20 Toshiaki Takada <takada@zebra.org>
1742
1743 * ospf_dump.c (debug_ospf_zebra): New defun added.
1744 Suppress zebra related debug information.
1745
17462000-04-19 Toshiaki Takada <takada@zebra.org>
1747
1748 * ospf_zebra.c (ospf_distribute_list_update_timer),
1749 (ospf_distribute_list_update), (ospf_filter_update):
1750 New function added. Re-organize `distribute-list' router ospf
1751 command.
1752
17532000-04-13 Michael Rozhavsky <mike@nbase.co.il>
1754
1755 * ospf_packet.c (ospf_make_ls_upd): Add check for MAX_AGE.
1756
17572000-04-14 Michael Rozhavsky <mike@nbase.co.il>
1758
1759 * ospf_packet.c (ospf_make_ls_upd): Increment LS age by configured
1760 interface transmit_delay.
1761
17622000-04-14 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1763
1764 * ospf_interface.c (ip_ospf_cost), (no_ip_ospf_cost):
1765 Add to schedule router_lsa origination when the interface cost changes.
1766
17672000-04-12 Toshiaki Takada <takada@zebra.org>
1768
1769 * ospf_lsa.c (ospf_refresher_register_lsa),
1770 (ospf_refresher_unregister_lsa): Fix bug of core dumped.
1771
1772 * ospfd.c (no_router_ospf): Fix bug of core dumped.
1773
17742000-03-29 Toshiaki Takada <takada@zebra.org>
1775
1776 * ospf_nsm.c (nsm_oneway_received): Fix bug of MS flag unset.
1777
17782000-03-29 Michael Rozhavsky <mike@nbase.co.il>
1779
1780 * ospf_lsa.c (ospf_network_lsa):
1781 * ospf_nsm.c (ospf_nsm_event): Fix bug of Network-LSA originated
1782 in stub network.
1783
17842000-03-28 Toshiaki Takada <takada@zebra.org>
1785
1786 * ospf_nsm.c (nsm_bad_ls_req), (nsm_seq_number_mismatch),
1787 (nsm_oneway_received): Fix bug of NSM state flapping between
1788 ExStart and Exchange.
1789
17902000-03-28 Toshiaki Takada <takada@zebra.org>
1791
1792 * ospf_packet.h (strcut ospf_header): Fix the size of ospf_header,
1793 change u_int8_t to u_char.
1794
17952000-03-27 Toshiaki Takada <takada@zebra.org>
1796
1797 * ospf_lsa.c (ospf_lsa_checksum): Take care of BIGENDIAN architecture.
1798
17992000-03-27 Toshiaki Takada <takada@zebra.org>
1800
1801 * ospfd.c (ospf_interface_run): Make sure Address family matches.
1802
18032000-03-26 Love <lha@s3.kth.se>
1804
1805 * ospf_packet.c (ospf_write): Chack result of sendto().
1806
18072000-03-26 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1808
1809 * ospf_nsm.c (nsm_oneway_received): Fix bug of 1-WayReceived in NSM.
1810
18112000-03-23 Libor Pechacek <farco@clnet.cz>
1812
1813 * ospf_lsa.c (ospf_network_lsa)
1814 * ospf_lsdb.c (new_lsdb_insert): Fix bug of accessing to
1815 unallocated memory.
1816
18172000-03-23 Toshiaki Takada <takada@zebra.org>
1818
1819 * ospfd.c (ospf_config_write): Fix bug of duplicate line for
1820 `area A.B.C.D authentication'.
1821
18222000-03-22 Toshiaki Takada <takada@zebra.org>
1823
1824 * ospf_debug.c (debug_ospf_lsa), (no_debug_ospf_lsa): Defun added.
1825 Suppress all zlog related to LSAs with this config option.
1826
18272000-03-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1828
1829 * ospf_nsm.c (ospf_nsm_event): Add check for NSM_InactivityTimer.
1830
18312000-03-21 Toshiaki Takada <takada@zebra.org>
1832
1833 * ospf_packet.c (ospf_ls_upd_timer), (ospf_ls_req):
1834 Fix bug of memory leak about linklist.
1835
1836 * ospf_flood.c (ospf_flood_through_area): Likewise.
1837
18382000-03-18 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1839
1840 * ospf_flood.c (ospf_ls_retransmit_lookup): Add checksum comparison
1841 to identify LSA uniquely. This fix routes lost.
1842
18432000-03-18 Toshiaki Takada <takada@zebra.org>
1844
1845 * ospf_ase.c (ospf_find_asbr_route): Add sanity check with router
1846 routing table.
1847
18482000-03-17 Alex Zinin <zinin@amt.ru>
1849
1850 * ospf_spf.[ch]: Bug fix.
1851 The 2nd stage of Dijkstra could consider one vertex
1852 more than once if there is more than one link
1853 between the routers, thus adding extra CPU overhead
1854 and extra next-hops.
1855 Fixed.
1856
18572000-03-15 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1858
1859 * ospf_nsm.c (nsm_inactivity_timer): Changed to call nsm_kill_nbr().
1860
18612000-03-14 Toshiaki Takada <takada@zebra.org>
1862
1863 * ospf_route.c (ospf_route_copy_nexthops): Fix bug of memory leak of
1864 ospf_path. Actually ignore merging ospf_route with completely same
1865 paths.
1866
18672000-03-12 Toshiaki Takada <takada@zebra.org>
1868
1869 * ospf_lsa.c (show_as_external_lsa_detail): fix bug of
1870 external route tag byte order.
1871
18722000-03-11 Toshiaki Takada <takada@zebra.org>
1873
1874 * ospf_lsdb.c (ospf_lsdb_insert): New function added.
1875
18762000-03-09 Toshiaki Takada <takada@zebra.org>
1877
1878 * ospf_lsa.c (ospf_external_lsa_install),
1879 (ospf_lsa_lookup), (show_ip_ospf_database_all),
1880 (show_ip_ospf_database_self_originate): Use struct new_lsdb for
1881 LSDB of AS-external-LSAs instead of ospf_lsdb.
1882
1883 * ospf_lsa.c (ospf_lsa_unique_id): New function added.
1884 Use for assigning Unique Link State ID instead of
1885 ospf_get_free_id_for_prefix().
1886
18872000-03-09 Toshiaki Takada <takada@zebra.org>
1888
1889 * ospf_ase.c (ospf_ase_calculate_timer): Fix bug of segmentation
1890 fault reported by George Bonser <george@siteROCK.com>.
1891
18922000-03-07 Libor Pechacek <farco@clnet.cz>
1893
1894 * ospfd.c (ospf_interface_down): Fix bug of segmentation fault.
1895
18962000-03-06 Toshiaki Takada <takada@zebra.org>
1897
1898 * ospf_route.c (ospf_route_cmp): Change meaning of return values.
1899
19002000-03-02 Alex Zinin <zinin@amt.ru>
1901 * ospfd.h, ospf_ia.h
1902 New Shortcut ABR code. Now area's flag can be configured
1903 with Default, Enable, and Disable values.
1904 More info will be in the new ver of I-D soon (see IETF web).
1905
19062000-02-25 Toshiaki Takada <takada@zebra.org>
1907
1908 * ospf_lsa.c (ospf_lsa_header_set), (ospf_external_lsa_body_set),
1909 (osfp_external_lsa_originate), (ospf_external_lsa_queue),
1910 (ospf_external_lsa_originate_from_queue): New function added.
1911 (ospf_external_lsa): Function removed.
1912
1913 * ospf_zebra.c (ospf_zebra_read_ipv4): Originate AS-external-LSA
1914 when listen a route from Zebra, instead creating external route.
1915
1916 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
1917 (ospf_asbr_route_add_queue_lsa),
1918 (ospf_asbr_route_install_lsa), (ospf_asbr_route_add):
1919 Functions removed.
1920
1921 * ospf_ase.c (process_ase_lsa): Function will not be used.
1922 (ospf_ase_calculate), (ospf_ase_calculate_route_add),
1923 (ospf_ase_calculate_new_route), (ospf_ase_caluculate_asbr_route):
1924 process_ase_lsa () is separated to these functions.
1925
1926 OSPF AS-external-LSA origination is whole re-organized.
1927
19282000-02-18 Toshiaki Takada <takada@zebra.org>
1929
1930 * ospf_packet.c (ospf_ls_upd): Fix bug of OSPF LSA memory leak.
1931
1932 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
1933 (ospf_asbr_route_add_queue_lsa): Fix bug of OSPF external route
1934 memory leak.
1935
19362000-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1937
1938 * ospf_asbr.c (ospf_asbr_route_install_lsa): Re-calculate LSA
1939 checksum after change Advertised Router field.
1940
19412000-02-09 Toshiaki Takada <takada@zebra.org>
1942
1943 * ospf_asbr.c (ospf_external_route_lookup): Add new function.
1944
19452000-02-08 Toshiaki Takada <takada@zebra.org>
1946
1947 * ospfd.c (ospf_router_id_get), (ospf_router_id_update),
1948 (ospf_router_id_update_timer): Router ID decision algorithm is changed.
1949 Router ID is chosen from all of eligible interface addresses even if
1950 it is not enable to OSPF.
1951
19522000-02-08 Toshiaki Takada <takada@zebra.org>
1953
1954 * ospf_asbr.c (ospf_asbr_route_add): Function divided to
1955 ospf_asbr_route_add_flood_lsa, ospf_asbr_route_add_queue_lsa and
1956 ospf_asbr_route_install_lsa. If Router-ID is not set, then LSA is
1957 waited to install to LSDB.
1958 `0.0.0.0 adv_router' AS-external-LSA origination bug was fixed.
1959
19602000-02-01 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
1961
1962 * ospf_flood.c (ospf_ls_retransmit_lookup): Compare LS seqnum
1963 in the ACK before deleting.
1964
1965 * ospf_packet.c (ospf_hello): Reset the flags after a shutdown
1966 and no shutdown of the interface.
1967
19682000-01-31 Toshiaki Takada <takada@zebra.org>
1969
1970 * ospf_packet.c (ospf_ls_req): Send multiple Link State Update
1971 packets respond to a Link State Request packet.
1972
1973 * ospfd.c (show_ip_ospf_neighbor_detail_sub): Show thread state.
1974
1975 * ospf_interface.c (ospf_vl_new): Crash when backbone area
1976 is not configured and set virtual-link to no-backbone area,
1977 bug fixed.
1978
19792000-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1980
1981 * ospf_neighbor.h (struct ospf_neighbor): Add pointer to last send
1982 LS Request LSA.
1983
1984 * ospf_packet.c (ospf_ls_upd): Comment out LS request list
1985 treatment. That should be done in OSPF flooding procedure.
1986
1987 * ospf_flood.c (ospf_flood_through_area): Enclose
1988 ospf_check_nbr_loding inside if-else close.
1989
19902000-01-31 Toshiaki Takada <takada@zebra.org>
1991
1992 * ospf_packet.c (ospf_make_ls_upd): Fix bug of #LSAs counting.
1993
19942000-01-29 Toshiaki Takada <takada@zebra.org>
1995
1996 * ospf_packet.c (ospf_make_md5_digest): Fix bug of md5 authentication.
1997
19982000-01-28 Toshiaki Takada <takada@zebra.org>
1999
2000 * ospfd.c (show_ip_ospf): Show Number of ASE-LSAs.
2001
20022000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2003
2004 * ospf_packet.c (ospf_make_db_desc): Don't use rm_list for
2005 removing LSA from nbr->db_summary.
2006
20072000-01-27 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2008
2009 * ospf_packet.c (ospf_ls_upd_send): Set AllSPFRouters to
2010 destination when the link is point-to-point.
2011 (ospf_ls_ack_send_delayed): Likewise.
2012
20132000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2014
2015 * ospf_flood.c (ospf_ls_request_delete_all): Fix bug of next
2016 pointer lookup after the node is freed.
2017
20182000-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2019
2020 * ospf_asbr.c (ospf_asbr_route_add): Instead of scanning all AS
2021 external route, use ospf_top->external_self.
2022
20232000-01-27 Toshiaki Takada <takada@zebra.org>
2024
2025 * ospf_lsa.c (ospf_forward_address_get): New function added.
2026
2027 * ospf_asbr.c (ospf_asbr_check_lsas): Originate AS-external-LSA
2028 only when it should be replaced.
2029
20302000-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2031
2032 * ospf_flood.c (ospf_ls_retransmit_clear): Delete list node.
2033
2034 * ospf_lsa.c (ospf_lsa_free): Reduce logging message using
2035 ospf_zlog value.
2036
2037 * ospf_ism.c (ism_change_status): Fix bug of DR -> non DR status
2038 change. Self originated LSA is freed but not deleted from lsdb.
2039
20402000-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2041
2042 * ospf_ism.c (ism_interface_down): Don't use router_id for
2043 detecting self neighbor structure. Instead of that compare
2044 pointer itself.
2045
2046 * ospf_neighbor.c (ospf_nbr_free): Cancel all timer when neighbor
2047 is deleted.
2048 (ospf_nbr_free): Free last send packet.
2049
2050 * ospf_neighbor.h (struct ospf_neighbor): Remove host strucutre.
2051 Instead of that src is introduced.
2052
2053 * ospf_nsm.h: Enclose macro defenition with do {} while (0).
2054
20552000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2056
2057 * ospfd.c: Change part of passive interface implementation. For
2058 passive interface just disabling sending/receiving Hello on the
2059 interface.
2060
20612000-01-16 Kai Bankett <kai.bankett@vew-telnet.net>
2062
2063 * ospf_interface.h (OSPF_IF_PASSIVE): Add passive flag.
2064 * ospf_interface.c (ospf_if_lookup_by_name): Add new function.
2065 * ospf_lsa.c (ospf_router_lsa): Skip passive interface.
2066 * ospfd.c (passive_interface): New command passive-interface is
2067 added.
2068 (ospf_config_write): Print passive interface.
2069
20702000-01-15 Toshiaki Takada <takada@zebra.org>
2071
2072 * ospf_interface.h (crypt_key): New struct added to store
2073 multiple cryptographic autheitication keys.
2074 (ospf_interface): struct changed.
2075
2076 * ospf_interface.c: ospf_crypt_key_new, ospf_crypt_key_add,
2077 ospf_crypt_key_lookup, ospf_crypt_key_delete: new functions added.
2078
2079 * ospf_packet.c (ip_ospf_message_digest_key): Changed to store
2080 multiple cryptographic authentication keys.
2081
20822000-01-14 Toshiaki Takada <takada@zebra.org>
2083
2084 * ospf_interface.c: DEFUN (if_ospf_*) commands changed name to
2085 ip_ospf_* ().
2086 Old notation `ospf *' still remains backward compatibility.
2087
20881999-12-29 Alex Zinin <zinin@amt.ru>
2089 * ospf_lsa.c: ospf_lsa_more_recent() bug fix
2090 * ospf_nsm.c, ospf_packet.c: remove nbr data struct when
2091 int goes down, also check DD flags correctly (bug fix)
2092
20931999-12-28 Alex Zinin <zinin@amt.ru>
2094 * "redistribute <source> metric-type (1|2) metric <XXX>" added
2095
20961999-12-23 Alex Zinin <zinin@amt.ru>
2097 * added RFC1583Compatibility flag
2098 * added dynamic interface up/down functionality
2099
21001999-11-19 Toshiaki Takada <takada@zebra.org>
2101
2102 * ospf_neighbor.h (struct ospf_neighbor): Add member state_change
2103 for NSM state change statistics.
2104
21051999-11-19 Toshiaki Takada <takada@zebra.org>
2106
2107 * ospfd.c (show_ip_ospf_neighbor_detail),
2108 (show_ip_ospf_neighbor_int_detail): DEFUN Added.
2109
21101999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2111
2112 * ospf_asbr.c (ospf_asbr_check_lsas): Add check of
2113 lsa->refresh_list.
2114
21151999-11-11 Toshiaki Takada <takada@zebra.org>
2116
2117 * ospf_ia.[ch] (OSPF_EXAMINE_SUMMARIES_ALL): Macro added.
2118 This macro is expanded to ospf_examine_summaries ()
2119 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2120 (OSPF_EXAMINE_TRANSIT_SUMMARIES_ALL): Macro added.
2121 This macro is expanded to ospf_examine_transit_summaries ()
2122 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2123
21241999-11-11 Toshiaki Takada <takada@zebra.org>
2125
2126 * ospf_lsa.[ch] (ospf_find_self_summary_lsa_by_prefix): Changed to
2127 macro OSPF_SUMMARY_LSA_SELF_FIND_BY_PREFIX.
2128 (ospf_find_self_summary_asbr_lsa_by_prefix): Changed to
2129 macro OSPF_SUMMARY_ASBR_LSA_SELF_FIND_BY_PREFIX.
2130 (ospf_find_self_external_lsa_by_prefix): Changed to
2131 macro OSPF_EXTERNAL_LSA_SELF_FIND_BY_PREFIX.
2132
21331999-11-11 Toshiaki Takada <takada@zebra.org>
2134
2135 * ospfd.c (ospf_abr_type): ospf_abr_type_cisco, ospf_abr_type_ibm,
2136 ospf_abr_type_shortcut and ospf_abr_type_standard DEFUNs are
2137 combined.
2138 * ospfd.c (no_ospf_abr_type): no_ospf_abr_type_cisco,
2139 no_ospf_abr_type_ibm and no_ospf_abr_type_shortcut DEFUNS are
2140 combined.
2141
21421999-11-10 Toshiaki Takada <takada@zebra.org>
2143
2144 * ospf_route.c (ospf_lookup_int_by_prefix): Move function to
2145 ospf_interface.c and change name to ospf_if_lookup_by_prefix ().
2146
21471999-11-01 Alex Zinin <zinin@amt.ru>
2148 * ospf_packet.c
2149 some correction to LSU processing
2150
2151 * ospf_lsa.c ospfd.h
2152 randomize initial LSA refreshment interval
2153 and limit the size of LSA-group to 10
2154 to let randomization work more effectively.
2155
21561999-10-31 Alex Zinin <zinin@amt.ru>
2157 * ospf_interface.c
2158 cancel t_network_lsa_self
2159 when freeing int structure
2160
2161 * ospf_abr.c ospf_asbr.c ospf_flood.c ospf_lsa.c
2162 ospf_lsa.h ospf_lsdb.h ospfd.c ospfd.h
2163
2164 Summary and ASE LSA refreshment functions
2165 added---LSA refreshment is paced to 70 LSAs
2166 per sec to avoid link overflow. Refreshment events
2167 are further randomized within a 10 sec interval
2168 to avoid syncing.
2169
2170 Also the sigfault of memcmp() in ospf_lsa_is_different()
2171 is fixed.
2172
21731999-10-30 Alex Zinin <zinin@amt.ru>
2174 * ospf_nsm.c
2175 Fix the bug where MAX_AGE LSAs
2176 are included into the DB summary.
2177
2178 * ospf_interface.c
2179 allocate 2*MTU input buffer instead of just MTU
2180 for the cases when the other router mistakenly
2181 sends larger packets thus causing fragmentation, etc.
2182
2183 * ospf_nsm.c
2184 in nsm_reset_nbr() lists should be freed
2185 not when they are empty.
2186
21871999-10-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2188
2189 * ospf_zebra.c (ospf_acl_hook): Move OSPF_IS_ASBR and OSPF_IS_ABR
2190 check inside of if (ospf_top).
2191
21921999-10-29 Alex Zinin <zinin@amt.ru>
2193 * ospf_lsa.c ospf_lsdb.c :
2194 add assertion in lsa and lsa->data alloc functions,
2195 as well as in lsdb_add for new->data
2196
2197 * ospf_lsdb.c: free hash table correctly
2198
21991999-10-28 John Capo <jc@irbs.com>
2200
2201 * ospf_packet.h (OSPF_PACKET_MAX): Correct MAX packet length
2202 calculation
2203
22041999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2205
2206 * OSPF-TRAP-MIB.txt: New file added. Edited version of RFC1850.
2207
2208 * OSPF-MIB.txt: New file added. Edited version of RFC1850.
2209
22101999-10-27 Alex Zinin <zinin@amt.ru>
2211 * ospfd, ospf_zebra, ospf_abr
2212 "area import-list" command is added.
2213 This command allows to filter the inter-area routes
2214 injected into an area. Access list hook function
2215 extended to invalidate area exp/imp lists.
2216
22171999-10-25 Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
2218
2219 * ospfd.c (ospf_interface_run): Enable to detect P2P network
2220 on an OSPF interface.
2221
22221999-10-19 Jordan Mendelson <jordy@wserv.com>
2223
2224 * ospf_lsdb.c (ospf_lsdb_add): Fix bug of crash
2225 in ospf_ls_retransmit_lookup ().
2226
22271999-10-19 Vladimir B. Grebenschikov <vova@express.ru>
2228
2229 * ospf_route.c: Workaround about installation of OSPF routes into
2230 the zebra daemon. Add checking of existance routes. Free
2231 ospf_top->old_table if it exists.
2232
22331999-10-15 Jordan Mendelson <jordy@wserv.com>
2234
2235 * Add support for MD5 authentication.
2236
22371999-10-12 Alex Zinin <zinin@amt.ru>
2238 * ospfd.c, ospfd.h, ospf_abr.c:
2239 a new command "area export-list" was added, it allows
2240 the admin. to control which intra-area routes are
2241 announced to other areas by the ABR
2242
22431999-10-12 Alex Zinin <zinin@amt.ru>
2244 * ospf_asbr.c (ospf_asbr_check_lsas): Fix bug of coredump
2245 when "no redistribute" is used after a distribute list
2246 denying some networks was used
2247
22481999-10-05 Toshiaki Takada <takada@zebra.org>
2249
2250 * ospf_route.c (ospf_path_dup): New function added.
2251
22521999-10-05 Toshiaki Takada <takada@zebra.org>
2253
2254 * ospf_interface.[ch]: Some of VL related funciton name changed.
2255
22561999-09-27 Alex Zinin <zinin@amt.ru>
2257
2258 * ospf_zebra.c: Distribute-list functionality added
2259
22601999-09-27 Toshiaki Takada <takada@zebra.org>
2261
2262 * ospfd.c (show_ip_ospf): Fix bug of segmentation fault when no ospf
2263 instance exists.
2264
22651999-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2266
2267 * ospfd.c (ospf_interface_down): Fix bug of misusing nextnode()
2268 instead of node->next. Reported by Hiroki Ishibashi
2269 <ishibasi@dcd.abk.nec.co.jp>.
2270
2271 * ospf_route.c (show_ip_ospf_route): Add check for ospf is enabled
2272 or not.
2273
22741999-09-23 Alex Zinin <zinin@amt.ru>
2275
2276 * stub area support added
2277
22781999-09-23 Alex Zinin <zinin@amt.ru>
2279
2280 * fwd_addr in ASE-LSAs is now set correctly
2281 * ASE routing changed to check the fwd_addr
2282 and skip the route if the addr points to one
2283 of our interfaces to avoid loops.
2284
22851999-09-22 Alex Zinin <zinin@amt.ru>
2286
2287 * ospf_interface:
2288 ospf_vls_in_area() added, it returns
2289 the number of VLs configured through the area
2290
2291 * ospf_interface.c ospf_lsa.c ospf_lsdb.c ospfd.c
2292 honor correct mem alloc
2293
22941999-09-22 Alex Zinin <zinin@amt.ru>
2295
2296 * memory.[ch]:
2297 Some OSPF mem types added,
2298 plus more info in "show mem"
2299
23001999-09-21 Alex Zinin <zinin@amt.ru>
2301
2302 * ospfd.c:
2303 "area range substitute" added.
2304 It can be used on NAT-enabled (IP-masquarade)
2305 routers to announce private networks
2306 from an area as public ones into the outside
2307 world (not in the RFC, btw :)
2308
23091999-09-21 Alex Zinin <zinin@amt.ru>
2310
2311 * ospfd.c:
2312 "area range suppress" added.
2313 This command allows to instruct the router
2314 to be silent about specific ranges, i.e.,
2315 it is a method of route filtering on area
2316 borders
2317
23181999-09-21 Alex Zinin <zinin@amt.ru>
2319
2320 * ospfd.c VLs removed when "no network area" executed
2321
23221999-09-20 Alex Zinin <zinin@amt.ru>
2323
2324 * ospf_ase.c bug fix for not-zero fwd_addr
2325 and directly connected routes.
2326
23271999-09-20 Yon Uriarte <yon@plannet.de>
2328
2329 * ospf_packet.c (ospf_make_ls_req): Introduce delta value for
2330 checking the length of OSPF packet exceeds MTU or not.
2331
2332 * ospf_lsa.c (ospf_lsa_different): Apply ntohs for checking
2333 l1->data->length.
2334
23351999-09-18 Alex Zinin <zinin@amt.ru>
2336
2337 * ospf_lsa.c bug fix for ospf_network_lsa() to
2338 include itself into the RID list
2339
23401999-09-10 Alex Zinin <zinin@amt.ru>
2341
2342 * Alternative ABR behaviors IBM/Cisco/Shortcut
2343 implemented
2344
23451999-09-10 Alex Zinin <zinin@amt.ru>
2346
2347 * router and network-LSA origination
2348 changed to honor MinLSInterval
2349
23501999-09-08 Alex Zinin <zinin@amt.ru>
2351
2352 * modified ABR behavior to honor VLs and transit
2353 areas
2354
23551999-09-07 Alex Zinin <zinin@amt.ru>
2356
2357 * completed VL functionality
2358
23591999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2360
2361 * ospf_asbr.c: New file.
2362 ospf_asbr.h: New file.
2363
2364 * ospf_zebra.c (ospf_redistribute_connected): Add redistribute
2365 related stuff.
2366
23671999-09-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2368
2369 * ospfd.h (OSPF_FLAG_VIRTUAL_LINK): Change OSPF_FLAG_VEND to
2370 OSPF_FLAG_VIRTUAL_LINK for comprehensiveness.
2371
23721999-09-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2373
2374 * ospf_spf.c (ospf_spf_register): Change name from
2375 ospf_spf_route_add() to ospf_spf_register().
2376 Include "ospfd/ospf_abr.h" for ospf_abr_task() prototype.
2377
23781999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2379
2380 * ospf_lsa.c (ospf_external_lsa_install): Change to update
2381 lsa->data rather than install new one, when same id lsa is already
2382 installed.
2383
23841999-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2385
2386 * ospf_lsa.c (ospf_router_lsa_install): Return lsa value.
2387 (ospf_network_lsa_install): Likewise.
2388 (ospf_summary_lsa_install): Likewise.
2389 (ospf_summary_asbr_lsa_install): Likewise.
2390 (ospf_external_lsa_install): Likewise.
2391
2392 * ospf_spf.c (ospf_spf_calculate): Comment out debug function
2393 ospf_rtrs_print().
2394
23951999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2396
2397 * ospf_spf.c (ospf_rtrs_free): Add ospf_spf_calculate() for
2398 freeing rtrs.
2399
24001999-08-31 Toshiaki Takada <takada@zebra.org>
2401
2402 * ospf_lsa.c (show_ip_ospf_database_summary),
2403 (show_ip_ospf_database_summary_asbr),
2404 (show_ip_ospf_database_external): New function added.
2405 `show ip ospf database summary',
2406 `show ip ospf database asbr-summary'
2407 `show ip ospf database external' command can be used.
2408
2409 * ospf_lsa.c (ospf_lsa_count_table): New function added.
2410 (show_ip_ospf_database_all): show nothing if a type of LSA
2411 does not exist.
2412
24131999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2414
2415 * ospf_lsa.c (ospf_maxage_lsa_remover): Preserve next pointer when
2416 the node is deleted.
2417
24181999-08-31 Toshiaki Takada <takada@zebra.org>
2419
2420 * ospf_flood.c (ospf_ls_retransmit_lookup): change to return
2421 struct ospf_lsa *.
2422 (ospf_ls_request_new), (ospf_ls_request_free),
2423 (ospf_ls_request_add), (ospf_ls_request_delete),
2424 (ospf_ls_request_delete_all), (ospf_ls_request_lookup):
2425 New function added.
2426
2427 * ospf_packet.c (ospf_ls_upd_send_lsa): New function added.
2428
2429 * ospf_lsa.h (LS_AGE): Slightly change macro definition.
2430
2431 * ospf_lsa.c (ospf_lsa_more_recent), (ospf_lsa_diffrent):
2432 Use LS_AGE macro.
2433
24341999-08-30 Alex Zinin <zinin@amt.ru>
2435
2436 * ospfd.c
2437 fix a bug with area range config write
2438 added "show ip ospf" command, it will be enhanced later on
2439
24401999-08-30 Alex Zinin <zinin@amt.ru>
2441
2442 * ospf_lsa.c
2443 updated ospf_router_lsa() to honor flags (B-bit)
2444
24451999-08-30 Alex Zinin <zinin@amt.ru>
2446
2447 * ospf_abr.c
2448 wrote major functions implementing ABR activity
2449
24501999-08-30 Alex Zinin <zinin@amt.ru>
2451
2452 * ospf_ia.c ospf_route.c ospf_route.h
2453 fixed the bug with ospf_route.origin field.
2454 Now it holds pointer to lsa_header
2455
24561999-08-30 Alex Zinin <zinin@amt.ru>
2457
2458 * ospf_flood.c ospf_flood.h:
2459 transformed ospf_flood_if_select into ospf_flood_through_area()
2460 added new ospf_flood_if_select() and ospf_flood_through_as()
2461
24621999-08-30 Toshiaki Takada <takada@zebra.org>
2463
2464 * ospf_flood.[ch]: New file added.
2465
2466 * ospf_packet.c (ospf_lsa_flooding),
2467 (ospf_lsa_flooding_select_if): functions move to ospf_flood.c
2468
2469 * ospf_neighbor.c (ospf_put_lsa_on_retransm_list),
2470 (ospf_remove_lsa_from_retransm_list),
2471 (ospf_nbr_remove_all_lsas_from_retransm_list),
2472 (ospf_lsa_remove_from_ls_retransmit):
2473 (ospf_lsa_retransmit): functions move to
2474 ospf_flood.c, and change function's name:
2475
2476 ospf_put_lsa_on_retransm_list ()
2477 -> ospf_ls_retransmit_add ()
2478 ospf_remove_lsa_from_retransm_list ()
2479 -> ospf_ls_retransmit_delete ()
2480 ospf_nbr_remove_all_lsas_from_retransm_list ()
2481 -> ospf_ls_retransmit_clear ()
2482 ospf_lsa_remove_from_ls_retransmit ()
2483 -> ospf_ls_retransmit_delete_nbr_all ()
2484 ospf_lsa_retransmit ()
2485 -> ospf_ls_retransmit_add_nbr_all ()
2486
2487 * ospf_lsa.c (ospf_lsa_lookup_from_list): function move to
2488 ospf_flood.c, and change name to ospf_ls_retransmit_lookup ().
2489
24901999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2491
2492 * ospf_neighbor.c (ospf_nbr_lookup_by_addr): Use
2493 route_node_lookup() instead of route_node_get().
2494
2495 * ospf_packet.c (ospf_ls_upd): Temporary comment out (6) check.
2496
24971999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2498
2499 * ospf_route.c (ospf_lookup_int_by_prefix): Add check of
2500 oi->address.
2501
25021999-08-29 Alex Zinin <zinin@amt.ru>
2503 * ospf_lsa.c
2504 MaxAge LSA deletion functions added.
2505
25061999-08-29 Alex Zinin <zinin@amt.ru>
2507 * ospf_neighbor.c
2508 ospf_nbr_lookup_by_addr(): added route_unlock_node()
2509 when function returns NULL if (rn->info == NULL)
2510
25111999-08-29 Alex Zinin <zinin@amt.ru>
2512 * ospfd.c
2513 added a hack for area range deletion
2514
25151999-08-29 Alex Zinin <zinin@amt.ru>
2516 * ospf_lsa.h
2517 included lsdb field into struct ospf_lsa, to find
2518 LSDB easier when removing MaxAge LSAs.
2519
25201999-08-29 Alex Zinin <zinin@amt.ru>
2521 * ospf_lsa.c ospf_neighbor.c ospf_nsm.c
2522 ospf_packet.c changed to honor new retransmit list
2523 management functions
2524
25251999-08-29 Alex Zinin <zinin@amt.ru>
2526 * ospf_neighbor.c , .h added new retransmit list functions.
2527
25281999-08-29 Alex Zinin <zinin@amt.ru>
2529 * Makefile.in
2530 added ospf_ase, ospf_abr, ospf_ia
2531
25321999-08-29 Alex Zinin <zinin@amt.ru>
2533 * ospf_spf.c:
2534 - changed ospf_next_hop_calculation() to include interface
2535 and nexthop addr for directly connected routers---more informative
2536 and solves problem with route installation into the kernel
2537 - changed ospf_nexthop_out_if_addr() to support routers, not only
2538 transit networks
2539 - added ospf_process_stubs();
2540
25411999-08-29 Alex Zinin <zinin@amt.ru>
2542 * ospf_lsa.c:
2543 - changed ospf_router_lsa() to provide correct links
2544 for p-t-p interfaces;
2545 - changed ospf_summary_lsa_install() to support table
2546 of self-originated summary-LSAs;
2547 - added ospf_summary_asbr_lsa_install() and ospf_external_lsa_install()
2548 - changed ospf_lsa_install() accordingly
2549 - changed show_ip_ospf_database_router_links() to support p-t-p
2550
25511999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2552
2553 * ospf_packet.c (ospf_make_db_desc): Only master can clear more
2554 flag.
2555
25561999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2557
2558 * ospf_packet.c (ospf_read): Add check of IP src address.
2559
25601999-08-28 Alex Zinin <zinin@amt.ru>
2561 * ospf_neighbor.h
2562 added ospf_nbr_lookup_by_routerid()
2563
25641999-08-28 Alex Zinin <zinin@amt.ru>
2565 * ospfd.h
2566 added ABR/ASBR flag definitions and fields;
2567 added iflist field to area structure;
2568 summary_lsa_self and summary_lsa_asbr_self are changed
2569 to be route tables;
2570 added ranges field---configured area ranges;
2571 A separate Routers RT added;
2572 area range config commands and config write added
2573
2574
25751999-08-28 Alex Zinin <zinin@amt.ru>
2576 * ospf_route.c :
2577 ospf_route_free()--added code to free the list of paths;
2578 The following functions added:
2579 ospf_intra_add_router();
2580 ospf_intra_add_transit();
2581 ospf_intra_add_stub();
2582 the last function uses new ospf_int_lookup_by_prefix();
2583 show_ip_ospf_route_cmd()--changed to support new RT structure;
2584 added ospf_cmp_routes()--general route comparision function;
2585 added ospf_route_copy_nexthops() and ospf_route_copy_nexthops_from_vertex()
2586 they are used in ASE and IA routing;
2587 added ospf_subst_route() and ospf_add_route();
2588
25891999-08-28 Alex Zinin <zinin@amt.ru>
2590 * ospf_route.h :
2591 changed struct ospf_path to include output interface,
2592 changed struct ospf_route to support IA and ASE routing.
2593 added prototypes of the function used in IA and ASE modules.
2594
25951999-08-28 Alex Zinin <zinin@amt.ru>
2596 * ospf_lsa.h ospf_lsa.c :
2597 added ospf_my_lsa(), an interface independent version of
2598 ospf_lsa_is_self_originated(), it will be used in ASE and IA-routing.
2599
26001999-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2601
2602 * ospf_interface.c (interface_config_write): Add check for
2603 oi->nbr_self.
2604
26051999-08-25 Toshiaki Takada <takada@zebra.org>
2606
2607 * ospf_lsa.c (ospf_lsa_dup): New function added.
2608
2609 * ospf_packet.c (ospf_write), (ospf_read): Print send/recv
2610 interface in debug message.
2611
26121999-08-25 Toshiaki Takada <takada@zebra.org>
2613
2614 * ospf_packet.c (ospf_ls_ack_send): The name is changed from
2615 `ospf_ls_ack_send'.
2616 (ospf_ls_ack_send_delayed) (ospf_ls_ack_timer): New function added.
2617 Delayed Link State Acknowledgment is scheduled by timer.
2618
26191999-08-25 Alex Zinin <zinin@amt.ru>
2620
2621 * ospf_lsa.c (ospf_router_lsa): Incorrectly included link to
2622 a stub network instead of link to a transit network into
2623 originated router-LSA, bug fixed.
2624
26251999-08-24 Toshiaki Takada <takada@zebra.org>
2626
2627 * ospfd.c (ospf_update_router_id): New function added.
2628
2629 * ospf_network.c (ospf_write): Create new socket per transmission.
2630 And select outgoing interface whether dst is unicast or multicast.
2631
2632 * ospf_packet.c: LSA flooding will work.
2633
26341999-08-24 VOP <vop@unity.net>
2635
2636 * ospf_route.c: Include "sockunion.h"
2637
26381999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2639
2640 * ospf_network.c (ospf_serv_sock_init): Enclose
2641 IPTOS_PREC_INTERNETCONTROL setting with #ifdef for OS which does
2642 not have the definition.
2643
26441999-08-23 Toshiaki Takada <takada@zebra.org>
2645
2646 * ospf_packet.c: Fix bug of DD processing.
2647
26481999-08-18 Toshiaki Takada <takada@zebra.org>
2649
2650 * ospf_lsa.c (show_ip_ospf_database): Show actual `LS age'.
2651
26521999-08-17 Toshiaki Takada <takada@zebra.org>
2653
2654 * ospf_lsa.h (OSPF_MAX_LSA): The value of OSPF_MAX_LSA is
2655 corrected. The bug of `mes_lookup' is fixed.
2656 This had been reported by Poul-Henning Kamp <phk@freebsd.org>.
2657
2658 * ospf_lsa.c (ospf_router_lsa_install): The name is changed from
2659 `ospf_add_router_lsa'.
2660 (ospf_network_lsa_install): The name is changed from
2661 `ospf_add_network_lsa'.
2662
2663 * ospf_interface.h (ospf_interface): Add member `nbr_self'.
2664
2665 * ospf_interface.c (ospf_if_is_enable): New function added.
2666
26671999-08-16 Toshiaki Takada <takada@zebra.org>
2668
2669 * ospf_lsa.h (struct lsa_header): The name is changed from
2670 `struct ospf_lsa'.
2671 (struct ospf_lsa): New struct added to control each LSA's aging
2672 and timers.
2673
2674 * ospf_lsa.c (ospf_lsa_data_free): The name is change from
2675 `ospf_lsa_free'.
2676 (ospf_lsa_data_new), (ospf_lsa_new), (ospf_lsa_free),
2677 (ospf_lsa_different), (ospf_lsa_install): New function added.
2678
2679 * ospf_packet.c (ospf_ls_upd_list_lsa): New function added.
2680
26811999-08-12 Toshiaki Takada <takada@zebra.org>
2682
2683 * ospf_nsm.c (nsm_reset_nbr): New function added.
2684 KillNbr and LLDown neighbor event call this function.
2685
26861999-08-10 Toshiaki Takada <takada@zebra.org>
2687
2688 * ospf_packet.c (ospf_ls_retransmit)
2689 (ospf_ls_upd_timer): New function added.
2690 Set retransmission timer for Link State Update.
2691
26921999-07-29 Toshiaki Takada <takada@zebra.org>
2693
2694 * ospf_ism.c (ospf_dr_election): Fix bug of DR election.
2695
26961999-07-28 Toshiaki Takada <takada@zebra.org>
2697
2698 * ospf_network.c (ospf_serv_sock_init): Set IP precedence field
2699 with IPTOS_PREC_INTERNET_CONTROL.
2700
2701 * ospf_nsm.c (nsm_change_status): Schedule NeighborChange event
2702 if NSM status change.
2703
2704 * ospf_packet.c (ospf_make_hello): Never include a neighbor in
2705 Hello packet, when the neighbor goes down.
2706
27071999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2708
2709 * Makefile.am (noinst_HEADERS): Add ospf_route.h.
2710
2711 * ospf_route.c (show_ip_ospf_route): Add `show ip ospf route'
2712 command.
2713
27141999-07-25 Toshiaki Takada <takada@zebra.org>
2715
2716 * ospf_lsa.c (ospf_router_lsa): Fix bug of LS sequence number
2717 assignement.
2718
27191999-07-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2720
2721 * ospf_route.c (ospf_route_table_free): New function added.
2722
2723 * ospf_spf.c (ospf_spf_next): Free vertex w when cw's and w's
2724 distance is same.
2725
2726 * ospfd.h (struct ospf): Add old_table.
2727
2728 * ospf_main.c (sighup): Call of log_rotate () removed.
2729
2730 * ospf_lsa.c (ospf_lsa_is_self_originated): Fix bug of checking
2731 area->lsa as self LSA. This should be area->lsa_self.
2732
27331999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2734
2735 * ospf_zebra.c (ospf_zebra_add): ospf_zebra_add
2736 (),ospf_zebra_delete () added.
2737
2738 * ospf_spf.c (ospf_spf_calculate): Call ospf_intra_route_add ().
2739
27401999-07-24 Toshiaki Takada <takada@zebra.org>
2741
2742 * ospf_lsa.c: Change LS sequence number treatment.
2743 (ospf_lsa_is_self_originated): New function added.
2744 (show_ip_ospf_database_self_originated): New DEFUN added.
2745
27461999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2747
2748 * ospf_interface.c (ospf_if_lookup_by_addr): Add loopback check.
2749
27501999-07-22 Toshiaki Takada <takada@zebra.org>
2751
2752 * ospf_spf.c (ospf_nexthop_new), (ospf_nexthop_free),
2753 (ospf_nexthop_dup): function added.
2754 (ospf_nexthop_calculation): function changed.
2755
2756 * ospf_interface.c (ospf_if_lookup_by_addr): function added.
2757
27581999-07-21 Toshiaki Takada <takada@zebra.org>
2759
2760 * ospf_spf.c (ospf_spf_closest_vertex): function removed.
2761
27621999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2763
2764 * ospf_spf.c (ospf_spf_next): Apply ntohs for fetching metric.
2765
27661999-07-21 Toshiaki Takada <takada@zebra.org>
2767
2768 * ospf_neighbor.c (ospf_nbr_lookup_by_router_id): fundtion removed.
2769
2770 * ospf_lsa.c (show_ip_ospf_database_router): describe each
2771 connected link.
2772
27731999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2774
2775 * ospf_spf.c (ospf_spf_next): V is router LSA or network LSA so
2776 change behavior according to LSA type.
2777 (ospf_lsa_has_link): Link check function is added.
2778
27791999-07-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2780
2781 * ospf_spf.c (ospf_spf_calculate_schedule): Add new function for
2782 SPF calcultion schedule addtition.
2783 (ospf_spf_calculate_timer_add): Rough 30 sec interval SPF calc
2784 timer is added.
2785 (ospf_spf_next_router): Delete ospf_spf_next_network ().
2786
2787 * ospf_lsa.c (show_ip_ospf_database_all): Network-LSA display
2788 header typo correction. Display of router LSA's #link added.
2789
27901999-07-19 Toshiaki Takada <takada@zebra.org>
2791
2792 * ospf_packet.c (ospf_check_network_mask): Added new function for
2793 receiving Raw IP packet on an appropriate interface.
2794
27951999-07-16 Toshiaki Takada <takada@zebra.org>
2796
2797 * ospfd.c (ospf_router_id): new DEFUN added.
2798
27991999-07-15 Toshiaki Takada <takada@zebra.org>
2800
2801 * ospf_spf.c (ospf_spf_init), (ospf_spf_free),
2802 (ospf_spf_has_vertex), (ospf_vertex_lookup),
2803 (ospf_spf_next_router), (ospf_spf_next_network),
2804 (ospf_spf_closest_vertex), (ospf_spf_calculate):
2805 function added.
2806
28071999-07-13 Toshiaki Takada <takada@zebra.org>
2808
2809 * ospf_ism.c: fix bug of DR Election.
2810
2811 * ospf_nsm.c: fix bug of adjacency forming.
2812
28131999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2814
2815 * ospfd.c (ospf_init): Change to use install_default.
2816
28171999-07-01 Rick Payne <rickp@rossfell.co.uk>
2818
2819 * ospf_zebra.c (zebra_init): Install standard commands to
2820 ZEBRA_NODE.
2821
28221999-06-30 Toshiaki Takada <takada@zebra.org>
2823
2824 * ospf_dump.c: Whole debug command is improved.
2825 (ISM|NSM) (events|status|timers) debug option added.
2826 (show_debugging_ospf): new DEFUN added.
2827
28281999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2829
2830 * ospf_lsa.c (ospf_lsa_lookup_from_list): Change !IPV4_ADDR_CMP to
2831 IPV4_ADDR_SAME.
2832
28331999-06-29 Toshiaki Takada <takada@zebra.org>
2834
2835 * ospf_dump.c (ospf_summary_lsa_dump): Add summary-LSA dump routine.
2836 (ospf_as_external_lsa_dump): Add AS-external-LSA dump routine.
2837
2838 * ospf_nsm.c (nsm_twoway_received): fix condtion of adjacnet.
2839
2840 * ospf_ism.c (ospf_dr_election): fix DR Election.
2841
2842 * ospf_dump.c (ospf_nbr_state_message): fix `show ip ospf neighbor'
2843 command's state.
2844
28451999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2846
2847 * ospf_dump.c (ospf_router_lsa_dump): Add router-LSA dump routine.
2848
28491999-06-28 Toshiaki Takada <takada@zebra.org>
2850
2851 * ospf_lsa.c (show_ip_ospf_database_network): fix bug of
2852 `show ip ospf database network' command output.
2853
2854 * ospf_nsm.c (nsm_inactivity_timer): Clear list of Link State
2855 Retransmission, Database Summary and Link State Request.
2856
2857 * ospf_packet.c (ospf_ls_req_timer): New function added.
2858 Set Link State Request retransmission timer.
2859
28601999-06-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2861
2862 * ospf_main.c (main): Change default output from ZLOG_SYSLOG to
2863 ZLOG_STDOUT.
2864
2865 * ospfd.c (ospf_init): Register show_ip_ospf_interface_cmd and
2866 show_ip_ospf_neighbor_cmd to VIEW_NODE.
2867
2868 * ospf_lsa.c (ospf_lsa_init): Register show_ip_ospf_database_cmd
2869 and show_ip_ospf_database_type_cmd to VIEW_NODE.
2870
28711999-06-25 Toshiaki Takada <takada@zebra.org>
2872
2873 * ospf_packet.c: fix bug of DD making.
2874 fix bug of LS-Update reading.
2875
28761999-06-23 Toshiaki Takada <takada@zebra.org>
2877
2878 * ospf_packet.c: All type of packets are changed to use
2879 fifo queue structure.
2880 (ospf_fill_header) function added.
2881
28821999-06-22 Toshiaki Takada <takada@zebra.org>
2883
2884 * ospf_packet.c (ospf_packet_new): New function added to handle
2885 sending ospf packet by fifo queue structure.
2886 (ospf_packet_free), (ospf_fifo_new), (ospf_fifo_push),
2887 (ospf_fifo_pop), (ospf_fifo_head), (ospf_fifo_flush),
2888 (ospf_fifo_free): Likewise.
2889
28901999-06-21 Toshiaki Takada <takada@zebra.org>
2891
2892 * ospf_nsm.c (ospf_db_desc_timer): function added.
2893 (nsm_timer_set) function added.
2894 * ospf_dump.c (ospf_option_dump): function added.
2895 * ospf_packet.c (ospf_ls_req) (ospf_make_ls_req): function added.
2896
28971999-06-20 Toshiaki Takada <takada@zebra.org>
2898
2899 * ospf_lsa.c (ospf_lsa_more_recent): function added.
2900 * ospf_neighbor.h (struct ospf_neighbor): Change member ms_flag
2901 to dd_flags.
2902
29031999-06-19 Toshiaki Takada <takada@zebra.org>
2904
2905 * ospf_lsa.c: DEFUN (show_ip_ospf_database) Added.
2906 * ospf_interface.c (if_ospf_cost), (if_ospf_dead_interval),
2907 (if_ospf_hello_interval), (if_ospf_priority),
2908 (if_ospf_retransmit_interval), (if_ospf_transmit_delay)
2909 argument changed from NUMBER to <range>.
2910 DEFUN (if_ospf_network_broadcast),
2911 DEFUN (if_ospf_network_non_broadcast),
2912 DEFUN (if_ospf_network_point_to_multipoint),
2913 DEFUN (if_ospf_network_point_to_point) functions are combined to
2914 DEFUN (if_ospf_network).
2915
29161999-06-18 Toshiaki Takada <takada@zebra.org>
2917
2918 * ospf_lsa.c: ospf_add_router_lsa (), ospf_add_network_lsa (),
2919 ospf_lsa_lookup (), ospf_lsa_count () Added.
2920
29211999-06-15 Toshiaki Takada <takada@zebra.org>
2922
2923 * DEFUN (ospf_debug_ism), DEFUN (ospf_debug_nsm),
2924 DEFUN (no_ospf_debug_ism), DEFUN (no_ospf_debug_nsm) Added.
2925 `debug ospf ism' command shows debug message.
2926 `debuf ospf nsm' command shows debug message.
2927
29281999-06-14 Toshiaki Takada <takada@zebra.org>
2929
2930 * ospf_lsa.c: ospf_network_lsa () Added.
2931 ospf_lsa_checksum () Added.
2932 * DEFUN (ospf_debug_packet), DEFUN (no_ospf_debug_packet) Added.
2933 `debug ospf packet' command shows debug message.
2934
29351999-06-13 Toshiaki Takada <takada@zebra.org>
2936
2937 * ospf_packet.h: Remove struct ospf_ls_req {}, ospf_ls_upd {},
2938 ospf_ls_ack {}.
2939
29401999-06-11 Toshiaki Takada <takada@zebra.org>
2941
2942 * ospf_dump.c: fix IP packet length treatment.
2943
29441999-06-10 Toshiaki Takada <takada@zebra.org>
2945
2946 * ospf_ism.h: Add OSPF_ISM_EVENT_EXECUTE() Macro Added.
2947 * ospf_nsm.h: Add OSPF_NSM_EVENT_EXECUTE() Macro Added.
2948
2949 * ospf_packet.c: ospf_db_desc (), ospf_db_desc_send () Added.
2950 ospf_make_hello (), ospf_make_db_desc () Added.
2951 ospf_db_desc_proc () Added.n
2952
2953 * Database Description packet can be processed.
2954
29551999-06-08 Toshiaki Takada <takada@zebra.org>
2956
2957 * ospf_lsa.c: New file.
2958
29591999-06-07 Toshiaki Takada <takada@zebra.org>
2960
2961 * ospf_neighbor.c: ospf_fully_adjacent_count () Added.
2962
29631999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2964
2965 * ospf_spf.[ch]: New file.
2966
29671999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2968
2969 * ospf_zebra.c: Changed to use lib/zclient.c routines.
2970
2971 * ospf_zebra.h (zebra_start): Remove struct zebra.
2972
29731999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2974
2975 * ospfd.c (ospf_config_write): Add cast (unsigned long int) to
2976 ntohl for sprintf warning.
2977
29781999-05-19 Toshiaki Takada <takada@zebra.org>
2979
2980 * ospf_ism.c (ospf_dr_election): Join AllDRouters Multicast group
2981 if interface state changes to DR or BDR.
2982
29831999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2984
2985 * ospf_main.c (signal_init): SIGTERM call sigint.
2986 (sigint): Logging more better message.
2987
29881999-05-12 Toshiaki Takada <takada@zebra.org>
2989
2990 * ospfd.c: Fix bug of `no router ospf' statement, it will work.
2991
29921999-05-11 Toshiaki Takada <takada@zebra.org>
2993
2994 * ospf_neighbor.c: ospf_nbr_free () Added.
2995
29961999-05-10 Toshiaki Takada <takada@zebra.org>
2997
2998 * ospfd.h: struct ospf_area { }, struct ospf_network { } Changed.
2999 * Fix bug of `no network' statement, it will work.
3000
30011999-05-07 Toshiaki Takada <takada@zebra.org>
3002
3003 * ospf_interface.c, ospf_zebra.c: Fix bug of last interface is not
3004 updated by ospf_if_update ().
3005
30061999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3007
3008 * Makefile.am (noinst_HEADERS): Add ospf_lsa.h for distribution.
3009
30101999-04-25 Toshiaki Takada <takada@zebra.org>
3011
3012 * ospf_interface.c: DEFUN (no_if_ospf_cost),
3013 DEFUN (no_if_ospf_dead_interval),
3014 DEFUN (no_if_ospf_hello_interval),
3015 DEFUN (no_if_ospf_priority),
3016 DEFUN (no_if_ospf_retransmit_interval),
3017 DEFUN (no_if_ospf_transmit_delay) Added.
3018
3019 interface_config_write () suppress showing interface
3020 default values.
3021
30221999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3023
3024 * ospf_dump.c (ospf_timer_dump): If thread is NULL return "inactive".
3025
3026 * ospfd.c (ospf_if_update): Fix bug of using ospf_area { } instead
3027 of ospf_network { }. So `router ospf' statement in ospfd.conf
3028 works again.
3029 (ospf_if_update): Call ospf_get_router_id for updating router ID.
3030
30311999-04-25 Toshiaki Takada <takada@zebra.org>
3032
3033 * ospf_interface.c: DEFUN (if_ospf_network) deleted.
3034 DEFUN (if_ospf_network_broadcast),
3035 DEFUN (if_ospf_network_non_broadcast),
3036 DEFUN (if_ospf_network_point_to_multipoint),
3037 DEFUN (if_ospf_network_point_to_point),
3038 DEFUN (no_if_ospf_network) Added.
3039
30401999-04-23 Toshiaki Takada <takada@zebra.org>
3041
3042 * ospfd.h: struct area { } changed to struct ospf_network { }.
3043 Add struct ospf_area { }.
3044 * ospfd.c: Add ospf_area_lookup_by_area_id (), ospf_network_new (),
3045 and ospf_network_free ().
3046 DEFUN (area_authentication), DEFUN (no_area_authentication) Added.
3047
30481999-04-22 Toshiaki Takada <takada@zebra.org>
3049
3050 * ospf_lsa.h: New file.
3051 * ospf_packet.h: LSA related struct definition are moved to
3052 ospf_lsa.h.
3053 * ospf_packet.c: ospf_verify_header () Added.
3054
30551999-04-21 Toshiaki Takada <takada@zebra.org>
3056
3057 * ospf_ism.c: ospf_elect_dr () and related function is changed.
3058 DR Election bug fixed.
3059 * ospf_dump.c: ospf_nbr_state_message (), ospf_timer_dump () Added.
3060 * ospfd.c: DEFUN (show_ip_ospf_neighbor) Added.
3061
30621999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
3063
3064 * ospf_main.c (main): access_list_init () is added for vty
3065 connection filtering.
3066
30671999-04-16 Toshiaki Takada <takada@zebra.org>
3068
3069 * ospfd.c: DEFUN (show_ip_ospf_interface) Added.
3070 * ospf_neighbor.c: ospf_nbr_count () Added.
3071
30721999-04-15 Toshiaki Takada <takada@zebra.org>
3073
3074 * ospfd.h: struct ospf { } Changed.
3075 * ospfd.c: ospf_lookup_by_process_id () Deleted.
3076 * ospf_ism.c: ospf_wait_timer () Added. WaitTimer will work.
3077
30781999-04-14 Toshiaki Takada <takada@zebra.org>
3079
3080 * ospf_ism.c: ospf_elect_dr () Added.
3081 * ospf_network.c: ospf_if_ipmulticast () Added.
3082
30831999-04-11 Toshiaki Takada <takada@zebra.org>
3084
3085 * ospf_interface.c: interface_config_write (),
3086 DEFUN (if_ip_ospf_cost),
3087 DEFUN (if_ip_ospf_dead_interval),
3088 DEFUN (if_ip_ospf_hello_interval),
3089 DEFUN (if_ip_ospf_priority),
3090 DEFUN (if_ip_ospf_retransmit_interval) and
3091 DEFUN (if_ip_ospf_transmit_delay) Added.
3092
30931999-04-08 Toshiaki Takada <takada@zebra.org>
3094
3095 * ospf_dump.c: ospf_packet_db_desc_dump () Added.
3096 * ospf_neighbor.c: ospf_nbr_bidirectional () Added.
3097 * ospf_nsm.c: nsm_twoway_received () Added.
3098
30991999-04-02 Toshiaki Takada <takada@zebra.org>
3100
3101 * ospf_neighbor.c: New file.
3102 * ospf_neighbor.h: New file.
3103 * ospf_nsm.c: New file.
3104 * ospf_nsm.h: New file.
3105 * ospf_packet.c: Add ospf_make_header (), ospf_hello () and
3106 ospf_hello_send (). Now OSPFd can receive Hello and send Hello.
3107
31081999-03-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3109
3110 * ospf_packet.c: Add ospf_recv_packet (). Now OSPF Hello can receive.
3111
31121999-03-19 Toshiaki Takada <takada@zebra.org>
3113
3114 * ospf_packet.c: New file.
3115 * ospf_packet.h: New file.
3116 * ospf_network.c: New file.
3117 * ospf_network.h: New file.
3118 * ospfd.h: move OSPF message structure has moved to ospf_packet.h.
3119
31201999-03-17 Kunihiro Ishiguro <kunihiro@zebra.org>
3121
3122 * ospf_zebra.c (ospf_zebra_get_interface): Fix for IPv6 interface
3123 address.
3124
3125 * Makefile.am (install-sysconfDATA): Overwrite install-sysconfDATA
3126 for install ospfd.conf.sample as owner read only file.
3127
3128 * ospf_main.c (usage): Change to use ZEBRA_BUG_ADDRESS.
3129
31301999-03-15 Toshiaki Takada <takada@zebra.org>
3131
3132 * ospf_ism.c: New file.
3133 * ospf_ism.h: New file.
3134 * ospf_dump.c: New file.
3135 * ospf_dump.h: New file.
3136
3137 * ospfd.h: Add (struct ospf), (struct config_network),
3138 (struct message) structure.
3139
3140 * ospf_interface.c: Add ospf_if_match_network ().
3141 * ospf_interface.h (struct ospf_interface): Change struct members.
3142
3143 * ospfd.c: ospf_lookup_by_process_id (), ospf_network_new (),
3144 DEFUN (network_area): Added.
3145
3146 * ospfd.conf.sample: Change sample configuration.
3147
31481999-03-05 Toshiaki Takada <takada@zebra.org>
3149
3150 * ospf_interface.c: New file.
3151 * ospf_interface.h: New file.
3152 * ospf_zebra.h: New file.
3153 * ospf_zebra.c: Add interface function for zebra daemon.
3154 * ospfd.c: New file.
3155
31561999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3157
3158 * Move IPv6 codes and files to ospf6d directory.
3159
31601999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
3161
3162 * syslog support added
3163
31641998-12-22 Toshiaki Takada <takada@zebra.org>
3165
3166 * ospfd.h: New file.
3167 * ospf_lsa.h: New file.
3168
31691998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
3170
3171 * Makefile.am: New file.
3172 * ospf_main.c: New file.
3173