blob: 7d56bfe8bec2ecbe9711bddb5148d3e3ffdc7e8c [file] [log] [blame]
ajsf52d13c2005-10-01 17:38:06 +000012005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
2
3 * ospf_dump.c: Remove local hard-coded table ospf_redistributed_proto.
4 (ospf_redist_string) New function implemented using new library
5 function zebra_route_string(). Note that there are a few differences
6 in the output that will result: the new function returns strings
7 that are lower-case, whereas the old table was mixed case. Also,
8 the old table mapped ZEBRA_ROUTE_OSPF6 to "OSPFv3", whereas the
9 new function returns "ospf6".
10 * ospfd.h: Remove extern struct message ospf_redistributed_proto[],
11 and add extern const char *ospf_redist_string(u_int route_type)
12 instead.
13 * ospf_asbr.c: (ospf_external_info_add) In two messages, use
14 ospf_redist_string instead of LOOKUP(ospf_redistributed_proto).
15 * ospf_vty.c: Remove local hard-coded table distribute_str.
16 (config_write_ospf_redistribute,config_write_ospf_distribute): Use
17 new library function zebra_route_string() instead of distribute_str[].
18 * ospf_zebra.c: (ospf_redistribute_set,ospf_redistribute_unset,
19 ospf_redistribute_default_set,ospf_redistribute_check)
20 In debug messages, use ospf_redist_string() instead of
21 LOOKUP(ospf_redistributed_proto).
22
jardin6638c1a2005-10-01 00:08:54 +0000232005-09-30 Vincent Jardin <vincent.jardin@6wind.com>
24
25 * ospf_dump.c, ospf_ia.c, ospf_spf.c, ospf_ase.c:
26 remove unused DEBUG
27
vincentba682532005-09-29 13:52:57 +0000282005-09-29 Alain Ritoux <alain.ritoux@6wind.com>
29
vincent5e4914c2005-09-29 16:34:30 +000030 * ospf_ism.c: generate SNMP traps on Interface state change
31 * ospf_nsm.c: generate SNMP traps on Neighbour state change
32 * ospf_snmp.[ch]: support for SNMP traps for interface and neighbours.
33
342005-09-29 Alain Ritoux <alain.ritoux@6wind.com>
35
vincentba682532005-09-29 13:52:57 +000036 * ospf_vty.c: forece default route LSA to be re_issued whenever
37 cost is changed ( [no] ip ospf area XXX default-cost YYY)
38 Support ignore-mtu option
39 * ospfd.h: define OSPF_MTU_IGNORE_DEFAULT
40 * ospf_packet.c: support ignore-mtu option
41 * ospf_interface.h: field added for skipping MTU check
42 * ospf_interface.c: fix memory leak in ospf_crypt_key_delete()
43 Set mtu_ignore field to default value
44 * ospf_abr.[ch]: export ospf_abr_announce_network_to_area()
45 * ospf_ism.h: add MACRO to convert internal ISM status into SNMP
46 correct values
47 * ospf_snmp.c: add sanity check on LSA type in lsdb_lookup_next()
48 convert OSPFIFSTATE internal status into SNMP values
49
vincentc1a03d42005-09-28 15:47:44 +0000502005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
51
52 * ospf_packet.c: use new md5 API
53
ajs5339cfd2005-09-19 13:28:05 +0000542005-09-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
55
56 * ospf_lsa.h: (ospf_external_lsa_flush) Comment out the 5th argument
57 (nexthop) since it is not used in the function (except inside
58 some commented-out code).
59 * ospf_lsa.c: (ospf_external_lsa_flush,ospf_external_lsa_refresh)
60 Comment out the 5th argument to ospf_external_lsa_flush.
61 * ospf_asbr.c: (ospf_redistribute_withdraw) Comment out 5th arg
62 to ospf_external_lsa_flush.
63 * ospf_vty.c: (no_ospf_default_information_originate) Eliminate 5th
64 uninitialized nexthop arg to ospf_external_lsa_flush.
65 * ospf_zebra.c: (ospf_zebra_read_ipv4) Comment out 5th arg
66 to ospf_external_lsa_flush.
67 * ospfd.c: (ospf_network_set) Comment out 5th arg
68 to ospf_external_lsa_flush.
69
ajse6a0bf92005-09-17 18:53:38 +0000702005-09-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
71
72 * ospf_opaque.c:
73 (ospf_opaque_lsa_refresh_schedule,ospf_opaque_lsa_flush_schedule)
74 No need to call ospf_lookup(), just use lsa0->area->ospf instead.
75
hassobb5b7552005-08-21 20:01:15 +0000762005-08-21 Hasso Tepper <hasso at quagga.net>
77
78 * ospf_vty.c: Make "show ip ospf neighbor xxx" commands work.
79 Interface should be specified by name now.
80
hasso54bedb52005-08-17 13:31:47 +0000812005-08-17 Hasso Tepper <hasso at quagga.net>
82
83 * ospf_vty.c: Check carefully if interface exists before trying to
84 print info about it.
85
hasso01018ce2005-08-05 07:40:15 +0000862005-08-05 Hasso Tepper <hasso at quagga.net>
87
88 * ospf_zebra.c: Don't assert/stop before type == ZEBRA_ROUTE_MAX if
89 dealing with routemaps. There is ospf->route_map[ZEBRA_ROUTE_MAX]
90 for default-information.
91
paulc8987752005-07-26 06:07:22 +0000922005-07-26 Paul Jakma <paul.jakma@sun.com>
93
94 * ospf_abr.c: (ospf_abr_announce_network_to_area) SET_FLAG
95 should be on lsa not old, which may be freed for one thing,
96 obviously.
97
pauld57834f2005-07-12 20:04:22 +0000982005-07-12 Paul Jakma <paul.jakma@sun.com>
99
100 * ospfd.h: add OSPF_ABR_DEFAULT for convenience, make
101 OSPF_ABR_CISCO be the default ABR type.
102 * ospfd.c: (ospf_new) initialise abr_type to OSPF_ABR_DEFAULT
103 * ospf_vty.c: (no_ospf_abr_type_cmd) add standard as a negatable
104 abr_type. default abr_type should be OSPF_ABR_DEFAULT.
105 (ospf_config_write) test whether default abr_type against
106 OSPF_ABR_DEFAULT, rather than any specific ABR_TYPE.
107
hasso8469bd72005-06-20 20:50:10 +00001082005-06-20 Hasso Tepper <hasso at quagga.net>
hassof4833e92005-06-20 20:42:26 +0000109
110 * ospf_nsm.c: Make database exchange for NSSA database work.
111
paul7461d452005-06-13 13:57:16 +00001122005-06-13 Paul Jakma <paul.jakma@sun.com>
113
114 * ospf_spf.c: Try get more information on a SEGV under
115 ospf_spf_vertex_add_parent.
116 (ospf_vertex_free) NULL out the child and nexthop lists
117 (ospf_vertex_add_parent) nexthop and child can not be NULL
118 vertex_nexthop's parent->child list can not be NULL
119 (ospf_spf_next) w and cw are per-loop iteration variables, move
120 declarations into loop body.
121
hasso1ddd7292005-06-07 19:54:04 +00001222005-06-07 Hasso Tepper <hasso at quagga.net>
123
124 * ospf_apiserver.c: Fix obvious error in notifying clients about ISM
125 changes - oi->ifp->status doesn't give to us info about ISM,
126 oi->state does.
127
paul7e440862005-06-01 11:20:51 +00001282005-06-01 Akihiro Mizutani <mizutani@net-chef.net>
129
130 * ospf_ism.c (ospf_elect_bdr/ospf_elect_dr): Fix DR election bug.
131
paul500e4182005-05-26 17:11:13 +00001322005-05-26 Paul Jakma <paul.jakma@sun.com>
133
134 * ospf_abr.c: (ospf_abr_update_aggregate) Fix comment, cost bug itself
135 had been fixed long ago by Sowmini.
136
paula3387a42005-05-18 23:29:57 +00001372005-05-19 Paul Jakma <paul.jakma@sun.com>
138
139 * ospf_interface.c: (ospf_if_table_lookup) Fix a serious bug
140 a less serious one.
141 1: this function is supposed to lookup
142 entries in the oifs ospf_interface route_table and return either
143 an existing oi or NULL to indicate not found, its caller depends
144 on this, yet this function uses route_node_get which /always/
145 returns a route_node - one is created if none exists. Use
146 route_node_lookup instead. This should fix root cause of the
147 reports of the (ospf_add_to_if) assert being hit.
148 2: oi's are inserted into this table with prefixlength set to
149 /32 (indeed, it should be a hash table, not a route_table),
150 however prefixlength to lookup was not changed, if no valid entry
151 can be inserted other than /32, then nothng but /32 should be
152 looked up. This possibly only worked by fluke..
153 Fix confirmed by 2 reporters (one list, one IRC), definitely a
154 backport candidate once it has been incubated in HEAD for a while.
155 Thanks to Patrick Friedel and Ivan Warren for testing.
156
paul69310a62005-05-11 18:09:59 +00001572005-05-11 Paul Jakma <paul.jakma@sun.com>
158
159 * (general) Fix memory leaks in opaque AS-scope LSAs, reported and
160 with much debugging done by by scott collins <scollins@agile.tv>.
161 * ospf_lsa.c: (ospf_discard_from_db) dont call
162 ospf_ase_unregister_external_lsa for opaque-lsa's, opaques are
163 never registered with ase in the first place.
164 * ospf_packet.c: (general) Disabuse opaque related code of its
165 tendency to try gather up things into temporary lists.
166 (ospf_ls_upd) remove the temporary lists opaque uses, call
167 opaque functions inline, just like all other types.
168 (ospf_ls_ack) ditto.
169 (ospf_recv_packet) fixup sign warning.
170 * ospf_opaque.c: (general) fix the unneeded use of lists, and
171 untwist some of the logic.
172 (ospf_opaque_self_originated_lsa_received) take a single LSA
173 as argument, not a list of them. Remove the list loop. Logic
174 otherwise unchanged.
175 (ospf_opaque_ls_ack_received) Mostly ditto. But untwist the logic,
176 move the actions up into the switch block, remove the goto's and
177 sanitise the logic near the end a bit.
178 * ospf_opaque.h: Adjust definitions of aforementioned functions
179 in ospf_opaque.c to match.
180
paul42c98192005-05-07 02:22:51 +00001812005-05-07 Yar Tikhiy <yar@comp.chem.msu.su>
182
183 * ospf_network.c: Log ifindex on multicast membership leave/join
184 events.
185
paul4dadc292005-05-06 21:37:42 +00001862005-05-06 Paul Jakma <paul.jakma@sun.com>
187
188 * (general) extern and static qualifiers added.
189 unspecified arguments in definitions fixed, typically they should
190 be 'void'.
191 function casts added for callbacks.
192 Guards added to headers which lacked them.
193 Proper headers included rather than relying on incomplete
194 definitions.
195 gcc noreturn function attribute where appropriate.
196 * ospf_opaque.c: remove the private definition of ospf_lsa's
197 ospf_lsa_refresh_delay.
198 * ospf_lsa.h: export ospf_lsa_refresh_delay
199 * ospf_packet.c: (ospf_make_md5_digest) make *auth_key const,
200 correct thing to do - removes need for the casts later.
201 * ospf_vty.c: Use vty.h's VTY_GET_INTEGER rather than ospf_vty's
202 home-brewed versions, shuts up several warnings.
203 * ospf_vty.h: remove VTY_GET_UINT32. VTY_GET_IPV4_ADDRESS and
204 VTY_GET_IPV4_PREFIX moved to lib/vty.h.
205 * ospf_zebra.c: (ospf_distribute_list_update_timer) hacky
206 overloading of the THREAD_ARG pointer should at least use
207 uintptr_t.
208
paul9e67dc22005-04-15 12:10:17 +00002092005-04-15 Zhipeng Gong <zpgong@cdc.3upsystems.com>
210
211 * ospf_abr.c: (ospf_abr_announce_network_to_area) dont forget
212 to approve LSAs for the case where metric has changed, lsa gets
213 flushed otherwise. (backport candidate).
214
ajs634f9ea2005-04-11 15:51:40 +00002152005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
216
217 * ospf_zebra.c (ospf_zebra_add): Call zclient_send_message instead
218 of writen.
219
ajsd2fc8892005-04-02 18:38:43 +00002202005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
221
ajse4319de2005-04-02 23:23:55 +0000222 * ospf_interface.h: (ospf_if_lookup_by_name) Remove declaration of a
223 function that does not exist.
224
2252005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
226
ajs21fefa92005-04-02 23:16:41 +0000227 * ospf_zebra.c: (zebra_interface_if_lookup) Must use
228 if_lookup_by_name_len.
229
2302005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
231
ajsa3491982005-04-02 22:50:38 +0000232 * ospf_interface.c: (ospf_vl_new) Use strnlen to fix call to if_create.
233
2342005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
235
ajsd2fc8892005-04-02 18:38:43 +0000236 * ospf_vty.c: (show_ip_ospf_interface_sub) Show ifindex and interface
237 flags to help with debugging.
238 * ospf_zebra.c: (ospf_interface_delete) After deleting, set ifp->ifindex
239 to IFINDEX_INTERNAL.
240 (zebra_interface_if_lookup) Make function static. Tighten up code.
241
ajsaca72fd2005-03-31 15:18:21 +00002422005-03-31 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
243
244 * ospf_dump.c: (show_debugging_ospf) Show if ospf event debugging
245 is turned on.
246
ajsfd651fa2005-03-29 16:08:16 +00002472005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
248
ajsa608bbf2005-03-29 17:03:49 +0000249 * ospf_zebra.c: (ospf_interface_state_up) If the MTU of an operative
250 interface changes, print a debug message and call ospf_if_reset()
251 to simulate down/up on the interface.
252 * ospf_interface.h: Declare new function ospf_if_reset().
253 * ospf_interface.c: (ospf_if_reset) New function to call ospf_if_down
254 and ospf_if_up for all ospf interfaces attached to an interface.
255
2562005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
257
ajs5dcbdf82005-03-29 16:13:49 +0000258 * ospf_packet.c: (ospf_write_frags) Enhance error message to
259 show MTU. Also make function static.
260 (ospf_write) Enhance error message to show interface name and MTU.
261 Also make function static.
262
2632005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
264
265 * ospf_vty.c: (show_ip_ospf_interface_sub) Display interface MTU and
266 bandwidth; this is useful for debugging problems. Also, the function
267 should be static.
ajsfd651fa2005-03-29 16:08:16 +0000268
hasso1b639042005-03-27 13:32:25 +00002692005-03-27 Hasso Tepper <hasso at quagga.net>
270
271 * ospf_snmp.c: Don't crash in snmp query if ospf instance doesn't
272 exist at all.
273
hasso343f5cc2005-03-25 19:48:40 +00002742005-03-25 Hasso Tepper <hasso at quagga.net>
275
276 * ospfd.h: Include log.h, fixes compile with gcc-4.0.
277
ajs9dbc7972005-03-13 19:27:22 +00002782005-03-13 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
279
280 * ospf_lsa.c: (ospf_lsa_refresh_walker) If the system clock jumps
281 backward, then current time may be less than
282 ospf->lsa_refresher_started. This was causing invalid values
283 for ospf->lsa_refresh_queue.index resulting in infinite loops.
284 Problem fixed by casting the expression to unsigned before taking
285 the modulus.
286
ajs5c333492005-02-23 15:43:01 +00002872005-02-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
288
289 * ospfd.h: Add new field struct stream *ibuf to struct ospf.
290 * ospfd.c: (ospf_new) Check return code from ospf_sock_init.
291 Allocate ibuf using stream_new(OSPF_MAX_PACKET_SIZE+1).
292 (ospf_finish) Call stream_free(ospf->ibuf.
293 * ospf_packet.c: (ospf_read) Call stream_reset(ospf->ibuf) and then
294 pass it to ospf_recv_packet for use in receiving the packet
295 (instead of allocating a new stream for each packet received).
296 Eliminate all calls to stream_free(ibuf).
297 (ospf_recv_packet) The struct stream *ibuf is now passed in as
298 an argument. No need to use recvfrom to peek at the packet
299 header (to see how big it is), just use ospf->ibuf which is
300 always large enough (this eliminates a system call to recvfrom).
301 Therefore, no need to allocate a stream just for this packet,
302 and no need to free it when done.
303
hasso462f20d2005-02-23 11:29:02 +00003042005-02-23 Vincenzo Eramo <eramo at infocom.ing.uniroma1.it>
305
306 * ospf_lsa.h: New flag to the LSA structure for the SPF calculation.
307 * ospf_lsdb.h: Export ospf_lsdb_clean_stat() function.
308 * ospf_spf.h: Add link to the LSA stat structure into vertex.
309 * ospf_spf.c: New functions cmp() and update_stat() to manage
310 candidates. Remove ospf_spf_has_vertex(), ospf_vertex_lookup(),
311 ospf_install_candidate() and ospf_spf_register() functions not needed
312 any more. Update ospf_vertex_new(), ospf_spf_next() and
313 ospf_spf_calculate() functions to use pqueue instead of linked list.
314
hassoe40dcce2005-02-21 14:58:42 +00003152005-02-21 Hasso Tepper <hasso at quagga.net>
316
317 * ospf_ase.c: Don't show messages related to the ase calculations if
318 we are not debugging.
319
hasso306541b2005-02-19 17:58:40 +00003202005-02-19 Hasso Tepper <hasso at quagga.net>
321
322 * ospf_api.h: char isn't always signed, but it has to be it here.
323
paulfa81b712005-02-19 01:19:20 +00003242005-02-19 Paul Jakma <paul.jakma@sun.com>
325
326 * ospf_packet.c: (ospf_stream_copy) remove
327 (ospf_packet_dup) use stream_copy instead of ospf_stream_copy
328
ajs038163f2005-02-17 19:55:59 +00003292005-02-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
330
331 * ospf_packet.c: (ospf_recv_packet) If there is somehow a runt
332 packet in the queue, it must be discarded. Improve warning messages.
333 Fix scope to static.
334 (ospf_read) Fix bug: should reset the read thread in all cases
335 to make sure we continue to get incoming messages.
336
paul658b03a2005-02-15 10:10:55 +00003372005-02-15 Paul Jakma <paul.jakma@sun.com>
338
339 * ospf_packet.c: (ospf_recv_packet) Fix silly error wrt allocating
340 ibuf. Thanks Andrew.
341
paulbfdc44a2005-02-14 23:48:42 +00003422005-02-14 Paul Jakma <paul.jakma@sun.com>
343
344 * ospf_packet.c: (ospf_recv_packet) use stream_recvmsg.
345
hasso082253f2005-02-11 08:31:54 +00003462005-02-11 Hasso Tepper <hasso at quagga.net>
347
348 * ospf_lsdb.c: Fix sum of checksums calculation.
349
ajs083ee9d2005-02-09 15:35:50 +00003502005-02-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
351
352 * ospf_packet.c: (ospf_write) If sendmsg fails, give more info in the
353 error message.
354
ajsba6454e2005-02-08 15:37:30 +00003552005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
356
ajs8cfde372005-02-08 15:59:16 +0000357 * ospf_interface.h: Reduce structure padding by putting new u_char
358 field multicast_memberships in a better spot (grouped with
359 other u_char fields type and state).
360
3612005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
362
ajsba6454e2005-02-08 15:37:30 +0000363 * ospf_interface.h: Improve passive_interface comment. Add new
364 multicast_memberships bitmask to struct ospf_interface to track
365 active multicast subscriptions. Declare new function
366 ospf_if_set_multicast.
367 * ospf_interface.c: (ospf_if_set_multicast) New function to configure
368 multicast memberships properly based on the current
369 multicast_memberships status and the current values of the
370 ospf_interface state, type, and passive_interface status.
371 (ospf_if_up) Remove call to ospf_if_add_allspfrouters (this is
372 now handled by ism_change_state's call to ospf_if_set_multicast).
373 (ospf_if_down) Remove call to ospf_if_drop_allspfrouters (now
374 handled by ism_change_state).
375 * ospf_ism.c: (ospf_dr_election) Remove logic to join or leave
376 the DRouters multicast group (now handled by ism_change_state's call
377 to ospf_if_set_multicast).
378 (ism_change_state) Add call to ospf_if_set_multicast to change
379 multicast memberships as necessary to reflect the new interface state.
380 * ospf_packet.c: (ospf_hello) When a Hello packet is received on a
381 passive interface: 1. Increase the severity of the error message
382 from LOG_INFO to LOG_WARNING; 2. Add more information to the error
383 message (packet destination address and interface address);
384 and 3. If the packet was sent to ospf-all-routers, then try
385 to fix the multicast group memberships.
386 (ospf_read) When a packet is received on an interface whose state
387 is ISM_Down, enhance the warning message to show the packet
388 destination address, and try to update/fix the multicast group
389 memberships if the packet was sent to a multicast address.
390 When a packet is received for ospf-designated-routers, but the
391 current interface state is not DR or BDR, then increase the
392 severity level of the error message from LOG_INFO to LOG_WARNING,
393 and try to fix the multicast group memberships.
394 * ospf_vty.c: (ospf_passive_interface) Call ospf_if_set_multicast for
395 any ospf interface that may have changed from active to passive.
396 (no_ospf_passive_interface) Call ospf_if_set_multicast for
397 any ospf interface that may have changed from passive to active.
398 (show_ip_ospf_interface_sub) Show multicast group memberships.
399
paul3a9eb092005-02-08 11:29:41 +00004002005-02-08 Paul Jakma <paul@dishone.st>
401
402 * ospf_packet.c: (various) Remove unneeded stream_set_putp abuse.
403
ajs847947f2005-02-02 18:38:48 +00004042005-02-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
405
406 * ospf_packet.c: (ospf_read) Fix bug: must check for state ISM_Down,
407 not for event ISM_InterfaceDown. And improve the message by
408 adding the interface flags.
409
ajs0b7d97d2005-01-30 17:24:02 +00004102005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
411
412 * ospf_network.c: (ospf_sock_init) Save errno before calling
413 ospfd_privs.change.
414
ajsc3eab872005-01-29 15:52:07 +00004152005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
416
417 * ospf_packet.c: (ospf_packet_add) If oi->obuf is NULL, print
418 an error message and return.
419 (ospf_read) If the interface state is ISM_InterfaceDown, issue
420 a warning message and ignore the packet.
421
gdt86f1fd92005-01-10 14:20:43 +00004222005-01-10 Greg Troxel <gdt@fnord.ir.bbn.com>
423
424 * ospf_packet.h: Remove commented out definition of
425 OSPF_MAX_PACKET; neither it or the uncommented one are used any more.
426
427 * ospf_packet.c (ospf_make_ls_upd): Leave room for authentication
428 when deciding if an update will fit.
429 (ospf_packet_authspace): Factor out calculation of size required
430 for authentication.
431 (ospf_make_db_desc): Use ospf_max_packet, not OSPF_MAX_PACKET.
432 Don't confuse readers that there is a macro.
433
ajs3dc56b52004-12-30 15:11:19 +00004342004-12-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
435
436 * ospf_network.c: Improve all setsockopt error messages to give detailed
437 information on the arguments.
438
ajsb87f7722004-12-29 20:41:26 +00004392004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
440
ajs17eaa722004-12-29 21:04:48 +0000441 * ospf_packet.c: (ospf_db_desc) Reduce severity of "Negotiation done"
442 messages from LOG_WARNING to LOG_INFO, since this seems to be
443 normal.
444
4452004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
446
ajsb87f7722004-12-29 20:41:26 +0000447 * ospf_packet.c: (ospf_read) Always look up the interface if
448 ospf_recv_packet returns NULL ifp, since some platforms such
449 as Solaris 8 appear to support ifindex retrieval but don't.
450
hasso1d806282004-12-22 09:43:20 +00004512004-12-22 Hasso Tepper <hasso at quagga.net>
452
453 * ospf_dump.c: Show debug configuration in vtysh.
hassoc6b87812004-12-22 13:09:59 +0000454 * ospf_vty.c: Fix "show ip ospf" output. Router can't be elected in
455 any case if it's configured as "translate-never".
hassofe71a972004-12-22 16:16:02 +0000456 * ospf_lsdb.[ch]: New function to calculate sum of checksums.
457 * ospf_vty.c: Bugfix to show really number of AS external LSAs, not
458 number of all LSAs with AS scope, this includes opaque as LSAs as
459 well, show this number separately. Show numbers and sums of
460 checksums for each type of LSAs.
461 * ospf_lsa.c: Calculate checksum before putting LSA into database.
hasso1d806282004-12-22 09:43:20 +0000462
ajsbc18d612004-12-15 15:07:19 +00004632004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
464
465 * ospf_interface.h: Declare new function ospf_default_iftype.
466 * ospf_interface.c: (ospf_default_iftype) New function to centralize
467 this logic in one place.
468 * ospf_zebra.c: (ospf_interface_add) Use new function
469 ospf_default_iftype.
470 * ospf_vty.c: (no_ip_ospf_network,config_write_interface) Fix logic
471 by using new function ospf_default_iftype.
472
ajs3aa8d5f2004-12-11 18:00:06 +00004732004-12-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
474
475 * ospf_packet.c: (ospf_db_desc) Should be static, not global.
476 (ospf_hello,ospf_db_desc,ospf_ls_upd,ospf_ls_ack) Improve warning
477 messages to include identifying information (e.g. router id).
478 * ospf_nsm.c: (nsm_change_state) Improve info message to include
479 router id and state names.
480
gdt91f3e522004-12-09 14:51:03 +00004812004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
482
gdt3fb9de72004-12-09 16:30:04 +0000483 * ospf_apiserver.c (ospf_apiserver_term): Obtain struct
484 ospf_apiserver * from listnode. Remove unused variables. Follows
485 suggestion from Jay Fenlason.
gdt91f3e522004-12-09 14:51:03 +0000486
ajs9b0e25c2004-12-08 19:06:51 +00004872004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
488
489 * *.c: Change level of debug messages to LOG_DEBUG.
490
ajs274a4a42004-12-07 15:39:31 +00004912004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
492
493 * ospf_main.c: (main) The 2nd argument to openzlog has been removed.
494
ajs887c44a2004-12-03 16:36:46 +00004952004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
496
ajs1210fa62004-12-03 16:43:24 +0000497 * ospf_packet.c: (ospf_db_desc) Reduce priority on a debug message
498 from LOG_NOTICE to LOG_DEBUG.
499
5002004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
501
ajs887c44a2004-12-03 16:36:46 +0000502 * ospf_main.c: (sigint) Use zlog_notice for termination message.
503 (main) Issue a startup announcement using zlog_notice.
504
ajsbec595a2004-11-30 22:38:43 +00005052004-11-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
506
507 * ospf_packet.c: (ospf_db_desc_proc) Fix spelling of packet in warning
508 message and in comment.
509 (ospf_db_desc) Warning message that a packet is being discarded
510 should give the router id of the packet source. Fix spelling
511 of packet in two warning messages.
512 (ospf_ls_req) Warning message that a link state request is being
513 discarded should give the router id of the neighbor that sent it.
514
ajs5b85fac2004-11-26 19:36:42 +00005152004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
516
517 * ospf_main.c: Remove #include "debug.h" (was not being used, and
518 lib/debug.h has now been deleted).
519
hassoc0652302004-11-25 19:33:48 +00005202004-11-25 Hasso Tepper <hasso at quagga.net>
521
522 * ospf_main.c: Make group to run as configurable.
523
gdt69e13252004-11-15 18:51:15 +00005242004-11-15 Greg Troxel <gdt@fnord.ir.bbn.com>
525
526 * ospf_packet.c (ospf_recv_packet): Assume CMSG_SPACE is present
527 and works (lib/zebra.h provides if OS doesn't).
528
paul788dab12004-11-15 11:48:37 +00005292004-11-15 Paul Jakma <paul@dishone.st>
530
531 * ospf_{apiserver,te}.c: ospf_lsa_free's should be ospf_lsa_unlock.
532
paul05e85fa2004-11-12 10:52:19 +00005332004-11-12 Paul Jakma <paul@dishone.st>
534
535 * ospf_ia.c: (process_summary_lsa) Only an ABR has any reason to
536 ignore stub area summary default. Even so it seems a strange
537 check, add a comment to that effect.
538
paulf3ae74c2004-11-04 20:35:31 +00005392004-11-04 Paul Jakma <paul@dishone.st>
540
541 * ospfd.c: (ospf_network_match_iface) revert to previous network
542 statement match behaviour.
543
paul62d8e962004-11-02 20:26:45 +00005442004-11-02 Paul Jakma <paul@dishone.st>
545
546 * ospf_packet.c: (ospf_write_frags) remove iov arg, msg already points
547 to it. Add convenience pointer to msg->msg_iov[1], and use this,
548 fixing the unfortunate borkenness introduced in moving of this code
549 to a function.
550 (ospf_write) remove iovp and fix up call to previous.
551 (ospf_ls_upd_packet_new) cast size to long int - unfortunately
552 glibc's size_t format modifier is not portable.
553
paul37ccfa32004-10-31 11:24:51 +00005542004-10-31 Paul Jakma <paul@dishone.st>
555
556 * ospf_packet.c: (ospf_write_frags) Add debug output
557 (ospf_write) set type early, so we can pass it to
558 ospf_write_frags.
559 (ospf_ls_upd_packet_new) print size in debug output when too large
560 packet is encountered.
paul64511f32004-10-31 18:01:13 +0000561 * ospf_zebra.c: (ospf_distribute_list_update_timer) Ugly misuse of
562 THREAD_ARG to store an integer, but it should at least use same
563 same type to retrieve the value. Assert value is sane.
paul37ccfa32004-10-31 11:24:51 +0000564
paulac191232004-10-22 12:05:17 +00005652004-10-22 Paul Jakma <paul@dishone.st>
566
567 * ospf_network.c: (ospf_sock_init) call neutral setsock_ifindex()
568 function.
569 * ospf_packet.c: (ospf_read) manually look up ifindex
paul4ccb2c42004-10-22 22:52:33 +0000570 if system could not have returned one, eg openbsd, thanks to Rivo
571 Nurges for highlighting problem and fix.
paul06f953f2004-10-22 17:00:38 +0000572 Change setsockopt_pktinfo to setsockopt_ifindex.
paulac191232004-10-22 12:05:17 +0000573
hasso3fb9cd62004-10-19 19:44:43 +00005742004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
575
576 * ospf_snmp.c: (ospf_snmp_if_update) Fix logic to handle PtP links
577 with dedicated subnets properly.
578 * ospf_lsa.c: (lsa_link_ptop_set) ditto.
579 * ospfd.c: (ospf_network_match_iface) ditto.
580 (ospf_network_run) ditto.
581 * ospf_interface.c: (ospf_if_is_configured) ditto.
582 (ospf_if_lookup_by_prefix) ditto.
583 (ospf_if_lookup_recv_if) ditto.
584 * ospf_vty.c: (show_ip_ospf_interface_sub) Display the peer or
585 broadcast address if present.
586
hassod68614d2004-10-13 09:32:48 +00005872004-10-13 Hasso Tepper <hasso at quagga.net>
588
589 * ospf_main.c: Unbreak compilation with ospfapi disabled.
hassoc75105a2004-10-13 10:33:26 +0000590 * ospf_snmp.c: Remove defaults used to initialize smux connection to
591 snmpd. Connection is initialized only if smux peer is configured.
hassod68614d2004-10-13 09:32:48 +0000592
hassof4d58ce2004-10-12 06:13:54 +00005932004-10-12 Hasso Tepper <hasso at quagga.net>
594
595 * ospf_main.c, ospf_opaque.c: Unbreak ospfclient compilation - move
596 static variable from ospf_main.c into ospf_opaque.c.
597
hassoc3abdb72004-10-11 16:27:03 +00005982004-10-11 Hasso Tepper <hasso at quagga.net>
599
600 * ospf_main.c, ospf_opaque.c: Disable ospfapi init by default. New
601 command line switch to enable it.
602
paul6b333612004-10-11 10:11:25 +00006032004-10-11 Paul Jakma <paul@dishone.st>
604
605 * ospf_dump.c: (ospf_ip_header_dump) Assume header is in host order
606 remove ntohs that should have dissappeared. Take struct ip
607 as argument, caller has to know there's an IP header at start of
608 stream anyway.
609 * ospf_dump.h: update declaration of ospf_ip_header_dump.
610 * ospf_packet.c: (ospf_write) correct call to
611 sockopt_iphdrincl_swab_htosys which was munging the header.
612 (ospf_recv_packet) ip_len is needed for old OpenBSD fixup.
613 (ospf_read) sockopt_iphdrincl_swab_systoh ip header as soon as
614 we have it.
paul6c835672004-10-11 11:00:30 +0000615 * (global) Const char update and signed/unsigned fixes.
616 * (various headers) size defines should be unsigned.
617 * ospf_interface.h: remove duplicated defines, include the
618 authoritative header - though, these defines should probably
619 be moved to a dedicated header, or ospfd.h.
620 * ospf_lsa.h: (struct lsa) ls_seqnum should be unsigned.
621 * ospf_packet.c: (ospf_write) cast result of shift to unsigned.
paul6b333612004-10-11 10:11:25 +0000622
hassoeb1ce602004-10-08 08:17:22 +00006232004-10-08 Hasso Tepper <hasso at quagga.net>
624
625 * *.[c|h]: Fix compiler warnings: make some strings const, signed ->
626 unsigned, remove unused variables etc.
627
gdt54ade992004-10-07 19:38:20 +00006282004-10-07 Greg Troxel <gdt@claude.ir.bbn.com>
629
630 * ospf_apiserver.c (ospf_apiserver_unregister_opaque_type): Don't
631 use of variable names 'node' and 'nextnode' to avoid possible
632 conflict with list macros. Move variable declaration inside for
633 loop after a statement to top of function.
634
paulaa20c6f2004-10-07 14:19:36 +00006352004-10-07 Paul Jakma <paul@dishone.st>
636
637 * ospf_snmp.c: Missed list typedef update
638 * ospf_dump.c: Include sockopt.h for header swab functions.
639
paul18b12c32004-10-05 14:38:29 +00006402004-10-05 Paul Jakma <paul@dishone.st>
641
642 * ospf_packet.c: replace ospf_swap_iph_to... with
643 sockopt_iphdrincl_swab_...
644
hasso18a6dce2004-10-03 18:18:34 +00006452004-10-03 James R. Leu <jleu at mindspring.com>
646
647 * ospf_zebra.c: Read router id related messages from zebra daemon.
648 Schedule router-id update thread if it's changed.
649 * ospfd.c: Remove own router-id selection function. Use router id from
650 zebra daemon if it isn't manually overriden in configuration.
651
paul68defd62004-09-27 07:27:13 +00006522004-09-27 Paul Jakma <paul@dishone.st>
653
paul6a99f832004-09-27 12:56:30 +0000654 * ospf_dump.c: (ospf_ip_header_dump) Use HAVE_IP_HDRINCL_BSD_ORDER
655 Apply to offset too. Print ip_cksum, lets not worry about
656 possible 2.0.37 compile problems.
657 * ospf_packet.c: (ospf_swap_iph_to{n,h}) Use
658 HAVE_IP_HDRINCL_BSD_ORDER.
659 (ospf_recv_packet) ditto.
660 (ospf_write) Fixup iov argument to ospf_write_frags.
661 (struct msghdr).msg_name is caddr_t on most platforms.
paul68defd62004-09-27 07:27:13 +0000662 (ospf_recv_packet) ditto. And msg_flags is not always there
663 memset struct then set fields we care about rather than
664 initialise all fields individually.
665
hassoc9e52be2004-09-26 16:09:34 +00006662004-09-26 Hasso Tepper <hasso at quagga.net>
667
668 * ospf_abr.c, ospf_dump.c, ospf_lsa.c, ospf_packet.c, ospf_vty.c,
669 ospf_zebra.c: Fix compiler warnings.
670
paul87d6f872004-09-24 08:01:38 +00006712004-09-24 Paul Jakma <paul@dishone.st>
672
673 * ospf_apiserver.{c,h}: lists typedef removal cleanup.
674 update some list loops to LIST_LOOP. some miscellaneous indent
675 fixups.
676 (ospf_apiserver_unregister_opaque_type) fix listnode_delete of
677 referenced node in loop.
paul1603c062004-09-24 08:23:24 +0000678 (ospf_apiserver_term) loops calling ospf_apiserver_free, which
679 deletes referenced nodes from apiserver_list, fixed.
paul87d6f872004-09-24 08:01:38 +0000680 * ospf_interface.h: lists typedef removal cleanup.
681 * ospf_opaque.{c,h}: lists typedef removal cleanup. update some list
682 loops to LIST_LOOP. miscellaneous style and indent fixups.
683 * ospf_te.{c,h}: ditto
684 * ospf_packet.c: lists typedef removal cleanup.
paula2570682004-09-24 08:09:57 +0000685 (ospf_write) ifdef fragmentation support. move actual
686 fragmentation out to a new, similarly ifdefed, function.
687 (ospf_write_frags) fragmented write support, moved from previous.
paul87d6f872004-09-24 08:01:38 +0000688
hasso52dc7ee2004-09-23 19:18:23 +00006892004-09-23 Hasso Tepper <hasso at quagga.net>
690
691 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
692
paul68b73392004-09-12 14:21:37 +00006932004-09-12 Paul Jakma <paul@dishone.st>
694
695 * ospf_packet.c: Fix bugzilla #107
696 (ospf_packet_max) get rid of the magic 88 constant
697 (ospf_swab_iph_ton) new function. set ip header to network order,
698 taking BSDisms into account.
699 (ospf_swab_iph_toh) the inverse.
700 (ospf_write) Add support for IP fragmentation, will only work on
701 linux though, other kernels make it impossible. get rid of the
702 magic 4 constant.
703 (ospf_make_ls_upd) Bound check to end of stream, not to
704 interface mtu.
705 (ospf_ls_upd_packet_new) New function, allocate upd packet
706 taking oversized LSAs into account.
707 (ospf_ls_upd_queue_send) use ospf_ls_upd_packet_new to allocate,
708 rather than statically allocating mtu sized packet buffer, which
709 actually was wrong - it didnt take ip header into account, which
710 should not be included in packet buffer.
711 (ospf_ls_upd_send_queue_event) minor tweaks and remove
712 TODO comment.
713
gdt630e4802004-08-31 17:28:41 +00007142004-08-31 David Wiggins <dwiggins@bbn.com>
715
716 * ospf_spf.c (ospf_spf_calculate): Many more comments and debug
717 print statements. New function ospf_vertex_dump used in debugging.
718
7192004-08-31 David Wiggins <dwiggins@bbn.com>
720
721 * ospf_spf.h (struct vertex): Comments for flags and structure members.
722
7232004-08-31 David Wiggins <dwiggins@bbn.com>
724
725 * ospf_route.c: When finding an alternate route, log cost as well.
726
7272004-08-31 David Wiggins <dwiggins@bbn.com>
728
729 * ospf_interface.c (ospf_lookup_if_params): Initialize af in
730 struct prefix allocated on stack.
731
7322004-08-31 David Wiggins <dwiggins@bbn.com>
733
734 * ospf_packet.c (ospf_ls_ack_send_delayed): In p2mp mode, send
735 acks to AllSPFRouters, rather than All-DR.
736
hasso7b901432004-08-31 13:37:42 +00007372004-08-27 Hasso Tepper <hasso at quagga.net>
738
739 * ospf_vty.c: Don't print ospf network type under interface only
740 if interface is in broadcast mode and interface type really is
741 broadcast. Fixes Bugzilla #108.
742
gdtd7d93992004-08-27 12:03:42 +00007432004-08-27 David Wiggins <dwiggins@bbn.com>
744
745 * ospf_spf.c (ospf_nexthop_calculation): Initialize address family
746 in on-stack struct prefix_ipv4. Fixes point-to-multipoint SPF
747 calculation.
748
gdtd0deca62004-08-26 13:14:07 +00007492004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
750
751 * ospf_packet.c (ospf_recv_packet): adjust size declaration of
gdtd7d93992004-08-27 12:03:42 +0000752 buffer used to get interface index so that it compiles on other
753 than Linux and includes the required alignment space. Probably
754 this was only working on sparc/sparc64 because most of
755 sockaddr_dl was not being written.
gdtd0deca62004-08-26 13:14:07 +0000756
paul863082d2004-08-19 04:43:43 +00007572004-08-19 Paul Jakma <paul@dishone.st>
758
759 * ospf_packet.c: update to match sockopt renames.
760
paul75ee0b82004-08-05 09:10:31 +00007612004-08-04 Paul Jakma <paul@dishone.st>
762
763 * ospf_spf.c: (ospf_spf_consider_nexthop) Add comment about issue.
764 Compare only against list head - all nexthops must be same cost
765 anyway, fixes a reference-listnode-after-delete bug noted by
766 Kir Kostuchenko.
767 (ospf_nexthop_calculation) Use ospf_spf_consider_nexthop for all
768 candidates attached to root.
769
paul36c64ef2004-07-27 11:19:11 +00007702004-07-27 Paul Jakma <paul@dishone.st>
771
paul48fe13b2004-07-27 17:40:44 +0000772 * ospf_packet.c: (ospf_ls_upd_send_queue_event) fix thinko from
773 last fix for ospfd wedging due to oversize LSAs: dont list loop on
774 ospf_ls_upd_queue_send() - guaranteed segfault.
775
7762004-07-27 Paul Jakma <paul@dishone.st>
777
paul36c64ef2004-07-27 11:19:11 +0000778 * ospf_opaque.c: (ospf_opaque_lsa_flush_schedule) do not NULL out
779 the LSA as then free_opaque_info_per_id() can never unlock (and
780 free) the LSA. Reported by Gunnar Stigen.
781
paul2dd8bb42004-07-23 15:13:48 +00007822004-07-23 Paul Jakma <paul@dishone.st>
783
784 * ospf_network.c: Replace PKTINFO/RECVIF with call to
785 setsockopt_pktinfo
786 * ospf_packet.c: Use getsockopt_pktinfo_ifindex and
787 SOPT_SIZE_CMSG_PKTINFO_IPV4.
788
paul59ea14c2004-07-14 20:50:36 +00007892004-07-14 Paul Jakma <paul@dishone.st>
790
791 * ospf_packet.c: (ospf_ls_upd_send_queue_event) Partial fix for
792 problem reported by Peter Frost amongst others, where function
793 will spin indefinitely if update list contains LSAs greater than
794 MTU-headers or other condition leading to update list never being
795 cleared. Problem of what to do with these LSAs remains.
796 (ospf_make_ls_upd) add comment about large LSA problem,
797 indentation cleanup.
798
gdtb2c1b282004-07-01 12:35:36 +00007992004-07-01 Greg Troxel <gdt@fnord.ir.bbn.com>
800
801 * Makefile.am (lib_LTLIBRARIES): make libospf shared
802
gdt87efd642004-06-30 17:36:11 +00008032004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
804
805 * Makefile.am: Add shlib support.
806
hassobeebba72004-06-20 21:00:27 +00008072004-06-10 Hasso Tepper <hasso@estpak.ee>
808
809 * *: Removed ifdefs HAVE_NSSA.
810
paul553ff112004-06-06 09:41:00 +00008112004-06-06 Paul Jakma <paul@dishone.st>
812
813 * ospf_dump.c,ospf_lsa.c: Fix typos of merge of previous.
814 ospf_flood.c: (ospf_process_self_originated_lsa) fix zlog format
815
paul0c2be262004-05-31 14:16:54 +00008162004-05-31 Sagun Shakya <sagun.shakya@sun.com>
817
818 * ospf_dump.c: (ospf_lsa_header_dump) LOOKUP can return null if
819 index is out of range.
820 ospf_flood.c: endianness fix
821 ospf_lsa.c: Missing ntohl's on (struct lsa *)->data->ls_seqnum
822 in various places.
823
hassodd669bb2004-05-10 07:43:59 +00008242004-05-10 Hasso Tepper <hasso@estpak.ee>
825
826 * ospf_zebra.c, ospfd.c: Move ospf_prefix_list_update() function
827 to ospf_zebra.c from ospfd.c and add redistribution updates if
828 route-map is used in redistribution.
829 * ospf_main.c: Remove now useless call to ospf_init().
830
paul0a589352004-05-08 11:48:26 +00008312004-05-08 Paul Jakma <paul@dishone.st>
832
833 * ospf_zebra.c: Sync with lib/zclient changes
834
pauld3f0d622004-05-05 15:27:15 +00008352004-05-05 Paul Jakma <paul@dishone.st>
836
paul5bd41892004-05-05 17:29:24 +0000837 * ospf_network.c: (ospf_sock_init) Check whether IP_HDRINCL is
838 defined. Warn at compile and runtime. Use
839 IPTOS_PREC_INTERNETCONTROL otherwise.
pauld3f0d622004-05-05 15:27:15 +0000840 * ospf_packet.c: (ospf_associate_packet_vl) cleanup, move
841 some of the checks up to ospf_read, return either a
842 virtual link oi, or NULL.
843 (ospf_read) Cleanup, make it responsible for checks. Remove
844 the nbr lookup - moved to ospf_neighbor. Adjust all nbr
845 lookups to use new wrappers exported by ospf_neighbor.
846 * ospf_neighbor.h: Add ospf_neigbour_get and ospf_nbr_lookup.
847 * ospf_neighbor.c: (ospf_neigbour_get) Index ospf_interface
848 neighbour table by router-id for virtual-link ospf_interfaces,
849 not by peer_addr (which breaks for asymmetric vlinks)
850 (ospf_nbr_lookup) add a wrapper for nbr lookups to deal with
851 above.
paulcd59da62004-05-05 17:26:55 +0000852 * ospf_interface.c: (ospf_vl_set_params) Catch changes of interface
853 address for either end of a virtual-link, and hence potential cost
854 changes.
855
hassoa0a39762004-04-23 08:51:10 +00008562004-04-22 Hasso Tepper <hasso@estpak.ee>
857
858 * ospf_zebra.c: Don't ignore reject/bh routes, it's the only way
859 to "summarize" routes in ASBR at the moment.
860
hasso8585d4e2004-04-20 17:25:12 +00008612004-04-20 Hasso Tepper <hasso@estpak.ee>
862
863 * ospfd.c: Unset NP flag if area is going to be normal or stub.
864 Fixes UNH OSPF_NSSA.1.2a comment.
865 * ospf_abr.c: Originate default into stub/nssa area even if
866 summaries are disabled.
867 * ospf_zebra.c: Don't attempt to redistribute 127.0.0.0/8.
868
hassoc266ac72004-04-19 17:31:00 +00008692004-04-19 Hasso Tepper <hasso@estpak.ee>
870
871 * ospf_vty.c: Don't warn that export- and import-list can't be
872 configured to backbone area if they are applied and are working
873 fine.
874
hasso128d31d2004-04-04 12:52:33 +00008752004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
876
877 * ospf_packet.c: Don't drop packets in Solaris x86.
878 [quagga-dev 1005].
879
hasso0d85b992004-03-18 19:18:33 +00008802004-03-18 Amir Guindehi <amir@datacore.ch>
881
882 * ospf_opaque.c: Attempt to correct the incorrect behavior of
883 Quagga's ospfd in the special situation that a node's opaque
884 capability has changed as "ON -> OFF -> ON". [quagga-dev 843].
885
paul7f352b82004-02-19 19:37:47 +00008862004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
887
888 * ospf_abr.c: (ospf_abr_update_aggregate) UNH 3.12b,c, address range
889 should be configured with the highest cost path within the range,
890 not lowest.
891
paul940b01a2004-02-17 20:07:30 +00008922004-02-17 Paul Jakma <paul@dishone.st>
893
894 * ospf_zebra.c: (ospf_interface_delete) Do not delete the interface
895 params, nor the interface structure, if an interface delete
896 message is received from zebra.
897 * ospf_interface.c: (ospf_if_delete_hook) Delete the interface
898 params and interface, ie that which was previously removed in
899 (ospf_interface_delete) above.
900
hasso2db3d052004-02-11 21:52:13 +00009012004-02-11 Hasso Tepper <hasso@estpak.ee>
902 * ospf_interface.c, ospf_zebra.c: Don't attempt to read path->oi->ifp
903 if oi doesn't exist any more.
904
hassocb05eb22004-02-11 21:10:19 +00009052004-02-11 Vadim Suraev <vadim.suraev@terayon.com>
906 * ospf_packet.c (ospf_ls_upd): Router should flush received network
907 LSA if it was originated with older router-id ([zebra 14710] #6).
908
9092003-12-08 Mattias Amnefelt <mattiasa@kth.se>
paul239aecc2003-12-08 10:34:54 +0000910
911 * ospf_packet.c: (ospf_recv_packet) OpenBSD now leaves iph.ip_len
912 network byte order.
913
gdt8f40e892003-12-05 14:01:43 +00009142003-12-05 Greg Troxel <gdt@poblano.ir.bbn.com>
915
916 * ospfd.c (ospf_network_match_iface): Rewrite code for clarity
917 while trying not to change semantics. Add ifdefed-out code to
918 avoid matching ppp interfaces whose destination address does not
919 also match the prefix under consideration, to help out people with
920 problems due to as-yet-unfixed bugs with p2p interfaces coming and
921 going.
922
paul736d3442003-07-24 23:22:57 +00009232003-07-25 kamatchi soundaram <kamatchi@tdd.sj.nec.com>
924
925 * ospf_packet.c (ospf_ls_upd_send_queue_event): get next route
926 node in body of the loop to avoid chance that route node
927 is unlocked and deleted before the next iteration tries to
928 get next route node.
929
paul0a825c72003-05-24 13:48:16 +00009302003-05-24 Kenji Yabuuchi
931
932 * ospf_interface.c(ospf_if_lookup_recv_if): Use the most specific
933 match for interface lookup.
934
paul551a8972003-05-18 15:22:55 +00009352003-05-18 Hasso Tepper <hasso@estpak.ee>
paul445f1432003-05-16 19:00:31 +0000936
paul551a8972003-05-18 15:22:55 +0000937 * ospf_vty.c: Show NSSA LSA route info in "show ip ospf database"
938 output
paul445f1432003-05-16 19:00:31 +0000939
pauld7480322003-05-16 17:31:51 +00009402003-05-16 Hasso Tepper <hasso@estpak.ee>
941
942 * ospf_lsa.c: Fix handling of NSSA
943
paul551a8972003-05-18 15:22:55 +00009442003-04-23 Hasso Tepper <hasso@estpak.ee>
945
946 * ospf_vty.c: fix "router xxx" node commands in vtysh
947
paul445f1432003-05-16 19:00:31 +00009482003-04-19 Hasso Tepper <hasso@estpak.ee>
949
950 * {ospf_abr,ospfd}.c: area id's DECIMAL -> ADDRESS
951 * ospf_routemap.c: sync daemon's route-map commands to have same
952 syntax.
953
9542003-04-19 Sergey Vyshnevetskiy <serg@vostok.net>
955
956 * ospf_packet.c: Add missing param to zlog
957 * ospf_flood.c: remove unused vars
958
9592003-04-17 Denis Ovsienko <zebra@pilot.org.ua>
960
961 * ospf_interface.c: fix incorrect memset
962
paul28a13842003-05-16 20:30:37 +00009632003-04-10 Amir Guindehi <amir@datacore.ch>
paul445f1432003-05-16 19:00:31 +0000964
965 * ospf_lsa.[ch]: opaque LSA fix, use ospf_lookup.
966
9672003-04-03 David Watson <dwatson@eecs.umich.edu>
968
969 * ospf_lsa.c: byte order fix
970
paul07661cb2003-03-18 00:03:05 +00009712002-03-17 Amir Guindehi <amir@datacore.ch>
972
973 * ospf_apiserver.[ch]: Merge Ralph Keller's OSPFAPI support.
974 * ospf_api.[ch]: Merge Ralph Keller's OSPFAPI support.
975 * ospfclient: OSPFAPI demonstration client.
976
9772003-01-23 Masahiko Endo <endo@suri.co.jp>
978
979 * ospf_ism.c: NSM event schedule bug fix.
980
9812002-10-30 Greg Troxel <gdt@ir.bbn.com>
982
983 * ospf_packet.c (ospf_make_md5_digest): MD5 length fix.
984
paul718e3742002-12-13 20:15:29 +00009852002-10-23 endo@suri.co.jp (Masahiko Endo)
986
987 * ospf_opaque.c: Update Opaque LSA patch.
988
9892002-10-23 Ralph Keller <keller@tik.ee.ethz.ch>
990
991 * ospf_vty.c (show_ip_ospf_database): Fix CLI parse.
992
9932002-10-23 Juris Kalnins <juris@mt.lv>
994
995 * ospf_interface.c (ospf_if_stream_unset): When write queue
996 becomes empty stop write timer.
997
9982002-10-10 Greg Troxel <gdt@ir.bbn.com>
999
1000 * ospf_packet.c (ospf_check_md5_digest): Change >= to > to make it
1001 conform to RFC.
1002
10032002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1004
1005 * zebra-0.93 released.
1006
10072002-06-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1008
1009 * ospf_spf.c (ospf_nexthop_calculation): Add NULL set to oi and
1010 check of l2. Reported by: Daniel Drown <dan-zebra@drown.org>
1011 (ospf_lsa_has_link): LSA Length calculation fix. Reported by:
1012 Paul Jakma <paulj@alphyra.ie>.
1013
1014 * ospfd.c (ospf_if_update): Fix nextnode reference bug. Reported
1015 by: juris@mt.lv.
1016
10172002-01-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1018
1019 * ospfd.c: Merge [zebra 11445] Masahiko ENDO's Opaque-LSA support.
1020
10212001-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1022
1023 * ospf_interface.c (ospf_add_to_if): Use /32 address to register
1024 OSPF interface information.
1025 (ospf_delete_from_if): Likewise.
1026
1027 * ospf_zebra.c (ospf_interface_address_delete): Likewise.
1028
10292001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1030
1031 * ospf_zebra.c (ospf_redistribute_unset): When redistribute type
1032 is OSPF, do not unset redistribute flag.
1033
10342001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1035
1036 * zebra-0.92a released.
1037
10382001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1039
1040 * zebra-0.92 released.
1041
10422001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1043
1044 * ospfd.c (ospf_config_write): auto-cost reference-bandwidth
1045 configuration display.
1046
10472001-07-24 David Watson <dwatson@eecs.umich.edu>
1048
1049 * ospf_spf.c (ospf_spf_next): Modify ospf_vertex_add_parent to
1050 check for an existing link before connecting the parent and child.
1051 ospf_nexthop_calculation is also modified to check for duplicate
1052 entries when copying from the parent. Finally, ospf_spf_next
1053 removes duplicates when it merges two equal cost candidates.
1054
10552001-07-23 itojun@iijlab.net
1056
1057 * ospfd.c (show_ip_ospf_neighbor): Check ospf_top before use it
1058 [zebra 8549].
1059
10602001-07-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1061
1062 * ospf_packet.c (ospf_write): Remove defined(__OpenBSD__) to make
1063 it work on OpenBSD.
1064
10652001-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1066
1067 * ospf_zebra.c (config_write_ospf_default_metric): Display
1068 default-metric configuration.
1069
10702001-06-18 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1071
1072 * ospf_ia.h (OSPF_EXAMINE_SUMMARIES_ALL): Remove old macros.
1073
10742001-05-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1075
1076 * ospf_snmp.c (ospfIfEntry): Fix interface lookup bug to avoid
1077 crush.
1078 (ospfIfMetricEntry): Likewise.
1079
10802001-03-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1081
1082 * ospf_packet.c (ospf_read): Fix typo. Reported by: "Jen B
1083 Lin'Kova" <jen@stack.net>.
1084
10852001-03-15 Gleb Natapov <gleb@nbase.co.il>
1086
1087 * ospf_interface.c (ip_ospf_network): Set interface parameter.
1088 (interface_config_write): Add check for OSPF_IFTYPE_LOOPBACK.
1089
1090 * ospf_zebra.c (ospf_interface_add): Set interface parameter.
1091
10922001-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1093
1094 * ospf_packet.c (ospf_recv_packet): Solaris also need to add
1095 (iph.ip_hl << 2) to iph.ip_len.
1096
10972001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1098
1099 * ospfd.h (OSPF_LS_REFRESH_TIME): Fix OSPF_LS_REFRESH_TIME value.
1100 Suggested by: David Watson <dwatson@eecs.umich.edu>.
1101
1102 * ospf_zebra.c (zebra_init): Remove zebra node.
1103
1104 * ospfd.c (ospf_area_range_set): Function name is changed from
1105 ospf_ara_range_cmd.
1106 (ospf_area_range_unset): New function which separated from DEFUN.
1107 New commands are added:
1108 "no area A.B.C.D range A.B.C.D/M advertise"
1109 "no area <0-4294967295> range A.B.C.D/M advertise"
1110 "no area A.B.C.D range A.B.C.D/M not-advertise"
1111 "no area <0-4294967295> range A.B.C.D/M not-advertise"
1112
1113 * ospf_lsa.c (ospf_lsa_more_recent): Fix previous change.
1114
11152001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
1116
1117 * ospf_network.c (ospf_if_add_allspfrouters): Use
1118 setsockopt_multicast_ipv4.
1119 (ospf_if_drop_allspfrouters): Likewise.
1120
1121 * ospf_lsa.c (ospf_router_lsa_install): Add rt_recalc flag.
1122 (ospf_network_lsa_install): Likewise.
1123 (ospf_summary_lsa_install): Likewise.
1124 (ospf_summary_asbr_lsa_install): Likewise.
1125 (ospf_external_lsa_install): Likewise.
1126 (ospf_lsa_install): Call ospf_lsa_different to check this LSA is
1127 new one or not.
1128
11292001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1130
1131 * ospf_zebra.c (ospf_interface_delete): Do not free interface
1132 structure when ospfd receive interface delete message to support
1133 pseudo interface.
1134
11352001-02-01 Dick Glasspool <dick@ipinfusion.com>
1136
1137 * ospfd.c (area_range_notadvertise): Change area range "suppress"
1138 command to "not-advertise".
1139
1140 * ospfd.h (OSPF_LS_REFRESH_TIME): Change OSPF_LS_REFRESH_TIME from
1141 1800 to 60.
1142
1143 * ospf_abr.c (ospf_abr_update_aggregate): When update_aggregate is
1144 updating the area-range, the lowest cost is now saved.
1145
1146 * ospf_lsa.c (ospf_lsa_more_recent): Routing to compare sequence
1147 numbers rather than creating overflow during calculation.
1148
11492001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1150
1151 * zebra-0.91 is released.
1152
11532001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1154
1155 * ospf_packet.c (ospf_db_desc_proc): Do not continue process when
1156 NSM_SeqNumberMismatch is scheduled.
1157 (ospf_ls_req): Free ls_upd when return from this function.
1158 (ospf_ls_upd_timer): When update list is empty do not call
1159 ospf_ls_upd_send(). Suggested by: endo@suri.co.jp (Masahiko
1160 Endo).
1161
11622001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1163
1164 * ospf_lsa.c (ospf_maxage_flood): Flood LSA when it reaches
1165 MaxAge. RFC2328 Section 14.
1166 (ospf_maxage_lsa_remover): Call above function during removing
1167 MaxAge LSA.
1168
11692001-01-26 Dick Glasspool <dick@ipinfusion.com>
1170
1171 * ospf_flood.c (ospf_flood_through_as): Function is updated for
1172 NSSA Translations now done at ospf_abr.c with no change in P-bit.
1173
1174 * ospf_lsa.c (ospf_get_nssa_ip): Get 1st IP connection for Forward
1175 Addr.
1176 (ospf_install_flood_nssa): Leave Type-7 LSA at Lock Count = 2.
1177
1178 * ospf_ase.c (ospf_ase_calculate_route): Add debug codes.
1179
1180 * ospf_abr.c (ospf_abr_translate_nssa): Recalculate LSA checksum.
1181
1182 * ospf_packet.h (OSPF_SEND_PACKET_LOOP): Added for test packet.
1183
1184 * ospf_dump.c (ospf_lsa_type_msg): Add OSPF_GROUP_MEMBER_LSA and
1185 OSPF_AS_NSSA_LSA.
1186
1187 * ospfd.c (data_injection): Function to inject LSA. This is
1188 debugging command.
1189
11902001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1191
1192 * ospf_route.c (ospf_route_match_same): Remove function.
1193 (ospf_route_match_same_new): Renamed to ospf_route_match_same.
1194
1195 * ospf_zebra.c (ospf_interface_address_delete): Add check for
1196 oi->address. Suggested by Matthew Grant
1197 <grantma@anathoth.gen.nz>.
1198 (ospf_zebra_add): Remove function.
1199 (ospf_zebra_add_multipath): Rename to ospf_zebra_add.
1200
1201 * ospf_interface.c: Remove HAVE_IF_PSEUDO part.
1202
1203 * ospf_zebra.c: Likewise.
1204
12052001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1206
1207 * ospf_ase.c: Remove OLD_RIB part.
1208
1209 * ospf_route.c: Likewise.
1210
1211 * zebra-0.90 is released.
1212
1213 * ospf_packet.c (ospf_recv_packet): Use ip_len adjestment code to
1214 NetBSD.
1215
12162001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1217
1218 * ospf_route.c (ospf_route_delete): Use
1219 ospf_zebra_delete_multipath.
1220
12212001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1222
1223 * ospf_interface.c (ospf_if_cleanup): Function name is renamed
1224 from ospf_if_free(). Rewrite whole procudure to support primary
1225 address deletion.
1226
1227 * ospf_zebra.c (ospf_interface_address_delete): Add primary
1228 address deletion process.
1229
12302001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1231
1232 * ospf_packet.c (ospf_recv_packet): OpenBSD has same ip_len
1233 treatment like FreeBSD.
1234
12352001-01-09 endo@suri.co.jp (Masahiko Endo)
1236
1237 * ospf_packet.c (ospf_recv_packet): FreeBSD kernel network code
1238 strips IP header size from receiving IP Packet. So we adjust
1239 ip_len to whole IP packet size by adding IP header size.
1240
12412001-01-08 endo@suri.co.jp (Masahiko Endo)
1242
1243 * ospf_network.c (ospf_serv_sock): When socket() is failed return
1244 immediately.
1245 (ospf_serv_sock): Close socket when it is not used.
1246
1247 * ospf_packet.c (ospf_write): Set sin_len when HAVE_SIN_LEN is
1248 defined.
1249 (ospf_write): When bind is fined, close sock.
1250
12512001-01-07 Gleb Natapov <gleb@nbase.co.il>
1252
1253 * ospf_zebra.c (ospf_interface_state_up): Fixes coredump that
1254 appears when you try to configure bandwidth on the ppp interface
1255 that is not yet configured in ospfd.
1256
12572001-01-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1258
1259 * ospf_route.c (show_ip_ospf_route_external): "show ip ospf route"
1260 will print nexthops for AS-external routes.
1261
1262 * ospf_ase.c (ospf_ase_route_match_same): New function to compare
1263 ASE route under multipath environment.
1264 (ospf_ase_compare_tables): Likewise.
1265
12662001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1267
1268 * ospfd.h (OSPF_VTYSH_PATH): Change "/tmp/ospfd" to "/tmp/.ospfd".
1269
12702000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1271
1272 * ospf_route.c (ospf_route_install): Install multipath information
1273 to zebra daemon.
1274
1275 * ospf_zebra.c (ospf_zebra_add_multipath): Function for passing
1276 multipath information to zebra daemon.
1277
12782000-12-25 Dick Glasspool <dick@ipinfusion.com>
1279
1280 * ospf_packet.c (ospf_write): Call ospf_packet_delete when sendto
1281 fail.
1282 (DISCARD_LSA): Add argument N for logging point of DISCARD_LSA is
1283 called.
1284
1285 * ospf_lsa.c (ospf_external_lsa_refresh): NSSA install_flood will
1286 leave Type-7 LSA at Lock Count = 2.
1287
1288 * ospf_flood.c (ospf_flood_through): Flood_though_as updated for
1289 NSSA no P-bit off during Area flooding, but P-bit is turned off
1290 for mulitple NSSA AS flooding.
1291
1292 * ospf_ase.c (ospf_ase_calculate_timer): Added calculations for
1293 Type-7 LSDB.
1294
1295 * ospf_abr.c (ospf_abr_translate_nssa): Removed one unlock call.
1296 (ospf_abr_announce_nssa_defaults): Corrected Debug from EVENT to
1297 NSSA.
1298
12992000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1300
1301 * ospf_zebra.c (ospf_zebra_read_ipv4): Checking the age of the
1302 found LSA and if the LSA is MAXAGE we should call refresh instead
1303 of originate.
1304
13052000-12-18 Dick Glasspool <dick@ipinfusion.com>
1306
1307 * ospf_abr.c: Removed redundant "...flood" in
1308 announce_network_to_area(). Repaired nssa Unlock by using
1309 discard.
1310
1311 * ospf_packet.c: Removed old NSSA translate during mk_ls_update.
1312
1313 * ospfd.c: Free up all data bases including NSSA.
1314
1315 * ospf_lsa.c: Now allow removal of XLATE LSA's Check in
1316 discard_callback. Added routine to get ip addr from within the
1317 ifp.
1318
1319 * ospf_flood.c: Now set Forward Address for outgoing Type-7.
1320
1321 * ospf_lsa.h: Added prototype for the below. struct in_addr
1322 ospf_get_ip_from_ifp (struct interface *ifp).
1323
13242000-12-14 Gleb Natapov <gleb@nbase.co.il>
1325
1326 * ospf_packet.c (ospf_recv_packet): New OSPF pakcet read method.
1327 Now maximum packet length may be 65535 bytes (maximum IP packet
1328 length).
1329
1330 * ospf_interface.c (ospf_if_stream_set): Don't make input buffer.
1331
1332 * ospfd.c (config_write_network_area): Remove unnecessary area
1333 lookup code.
1334
13352000-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1336
1337 * ospf_packet.c (ospf_read): Accept packet bigger than MTU value.
1338
13392000-12-13 Gleb Natapov <gleb@nbase.co.il>
1340
1341 * ospfd.c (config_write_network_area): Fix bug in
1342 config_write_network_area function.
1343
13442000-12-12 Gleb Natapov <gleb@nbase.co.il>
1345
1346 * ospf_abr.c (ospf_abr_announce_network_to_area): Make Summary
1347 LSA's origination and refreshment as same as other type of LSA.
1348
1349 * ospf_lsa.c (ospf_summary_lsa_refresh): Return struct ospf_lsa *.
1350
1351 * ospf_lsa.c (ospf_summary_asbr_lsa_refresh): Likewise.
1352
13532000-12-08 Dick Glasspool <dick@ipinfusion.com>
1354
1355 The bulk of NSSA changes are contained herein; This version will
1356 require manual setting of "always" for NSSA Translator, and will
1357 not perform aggregation yet.
1358
1359 * ospf_dump.c: "debug ospf nssa" is added.
1360
1361 * ospf_dump.h: Likewise.
1362
1363 * ospf_packet.c (ospf_hello): Display router ID on Bad NSSA Hello.
1364
1365 * ospfd.c: Discard_LSA to stay away from LOCAL_XLT Process NSSA
1366 'never, candidate, always'. Change "suppress" to "not-advertise".
1367
1368 * ospfd.h: Add TranslatorRole to struct ospf_area. Add anyNSSA to
1369 struct ospf.
1370
1371 * ospf_ase.c (ospf_ase_calculate_route): External to stay away
1372 from LOCAL_XLT
1373
1374 * ospf_nsm.c (ospf_db_summary_add): External to stay away from
1375 LOCAL_XLT
1376
1377 * ospf_abr.c: Major logic added for abr_nssa_task(). If ABR, and
1378 NSSA translator, then do it. Approve the global list, and flush
1379 any unapproved.
1380
1381 * ospf_lsa.h: New LSA flag OSPF_LSA_LOCAL_XLT to indicate that the
1382 Type-5 resulted from a Local Type-7 translation; not used for
1383 flooding, but used for flushing.
1384
1385 * ospf_flood.c: New NSSA flooding.
1386
13872000-12-08 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1388
1389 * ospfd.c (ospf_find_vl_data): New function for looking up virtual
1390 link data.
1391 (ospf_vl_set_security): Virtual link configuration with
1392 authentication.
1393 (ospf_vl_set_timers): Set timers for virtual link.
1394
1395 * New commands are added.
1396 "area A.B.C.D virtual-link A.B.C.D"
1397 "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>"
1398 "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"
1399 "area A.B.C.D virtual-link A.B.C.D authentication-key AUTH_KEY"
1400 "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"
1401 "area A.B.C.D virtual-link A.B.C.D message-digest-key <1-255> md5 KEY"
1402
1403 * ospf_packet.c (ospf_check_md5_digest): Add neighbor's
1404 cryptographic sequence number treatment.
1405 (ospf_check_auth): OSPF input buffer is added to argument.
1406 (ospf_read): Save neighbor's cryptographic sequence number.
1407
1408 * ospf_nsm.c (nsm_change_status): Clear cryptographic sequence
1409 number when neighbor status is changed to NSM down.
1410
1411 * ospf_neighbor.c (ospf_nbr_new): Set zero to crypt_seqnum.
1412
1413 * ospf_neighbor.h (struct ospf_neighbor): Add cryptographic
1414 sequence number to neighbor structure.
1415
14162000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1417
1418 * ospf_snmp.c (ospfIfLookup): OSPF MIB updates.
1419 (ospfExtLsdbEntry): Add OspfExtLsdbTable treatment.
1420
14212000-11-28 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1422
1423 * ospfd.c (ospf_interface_down): Clear a ls_upd_queue queue of the
1424 interface.
1425 (ospf_ls_upd_queue_empty): New function to empty ls update queue
1426 of the OSPF interface.
1427 (no_router_ospf): 'no router ospf' unregister redistribution
1428 requests from zebra.
1429
14302000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1431
1432 * ospf_ism.c (ism_change_status): Increment status change number.
1433
1434 * ospf_interface.h (struct ospf_interface): Add new member for
1435 status change statistics.
1436
1437 * Makefile.am: Update dependencies.
1438
1439 * ospf_zebra.c (ospf_interface_add): OSPF SNMP interface update.
1440 (ospf_interface_delete): OSPF SNMP interface delete.
1441
1442 * ospf_snmp.h: New file is added.
1443
14442000-11-23 Dick Glasspool <dick@ipinfusion.com>
1445
1446 * ospfd.h: Add new ospf_area structure member for
1447 NSSATranslatorRole and NSSATranslator state.
1448
1449 * ospfd.c: Provided for eventual commands to specify NSSA
1450 elections for "translator- ALWAYS/NEVER/CANDIDATE". Provided for
1451 decimal integer version of area-suppress.
1452
1453 * ospf_flood.c: Flood Type-7's only into NSSA (not AS).
1454
1455 * ospf_lsa.c: Undo some previous changes for NSSA. If NSSA
1456 translator, advertise Nt bit.
1457
1458 * ospf_route.c: 1st version of "sh ip os border-routers".
1459
14602000-11-23 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1461
1462 * ospfd.c (area_vlink): Virtual link can not configured in stub
1463 area.
1464
14652000-11-23 Gleb Natapov <gleb@nbase.co.il>
1466
1467 * ospf_packet.c (ospf_db_desc): In states Loading and Full the
1468 slave must resend its last Database Description packet in response
1469 to duplicate Database Description packets received from the
1470 master. For this reason the slave must wait RouterDeadInterval
1471 seconds before freeing the last Database Description packet.
1472 Reception of a Database Description packet from the master after
1473 this interval will generate a SeqNumberMismatch neighbor
1474 event. RFC2328 Section 10.8
1475 (ospf_make_db_desc): DD Master flag treatment.
1476
1477 * ospf_nsm.c (nsm_twoway_received): Move DD related procedure to
1478 nsm_change_status().
1479 (nsm_bad_ls_req): Likewise.
1480 (nsm_adj_ok): Likewise.
1481 (nsm_seq_number_mismatch): Likewise.
1482 (nsm_oneway_received): Likewise.
1483
1484 * ospf_neighbor.h (struct ospf_neighbor): New structure member
1485 last_send_ts for timestemp when last Database Description packet
1486 was sent.
1487
1488 * ospf_nsm.c (ospf_db_desc_timer): Make it sure nbr->last_send is
1489 there. Call ospf_db_desc_resend() in any case.
1490
14912000-11-16 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1492
1493 * ospf_lsa.c (lsa_link_broadcast_set): When there is no DR on
1494 network (suppose you have only one router with interface priority
1495 0). It's router LSA does not contain the link information about
1496 this network.
1497
1498 * ospf_nsm.c (nsm_timer_set): When you change a priority of
1499 interface from/to 0 ISM_NeighborChange event should be scheduled
1500 in order to elect new DR/BDR on the network.
1501
1502 * ospf_interface.c (ip_ospf_priority): Likewise.
1503
1504 * ospf_flood.c (ospf_ls_retransmit_add): When we add some LSA into
1505 retransmit list we need to check whether the present old LSA in
1506 retransmit list is not more recent than the new
1507 one.
1508
15092000-11-09 Dick Glasspool <dick@ipinfusion.com>
1510
1511 * ospf_packet.c: Allows for NSSA Type-7 LSA's throughout the NSSA
1512 area. Any that exit the NSSA area are translated to type-5 LSA's.
1513 The instantiated image is restored after translation.
1514 (ospf_ls_upd_send_list): Renamed to ospf_ls_upd_queu_send().
1515 (ospf_ls_upd_send): Old function which enclosed by #ifdef 0 is
1516 removed.
1517 (ospf_ls_ack_send): Likewise.
1518
1519 * ospf_flood.c: NSSA-LSA's without P-bit will be restricted to
1520 local area. Otherwise they are allowed out the area to be
1521 translated by ospf_packet.c.
1522
1523 * ospf_lsa.c: Undo some previous changes for NSSA.
1524
1525 * ospf_lsdb.h: New access for type 7.
1526
15272000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1528
1529 * ospf_route.c (ospf_path_exist): New function to check nexthop
1530 and interface are in current OSPF path or not.
1531 (ospf_route_copy_nexthops_from_vertex): Add nexthop to OSPF path
1532 when it is not there. Reported by Michael Rozhavsky
1533 <mrozhavsky@opticalaccess.com>
1534
15352000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1536
1537 * ospf_dump.c (config_write_debug): Add seventh string "detail" is
1538 added for flag is OSPF_DEBUG_SEND | OSPF_DEBUG_RECV |
1539 OSPF_DEBUG_DETAIL.
1540
15412000-11-06 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1542
1543 * ospf_lsa.c (router_lsa_flags): ASBR can't exit in stub area.
1544
15452000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1546
1547 * ospf_lsa.c (ospf_router_lsa_originate): Reduce unconditional
1548 logging.
1549
15502000-11-06 Dick Glasspool <dick@ipinfusion.com>
1551
1552 * ospfd.h: Add ait_ntoa function prototype.
1553
1554 * ospfd.c (ait_ntoa): New function for displaying area ID and
1555 Stub/NSSA status.
1556 (show_ip_ospf_interface_sub): Use ait_ntoa.
1557 (show_ip_ospf_nbr_static_detail_sub): Likewise.
1558 (show_ip_ospf_neighbor_detail_sub): Likewise.
1559
1560 * ospf_route.c (ospf_intra_route_add): Set external routing type
1561 to ospf route.
1562 (ospf_intra_add_router): Likewise.
1563 (ospf_intra_add_transit): Likewise.
1564 (ospf_intra_add_stub): Likewise.
1565 (ospf_add_discard_route): Likewise.
1566 (show_ip_ospf_route_network): Use ait_ntoa.
1567 (show_ip_ospf_route_network): Likewise.
1568 (show_ip_ospf_route_router): Likewise.
1569
1570 * ospf_lsa.c (show_lsa_detail): Use ait_ntoa.
1571 (show_lsa_detail_adv_router): Likewise.
1572 (show_ip_ospf_database_summary): Likewise.
1573
1574 * ospf_route.h (struct route_standard): Add new member
1575 external_routing.
1576
1577 * ospf_ia.c (process_summary_lsa): Set external routing tyep to ospf
1578 route.
1579 (ospf_update_network_route): Likewise.
1580 (ospf_update_router_route): Likewise.
1581
15822000-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1583
1584 * ospf_flood.c (ospf_process_self_originated_lsa): Enclose
1585 OSPF_AS_NSSA_LSA treatment with #ifdef HAVE_NSSA.
1586
15872000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1588
1589 * Unconditional logging is enclosed with if (IS_DEBUG_OSPF_EVENT).
1590 Please specify "debug ospf event" for enable logging.
1591
1592 * ospf_ism.c: Do not extern debug flag varible. It is done by
1593 ospf_debug.h
1594 * ospf_asbr.c: Likewise.
1595 * ospf_lsa.c: Likewise.
1596 * ospf_nsm.c: Likewise.
1597 * ospf_zebra.c: Likewise.
1598
1599 * ospf_dump.c (debug_ospf_event): New command "debug ospf event"
1600 is added.
1601
1602 * ospfd.c (router_ospf): Change logging from vty_out() to
1603 zlog_info().
1604 (ospf_area_stub_cmd): Likewise.
1605
1606 * ospf_dump.h: Extern term_debug flags.
1607 (OSPF_DEBUG_EVENT): Add new flag.
1608 (IS_DEBUG_OSPF_EVENT): Add new macro.
1609
16102000-11-03 Dick Glasspool <dick@ipinfusion.com>
1611
1612 * ospf_flood.c (ospf_process_self_originated_lsa):
1613 OSPF_AS_NSSA_LSA is treated as same as OSPF_AS_EXTERNAL_LSA.
1614 (ospf_flood): Type-5's have no change. Type-7's can be received,
1615 and will Flood the AS as Type-5's They will also flood the local
1616 NSSA Area as Type-7's. The LSDB will be updated as Type-5's, and
1617 during re-fresh will be converted back to Type-7's (if within an
1618 NSSA).
1619 (ospf_flood_through): Incoming Type-7's were allowed here if our
1620 neighbor was an NSSA. So Flood our area with the Type-7 and also
1621 if we are an ABR, flood thru AS as Type-5.
1622
1623 * ospf_lsa.c (ospf_external_lsa_refresh): Flood NSSA both NSSA
1624 area and other area.
1625
1626 * ospf_packet.c (ospf_db_desc_proc): When AS External LSA is
1627 exists in DD packet, make it sure that this area is not stub.
1628 (ospf_ls_upd_list_lsa): When LSA type is NSSA then set lsa's area
1629 to NULL.
1630 (ospf_ls_upd): If the LSA is AS External LSA and the area is stub
1631 then discard the lsa. If the LSA is NSSA LSA and the area is not
1632 NSSA then discard the lsa.
1633
16342000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1635
1636 * ospfd.c (ospf_interface_run): Fix bug of Hello packet's option
1637 is not properly set when interface comes up.
1638
16392000-11-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1640
1641 * ospfd.h (OSPF_OPTION_O): Add new hello header option.
1642
16432000-11-01 Dick Glasspool <dick@ipinfusion.com>
1644
1645 * ospf_lsa.h: Define OSPF_MAX_LSA to 8 when HAVE_NSSA is enabled.
1646 (OSPF_GROUP_MEMBER_LSA): Define OSPF_GROUP_MEMBER_LSA.
1647
1648 * ospf_lsa.c (show_database_desc): Add "Group Membership LSA"
1649 string.
1650
16512000-10-31 Dick Glasspool <dick@ipinfusion.com>
1652
1653 * ospf_lsa.h (OSPF_AS_NSSA_LSA): Define OSPF_AS_NSSA_LSA.
1654
1655 * ospf_lsa.c (show_ip_ospf_database): NSSA database display
1656 function is added. ALIASES which have "show ip ospf database
1657 nssa-external" is added.
1658 (show_ip_ospf_border_routers): New command "show ip ospf
1659 border-routers" is added.
1660
16612000-10-30 Dick Glasspool <dick@ipinfusion.com>
1662
1663 * ospfd.c (router_ospf): NSSA Enabled message is added for
1664 testing.
1665 (ospf_area_type_set): Are type set for NSSA area.
1666 (ospf_area_stub_cmd): Special translation of no_summary into NSSA
1667 and summary information. If NSSA is enabled pass the information
1668 to ospf_area_type_set().
1669 (area_nssa): New commands are added:
1670 "area A.B.C.D nssa"
1671 "area <0-4294967295> nssa"
1672 "area A.B.C.D nssa no-summary"
1673 "area <0-4294967295> nssa no-summary"
1674 (ospf_no_area_stub_cmd): Special translation of no_summary into
1675 NSSA and summary information. If external_routing is
1676 OSPF_AREA_NSSA unset area with ospf_area_type_set (area,
1677 OSPF_AREA_DEFAULT).
1678 (show_ip_ospf_area): Display NSSA status.
1679 (config_write_ospf_area): Show NSSA configuration.
1680
1681 * ospf_packet.c (ospf_hello): For NSSA support, ensure that NP is
1682 on and E is off.
1683
16842000-10-26 Gleb Natapov <gleb@nbase.co.il>
1685
1686 * ospf_lsa.c (ospf_network_lsa_body_set): The network-LSA lists
1687 those routers that are fully adjacent to the Designated Router;
1688 each fully adjacent router is identified by its OSPF Router ID.
1689 The Designated Router includes itself in this list. RFC2328,
1690 Section 12.4.2.
1691
16922000-10-23 Jochen Friedrich <jochen@scram.de>
1693
1694 * ospf_snmp.c: ospf_oid and ospfd_oid are used in smux_open after
1695 it is registered. So those variables must be static.
1696
16972000-10-18 K N Sridhar <sridhar@euler.ece.iisc.ernet.in>
1698
1699 * ospfd.c: Add area_default_cost_decimal_cmd and
1700 no_area_default_cost_decimal_cmd alias.
1701
17022000-10-05 Gleb Natapov <gleb@nbase.co.il>
1703
1704 * ospfd.c (ospf_network_new): Fix setting area format.
1705 (no_router_ospf): Check area existance when calling
1706 ospf_interface_down().
1707
1708 * ospf_flood.c (ospf_external_info_check): Fix bug of refreshing
1709 default route.
1710
17112000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1712
1713 * zebra-0.89 is released.
1714
17152000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1716
1717 * ospf_snmp.c (ospfHostEntry): OSPF Host MIB is implemented.
1718
1719 * ospfd.c (ospf_nbr_static_cmp): OSPF neighbor is sorted by it's
1720 address.
1721
17222000-09-28 Michael Rozhavsky <mike@nbase.co.il>
1723
1724 * ospf_interface.c (ospf_if_free): Fix deleting self neighbor twice.
1725
17262000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1727
1728 * ospf_packet.c (ospf_read): Solaris on x86 has ip_len with host
1729 byte order.
1730
17312000-09-25 Toshiaki Takada <takada@zebra.org>
1732
1733 * ospfd.c (ospf_compatible_rfc1583), (no_ospf_compatible_rfc1583):
1734 Add CISCO compatible command.
1735
17362000-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1737
1738 * ospf_abr.c (ospf_area_range_lookup): New function is added for
1739 area range lookup in OSPF-MIB.
1740 (ospf_area_range_lookup_next): Likewise.
1741
17422000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1743
1744 * ospfd.c (no_router_ospf): Delete virtual link before deleting
1745 area structure.
1746
1747 * ospf_lsa.c (ospf_external_lsa_refresh_type): Check
1748 EXTERNAL_INFO(type).
1749
1750 * ospfd.c (no_router_ospf): Call ospf_vl_delete() instead of
1751 ospf_vl_data_free().
1752
1753 * ospf_interface.c (ospf_vl_shutdown): Execute ISM_InterfaceDown
1754 when ospf_vl_shutdown is called.
1755 (ospf_vl_delete): Call ospf_vl_shutdown() to delete virtual link
1756 interface's thread.
1757
17582000-09-21 Gleb Natapov <gleb@nbase.co.il>
1759
1760 * ospf_lsa.c: New implementation of OSPF refresh.
1761
17622000-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1763
1764 * ospf_snmp.c (ospfLsdbLookup): Add LSDB MIB implementation.
1765
17662000-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1767
1768 * ospf_snmp.c (ospfStubAreaEntry): Add OSPF stub area MIB.
1769
17702000-09-18 Gleb Natapov <gleb@nbase.co.il>
1771
1772 * ospf_route.h (route_standard): Change member from `struct area'
1773 to area_id.
1774
1775 * ospf_abr.c (ospf_abr_announce_network), (ospf_abr_should_announce),
1776 (ospf_abr_process_network_rt), (ospf_abr_announce_rtr),
1777 (ospf_abr_process_router_rt):
1778 * ospf_ase.c (ospf_find_asbr_route),
1779 (ospf_find_asbr_router_through_area),
1780 * ospf_ia.c (ospf_find_abr_route), (ospf_ia_router_route),
1781 (process_summary_lsa), (ospf_update_network_route),
1782 (ospf_update_router_route):
1783 * ospf_route.c (ospf_intra_route_add), (ospf_intra_add_router),
1784 (ospf_intra_add_transit), (ospf_intra_add_stub),
1785 (ospf_route_table_dump), (show_ip_ospf_route_network),
1786 (show_ip_ospf_route_router), (ospf_asbr_route_cmp),
1787 (ospf_prune_unreachable_routers):
1788 * ospf_spf.c (ospf_rtrs_print):
1789 * ospfd.c (ospf_rtrs_free): Fix the struct change above.
1790
17912000-09-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1792
1793 * ospf_network.c (ospf_serv_sock_init): Enclose SO_BINDTODEVICE
1794 with ifdef.
1795
17962000-09-13 Gleb Natapov <gleb@nbase.co.il>
1797
1798 * ospf_ism.c (ospf_elect_dr), (ospf_elect_bdr): Fix DR election.
1799
1800 * ospf_network.c (ospf_serv_sock_init): Add socket option
1801 SO_BINDTODEVICE on read socket.
1802
1803 * ospf_packet.c (ospf_hello): Ignore Hello packet if E-bit does
1804 not match.
1805
1806 * ospfd.c (ospf_area_check_free), (ospf_area_get),
1807 (ospf_area_add_if): New function added.
1808
18092000-09-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1810
1811 * ospf_route.c (ospf_intra_add_router): Update ABR and ASBR router
1812 count.
1813
1814 * ospf_spf.c (ospf_spf_init): Rest ABR and ASBR router count
1815 starting SPF calculation.
1816
1817 * ospfd.h (struct ospf_area): Add ABR and ASBR router count.
1818
18192000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1820
1821 * ospfd.c (ospf_area_id_cmp): New area structure is sorted by area
1822 ID.
1823
1824 * ospf_lsa.c (ospf_router_lsa_originate): For OSPF MIB update
1825 lsa_originate_count.
1826 (ospf_network_lsa_originate): Likewise.
1827 (ospf_summary_lsa_originate): Likewise.
1828 (ospf_summary_asbr_lsa_originate): Likewise.
1829 (ospf_external_lsa_originate): Likewise.
1830
18312000-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1832
1833 * ospf_snmp.c (ospf_variables): ospfRouterID's type RouterID
1834 syntax is IpAddress.
1835 (ospf_admin_stat): New function for OSPF administrative status
1836 check.
1837
18382000-09-10 Jochen Friedrich <jochen@scram.de>
1839
1840 * ospf_snmp.c: Implement OSPF MIB skeleton.
1841
18422000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1843
1844 * ospf_snmp.c: New file is added.
1845
18462000-09-07 David Lipovkov <davidl@nbase.co.il>
1847
1848 * ospf_zebra.c (ospf_interface_delete): Add pseudo interface
1849 treatment.
1850
1851 * ospf_interface.c (interface_config_write): Likewise.
1852
18532000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1854
1855 * zebra-0.88 is released.
1856
18572000-08-17 Michael Rozhavsky <mike@nbase.co.il>
1858
1859 * ospfd.c (ospf_area_free): Remove virtual link configuration only
1860 when Area is removed.
1861
18622000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1863
1864 * ospfd.c (network_area): Revert check for EXTERNAL_INFO
1865 (ZEBRA_ROUTE_CONNECT).
1866 (no_network_area): Likewise.
1867
18682000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1869
1870 * ospfd.h (struct ospf): Add distance_table and
1871 distance_{all,intra,inter,external}.
1872
1873 * ospf_zebra.c: Add OSPF distance related functions.
1874
18752000-08-15 Gleb Natapov <gleb@nbase.co.il>
1876
1877 * ospf_asbr.c (ospf_external_info_find_lsa): New function added.
1878
1879 * ospf_lsa.c (ospf_default_external_info),
1880 (ospf_default_originate_timer), (ospf_external_lsa_refresh_default):
1881 New function added.
1882
1883 * ospf_zebra.c
1884 (ospf_default_information_originate_metric_type_routemap),
1885 (ospf_default_information_originate_always_metric_type_routemap):
1886 Change name and add route-map function.
1887 (ospf_default_information_originate_metric_routemap),
1888 (ospf_default_information_originate_routemap),
1889 (ospf_default_information_originate_type_metric_routemap):
1890 New DEFUN added.
1891
18922000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1893
1894 * ospf_zebra.c (zebra_interface_if_set_value): Change ifindex
1895 restore size from two octet to four.
1896
18972000-08-14 Michael Rozhavsky <mike@nbase.co.il>
1898
1899 * ospf_ase.c (ospf_ase_incremental_update): Implement incremental
1900 AS-external-LSA in 16.6 of RFC2328.
1901
19022000-08-14 Matthew Grant <grantma@anathoth.gen.nz>
1903
1904 * ospf_interface.c (ospf_if_get_output_cost): Change cost
1905 calculation algorithm.
1906
1907 * ospf_packet (ospf_ls_upd): Fix problem of LSA retransmitting.
1908
19092000-08-11 Michael Rozhavsky <mike@nbase.co.il>
1910
1911 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix maxage remover for
1912 AS-external-LSAs.
1913
19142000-08-10 Toshiaki Takada <takada@zebra.org>
1915
1916 * ospfd.c (auto_cost_reference_bandwidth): New DEFUN added.
1917 `auto-cost reference-bandwidth' OSPF router command added.
1918
19192000-08-08 Gleb Natapov <gleb@nbase.co.il>
1920
1921 * ospf_routemap.c (ospf_route_map_update): New function added.
1922 Add route-map event hook.
1923
19242000-08-08 Toshiaki Takada <takada@zebra.org>
1925
1926 * ospf_zebra.c (ospf_distribute_check_connected): If redistribute
1927 prefix is connected route on OSPF enabled interface, suppress to
1928 announce it.
1929
19302000-08-08 Matthew Grant <grantma@anathoth.gen.nz>
1931
1932 * ospf_interface.c (ospf_if_get_output_cost):
1933 New function added. Handle bandwidth parameter for cost
1934 calculation.
1935
19362000-08-08 Michael Rozhavsky <mike@nbase.co.il>
1937
1938 * ospf_interface.c (interface_config_write): Show interface
1939 configuration regardless interface is down.
1940
1941 * ospf_ase.c (ospf_ase_caocluate_route): Whole rewritten external
1942 route calculate function.
1943
19442000-08-08 Gleb Natapov <gleb@nbase.co.il>
1945
1946 * ospf_routemap.c: New file added.
1947
1948 * ospf_asbr.c (ospf_reset_route_map_set_values),
1949 (ospf_route_map_set_compare): New function added.
1950
1951 * ospf_lsa.c (ospf_external_lsa_body_set): Set routemap metric
1952 with AS-external-LSA.
1953
19542000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1955
1956 * ospf_ase.c (ospf_ase_calculate_route_add): Pass new->cost to
1957 ospf_zebra_add as metric.
1958 (ospf_ase_calculate_route_add): Likewise.
1959
1960 * ospf_route.c (ospf_route_install): Pass or->cost to
1961 ospf_zebra_add as metric.
1962
1963 * ospf_zebra.c (ospf_zebra_add): Add metric arguemnt.
1964 (ospf_zebra_delete): Likewise.
1965
19662000-08-03 Matthew Grant <grantma@anathoth.gen.nz>
1967
1968 * ospf_flood.c (ospf_flood_delayed_lsa_ack): New function added.
1969 Dispatch delayed-ACK with flooding AS-external-LSA across virtual
1970 link.
1971
19722000-07-31 Matthew Grant <grantma@anathoth.gen.nz>
1973
1974 * ospfd.c (show_ip_ospf_area): Fix lack of VTY_NEWLINE when
1975 `show ip ospf'.
1976
1977 * ospf_interface.c (ospf_if_free): Fix bug of crash with
1978 Point-to-Point interface.
1979
19802000-07-27 Michael Rozhavsky <mike@nbase.co.il>
1981
1982 * ospf_flood.c (ospf_process_self_originated_lsa):
1983 Make sure to clear LSA->param (redistributed external information)
1984 before refreshment.
1985
19862000-07-27 Gleb Natapov <gleb@nbase.co.il>
1987
1988 * ospfd.c (refresh_group_limit), (refresh_per_slice),
1989 (refresh_age_diff): New defun added. Refresher related parameter
1990 can be configurable.
1991
19922000-07-27 Akihiro Mizutani <mizutani@dml.com>
1993
1994 * ospf_interface.c (interface_config_write): Print `description'
1995 config directive to work.
1996
19972000-07-24 Akihiro Mizutani <mizutani@dml.com>
1998
1999 * ospf_interface.c (ospf_if_init): Use install_default for
2000 INTERFACE_NODE.
2001
20022000-07-24 Gleb Natapov <gleb@nbase.co.il>
2003
2004 * ospf_packet.c (ospf_ls_upd_send_list), (ospf_ls_upd_send_event),
2005 (ospf_ls_ack_send_list), (ospf_ls_ack_send_event): New function added.
2006 This make sending always as many LS update/Ack combined in one ospf
2007 packet.
2008
20092000-07-24 Gleb Natapov <gleb@nbase.co.il>
2010
2011 * ospf_packet.c (ospf_ls_upd_list_lsa): Set NULL to lsa->area if
2012 LSA is AS-external-LSA.
2013
2014 * ospf_nsm.c (nsm_reset_nbr): Do not cancel Inactivity timer.
2015
20162000-07-21 Toshiaki Takada <takada@zebra.org>
2017
2018 * ospf_zebra.c (ospf_default_originate_timer): Set timer for
2019 `default-information originate'. Fix some default originate
2020 related functions.
2021
20222000-07-12 Toshiaki Takada <takada@zebra.org>
2023
2024 * ospf_lsa.c (stream_put_ospf_metric): New function added.
2025
20262000-07-12 Toshiaki Takada <takada@zebra.org>
2027
2028 * ospf_lsa.c (show_ip_ospf_database_router),
2029 (show_ip_ospf_database_network), (show_ip_ospf_database_summary),
2030 (show_ip_ospf_database_summary_asbr), (show_ip_ospf_database_externel),
2031 (show_router_lsa), (show_any_lsa), (show_router_lsa_self),
2032 (show_any_lsa_self): Functions removed.
2033
2034 (show_lsa_prefix_set), (show_lsa_detail_proc), (show_lsa_detail),
2035 (show_lsa_detail_adv_router_proc), (show_lsa_detail_adv_router):
2036 New functions added. Replace above functions.
2037
2038 (show_ip_ospf_database_all), (show_ip_ospf_database_self_originated):
2039 Functions removed.
2040 (show_ip_ospf_database_summary): New functions added. Replace
2041 above functions.
2042
2043 (show_ip_ospf_database_cmd): DEFUN rearranged.
2044 (show_ip_ospf_database_type_id_cmd),
2045 (show_ip_ospf_database_type_id_adv_router_cmd),
2046 (show_ip_ospf_database_type_is_self_cmd): New ALIASes added.
2047 (show_ip_ospf_database_type_adv_rotuer_cmd): New DEFUN added.
2048 (show_ip_ospf_database_type_self_cmd): New ALIAS added.
2049
20502000-07-11 Toshiaki Takada <takada@zebra.org>
2051
2052 * ospf_asbr.c (ospf_external_info_new),
2053 (ospf_external_info_free): New functions added.
2054
2055 * ospf_lsa.h (ospf_lsa): Add new member `void *param' to set
2056 origination parameter for external-LSA.
2057 Remove member `redistribute'.
2058
2059 * ospf_zebra.c (ospf_redistirbute_set): When `redistribute'
2060 command executed, metric and metric-type values are overridden.
2061 If one of those is changed refresh AS-external-LSAs for appropriate
2062 type.
2063
20642000-07-11 Michael Rozhavsky <mike@nbase.co.il>
2065
2066 * ospf_lsa.c (ospf_summary_lsa_refresh),
2067 (ospf_summary_asbr_lsa_refresh): Make sure to refresh summary-LSAs.
2068
2069 * ospf_abr.c (set_metric): New function added.
2070
20712000-07-07 Toshiaki Takada <takada@zebra.org>
2072
2073 * ospf_zebra.c (ospf_default_information_originate_metric_type),
2074 (ospf_default_information_originate_type_metric): New defun added.
2075 Metic and Metric type can be set to default route.
2076 (ospf_default_information_originate_always_metric_type):
2077 (ospf_default_information_originate_always_type_metric):
2078 New defun added. Metric and Metric type can be set to default
2079 always route.
2080
2081 * ospf_zebra.c (ospf_default_metric), (no_ospf_default_metric):
2082 New defun added.
2083
20842000-07-06 Gleb Natapov <gleb@nbase.co.il>
2085
2086 * ospf_flood.c (ospf_flood_through_area): Fix bug of considering
2087 on the same interface the LSA was received from.
2088
20892000-07-06 Michael Rozhavsky <mike@nbase.co.il>
2090
2091 * ospfd.c (ospf_config_write): Fix bug of printing `area stub'
2092 command with `write mem'.
2093
2094 * ospfd.c (no_router_ospf): Remove installed routes from zebra.
2095
2096 * ospf_zebra.c (ospf_interface_delete): Fix function to handle
2097 zebra interface delete event.
2098
20992000-07-06 Toshiaki Takada <takada@zebra.org>
2100
2101 * ospf_zebra.c (ospf_default_information_originate),
2102 (ospf_default_information_originate_always): New DEFUN added.
2103
21042000-07-05 Michael Rozhavsky <mike@nbase.co.il>
2105
2106 * ospf_route.c (ospf_terminate): Make sure to remove external route
2107 when SIGINT received.
2108
21092000-07-03 Gleb Natapov <gleb@nbase.co.il>
2110
2111 * ospf_flood.c, ospf_ism.c, ospf_lsa,c, ospfd.c: Make sure to free
2112 many structure with `no router ospf'.
2113
21142000-06-30 Gleb Natapov <gleb@nbase.co.il>
2115
2116 * ospf_neighbor.c (ospf_nbr_new),
2117 ospf_nsm.c (nsm_timer_set): Start LS update timer only
2118 when neighbor enters Exchange state.
2119
21202000-06-29 Gleb Natapov <gleb@nbase.co.il>
2121
2122 * ospf_nsm.c (nsm_timer_set), (nsm_exchange_done),
2123 ospf_packet.c (ospf_db_desc_proc):
2124 Do not cancel DD retransmit timer when Master.
2125
21262000-06-29 Gleb Natapov <gleb@nbase.co.il>
2127
2128 * ospf_abr.c (ospf_abr_announce_network_to_area),
2129 (ospf_abr_announce_rtr_to_area)
2130 ospf_ase.c (ospf_ase_rtrs_register_lsa),
2131 ospf_flood.c (ospf_process_self_originated_lsa),
2132 (ospf_flood_through_area), (ospf_ls_request_delete),
2133 ospf_interface.c (ospf_if_free),
2134 ospf_ism.c (ism_change_status),
2135 ospf_lsa.c (ospf_router_lsa_update_timer),
2136 (ospf_router_lsa_install), (ospf_network_lsa_install),
2137 (ospf_lsa_maxage_delete), (ospf_lsa_action),
2138 (ospf_schedule_lsa_flood_area),
2139 ospf_nsm.c (nsm_change_status),
2140 ospf_packet.c (ospf_make_ls_req_func), (ospf_make_ls_ack):
2141 Use ospf_lsa_{lock,unlock} for all looking-up of LSA.
2142
2143 * ospf_flood.c (ospf_ls_request_free): Function deleted.
2144
2145 * ospf_lsa.c (ospf_discard_from_db): New function added.
2146
21472000-06-26 Toshiaki Takada <takada@zebra.org>
2148
2149 * ospfd.h (ospf): struct member `external_lsa' name changed to
2150 `lsdb'.
2151
21522000-06-26 Toshiaki Takada <takada@zebra.org>
2153
2154 * ospf_lsa.c (ospf_lsa_install), (ospf_router_lsa_install),
2155 (ospf_network_lsa_install), (ospf_summary_lsa_install),
2156 (ospf_summary_asbr_lsa_install), (ospf_external_lsa_install):
2157 Functions re-arranged.
2158
2159 * ospf_lsa.c (IS_LSA_MAXAGE), (IS_LSA_SELF): Macro added.
2160
21612000-06-20 Michael Rozhavsky <mike@nbase.co.il>
2162
2163 * ospf_packet.c (ospf_ls_req), (ospf_ls_upd), (ospf_ls_ack): Add
2164 verification of LS type.
2165
21662000-06-20 Gleb Natapov <gleb@nbase.co.il>
2167
2168 * ospf_ase.c (ospf_ase_calculate_timer): Add more sanity check
2169 whether rn->info is NULL.
2170
21712000-06-20 Toshiaki Takada <takada@zebra.org>
2172
2173 * ospfd.c (show_ip_ospf_interface_sub): Show Router-ID of both
2174 DR and Backup correctly with `show ip ospf interface' command.
2175
21762000-06-20 Toshiaki Takada <takada@zebra.org>
2177
2178 * ospf_lsa.c (ospf_lsa_lock), (ospf_lsa_unlock),
2179 (ospf_lsa_discard): These functions are used for avoiding
2180 unexpected reference to freed LSAs.
2181
21822000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2183
2184 * ospf_packet.c (ospf_ls_upd): Initialize lsa by NULL to avoid
2185 warning.
2186
21872000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2188
2189 * ospf_ase.h (ospf_ase_rtrs_register_lsa): Add prototype.
2190
21912000-06-12 Toshiaki Takada <takada@zebra.org>
2192
2193 * ospf_lsa.c (ospf_external_lsa_install): Make sure to register
2194 LSA to rtrs_external when replacing AS-external-LSAs in LSDB.
2195 Fix core dump.
2196
21972000-06-10 Toshiaki Takada <takada@zebra.org>
2198
2199 * ospf_lsdb.c (id_to_prefix), (ospf_lsdb_hash_key),
2200 (ospf_lsdb_hash_cmp), (ospf_lsdb_new), (ospf_lsdb_iterator),
2201 (lsdb_free), (ospf_lsdb_free), (ospf_lsdb_add), (ospf_lsdb_delete),
2202 (find_lsa), (ospf_lsdb_lookup), (find_by_id),
2203 (ospf_lsdb_lookup_by_id), (ospf_lsdb_lookup_by_header): Functinos
2204 removed for migration to new_lsdb.
2205
2206 * ospf_lsa.c (ospf_summary_lsa_install),
2207 (ospf_summary_asbr_lsa_install), (ospf_maxage_lsa_remover),
2208 (ospf_lsa_maxage_walker), (ospf_lsa_lookup),
2209 (ospf_lsa_lookup_by_id): Use new_lsdb instead of ospf_lsdb.
2210 (count_lsa), (ospf_lsa_count_table), (ospf_lsa_count),
2211 (ospf_get_free_id_for_prefix): Funcitions removed.
2212
22132000-06-09 Gleb Natapov <gleb@nbase.co.il>
2214
2215 * ospf_ism.c (ism_interface_down): Prevent some unneeded DR changes.
2216
2217 * ospf_packet.c (ospf_db_desc_proc): Fix memory leak.
2218 (ospf_hello): Always copy router-ID when hello is received.
2219
22202000-06-08 Gleb Natapov <gleb@nbase.co.il>
2221
2222 * ospf_lsa.h (struct ospf_lsa): Add member of pointer to struct
2223 ospf_area.
2224
22252000-06-08 Michael Rozhavsky <mike@nbase.co.il>
2226
2227 * ospf_ase.c (ospf_asbr_route_same): New function added.
2228 This function makes sure external route calculation more
2229 precisely.
2230
22312000-06-07 Michael Rozhavsky <mike@nbase.co.il>
2232
2233 * ospf_ism.c (ism_change_status): Use ospf_lsa_flush_area for
2234 network-LSA deletion instead of using ospf_lsdb_delete.
2235 Also cancel network-LSA origination timer.
2236
22372000-06-07 Levi Harper <lharper@kennedytech.com>
2238
2239 * ospf_interface.c (ospf_if_down): Close read fd when an interface
2240 goes down.
2241
22422000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2243
2244 * ospf_asbr.c (ospf_external_info_lookup): Add explicit brace for
2245 avoid ambiguous else.
2246
2247 * ospf_flood.c (ospf_external_info_check): Likewise.
2248
22492000-06-05 Toshiaki Takada <takada@zebra.org>
2250
2251 * ospf_nsm.c (nsm_adj_ok): Fix bug of DR election.
2252
22532000-06-04 Toshiaki Takada <takada@zebra.org>
2254
2255 * ospf_zebra.c (ospf_default_information_originate),
2256 (no_ospf_default_information_originate): New DEFUN added.
2257
22582000-06-03 Toshiaki Takada <takada@zebra.org>
2259
2260 * ospf_lsa.h, ospf_asbr.h (external_info): Struct moved from
2261 ospf_lsa.h to ospf_asbr.h.
2262
2263 * ospf_lsa.c, ospf_asbr.c (ospf_external_info_add),
2264 (ospf_external_info_delete): Function moved from ospf_lsa.c
2265 to ospf_asbr.c.
2266
22672000-06-03 Toshiaki Takada <takada@zebra.org>
2268
2269 * ospf_flood.c (ospf_external_info_check): New function added.
2270 (ospf_process_self_orignated_lsa): Make sure to flush
2271 self-originated AS-external-LSA, when router reboot and no longer
2272 originate those AS-external-LSA.
2273
22742000-06-02 Toshiaki Takada <takada@zebra.org>
2275
2276 * ospf_network.c (ospf_serv_sock): Remove SO_DONTROUTE
2277 socket option.
2278
2279 * ospf_packet.c (ospf_write): Set MSG_DONTROUTE flag for
2280 unicast destination packets.
2281
22822000-06-02 Toshiaki Takada <takada@zebra.org>
2283
2284 * ospf_lsdb.c (new_lsdb_delete): Delete entry from LSDB only when
2285 specified LSA matches.
2286
22872000-06-02 Gleb Natapov <gleb@nbase.co.il>
2288
2289 * ospf_network.c (ospf_serv_sock): Set SO_DONTROUTE
2290 socket option.
2291
22922000-06-01 Akihiro Mizutani <mizutani@dml.com>
2293
2294 * ospf_dump.c: Replace string `Debugging functions\n' with DEBUG_STR.
2295 Replace string `OSPF information\n' with OSPF_STR.
2296
22972000-06-01 Toshiaki Takada <takada@zebra.org>
2298
2299 * ospf_lsdb.[ch]: Use new_lsdb struct for network-LSA instead of
2300 ospf_lsdb.
2301
23022000-06-01 Toshiaki Takada <takada@zebra.org>
2303
2304 * ospf_dump.c (config_debug_ospf_packet), (config_debug_ospf_event),
2305 (config_debug_ospf_ism), (config_debug_ospf_nsm),
2306 (config_debug_ospf_lsa), (config_debug_ospf_zebra),
2307 (term_debug_ospf_packet), (term_debug_ospf_event),
2308 (term_debug_ospf_ism), (term_debug_ospf_nsm),
2309 (term_debug_ospf_lsa), (term_debug_ospf_zebra): Repalce debug_ospf_*
2310 variable to use for debug option flags.
2311
2312 (debug_ospf_packet), (debug_ospf_ism), (debug_ospf_nsm),
2313 (debug_ospf_lsa), (debug_ospf_zebra): Set {config,term}_debug_*
2314 flags when vty->node is CONFIG_NODE, otherwise set only term_debug_*
2315 flags.
2316
2317 * ospf_dump.h (CONF_DEBUG_PACKET_ON), (CONF_DEBUG_PACKET_OFF),
2318 (TERM_DEBUG_PACKET_ON), (TERM_DEBUG_PACKET_OFF),
2319 (CONF_DEBUG_ON), (CONF_DEBUG_OFF), (IS_CONF_DEBUG_OSPF_PACKET),
2320 (IS_CONF_DEBUG_OSPF): New Macro added.
2321
23222000-05-31 Toshiaki Takada <takada@zebra.org>
2323
2324 * ospfd.c (clear_ip_ospf_neighbor): New DEFUN added.
2325 Currently this command is used for only debugging.
2326
2327 * ospf_nsm.c (nsm_change_status): Make sure thread cancellation
2328 for network-LSA when DR has no full neighbors.
2329
2330 * ospf_nsm.c (ospf_db_summary_clear): New function added.
2331
23322000-05-30 Toshiaki Takada <takada@zebra.org>
2333
2334 * ospf_lsdb.c (new_lsdb_insert): LSAs are always freed by
2335 maxage_lsa_remover when LSA is replaced.
2336
23372000-05-25 Gleb Natapov <gleb@nbase.co.il>
2338
2339 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all): Add argument
2340 `struct ospf_area' to remove LSA from Link State retransmission list
2341 of neighbor from only one Area.
2342
23432000-05-24 Michael Rozhavsky <mike@nbase.co.il>
2344
2345 * ospf_lsdb.c (ospf_lsdb_add): Preserve flags field when
2346 overriting old LSA with new LSA.
2347
23482000-05-24 Gleb Natapov <gleb@nbase.co.il>
2349
2350 * ospf_lsa.c (ospf_router_lsa_body_set): Fix bug of router-LSA
2351 size calculation.
2352
23532000-05-22 Michael Rozhavsky <mike@nbase.co.il>
2354
2355 * ospf_route.c (ospf_intra_add_stub):
2356 * ospf_spf.h (struct vertex): Use u_int32_t for distance (cost)
2357 value instead of u_int16_t.
2358
23592000-05-22 Axel Gerlach <agerlach@datus.datus.com>
2360
2361 * ospf_ia.c (ospf_ia_network_route): Fix bug of Inter-area route
2362 equal cost path calculation.
2363
23642000-05-21 Toshiaki Takada <takada@zebra.org>
2365
2366 * ospf_ase.c (ospf_ase_calculate_route_delete): New function added.
2367 Make sure, when rotuer route is deleted, related external routes
2368 are also deleted.
2369
23702000-05-20 Toshiaki Takada <takada@zebra.org>
2371
2372 * ospfd.c (ospf_interface_down): Make sure interface flag is disable
2373 and set fd to -1.
2374
23752000-05-16 Toshiaki Takada <takada@zebra.org>
2376
2377 * ospf_asbr.c (ospf_asbr_should_announce), (ospf_asbr_route_remove):
2378 Functions removed.
2379
2380 * ospfd.h (EXTERNAL_INFO): Macro added.
2381 Substitute `ospf_top->external_info[type]' with it.
2382
23832000-05-16 Toshiaki Takada <takada@zebra.org>
2384
2385 * ospf_lsa.c (ospf_rtrs_external_remove): New function added.
2386
23872000-05-14 Gleb Natapov <gleb@nbase.co.il>
2388
2389 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all)
2390 * ospf_lsdb.c (new_lsdb_insert)
2391 * ospf_packet.c (ospf_ls_ack): Fix database synchonization problem.
2392
23932000-05-14 Gleb Natapov <gleb@nbase.co.il>
2394
2395 * ospf_lsa.h (tv_adjust), (tv_ceil), (tv_floor), (int2tv),
2396 (tv_add), (tv_sub), (tv_cmp): Prototype definition added.
2397
2398 * ospf_nsm.h (ospf_db_summary_delete_all): Prototype definition added.
2399
24002000-05-13 Toshiaki Takada <takada@zebra.org>
2401
2402 * ospf_lsa.[ch] (ospf_lsa): struct timestamp type is changed from
2403 time_t to struct timeval.
2404 (tv_adjust), (tv_ceil), (tv_floor), (int2tv), (tv_add),
2405 (tv_sub), (tv_cmp): timeval utillity functions added.
2406
24072000-05-12 Toshiaki Takada <takada@zebra.org>
2408
2409 * ospf_lsa.[ch] (ospf_schedule_update_router_lsas): Delete function.
2410 Change to use macro OSPF_LSA_UPDATE_TIMER instead of using
2411 this function.
2412 router-LSA refresh timer related stuff is re-organized.
2413
24142000-05-10 Gleb Natapov <gleb@nbase.co.il>
2415
2416 * ospf_interface.c (ospf_vl_set_params):
2417 * ospf_packet.c (ospf_check_network_mask):
2418 * ospf_spf.[ch] (ospf_spf_next):
2419 Remove field address from `struct vertex', and search for peer
2420 address of virtual link in function `ospf_vl_set_params' instead.
2421
24222000-05-10 Gleb Natapov <gleb@nbase.co.il>
2423
2424 * ospf_packet.c (ospf_ls_upd): Fix some memory leak related LSA.
2425
24262000-05-08 Thomas Molkenbur <tmo@datus.com>
2427
2428 * ospf_packet.c (ospf_packet_dup): Replace ospf_steram_copy()
2429 with ospf_stream_dup() to fix memory leak.
2430
24312000-05-08 Michael Rozhavsky <mike@nbase.co.il>
2432
2433 * ospf_flood.c (ospf_flood_through_area): Fix the problem of
2434 LSA update without DROther.
2435
24362000-05-04 Gleb Natapov <gleb@nbase.co.il>
2437
2438 * ospf_spf.c (ospf_vertex_free): Fix memory leak of SPF calculation.
2439
24402000-05-03 Toshiaki Takada <takada@zebra.org>
2441
2442 * ospf_neighbor.c (ospf_db_summary_add): Use new_lsdb struct
2443 instead linked-list.
2444 (ospf_db_summary_count), (ospf_db_summary_isempty):
2445 New function added.
2446
2447 * ospf_lsa.c (ospf_rotuer_lsa): Re-arrange and divide functions.
2448
24492000-05-02 Gleb Natapov <gleb@nbase.co.il>
2450
2451 * ospf_lsdb.c (new_lsdb_cleanup): Fix memory leak. When LSDB are
2452 not needed any more, then free them.
2453
24542000-05-02 Toshiaki Takada <takada@zebra.org>
2455
2456 * ospfd.c (timers_spf), (no_timers_spf): New defun added.
2457 SPF calculation timers related stuff is rearranged.
2458
2459 * ospf_spf.c (ospf_spf_calculate_timer_add): Function removed.
2460 SPF timer is scheduled by SPF calculation delay and holdtime
2461 configuration variable.
2462
2463 * ospf_lsa.c (ospf_external_lsa_nexthop_get): Set AS-external-LSA's
2464 forwarding address when nexthop learned by other protocols is
2465 in the OSPF domain.
2466
2467 * ospf_zebra.c (ospf_redistribute_source_metric_type),
2468 (ospf_redistribute_source_type_metric): Re-arrange DEFUNs and
2469 ALIASes.
2470
24712000-05-01 Toshiaki Takada <takada@zebra.org>
2472
2473 * ospf_flood.c (ospf_ls_retransmit_count),
2474 (ospf_ls_retransmit_isempty): New function added.
2475
2476 (ospf_ls_retransmit_add), (ospf_ls_retransmit_delete),
2477 (ospf_ls_retransmit_clear), (ospf_ls_retransmit_lookup),
2478 (ospf_ls_retransmit_delete_all), (ospf_ls_retransmit_delete_nbr_all),
2479 (ospf_ls_retransmit_add_nbr_all): Replace these functions to use
2480 new_lsdb.
2481
24822000-04-29 Toshiaki Takada <takada@zebra.org>
2483
2484 * ospfd.c (no_network_area): Add check Area-ID whether specified
2485 Area-ID with prefix matches config.
2486
24872000-04-27 Toshiaki Takada <takada@zebra.org>
2488
2489 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix problem of
2490 remaining withdrawn routes on zebra.
2491
24922000-04-25 Michael Rozhavsky <mike@nbase.co.il>
2493
2494 * ospf_nsm.c (nsm_kill_nbr), (nsm_ll_down), (nsm_change_status),
2495 (ospf_nsm_event): Fix network-LSA re-origination problem.
2496
24972000-04-24 Toshiaki Takada <takada@zebra.org>
2498
2499 * ospf_nsm.c (ospf_db_desc_timer): Fix bug of segmentation fault
2500 with DD retransmission.
2501
2502 * ospf_nsm.c (nsm_kill_nbr): Fix bug of re-origination when
2503 a neighbor disappears.
2504
25052000-04-23 Michael Rozhavsky <mike@nbase.co.il>
2506
2507 * ospf_abr.c (ospf_abr_announce_network_to_area): Fix bug of
2508 summary-LSAs reorigination. Correctly copy OSPF_LSA_APPROVED
2509 flag to new LSA. when summary-LSA is reoriginatd.
2510
2511 * ospf_flood.c (ospf_flood_through_area): Fix bug of flooding
2512 procedure. Change the condition of interface selection.
2513
25142000-04-21 Toshiaki Takada <takada@zebra.org>
2515
2516 * ospf_lsa.c (ospf_refresher_register_lsa): Fix bug of refresh never
2517 occurs.
2518
2519 * ospfd.c (show_ip_ospf_neighbor_id): New defun added.
2520 `show ip ospf neighbor' related commands are re-arranged.
2521
25222000-04-20 Toshiaki Takada <takada@zebra.org>
2523
2524 * ospf_dump.c (debug_ospf_zebra): New defun added.
2525 Suppress zebra related debug information.
2526
25272000-04-19 Toshiaki Takada <takada@zebra.org>
2528
2529 * ospf_zebra.c (ospf_distribute_list_update_timer),
2530 (ospf_distribute_list_update), (ospf_filter_update):
2531 New function added. Re-organize `distribute-list' router ospf
2532 command.
2533
25342000-04-13 Michael Rozhavsky <mike@nbase.co.il>
2535
2536 * ospf_packet.c (ospf_make_ls_upd): Add check for MAX_AGE.
2537
25382000-04-14 Michael Rozhavsky <mike@nbase.co.il>
2539
2540 * ospf_packet.c (ospf_make_ls_upd): Increment LS age by configured
2541 interface transmit_delay.
2542
25432000-04-14 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2544
2545 * ospf_interface.c (ip_ospf_cost), (no_ip_ospf_cost):
2546 Add to schedule router_lsa origination when the interface cost changes.
2547
25482000-04-12 Toshiaki Takada <takada@zebra.org>
2549
2550 * ospf_lsa.c (ospf_refresher_register_lsa),
2551 (ospf_refresher_unregister_lsa): Fix bug of core dumped.
2552
2553 * ospfd.c (no_router_ospf): Fix bug of core dumped.
2554
25552000-03-29 Toshiaki Takada <takada@zebra.org>
2556
2557 * ospf_nsm.c (nsm_oneway_received): Fix bug of MS flag unset.
2558
25592000-03-29 Michael Rozhavsky <mike@nbase.co.il>
2560
2561 * ospf_lsa.c (ospf_network_lsa):
2562 * ospf_nsm.c (ospf_nsm_event): Fix bug of Network-LSA originated
2563 in stub network.
2564
25652000-03-28 Toshiaki Takada <takada@zebra.org>
2566
2567 * ospf_nsm.c (nsm_bad_ls_req), (nsm_seq_number_mismatch),
2568 (nsm_oneway_received): Fix bug of NSM state flapping between
2569 ExStart and Exchange.
2570
25712000-03-28 Toshiaki Takada <takada@zebra.org>
2572
2573 * ospf_packet.h (strcut ospf_header): Fix the size of ospf_header,
2574 change u_int8_t to u_char.
2575
25762000-03-27 Toshiaki Takada <takada@zebra.org>
2577
2578 * ospf_lsa.c (ospf_lsa_checksum): Take care of BIGENDIAN architecture.
2579
25802000-03-27 Toshiaki Takada <takada@zebra.org>
2581
2582 * ospfd.c (ospf_interface_run): Make sure Address family matches.
2583
25842000-03-26 Love <lha@s3.kth.se>
2585
2586 * ospf_packet.c (ospf_write): Chack result of sendto().
2587
25882000-03-26 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2589
2590 * ospf_nsm.c (nsm_oneway_received): Fix bug of 1-WayReceived in NSM.
2591
25922000-03-23 Libor Pechacek <farco@clnet.cz>
2593
2594 * ospf_lsa.c (ospf_network_lsa)
2595 * ospf_lsdb.c (new_lsdb_insert): Fix bug of accessing to
2596 unallocated memory.
2597
25982000-03-23 Toshiaki Takada <takada@zebra.org>
2599
2600 * ospfd.c (ospf_config_write): Fix bug of duplicate line for
2601 `area A.B.C.D authentication'.
2602
26032000-03-22 Toshiaki Takada <takada@zebra.org>
2604
2605 * ospf_debug.c (debug_ospf_lsa), (no_debug_ospf_lsa): Defun added.
2606 Suppress all zlog related to LSAs with this config option.
2607
26082000-03-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2609
2610 * ospf_nsm.c (ospf_nsm_event): Add check for NSM_InactivityTimer.
2611
26122000-03-21 Toshiaki Takada <takada@zebra.org>
2613
2614 * ospf_packet.c (ospf_ls_upd_timer), (ospf_ls_req):
2615 Fix bug of memory leak about linklist.
2616
2617 * ospf_flood.c (ospf_flood_through_area): Likewise.
2618
26192000-03-18 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2620
2621 * ospf_flood.c (ospf_ls_retransmit_lookup): Add checksum comparison
2622 to identify LSA uniquely. This fix routes lost.
2623
26242000-03-18 Toshiaki Takada <takada@zebra.org>
2625
2626 * ospf_ase.c (ospf_find_asbr_route): Add sanity check with router
2627 routing table.
2628
26292000-03-17 Alex Zinin <zinin@amt.ru>
2630
2631 * ospf_spf.[ch]: Bug fix.
2632 The 2nd stage of Dijkstra could consider one vertex
2633 more than once if there is more than one link
2634 between the routers, thus adding extra CPU overhead
2635 and extra next-hops.
2636 Fixed.
2637
26382000-03-15 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2639
2640 * ospf_nsm.c (nsm_inactivity_timer): Changed to call nsm_kill_nbr().
2641
26422000-03-14 Toshiaki Takada <takada@zebra.org>
2643
2644 * ospf_route.c (ospf_route_copy_nexthops): Fix bug of memory leak of
2645 ospf_path. Actually ignore merging ospf_route with completely same
2646 paths.
2647
26482000-03-12 Toshiaki Takada <takada@zebra.org>
2649
2650 * ospf_lsa.c (show_as_external_lsa_detail): fix bug of
2651 external route tag byte order.
2652
26532000-03-11 Toshiaki Takada <takada@zebra.org>
2654
2655 * ospf_lsdb.c (ospf_lsdb_insert): New function added.
2656
26572000-03-09 Toshiaki Takada <takada@zebra.org>
2658
2659 * ospf_lsa.c (ospf_external_lsa_install),
2660 (ospf_lsa_lookup), (show_ip_ospf_database_all),
2661 (show_ip_ospf_database_self_originate): Use struct new_lsdb for
2662 LSDB of AS-external-LSAs instead of ospf_lsdb.
2663
2664 * ospf_lsa.c (ospf_lsa_unique_id): New function added.
2665 Use for assigning Unique Link State ID instead of
2666 ospf_get_free_id_for_prefix().
2667
26682000-03-09 Toshiaki Takada <takada@zebra.org>
2669
2670 * ospf_ase.c (ospf_ase_calculate_timer): Fix bug of segmentation
2671 fault reported by George Bonser <george@siteROCK.com>.
2672
26732000-03-07 Libor Pechacek <farco@clnet.cz>
2674
2675 * ospfd.c (ospf_interface_down): Fix bug of segmentation fault.
2676
26772000-03-06 Toshiaki Takada <takada@zebra.org>
2678
2679 * ospf_route.c (ospf_route_cmp): Change meaning of return values.
2680
26812000-03-02 Alex Zinin <zinin@amt.ru>
2682 * ospfd.h, ospf_ia.h
2683 New Shortcut ABR code. Now area's flag can be configured
2684 with Default, Enable, and Disable values.
2685 More info will be in the new ver of I-D soon (see IETF web).
2686
26872000-02-25 Toshiaki Takada <takada@zebra.org>
2688
2689 * ospf_lsa.c (ospf_lsa_header_set), (ospf_external_lsa_body_set),
2690 (osfp_external_lsa_originate), (ospf_external_lsa_queue),
2691 (ospf_external_lsa_originate_from_queue): New function added.
2692 (ospf_external_lsa): Function removed.
2693
2694 * ospf_zebra.c (ospf_zebra_read_ipv4): Originate AS-external-LSA
2695 when listen a route from Zebra, instead creating external route.
2696
2697 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
2698 (ospf_asbr_route_add_queue_lsa),
2699 (ospf_asbr_route_install_lsa), (ospf_asbr_route_add):
2700 Functions removed.
2701
2702 * ospf_ase.c (process_ase_lsa): Function will not be used.
2703 (ospf_ase_calculate), (ospf_ase_calculate_route_add),
2704 (ospf_ase_calculate_new_route), (ospf_ase_caluculate_asbr_route):
2705 process_ase_lsa () is separated to these functions.
2706
2707 OSPF AS-external-LSA origination is whole re-organized.
2708
27092000-02-18 Toshiaki Takada <takada@zebra.org>
2710
2711 * ospf_packet.c (ospf_ls_upd): Fix bug of OSPF LSA memory leak.
2712
2713 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
2714 (ospf_asbr_route_add_queue_lsa): Fix bug of OSPF external route
2715 memory leak.
2716
27172000-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2718
2719 * ospf_asbr.c (ospf_asbr_route_install_lsa): Re-calculate LSA
2720 checksum after change Advertised Router field.
2721
27222000-02-09 Toshiaki Takada <takada@zebra.org>
2723
2724 * ospf_asbr.c (ospf_external_route_lookup): Add new function.
2725
27262000-02-08 Toshiaki Takada <takada@zebra.org>
2727
2728 * ospfd.c (ospf_router_id_get), (ospf_router_id_update),
2729 (ospf_router_id_update_timer): Router ID decision algorithm is changed.
2730 Router ID is chosen from all of eligible interface addresses even if
2731 it is not enable to OSPF.
2732
27332000-02-08 Toshiaki Takada <takada@zebra.org>
2734
2735 * ospf_asbr.c (ospf_asbr_route_add): Function divided to
2736 ospf_asbr_route_add_flood_lsa, ospf_asbr_route_add_queue_lsa and
2737 ospf_asbr_route_install_lsa. If Router-ID is not set, then LSA is
2738 waited to install to LSDB.
2739 `0.0.0.0 adv_router' AS-external-LSA origination bug was fixed.
2740
27412000-02-01 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2742
2743 * ospf_flood.c (ospf_ls_retransmit_lookup): Compare LS seqnum
2744 in the ACK before deleting.
2745
2746 * ospf_packet.c (ospf_hello): Reset the flags after a shutdown
2747 and no shutdown of the interface.
2748
27492000-01-31 Toshiaki Takada <takada@zebra.org>
2750
2751 * ospf_packet.c (ospf_ls_req): Send multiple Link State Update
2752 packets respond to a Link State Request packet.
2753
2754 * ospfd.c (show_ip_ospf_neighbor_detail_sub): Show thread state.
2755
2756 * ospf_interface.c (ospf_vl_new): Crash when backbone area
2757 is not configured and set virtual-link to no-backbone area,
2758 bug fixed.
2759
27602000-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2761
2762 * ospf_neighbor.h (struct ospf_neighbor): Add pointer to last send
2763 LS Request LSA.
2764
2765 * ospf_packet.c (ospf_ls_upd): Comment out LS request list
2766 treatment. That should be done in OSPF flooding procedure.
2767
2768 * ospf_flood.c (ospf_flood_through_area): Enclose
2769 ospf_check_nbr_loding inside if-else close.
2770
27712000-01-31 Toshiaki Takada <takada@zebra.org>
2772
2773 * ospf_packet.c (ospf_make_ls_upd): Fix bug of #LSAs counting.
2774
27752000-01-29 Toshiaki Takada <takada@zebra.org>
2776
2777 * ospf_packet.c (ospf_make_md5_digest): Fix bug of md5 authentication.
2778
27792000-01-28 Toshiaki Takada <takada@zebra.org>
2780
2781 * ospfd.c (show_ip_ospf): Show Number of ASE-LSAs.
2782
27832000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2784
2785 * ospf_packet.c (ospf_make_db_desc): Don't use rm_list for
2786 removing LSA from nbr->db_summary.
2787
27882000-01-27 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2789
2790 * ospf_packet.c (ospf_ls_upd_send): Set AllSPFRouters to
2791 destination when the link is point-to-point.
2792 (ospf_ls_ack_send_delayed): Likewise.
2793
27942000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2795
2796 * ospf_flood.c (ospf_ls_request_delete_all): Fix bug of next
2797 pointer lookup after the node is freed.
2798
27992000-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2800
2801 * ospf_asbr.c (ospf_asbr_route_add): Instead of scanning all AS
2802 external route, use ospf_top->external_self.
2803
28042000-01-27 Toshiaki Takada <takada@zebra.org>
2805
2806 * ospf_lsa.c (ospf_forward_address_get): New function added.
2807
2808 * ospf_asbr.c (ospf_asbr_check_lsas): Originate AS-external-LSA
2809 only when it should be replaced.
2810
28112000-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2812
2813 * ospf_flood.c (ospf_ls_retransmit_clear): Delete list node.
2814
2815 * ospf_lsa.c (ospf_lsa_free): Reduce logging message using
2816 ospf_zlog value.
2817
2818 * ospf_ism.c (ism_change_status): Fix bug of DR -> non DR status
2819 change. Self originated LSA is freed but not deleted from lsdb.
2820
28212000-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2822
2823 * ospf_ism.c (ism_interface_down): Don't use router_id for
2824 detecting self neighbor structure. Instead of that compare
2825 pointer itself.
2826
2827 * ospf_neighbor.c (ospf_nbr_free): Cancel all timer when neighbor
2828 is deleted.
2829 (ospf_nbr_free): Free last send packet.
2830
2831 * ospf_neighbor.h (struct ospf_neighbor): Remove host strucutre.
2832 Instead of that src is introduced.
2833
2834 * ospf_nsm.h: Enclose macro defenition with do {} while (0).
2835
28362000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2837
2838 * ospfd.c: Change part of passive interface implementation. For
2839 passive interface just disabling sending/receiving Hello on the
2840 interface.
2841
28422000-01-16 Kai Bankett <kai.bankett@vew-telnet.net>
2843
2844 * ospf_interface.h (OSPF_IF_PASSIVE): Add passive flag.
2845 * ospf_interface.c (ospf_if_lookup_by_name): Add new function.
2846 * ospf_lsa.c (ospf_router_lsa): Skip passive interface.
2847 * ospfd.c (passive_interface): New command passive-interface is
2848 added.
2849 (ospf_config_write): Print passive interface.
2850
28512000-01-15 Toshiaki Takada <takada@zebra.org>
2852
2853 * ospf_interface.h (crypt_key): New struct added to store
2854 multiple cryptographic autheitication keys.
2855 (ospf_interface): struct changed.
2856
2857 * ospf_interface.c: ospf_crypt_key_new, ospf_crypt_key_add,
2858 ospf_crypt_key_lookup, ospf_crypt_key_delete: new functions added.
2859
2860 * ospf_packet.c (ip_ospf_message_digest_key): Changed to store
2861 multiple cryptographic authentication keys.
2862
28632000-01-14 Toshiaki Takada <takada@zebra.org>
2864
2865 * ospf_interface.c: DEFUN (if_ospf_*) commands changed name to
2866 ip_ospf_* ().
2867 Old notation `ospf *' still remains backward compatibility.
2868
28691999-12-29 Alex Zinin <zinin@amt.ru>
2870 * ospf_lsa.c: ospf_lsa_more_recent() bug fix
2871 * ospf_nsm.c, ospf_packet.c: remove nbr data struct when
2872 int goes down, also check DD flags correctly (bug fix)
2873
28741999-12-28 Alex Zinin <zinin@amt.ru>
2875 * "redistribute <source> metric-type (1|2) metric <XXX>" added
2876
28771999-12-23 Alex Zinin <zinin@amt.ru>
2878 * added RFC1583Compatibility flag
2879 * added dynamic interface up/down functionality
2880
28811999-11-19 Toshiaki Takada <takada@zebra.org>
2882
2883 * ospf_neighbor.h (struct ospf_neighbor): Add member state_change
2884 for NSM state change statistics.
2885
28861999-11-19 Toshiaki Takada <takada@zebra.org>
2887
2888 * ospfd.c (show_ip_ospf_neighbor_detail),
2889 (show_ip_ospf_neighbor_int_detail): DEFUN Added.
2890
28911999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2892
2893 * ospf_asbr.c (ospf_asbr_check_lsas): Add check of
2894 lsa->refresh_list.
2895
28961999-11-11 Toshiaki Takada <takada@zebra.org>
2897
2898 * ospf_ia.[ch] (OSPF_EXAMINE_SUMMARIES_ALL): Macro added.
2899 This macro is expanded to ospf_examine_summaries ()
2900 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2901 (OSPF_EXAMINE_TRANSIT_SUMMARIES_ALL): Macro added.
2902 This macro is expanded to ospf_examine_transit_summaries ()
2903 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2904
29051999-11-11 Toshiaki Takada <takada@zebra.org>
2906
2907 * ospf_lsa.[ch] (ospf_find_self_summary_lsa_by_prefix): Changed to
2908 macro OSPF_SUMMARY_LSA_SELF_FIND_BY_PREFIX.
2909 (ospf_find_self_summary_asbr_lsa_by_prefix): Changed to
2910 macro OSPF_SUMMARY_ASBR_LSA_SELF_FIND_BY_PREFIX.
2911 (ospf_find_self_external_lsa_by_prefix): Changed to
2912 macro OSPF_EXTERNAL_LSA_SELF_FIND_BY_PREFIX.
2913
29141999-11-11 Toshiaki Takada <takada@zebra.org>
2915
2916 * ospfd.c (ospf_abr_type): ospf_abr_type_cisco, ospf_abr_type_ibm,
2917 ospf_abr_type_shortcut and ospf_abr_type_standard DEFUNs are
2918 combined.
2919 * ospfd.c (no_ospf_abr_type): no_ospf_abr_type_cisco,
2920 no_ospf_abr_type_ibm and no_ospf_abr_type_shortcut DEFUNS are
2921 combined.
2922
29231999-11-10 Toshiaki Takada <takada@zebra.org>
2924
2925 * ospf_route.c (ospf_lookup_int_by_prefix): Move function to
2926 ospf_interface.c and change name to ospf_if_lookup_by_prefix ().
2927
29281999-11-01 Alex Zinin <zinin@amt.ru>
2929 * ospf_packet.c
2930 some correction to LSU processing
2931
2932 * ospf_lsa.c ospfd.h
2933 randomize initial LSA refreshment interval
2934 and limit the size of LSA-group to 10
2935 to let randomization work more effectively.
2936
29371999-10-31 Alex Zinin <zinin@amt.ru>
2938 * ospf_interface.c
2939 cancel t_network_lsa_self
2940 when freeing int structure
2941
2942 * ospf_abr.c ospf_asbr.c ospf_flood.c ospf_lsa.c
2943 ospf_lsa.h ospf_lsdb.h ospfd.c ospfd.h
2944
2945 Summary and ASE LSA refreshment functions
2946 added---LSA refreshment is paced to 70 LSAs
2947 per sec to avoid link overflow. Refreshment events
2948 are further randomized within a 10 sec interval
2949 to avoid syncing.
2950
2951 Also the sigfault of memcmp() in ospf_lsa_is_different()
2952 is fixed.
2953
29541999-10-30 Alex Zinin <zinin@amt.ru>
2955 * ospf_nsm.c
2956 Fix the bug where MAX_AGE LSAs
2957 are included into the DB summary.
2958
2959 * ospf_interface.c
2960 allocate 2*MTU input buffer instead of just MTU
2961 for the cases when the other router mistakenly
2962 sends larger packets thus causing fragmentation, etc.
2963
2964 * ospf_nsm.c
2965 in nsm_reset_nbr() lists should be freed
2966 not when they are empty.
2967
29681999-10-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2969
2970 * ospf_zebra.c (ospf_acl_hook): Move OSPF_IS_ASBR and OSPF_IS_ABR
2971 check inside of if (ospf_top).
2972
29731999-10-29 Alex Zinin <zinin@amt.ru>
2974 * ospf_lsa.c ospf_lsdb.c :
2975 add assertion in lsa and lsa->data alloc functions,
2976 as well as in lsdb_add for new->data
2977
2978 * ospf_lsdb.c: free hash table correctly
2979
29801999-10-28 John Capo <jc@irbs.com>
2981
2982 * ospf_packet.h (OSPF_PACKET_MAX): Correct MAX packet length
2983 calculation
2984
29851999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2986
2987 * OSPF-TRAP-MIB.txt: New file added. Edited version of RFC1850.
2988
2989 * OSPF-MIB.txt: New file added. Edited version of RFC1850.
2990
29911999-10-27 Alex Zinin <zinin@amt.ru>
2992 * ospfd, ospf_zebra, ospf_abr
2993 "area import-list" command is added.
2994 This command allows to filter the inter-area routes
2995 injected into an area. Access list hook function
2996 extended to invalidate area exp/imp lists.
2997
29981999-10-25 Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
2999
3000 * ospfd.c (ospf_interface_run): Enable to detect P2P network
3001 on an OSPF interface.
3002
30031999-10-19 Jordan Mendelson <jordy@wserv.com>
3004
3005 * ospf_lsdb.c (ospf_lsdb_add): Fix bug of crash
3006 in ospf_ls_retransmit_lookup ().
3007
30081999-10-19 Vladimir B. Grebenschikov <vova@express.ru>
3009
3010 * ospf_route.c: Workaround about installation of OSPF routes into
3011 the zebra daemon. Add checking of existance routes. Free
3012 ospf_top->old_table if it exists.
3013
30141999-10-15 Jordan Mendelson <jordy@wserv.com>
3015
3016 * Add support for MD5 authentication.
3017
30181999-10-12 Alex Zinin <zinin@amt.ru>
3019 * ospfd.c, ospfd.h, ospf_abr.c:
3020 a new command "area export-list" was added, it allows
3021 the admin. to control which intra-area routes are
3022 announced to other areas by the ABR
3023
30241999-10-12 Alex Zinin <zinin@amt.ru>
3025 * ospf_asbr.c (ospf_asbr_check_lsas): Fix bug of coredump
3026 when "no redistribute" is used after a distribute list
3027 denying some networks was used
3028
30291999-10-05 Toshiaki Takada <takada@zebra.org>
3030
3031 * ospf_route.c (ospf_path_dup): New function added.
3032
30331999-10-05 Toshiaki Takada <takada@zebra.org>
3034
3035 * ospf_interface.[ch]: Some of VL related funciton name changed.
3036
30371999-09-27 Alex Zinin <zinin@amt.ru>
3038
3039 * ospf_zebra.c: Distribute-list functionality added
3040
30411999-09-27 Toshiaki Takada <takada@zebra.org>
3042
3043 * ospfd.c (show_ip_ospf): Fix bug of segmentation fault when no ospf
3044 instance exists.
3045
30461999-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3047
3048 * ospfd.c (ospf_interface_down): Fix bug of misusing nextnode()
3049 instead of node->next. Reported by Hiroki Ishibashi
3050 <ishibasi@dcd.abk.nec.co.jp>.
3051
3052 * ospf_route.c (show_ip_ospf_route): Add check for ospf is enabled
3053 or not.
3054
30551999-09-23 Alex Zinin <zinin@amt.ru>
3056
3057 * stub area support added
3058
30591999-09-23 Alex Zinin <zinin@amt.ru>
3060
3061 * fwd_addr in ASE-LSAs is now set correctly
3062 * ASE routing changed to check the fwd_addr
3063 and skip the route if the addr points to one
3064 of our interfaces to avoid loops.
3065
30661999-09-22 Alex Zinin <zinin@amt.ru>
3067
3068 * ospf_interface:
3069 ospf_vls_in_area() added, it returns
3070 the number of VLs configured through the area
3071
3072 * ospf_interface.c ospf_lsa.c ospf_lsdb.c ospfd.c
3073 honor correct mem alloc
3074
30751999-09-22 Alex Zinin <zinin@amt.ru>
3076
3077 * memory.[ch]:
3078 Some OSPF mem types added,
3079 plus more info in "show mem"
3080
30811999-09-21 Alex Zinin <zinin@amt.ru>
3082
3083 * ospfd.c:
3084 "area range substitute" added.
3085 It can be used on NAT-enabled (IP-masquarade)
3086 routers to announce private networks
3087 from an area as public ones into the outside
3088 world (not in the RFC, btw :)
3089
30901999-09-21 Alex Zinin <zinin@amt.ru>
3091
3092 * ospfd.c:
3093 "area range suppress" added.
3094 This command allows to instruct the router
3095 to be silent about specific ranges, i.e.,
3096 it is a method of route filtering on area
3097 borders
3098
30991999-09-21 Alex Zinin <zinin@amt.ru>
3100
3101 * ospfd.c VLs removed when "no network area" executed
3102
31031999-09-20 Alex Zinin <zinin@amt.ru>
3104
3105 * ospf_ase.c bug fix for not-zero fwd_addr
3106 and directly connected routes.
3107
31081999-09-20 Yon Uriarte <yon@plannet.de>
3109
3110 * ospf_packet.c (ospf_make_ls_req): Introduce delta value for
3111 checking the length of OSPF packet exceeds MTU or not.
3112
3113 * ospf_lsa.c (ospf_lsa_different): Apply ntohs for checking
3114 l1->data->length.
3115
31161999-09-18 Alex Zinin <zinin@amt.ru>
3117
3118 * ospf_lsa.c bug fix for ospf_network_lsa() to
3119 include itself into the RID list
3120
31211999-09-10 Alex Zinin <zinin@amt.ru>
3122
3123 * Alternative ABR behaviors IBM/Cisco/Shortcut
3124 implemented
3125
31261999-09-10 Alex Zinin <zinin@amt.ru>
3127
3128 * router and network-LSA origination
3129 changed to honor MinLSInterval
3130
31311999-09-08 Alex Zinin <zinin@amt.ru>
3132
3133 * modified ABR behavior to honor VLs and transit
3134 areas
3135
31361999-09-07 Alex Zinin <zinin@amt.ru>
3137
3138 * completed VL functionality
3139
31401999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
3141
3142 * ospf_asbr.c: New file.
3143 ospf_asbr.h: New file.
3144
3145 * ospf_zebra.c (ospf_redistribute_connected): Add redistribute
3146 related stuff.
3147
31481999-09-05 Kunihiro Ishiguro <kunihiro@zebra.org>
3149
3150 * ospfd.h (OSPF_FLAG_VIRTUAL_LINK): Change OSPF_FLAG_VEND to
3151 OSPF_FLAG_VIRTUAL_LINK for comprehensiveness.
3152
31531999-09-03 Kunihiro Ishiguro <kunihiro@zebra.org>
3154
3155 * ospf_spf.c (ospf_spf_register): Change name from
3156 ospf_spf_route_add() to ospf_spf_register().
3157 Include "ospfd/ospf_abr.h" for ospf_abr_task() prototype.
3158
31591999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
3160
3161 * ospf_lsa.c (ospf_external_lsa_install): Change to update
3162 lsa->data rather than install new one, when same id lsa is already
3163 installed.
3164
31651999-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
3166
3167 * ospf_lsa.c (ospf_router_lsa_install): Return lsa value.
3168 (ospf_network_lsa_install): Likewise.
3169 (ospf_summary_lsa_install): Likewise.
3170 (ospf_summary_asbr_lsa_install): Likewise.
3171 (ospf_external_lsa_install): Likewise.
3172
3173 * ospf_spf.c (ospf_spf_calculate): Comment out debug function
3174 ospf_rtrs_print().
3175
31761999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
3177
3178 * ospf_spf.c (ospf_rtrs_free): Add ospf_spf_calculate() for
3179 freeing rtrs.
3180
31811999-08-31 Toshiaki Takada <takada@zebra.org>
3182
3183 * ospf_lsa.c (show_ip_ospf_database_summary),
3184 (show_ip_ospf_database_summary_asbr),
3185 (show_ip_ospf_database_external): New function added.
3186 `show ip ospf database summary',
3187 `show ip ospf database asbr-summary'
3188 `show ip ospf database external' command can be used.
3189
3190 * ospf_lsa.c (ospf_lsa_count_table): New function added.
3191 (show_ip_ospf_database_all): show nothing if a type of LSA
3192 does not exist.
3193
31941999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
3195
3196 * ospf_lsa.c (ospf_maxage_lsa_remover): Preserve next pointer when
3197 the node is deleted.
3198
31991999-08-31 Toshiaki Takada <takada@zebra.org>
3200
3201 * ospf_flood.c (ospf_ls_retransmit_lookup): change to return
3202 struct ospf_lsa *.
3203 (ospf_ls_request_new), (ospf_ls_request_free),
3204 (ospf_ls_request_add), (ospf_ls_request_delete),
3205 (ospf_ls_request_delete_all), (ospf_ls_request_lookup):
3206 New function added.
3207
3208 * ospf_packet.c (ospf_ls_upd_send_lsa): New function added.
3209
3210 * ospf_lsa.h (LS_AGE): Slightly change macro definition.
3211
3212 * ospf_lsa.c (ospf_lsa_more_recent), (ospf_lsa_diffrent):
3213 Use LS_AGE macro.
3214
32151999-08-30 Alex Zinin <zinin@amt.ru>
3216
3217 * ospfd.c
3218 fix a bug with area range config write
3219 added "show ip ospf" command, it will be enhanced later on
3220
32211999-08-30 Alex Zinin <zinin@amt.ru>
3222
3223 * ospf_lsa.c
3224 updated ospf_router_lsa() to honor flags (B-bit)
3225
32261999-08-30 Alex Zinin <zinin@amt.ru>
3227
3228 * ospf_abr.c
3229 wrote major functions implementing ABR activity
3230
32311999-08-30 Alex Zinin <zinin@amt.ru>
3232
3233 * ospf_ia.c ospf_route.c ospf_route.h
3234 fixed the bug with ospf_route.origin field.
3235 Now it holds pointer to lsa_header
3236
32371999-08-30 Alex Zinin <zinin@amt.ru>
3238
3239 * ospf_flood.c ospf_flood.h:
3240 transformed ospf_flood_if_select into ospf_flood_through_area()
3241 added new ospf_flood_if_select() and ospf_flood_through_as()
3242
32431999-08-30 Toshiaki Takada <takada@zebra.org>
3244
3245 * ospf_flood.[ch]: New file added.
3246
3247 * ospf_packet.c (ospf_lsa_flooding),
3248 (ospf_lsa_flooding_select_if): functions move to ospf_flood.c
3249
3250 * ospf_neighbor.c (ospf_put_lsa_on_retransm_list),
3251 (ospf_remove_lsa_from_retransm_list),
3252 (ospf_nbr_remove_all_lsas_from_retransm_list),
3253 (ospf_lsa_remove_from_ls_retransmit):
3254 (ospf_lsa_retransmit): functions move to
3255 ospf_flood.c, and change function's name:
3256
3257 ospf_put_lsa_on_retransm_list ()
3258 -> ospf_ls_retransmit_add ()
3259 ospf_remove_lsa_from_retransm_list ()
3260 -> ospf_ls_retransmit_delete ()
3261 ospf_nbr_remove_all_lsas_from_retransm_list ()
3262 -> ospf_ls_retransmit_clear ()
3263 ospf_lsa_remove_from_ls_retransmit ()
3264 -> ospf_ls_retransmit_delete_nbr_all ()
3265 ospf_lsa_retransmit ()
3266 -> ospf_ls_retransmit_add_nbr_all ()
3267
3268 * ospf_lsa.c (ospf_lsa_lookup_from_list): function move to
3269 ospf_flood.c, and change name to ospf_ls_retransmit_lookup ().
3270
32711999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3272
3273 * ospf_neighbor.c (ospf_nbr_lookup_by_addr): Use
3274 route_node_lookup() instead of route_node_get().
3275
3276 * ospf_packet.c (ospf_ls_upd): Temporary comment out (6) check.
3277
32781999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3279
3280 * ospf_route.c (ospf_lookup_int_by_prefix): Add check of
3281 oi->address.
3282
32831999-08-29 Alex Zinin <zinin@amt.ru>
3284 * ospf_lsa.c
3285 MaxAge LSA deletion functions added.
3286
32871999-08-29 Alex Zinin <zinin@amt.ru>
3288 * ospf_neighbor.c
3289 ospf_nbr_lookup_by_addr(): added route_unlock_node()
3290 when function returns NULL if (rn->info == NULL)
3291
32921999-08-29 Alex Zinin <zinin@amt.ru>
3293 * ospfd.c
3294 added a hack for area range deletion
3295
32961999-08-29 Alex Zinin <zinin@amt.ru>
3297 * ospf_lsa.h
3298 included lsdb field into struct ospf_lsa, to find
3299 LSDB easier when removing MaxAge LSAs.
3300
33011999-08-29 Alex Zinin <zinin@amt.ru>
3302 * ospf_lsa.c ospf_neighbor.c ospf_nsm.c
3303 ospf_packet.c changed to honor new retransmit list
3304 management functions
3305
33061999-08-29 Alex Zinin <zinin@amt.ru>
3307 * ospf_neighbor.c , .h added new retransmit list functions.
3308
33091999-08-29 Alex Zinin <zinin@amt.ru>
3310 * Makefile.in
3311 added ospf_ase, ospf_abr, ospf_ia
3312
33131999-08-29 Alex Zinin <zinin@amt.ru>
3314 * ospf_spf.c:
3315 - changed ospf_next_hop_calculation() to include interface
3316 and nexthop addr for directly connected routers---more informative
3317 and solves problem with route installation into the kernel
3318 - changed ospf_nexthop_out_if_addr() to support routers, not only
3319 transit networks
3320 - added ospf_process_stubs();
3321
33221999-08-29 Alex Zinin <zinin@amt.ru>
3323 * ospf_lsa.c:
3324 - changed ospf_router_lsa() to provide correct links
3325 for p-t-p interfaces;
3326 - changed ospf_summary_lsa_install() to support table
3327 of self-originated summary-LSAs;
3328 - added ospf_summary_asbr_lsa_install() and ospf_external_lsa_install()
3329 - changed ospf_lsa_install() accordingly
3330 - changed show_ip_ospf_database_router_links() to support p-t-p
3331
33321999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3333
3334 * ospf_packet.c (ospf_make_db_desc): Only master can clear more
3335 flag.
3336
33371999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3338
3339 * ospf_packet.c (ospf_read): Add check of IP src address.
3340
33411999-08-28 Alex Zinin <zinin@amt.ru>
3342 * ospf_neighbor.h
3343 added ospf_nbr_lookup_by_routerid()
3344
33451999-08-28 Alex Zinin <zinin@amt.ru>
3346 * ospfd.h
3347 added ABR/ASBR flag definitions and fields;
3348 added iflist field to area structure;
3349 summary_lsa_self and summary_lsa_asbr_self are changed
3350 to be route tables;
3351 added ranges field---configured area ranges;
3352 A separate Routers RT added;
3353 area range config commands and config write added
3354
3355
33561999-08-28 Alex Zinin <zinin@amt.ru>
3357 * ospf_route.c :
3358 ospf_route_free()--added code to free the list of paths;
3359 The following functions added:
3360 ospf_intra_add_router();
3361 ospf_intra_add_transit();
3362 ospf_intra_add_stub();
3363 the last function uses new ospf_int_lookup_by_prefix();
3364 show_ip_ospf_route_cmd()--changed to support new RT structure;
3365 added ospf_cmp_routes()--general route comparision function;
3366 added ospf_route_copy_nexthops() and ospf_route_copy_nexthops_from_vertex()
3367 they are used in ASE and IA routing;
3368 added ospf_subst_route() and ospf_add_route();
3369
33701999-08-28 Alex Zinin <zinin@amt.ru>
3371 * ospf_route.h :
3372 changed struct ospf_path to include output interface,
3373 changed struct ospf_route to support IA and ASE routing.
3374 added prototypes of the function used in IA and ASE modules.
3375
33761999-08-28 Alex Zinin <zinin@amt.ru>
3377 * ospf_lsa.h ospf_lsa.c :
3378 added ospf_my_lsa(), an interface independent version of
3379 ospf_lsa_is_self_originated(), it will be used in ASE and IA-routing.
3380
33811999-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3382
3383 * ospf_interface.c (interface_config_write): Add check for
3384 oi->nbr_self.
3385
33861999-08-25 Toshiaki Takada <takada@zebra.org>
3387
3388 * ospf_lsa.c (ospf_lsa_dup): New function added.
3389
3390 * ospf_packet.c (ospf_write), (ospf_read): Print send/recv
3391 interface in debug message.
3392
33931999-08-25 Toshiaki Takada <takada@zebra.org>
3394
3395 * ospf_packet.c (ospf_ls_ack_send): The name is changed from
3396 `ospf_ls_ack_send'.
3397 (ospf_ls_ack_send_delayed) (ospf_ls_ack_timer): New function added.
3398 Delayed Link State Acknowledgment is scheduled by timer.
3399
34001999-08-25 Alex Zinin <zinin@amt.ru>
3401
3402 * ospf_lsa.c (ospf_router_lsa): Incorrectly included link to
3403 a stub network instead of link to a transit network into
3404 originated router-LSA, bug fixed.
3405
34061999-08-24 Toshiaki Takada <takada@zebra.org>
3407
3408 * ospfd.c (ospf_update_router_id): New function added.
3409
3410 * ospf_network.c (ospf_write): Create new socket per transmission.
3411 And select outgoing interface whether dst is unicast or multicast.
3412
3413 * ospf_packet.c: LSA flooding will work.
3414
34151999-08-24 VOP <vop@unity.net>
3416
3417 * ospf_route.c: Include "sockunion.h"
3418
34191999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
3420
3421 * ospf_network.c (ospf_serv_sock_init): Enclose
3422 IPTOS_PREC_INTERNETCONTROL setting with #ifdef for OS which does
3423 not have the definition.
3424
34251999-08-23 Toshiaki Takada <takada@zebra.org>
3426
3427 * ospf_packet.c: Fix bug of DD processing.
3428
34291999-08-18 Toshiaki Takada <takada@zebra.org>
3430
3431 * ospf_lsa.c (show_ip_ospf_database): Show actual `LS age'.
3432
34331999-08-17 Toshiaki Takada <takada@zebra.org>
3434
3435 * ospf_lsa.h (OSPF_MAX_LSA): The value of OSPF_MAX_LSA is
3436 corrected. The bug of `mes_lookup' is fixed.
3437 This had been reported by Poul-Henning Kamp <phk@freebsd.org>.
3438
3439 * ospf_lsa.c (ospf_router_lsa_install): The name is changed from
3440 `ospf_add_router_lsa'.
3441 (ospf_network_lsa_install): The name is changed from
3442 `ospf_add_network_lsa'.
3443
3444 * ospf_interface.h (ospf_interface): Add member `nbr_self'.
3445
3446 * ospf_interface.c (ospf_if_is_enable): New function added.
3447
34481999-08-16 Toshiaki Takada <takada@zebra.org>
3449
3450 * ospf_lsa.h (struct lsa_header): The name is changed from
3451 `struct ospf_lsa'.
3452 (struct ospf_lsa): New struct added to control each LSA's aging
3453 and timers.
3454
3455 * ospf_lsa.c (ospf_lsa_data_free): The name is change from
3456 `ospf_lsa_free'.
3457 (ospf_lsa_data_new), (ospf_lsa_new), (ospf_lsa_free),
3458 (ospf_lsa_different), (ospf_lsa_install): New function added.
3459
3460 * ospf_packet.c (ospf_ls_upd_list_lsa): New function added.
3461
34621999-08-12 Toshiaki Takada <takada@zebra.org>
3463
3464 * ospf_nsm.c (nsm_reset_nbr): New function added.
3465 KillNbr and LLDown neighbor event call this function.
3466
34671999-08-10 Toshiaki Takada <takada@zebra.org>
3468
3469 * ospf_packet.c (ospf_ls_retransmit)
3470 (ospf_ls_upd_timer): New function added.
3471 Set retransmission timer for Link State Update.
3472
34731999-07-29 Toshiaki Takada <takada@zebra.org>
3474
3475 * ospf_ism.c (ospf_dr_election): Fix bug of DR election.
3476
34771999-07-28 Toshiaki Takada <takada@zebra.org>
3478
3479 * ospf_network.c (ospf_serv_sock_init): Set IP precedence field
3480 with IPTOS_PREC_INTERNET_CONTROL.
3481
3482 * ospf_nsm.c (nsm_change_status): Schedule NeighborChange event
3483 if NSM status change.
3484
3485 * ospf_packet.c (ospf_make_hello): Never include a neighbor in
3486 Hello packet, when the neighbor goes down.
3487
34881999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
3489
3490 * Makefile.am (noinst_HEADERS): Add ospf_route.h.
3491
3492 * ospf_route.c (show_ip_ospf_route): Add `show ip ospf route'
3493 command.
3494
34951999-07-25 Toshiaki Takada <takada@zebra.org>
3496
3497 * ospf_lsa.c (ospf_router_lsa): Fix bug of LS sequence number
3498 assignement.
3499
35001999-07-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3501
3502 * ospf_route.c (ospf_route_table_free): New function added.
3503
3504 * ospf_spf.c (ospf_spf_next): Free vertex w when cw's and w's
3505 distance is same.
3506
3507 * ospfd.h (struct ospf): Add old_table.
3508
3509 * ospf_main.c (sighup): Call of log_rotate () removed.
3510
3511 * ospf_lsa.c (ospf_lsa_is_self_originated): Fix bug of checking
3512 area->lsa as self LSA. This should be area->lsa_self.
3513
35141999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
3515
3516 * ospf_zebra.c (ospf_zebra_add): ospf_zebra_add
3517 (),ospf_zebra_delete () added.
3518
3519 * ospf_spf.c (ospf_spf_calculate): Call ospf_intra_route_add ().
3520
35211999-07-24 Toshiaki Takada <takada@zebra.org>
3522
3523 * ospf_lsa.c: Change LS sequence number treatment.
3524 (ospf_lsa_is_self_originated): New function added.
3525 (show_ip_ospf_database_self_originated): New DEFUN added.
3526
35271999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3528
3529 * ospf_interface.c (ospf_if_lookup_by_addr): Add loopback check.
3530
35311999-07-22 Toshiaki Takada <takada@zebra.org>
3532
3533 * ospf_spf.c (ospf_nexthop_new), (ospf_nexthop_free),
3534 (ospf_nexthop_dup): function added.
3535 (ospf_nexthop_calculation): function changed.
3536
3537 * ospf_interface.c (ospf_if_lookup_by_addr): function added.
3538
35391999-07-21 Toshiaki Takada <takada@zebra.org>
3540
3541 * ospf_spf.c (ospf_spf_closest_vertex): function removed.
3542
35431999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
3544
3545 * ospf_spf.c (ospf_spf_next): Apply ntohs for fetching metric.
3546
35471999-07-21 Toshiaki Takada <takada@zebra.org>
3548
3549 * ospf_neighbor.c (ospf_nbr_lookup_by_router_id): fundtion removed.
3550
3551 * ospf_lsa.c (show_ip_ospf_database_router): describe each
3552 connected link.
3553
35541999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
3555
3556 * ospf_spf.c (ospf_spf_next): V is router LSA or network LSA so
3557 change behavior according to LSA type.
3558 (ospf_lsa_has_link): Link check function is added.
3559
35601999-07-20 Kunihiro Ishiguro <kunihiro@zebra.org>
3561
3562 * ospf_spf.c (ospf_spf_calculate_schedule): Add new function for
3563 SPF calcultion schedule addtition.
3564 (ospf_spf_calculate_timer_add): Rough 30 sec interval SPF calc
3565 timer is added.
3566 (ospf_spf_next_router): Delete ospf_spf_next_network ().
3567
3568 * ospf_lsa.c (show_ip_ospf_database_all): Network-LSA display
3569 header typo correction. Display of router LSA's #link added.
3570
35711999-07-19 Toshiaki Takada <takada@zebra.org>
3572
3573 * ospf_packet.c (ospf_check_network_mask): Added new function for
3574 receiving Raw IP packet on an appropriate interface.
3575
35761999-07-16 Toshiaki Takada <takada@zebra.org>
3577
3578 * ospfd.c (ospf_router_id): new DEFUN added.
3579
35801999-07-15 Toshiaki Takada <takada@zebra.org>
3581
3582 * ospf_spf.c (ospf_spf_init), (ospf_spf_free),
3583 (ospf_spf_has_vertex), (ospf_vertex_lookup),
3584 (ospf_spf_next_router), (ospf_spf_next_network),
3585 (ospf_spf_closest_vertex), (ospf_spf_calculate):
3586 function added.
3587
35881999-07-13 Toshiaki Takada <takada@zebra.org>
3589
3590 * ospf_ism.c: fix bug of DR Election.
3591
3592 * ospf_nsm.c: fix bug of adjacency forming.
3593
35941999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
3595
3596 * ospfd.c (ospf_init): Change to use install_default.
3597
35981999-07-01 Rick Payne <rickp@rossfell.co.uk>
3599
3600 * ospf_zebra.c (zebra_init): Install standard commands to
3601 ZEBRA_NODE.
3602
36031999-06-30 Toshiaki Takada <takada@zebra.org>
3604
3605 * ospf_dump.c: Whole debug command is improved.
3606 (ISM|NSM) (events|status|timers) debug option added.
3607 (show_debugging_ospf): new DEFUN added.
3608
36091999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3610
3611 * ospf_lsa.c (ospf_lsa_lookup_from_list): Change !IPV4_ADDR_CMP to
3612 IPV4_ADDR_SAME.
3613
36141999-06-29 Toshiaki Takada <takada@zebra.org>
3615
3616 * ospf_dump.c (ospf_summary_lsa_dump): Add summary-LSA dump routine.
3617 (ospf_as_external_lsa_dump): Add AS-external-LSA dump routine.
3618
3619 * ospf_nsm.c (nsm_twoway_received): fix condtion of adjacnet.
3620
3621 * ospf_ism.c (ospf_dr_election): fix DR Election.
3622
3623 * ospf_dump.c (ospf_nbr_state_message): fix `show ip ospf neighbor'
3624 command's state.
3625
36261999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3627
3628 * ospf_dump.c (ospf_router_lsa_dump): Add router-LSA dump routine.
3629
36301999-06-28 Toshiaki Takada <takada@zebra.org>
3631
3632 * ospf_lsa.c (show_ip_ospf_database_network): fix bug of
3633 `show ip ospf database network' command output.
3634
3635 * ospf_nsm.c (nsm_inactivity_timer): Clear list of Link State
3636 Retransmission, Database Summary and Link State Request.
3637
3638 * ospf_packet.c (ospf_ls_req_timer): New function added.
3639 Set Link State Request retransmission timer.
3640
36411999-06-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3642
3643 * ospf_main.c (main): Change default output from ZLOG_SYSLOG to
3644 ZLOG_STDOUT.
3645
3646 * ospfd.c (ospf_init): Register show_ip_ospf_interface_cmd and
3647 show_ip_ospf_neighbor_cmd to VIEW_NODE.
3648
3649 * ospf_lsa.c (ospf_lsa_init): Register show_ip_ospf_database_cmd
3650 and show_ip_ospf_database_type_cmd to VIEW_NODE.
3651
36521999-06-25 Toshiaki Takada <takada@zebra.org>
3653
3654 * ospf_packet.c: fix bug of DD making.
3655 fix bug of LS-Update reading.
3656
36571999-06-23 Toshiaki Takada <takada@zebra.org>
3658
3659 * ospf_packet.c: All type of packets are changed to use
3660 fifo queue structure.
3661 (ospf_fill_header) function added.
3662
36631999-06-22 Toshiaki Takada <takada@zebra.org>
3664
3665 * ospf_packet.c (ospf_packet_new): New function added to handle
3666 sending ospf packet by fifo queue structure.
3667 (ospf_packet_free), (ospf_fifo_new), (ospf_fifo_push),
3668 (ospf_fifo_pop), (ospf_fifo_head), (ospf_fifo_flush),
3669 (ospf_fifo_free): Likewise.
3670
36711999-06-21 Toshiaki Takada <takada@zebra.org>
3672
3673 * ospf_nsm.c (ospf_db_desc_timer): function added.
3674 (nsm_timer_set) function added.
3675 * ospf_dump.c (ospf_option_dump): function added.
3676 * ospf_packet.c (ospf_ls_req) (ospf_make_ls_req): function added.
3677
36781999-06-20 Toshiaki Takada <takada@zebra.org>
3679
3680 * ospf_lsa.c (ospf_lsa_more_recent): function added.
3681 * ospf_neighbor.h (struct ospf_neighbor): Change member ms_flag
3682 to dd_flags.
3683
36841999-06-19 Toshiaki Takada <takada@zebra.org>
3685
3686 * ospf_lsa.c: DEFUN (show_ip_ospf_database) Added.
3687 * ospf_interface.c (if_ospf_cost), (if_ospf_dead_interval),
3688 (if_ospf_hello_interval), (if_ospf_priority),
3689 (if_ospf_retransmit_interval), (if_ospf_transmit_delay)
3690 argument changed from NUMBER to <range>.
3691 DEFUN (if_ospf_network_broadcast),
3692 DEFUN (if_ospf_network_non_broadcast),
3693 DEFUN (if_ospf_network_point_to_multipoint),
3694 DEFUN (if_ospf_network_point_to_point) functions are combined to
3695 DEFUN (if_ospf_network).
3696
36971999-06-18 Toshiaki Takada <takada@zebra.org>
3698
3699 * ospf_lsa.c: ospf_add_router_lsa (), ospf_add_network_lsa (),
3700 ospf_lsa_lookup (), ospf_lsa_count () Added.
3701
37021999-06-15 Toshiaki Takada <takada@zebra.org>
3703
3704 * DEFUN (ospf_debug_ism), DEFUN (ospf_debug_nsm),
3705 DEFUN (no_ospf_debug_ism), DEFUN (no_ospf_debug_nsm) Added.
3706 `debug ospf ism' command shows debug message.
3707 `debuf ospf nsm' command shows debug message.
3708
37091999-06-14 Toshiaki Takada <takada@zebra.org>
3710
3711 * ospf_lsa.c: ospf_network_lsa () Added.
3712 ospf_lsa_checksum () Added.
3713 * DEFUN (ospf_debug_packet), DEFUN (no_ospf_debug_packet) Added.
3714 `debug ospf packet' command shows debug message.
3715
37161999-06-13 Toshiaki Takada <takada@zebra.org>
3717
3718 * ospf_packet.h: Remove struct ospf_ls_req {}, ospf_ls_upd {},
3719 ospf_ls_ack {}.
3720
37211999-06-11 Toshiaki Takada <takada@zebra.org>
3722
3723 * ospf_dump.c: fix IP packet length treatment.
3724
37251999-06-10 Toshiaki Takada <takada@zebra.org>
3726
3727 * ospf_ism.h: Add OSPF_ISM_EVENT_EXECUTE() Macro Added.
3728 * ospf_nsm.h: Add OSPF_NSM_EVENT_EXECUTE() Macro Added.
3729
3730 * ospf_packet.c: ospf_db_desc (), ospf_db_desc_send () Added.
3731 ospf_make_hello (), ospf_make_db_desc () Added.
3732 ospf_db_desc_proc () Added.n
3733
3734 * Database Description packet can be processed.
3735
37361999-06-08 Toshiaki Takada <takada@zebra.org>
3737
3738 * ospf_lsa.c: New file.
3739
37401999-06-07 Toshiaki Takada <takada@zebra.org>
3741
3742 * ospf_neighbor.c: ospf_fully_adjacent_count () Added.
3743
37441999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
3745
3746 * ospf_spf.[ch]: New file.
3747
37481999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3749
3750 * ospf_zebra.c: Changed to use lib/zclient.c routines.
3751
3752 * ospf_zebra.h (zebra_start): Remove struct zebra.
3753
37541999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3755
3756 * ospfd.c (ospf_config_write): Add cast (unsigned long int) to
3757 ntohl for sprintf warning.
3758
37591999-05-19 Toshiaki Takada <takada@zebra.org>
3760
3761 * ospf_ism.c (ospf_dr_election): Join AllDRouters Multicast group
3762 if interface state changes to DR or BDR.
3763
37641999-05-14 Stephen R. van den Berg <srb@cuci.nl>
3765
3766 * ospf_main.c (signal_init): SIGTERM call sigint.
3767 (sigint): Logging more better message.
3768
37691999-05-12 Toshiaki Takada <takada@zebra.org>
3770
3771 * ospfd.c: Fix bug of `no router ospf' statement, it will work.
3772
37731999-05-11 Toshiaki Takada <takada@zebra.org>
3774
3775 * ospf_neighbor.c: ospf_nbr_free () Added.
3776
37771999-05-10 Toshiaki Takada <takada@zebra.org>
3778
3779 * ospfd.h: struct ospf_area { }, struct ospf_network { } Changed.
3780 * Fix bug of `no network' statement, it will work.
3781
37821999-05-07 Toshiaki Takada <takada@zebra.org>
3783
3784 * ospf_interface.c, ospf_zebra.c: Fix bug of last interface is not
3785 updated by ospf_if_update ().
3786
37871999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3788
3789 * Makefile.am (noinst_HEADERS): Add ospf_lsa.h for distribution.
3790
37911999-04-25 Toshiaki Takada <takada@zebra.org>
3792
3793 * ospf_interface.c: DEFUN (no_if_ospf_cost),
3794 DEFUN (no_if_ospf_dead_interval),
3795 DEFUN (no_if_ospf_hello_interval),
3796 DEFUN (no_if_ospf_priority),
3797 DEFUN (no_if_ospf_retransmit_interval),
3798 DEFUN (no_if_ospf_transmit_delay) Added.
3799
3800 interface_config_write () suppress showing interface
3801 default values.
3802
38031999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3804
3805 * ospf_dump.c (ospf_timer_dump): If thread is NULL return "inactive".
3806
3807 * ospfd.c (ospf_if_update): Fix bug of using ospf_area { } instead
3808 of ospf_network { }. So `router ospf' statement in ospfd.conf
3809 works again.
3810 (ospf_if_update): Call ospf_get_router_id for updating router ID.
3811
38121999-04-25 Toshiaki Takada <takada@zebra.org>
3813
3814 * ospf_interface.c: DEFUN (if_ospf_network) deleted.
3815 DEFUN (if_ospf_network_broadcast),
3816 DEFUN (if_ospf_network_non_broadcast),
3817 DEFUN (if_ospf_network_point_to_multipoint),
3818 DEFUN (if_ospf_network_point_to_point),
3819 DEFUN (no_if_ospf_network) Added.
3820
38211999-04-23 Toshiaki Takada <takada@zebra.org>
3822
3823 * ospfd.h: struct area { } changed to struct ospf_network { }.
3824 Add struct ospf_area { }.
3825 * ospfd.c: Add ospf_area_lookup_by_area_id (), ospf_network_new (),
3826 and ospf_network_free ().
3827 DEFUN (area_authentication), DEFUN (no_area_authentication) Added.
3828
38291999-04-22 Toshiaki Takada <takada@zebra.org>
3830
3831 * ospf_lsa.h: New file.
3832 * ospf_packet.h: LSA related struct definition are moved to
3833 ospf_lsa.h.
3834 * ospf_packet.c: ospf_verify_header () Added.
3835
38361999-04-21 Toshiaki Takada <takada@zebra.org>
3837
3838 * ospf_ism.c: ospf_elect_dr () and related function is changed.
3839 DR Election bug fixed.
3840 * ospf_dump.c: ospf_nbr_state_message (), ospf_timer_dump () Added.
3841 * ospfd.c: DEFUN (show_ip_ospf_neighbor) Added.
3842
38431999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
3844
3845 * ospf_main.c (main): access_list_init () is added for vty
3846 connection filtering.
3847
38481999-04-16 Toshiaki Takada <takada@zebra.org>
3849
3850 * ospfd.c: DEFUN (show_ip_ospf_interface) Added.
3851 * ospf_neighbor.c: ospf_nbr_count () Added.
3852
38531999-04-15 Toshiaki Takada <takada@zebra.org>
3854
3855 * ospfd.h: struct ospf { } Changed.
3856 * ospfd.c: ospf_lookup_by_process_id () Deleted.
3857 * ospf_ism.c: ospf_wait_timer () Added. WaitTimer will work.
3858
38591999-04-14 Toshiaki Takada <takada@zebra.org>
3860
3861 * ospf_ism.c: ospf_elect_dr () Added.
3862 * ospf_network.c: ospf_if_ipmulticast () Added.
3863
38641999-04-11 Toshiaki Takada <takada@zebra.org>
3865
3866 * ospf_interface.c: interface_config_write (),
3867 DEFUN (if_ip_ospf_cost),
3868 DEFUN (if_ip_ospf_dead_interval),
3869 DEFUN (if_ip_ospf_hello_interval),
3870 DEFUN (if_ip_ospf_priority),
3871 DEFUN (if_ip_ospf_retransmit_interval) and
3872 DEFUN (if_ip_ospf_transmit_delay) Added.
3873
38741999-04-08 Toshiaki Takada <takada@zebra.org>
3875
3876 * ospf_dump.c: ospf_packet_db_desc_dump () Added.
3877 * ospf_neighbor.c: ospf_nbr_bidirectional () Added.
3878 * ospf_nsm.c: nsm_twoway_received () Added.
3879
38801999-04-02 Toshiaki Takada <takada@zebra.org>
3881
3882 * ospf_neighbor.c: New file.
3883 * ospf_neighbor.h: New file.
3884 * ospf_nsm.c: New file.
3885 * ospf_nsm.h: New file.
3886 * ospf_packet.c: Add ospf_make_header (), ospf_hello () and
3887 ospf_hello_send (). Now OSPFd can receive Hello and send Hello.
3888
38891999-03-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3890
3891 * ospf_packet.c: Add ospf_recv_packet (). Now OSPF Hello can receive.
3892
38931999-03-19 Toshiaki Takada <takada@zebra.org>
3894
3895 * ospf_packet.c: New file.
3896 * ospf_packet.h: New file.
3897 * ospf_network.c: New file.
3898 * ospf_network.h: New file.
3899 * ospfd.h: move OSPF message structure has moved to ospf_packet.h.
3900
39011999-03-17 Kunihiro Ishiguro <kunihiro@zebra.org>
3902
3903 * ospf_zebra.c (ospf_zebra_get_interface): Fix for IPv6 interface
3904 address.
3905
3906 * Makefile.am (install-sysconfDATA): Overwrite install-sysconfDATA
3907 for install ospfd.conf.sample as owner read only file.
3908
3909 * ospf_main.c (usage): Change to use ZEBRA_BUG_ADDRESS.
3910
39111999-03-15 Toshiaki Takada <takada@zebra.org>
3912
3913 * ospf_ism.c: New file.
3914 * ospf_ism.h: New file.
3915 * ospf_dump.c: New file.
3916 * ospf_dump.h: New file.
3917
3918 * ospfd.h: Add (struct ospf), (struct config_network),
3919 (struct message) structure.
3920
3921 * ospf_interface.c: Add ospf_if_match_network ().
3922 * ospf_interface.h (struct ospf_interface): Change struct members.
3923
3924 * ospfd.c: ospf_lookup_by_process_id (), ospf_network_new (),
3925 DEFUN (network_area): Added.
3926
3927 * ospfd.conf.sample: Change sample configuration.
3928
39291999-03-05 Toshiaki Takada <takada@zebra.org>
3930
3931 * ospf_interface.c: New file.
3932 * ospf_interface.h: New file.
3933 * ospf_zebra.h: New file.
3934 * ospf_zebra.c: Add interface function for zebra daemon.
3935 * ospfd.c: New file.
3936
39371999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3938
3939 * Move IPv6 codes and files to ospf6d directory.
3940
39411999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
3942
3943 * syslog support added
3944
39451998-12-22 Toshiaki Takada <takada@zebra.org>
3946
3947 * ospfd.h: New file.
3948 * ospf_lsa.h: New file.
3949
39501998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
3951
3952 * Makefile.am: New file.
3953 * ospf_main.c: New file.
3954