]> git.proxmox.com Git - mirror_frr.git/blob - ospfd/ChangeLog
[ospfd] Fix multicast membership drop bug
[mirror_frr.git] / ospfd / ChangeLog
1 2006-06-15 Paul Jakma <paul.jakma@sun.com>
2
3 * ospf_interface.h: (struct ospf_if_info) Add reference counts
4 for multicast group memberships. Add various macros to help
5 manipulate/check membership state.
6 * ospf_interface.c: (ospf_if_set_multicast) Maintain the
7 ospf_if_info reference counts, and only actually drop
8 memberships if it hits 0, to avoid losing membership when
9 OSPF is disabled on an interface with multiple active OSPF
10 interfaces.
11 * ospf_packet.c: (ospf_{hello,read}) Use the new macros to
12 check/set
13 multicast membership.
14 * ospf_vty.c: (show_ip_ospf_interface_sub) ditto.
15
16 2006-05-31 Paul Jakma <paul.jakma@sun.com>
17
18 * ospf_lsdb.c: (ospf_lsdb_delete) robustify against NULL arguments,
19 print warning.
20 * ospf_lsa.c: (ospf_discard_from_db) ditto.
21 (ospf_maxage_lsa_remover) Check lsa->lsdb for validity, possible
22 mitigation (but not solution) for bug #269.
23
24 2006-05-30 Paul Jakma <paul.jakma@sun.com>
25
26 * ospf_packet.c: (ospf_read) Debug message about packets
27 received on unenabled interfaces should be conditional on
28 debug being set.
29
30 2006-05-13 Paul Jakma <paul.jakma@sun.com>
31
32 * ospf_lsa.c: (ospf_translated_nssa_refresh) fix the sanity
33 check to match the assert, small error in CID #13 fix.
34
35 2006-05-12 Paul Jakma <paul.jakma@sun.com>
36
37 * ospf_lsa.c: (ospf_lsa_action) Get rid of the ospf_lookup
38 call, which is not checked for NULL return, by stripping out
39 functionality which is never used, hence fixing Coverity CID
40 #29.
41 (struct lsa_action) remove unused member.
42 (ospf_translated_nssa_refresh) Add non-assert sanity check,
43 in case DEBUG isn't defined.
44 Debug message when no type7 exists should print the ID from
45 the type5, not the type7, fixes CID #13.
46 * ospf_interface.c: (ospf_if_exists) Fix missing NULL return
47 check on ospf_lookup, CID #27.
48 * ospf_asbr.c: (ospf_redistribute_withdraw) remove ospf_lookup
49 call by taking the struct ospf * as argument, which the
50 caller has, fixing CID #28.
51 * ospf_asbr.h: (ospf_redistribute_withdraw) update declaration
52 * ospf_zebra.c: (ospf_redistribute_unset) update call to
53 ospf_redistribute_withdraw to match.
54 * ospf_ia.c: (ospf_update_router_route) ospf->backbone could be
55 NULL when passed to ospf_find_asbr_route_through_area,
56 check for NULL first, CID #14.
57 * ospf_ism.c: (ism_change_state) NULL check on oi->area is
58 useless, it's always valid. Only possibility where it
59 couldn't be is if there is a race between abr_task and
60 cleaning up oi's, in which case a NULL check here isn't going
61 to do anything. Fixes CID #15.
62
63 2006-05-11 Paul Jakma <paul.jakma@sun.com>
64
65 * ospf_vty.c: (general) Audit ospf_lookup calls in commands,
66 ensure check for NULL result, make vty messages consistent.
67 (show_ip_ospf_interface) Missing NULL check on ospf_lookup
68 result, fixes Coverity CID #70.
69 (no_ospf_area_filter_list) Check NULL result from
70 ospf_area_lookup_by_area_id, fixes Coverity CID #69
71 * ospf_route.c: (ospf_route_delete_same_ext) Fix deref before
72 NULL check by moving into check-protected block, fix CID #49.
73 * ospf_abr.c: (ospf_area_range_cost_set) Shouldn't create a new
74 range, should just lookup to see if one exists, the new range
75 is just leaked. Fixes CID #46.
76 * ospf_lsa.c: (ospf_default_originate_timer) Let the thread
77 take (struct ospf *) as thread argument, rather than (struct
78 ospf *)->default_originate, thus avoiding having to call
79 ospf_lookup.
80 * ospf_zebra.c: (ospf_redistribute_default_set) change setup
81 of ospf_default_originate_timer thread to match.
82 * ospfd.c: (ospf_router_id_update) ditto.
83
84 2006-04-24 Paul Jakma <paul.jakma@sun.com>
85
86 * (general) More Virtual-link fixes, again with much help in
87 testing / debug from Juergen Kammer. Primarily in SPF.
88 * ospf_spf.h: Add guard. ospf_interface.h will include this
89 header.
90 * ospf_interface.h: Modify ospf_vl_lookup definition to take
91 struct ospf as argument, so as to allow for NULL area
92 argument.
93 (struct ospf_vl_data) Remove out_oi, instead add a struct
94 vertex_nexthop, to use as initial nexthop for backbone paths
95 through a vlink.
96 * ospf_interface.c: (ospf_vl_lookup) Modified to allow
97 NULL area to be passed to indicate "any" (first) area.
98 Add extra debug.
99 (ospf_vl_set_params) vl_oi -> nexthop. Add extra debug.
100 (ospf_vl_up_check) Fix debug, inet_ntoa returns a static
101 buffer..
102 * ospf_route.c: (ospf_intra_add_router) Vlinks dont go through
103 backbone, don't bother checking.
104 * ospf_spf.c: (static struct list vertex_list) Record vertices
105 that will need to be freed.
106 (cmp) Order network before router vertices, as required,
107 wasn't implemented.
108 (vertex_nexthop_free) Mild additional robustness check.
109 (vertex_parent_free) Take void argument, as this function
110 is passed as list deconstructor for vertex parent list.
111 (ospf_vertex_new) More debug. Set deconstructor for parent
112 list. Track allocated vertices on the vertex_list.
113 (ospf_vertex_free) Get rid of the tricky recursive cleanup of
114 vertices. Now frees only the given vertex.
115 (ospf_vertex_add_parent) Fix assert.
116 (ospf_nexthop_calculation) Fix calculation of nexthop for
117 VLink vertices, lookup the vl_data and use its previously
118 recorded nexthop information.
119 (ospf_spf_calculate) Vertices are freed simply by deleting
120 vertex_list nodes and letting ospf_vertex_free as deconstructor
121 work per-node.
122 (ospf_spf_calculate_timer) Trivial optimisation, leave
123 backbone SPF calculation till last to reduce SPF churn on
124 VLink updates.
125 * ospf_vty.c: (ospf_find_vl_data) update call to ospf_vl_lookup
126 (no_ospf_area_vlink_cmd) ditto.
127 (show_ip_ospf_interface_sub) For Vlinks, the peer address is
128 more interesting than the output interface.
129
130 2006-04-03 Paul Jakma <paul.jakma@sun.com>
131
132 * (general) Fix issues with handling of Vlinks and entries
133 in the nbrs route-table which were highlighted by the
134 nsm/nbr_self fixes from bug #234. Many thanks to Juergen
135 Kammer for his help and efforts in testing out debug patches to
136 pinpoint the issue.
137 * ospf_interface.c: (ospf_vl_new) Add nbr_self for Vlink.
138 * ospf_neighbor.c: (ospf_nbr_key) new static function, helper
139 to create key in nbrs table for a given nbr.
140 (ospf_nbr_delete) Use ospf_nbr_key. Add an assert() to
141 document an expected state.
142 (ospf_nbr_add_self) Ditto.
143 (ospf_nbr_lookup_by_addr) Add an assert.
144 * ospf_nsm.c: (nsm_kill_nbr) Can never kill the nbr_self
145 psuedo-neighbour.
146
147 2006-03-27 Paul Jakma <paul.jakma@sun.com>
148
149 * ospf_lsa.c: (ospf_lsa_checksum) Add an explicit cast to avoid
150 the ambiguities of ANSI and C99 C with respect to type
151 conversion. Detailed problem report and test case with
152 example data supplied by Dmitry Ivanov <dimss@telecentrs.lv>.
153
154 2006-03-25 Paul Jakma <paul.jakma@sun.com>
155
156 * ospf_interface.c: (ospf_if_lookup_recv_if) Ignore loopbacks,
157 we can never ever receive packets on those. Should fix
158 case where CARP is run with address in same subnet as real
159 interface. Problem report and diagnosis thanks to:
160 Landon Fuller <landonf@opendarwin.org>.
161 However, ospf_read() still can't deal deterministically with
162 multiple interfaces in same subnet.
163
164 2006-03-23 Steve Lawson <steve.lawson@aheadcomusa.com>
165
166 * ospf_lsa.c: (ospf_lsa_install) Fix incorrect byte-order
167 conversion of OSPF_MAX_SEQUENCE_NUMBER
168
169 2006-01-19 Paul Jakma <paul.jakma@sun.com>
170
171 * (general) various miscellaneous compiler warning fixes.
172 Remove redundant break statements from switch clauses
173 which return.
174 return from main, not exit, cause it annoys SOS.
175 Remove stray semi-colons which cause empty-statement
176 warnings.
177
178 2006-01-18 Juergen Kammer <j.kammer@eurodata.de>
179
180 * ospf_lsa.c: (ospf_router_lsa_new) dont take reference to the
181 stream data until it is constructed, data reference is
182 volatile due to the potential resize in link_info_set
183
184 2006-01-18 Paul Jakma <paul.jakma@sun.com>
185
186 * ospf_lsa.c: (link_info_set) Resize the stream if required and
187 possible. Return number of links added.
188 (lsa_link_*_set) use return value from previous.
189 * ospf_lsa.h: Add OSPF_ROUTER_LSA_LINK_SIZE define.
190
191 2006-01-17 Paul Jakma <paul.jakma@sun.com>
192
193 * ospf_packet.c: (ospf_verify_header) print out the types
194 involved if there's a mismatch.
195 * ospf_zebra.c: (ospf_zebra_add) Adjust to new zserv format.
196
197 2006-01-10 Len Sorensen <lennartsorensen@ruggedcom.com>
198
199 * (general) Bug #234, see also [quagga-dev 3902].
200 Fix problem with nbr_self not being properly reinitialised
201 when an interface comes up, after having been down.
202 Some re-arrangement done by Paul Jakma, any bugs introduced
203 on top of Len's suggested changes are his.
204 * ospf_neighbor.c: (ospf_nbr_add_self) centralise
205 initialisation of nbr_self parameters here.
206 * ospf_interface.c: (ospf_if_new) deleting initialisation of
207 parameters of nbr_self, just rely on call to
208 ospf_nbr_add_self.
209 (ospf_if_cleanup) ditto.
210 * ospfd.c: (ospf_network_run) ditto.
211
212 2006-01-10 Juris Kalnins <juris@mt.lv>
213
214 * ospf_zebra.c: (ospf_interface_address_delete) fix rare leak of
215 struct connected in an error case.
216 * ospf_packet.c: (ospf_make_md5_digest) fix odd, if not
217 undefined effect, assignment of an increment expression.
218
219 2006-01-10 Paul Jakma <paul.jakma@sun.com>
220
221 * ospfd.c: (ospf_network_run) checking to see if router-id
222 is set should be on ospf->router_id, not router_id_static.
223 This was causing ospfd to not start if router-id had not
224 been configured statically.
225 (ospf_if_update) ditto.
226 * ospf_vty.c: (config_write_ospf_distribute) trim down
227 redundant strings.
228
229 2005-11-26 Paul Jakma <paul.jakma@sun.com>
230
231 * ospf_api.c: (struct opaque_lsa) change from gcc zero-length
232 array to C99 incomplete type array.
233 * (general) s/graceful/deferred/ in all files, the former term
234 is confusing wrt OSPF Graceful-Restart.
235 * ospfd.c: (ospf_deferred_shutdown_check) dont return
236 a function which returns void. SOS complains about this.
237 (ospf_finish)
238
239 2005-11-20 Paul Jakma <paul.jakma@sun.com>
240
241 * ospfd.h: remove the OSPF_ROUTER_ID_UPDATE_DELAY define
242 (struct ospf) remove the router_id timer thread.
243 remove export of ospf_router_id_update_timer.
244 * ospfd.c: (ospf_router_id_update) call ospf_if_update to
245 poke interfaces into action after ID has been configured.
246 (ospf_router_id_update_timer) removed.
247 (ospf_finish_final) t_router_id_update timer is gone.
248 (ospf_network_run) router-id update timer gone.
249 call ospf_router_id_update directly if ID not configured.
250 In the per-iface loop, don't ospf_if_up interfaces if
251 ID is still not configured. The update function will call
252 ospf_if_update anyway.
253 (ospf_if_update) ID update timer is gone. Just return if no
254 ID is set.
255 * ospf_vty.c: (ospf_router_id) call ospf_router_id_update, no
256 timer needed.
257 * ospf_zebra.c: (ospf_router_id_update_zebra) call
258 ospf_router_id_update directly, not via timer.
259 * ospf_abr.c: (ospf_abr_announce_network_to_area) check
260 returned LSA of ospf_summary_lsa_refresh and print warning if
261 it failed.
262 (ospf_abr_announce_network_to_area) similar
263 (ospf_abr_announce_rtr_to_area) similar
264 * ospf_lsa.c: (ospf_router_lsa_new) check LSA returned is valid.
265 (ospf_router_lsa_originate) similar
266 (ospf_router_lsa_refresh, ospf_network_lsa_new) similar
267 (ospf_summary_lsa_new) Check ID is valid.
268 (ospf_summary_lsa_originate) ditto, and check returned LSA from
269 previous function is !NULL.
270 (ospf_summary_lsa_refresh) check ospf_summary_lsa_new return
271 is !NULL.
272 (ospf_summary_asbr_lsa_new) ID valid check.
273 (ospf_summary_asbr_lsa_originate) similar.
274
275 2005-11-16 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
276
277 * ospf_dump.h: Define OSPF_TIME_DUMP_SIZE as appropriate buffer size
278 for use with ospf_timer_dump and ospf_timeval_dump.
279 * ospf_vty.c: Change all buffer sizes used with ospf_timer_dump and
280 ospf_timeval_dump to have size OSPF_TIME_DUMP_SIZE.
281 (show_ip_ospf_interface_sub) Fix possible buffer overflow in
282 call to ospf_timer_dump.
283
284 2005-11-16 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
285
286 * ospf_ism.h: (OSPF_ISM_TIMER_OFF) Improve macro syntax by enclosing
287 in 'do {...} while(0)'.
288
289 2005-11-14 Paul Jakma <paul.jakma@sun.com>
290
291 * ospfd.c: (ospf_new) stub-shutdown should just default to
292 unconfigured, too strange otherwise.
293 (ospf_finish_final) t_opaque_lsa_self TIMER_OFF should be
294 preprocessor conditional on HAVE_OPAQUE_LSA.
295 * ospfd.h: (struct ospf) remove the SHUTDOWN_DEFAULT define.
296 no longer used, plus it wasn't in range that the command
297 accepted.
298 * ospf_zebra.h: Depends on vty.h, include it.
299
300 2005-11-11 Paul Jakma <paul.jakma@sun.com>
301
302 * ospf_spf.c: (ospf_canonical_nexthops_free) Free only
303 the nexthops pointing to the root vertex. We may visit a
304 vertex twice or the vertex may have some inherited nexthops,
305 if we free other nexthops we could crash.
306
307 2005-11-04 Paul Jakma <paul.jakma@sun.com>
308
309 * ospf_{dump,spf,vty}.c: Oops, use the internal tv_sub
310 function rather than unportable timersub.
311
312 2005-11-03 Paul Jakma <paul.jakma@sun.com>
313
314 * ospf_apiserver.c: (apiserver_sync_callback) stray semi-colon
315 * ospf_packet.c: include checksum.h, remove the in_cksum extern
316 * prototypes.
317 * ospf_te.h: Add braces, quell warning.
318 * ospf_packet.c: Change level of some warnings to
319 informational.
320
321 2005-10-29 Paul Jakma <paul.jakma@sun.com>
322
323 * (general) RFC3137 stub-router support
324 * ospfd.h: Add OSPF_OUTPUT_COST_INFINITE define.
325 (struct ospf_master) Add a OSPF_MASTER_SHUTDOWN flag for
326 options, to allow shutdown to distinguish between complete
327 shutdown and shutdown of a subset of ospf instances.
328 (struct ospf)
329 Add stub_router_{startup,shutdown_}time, configuration of startup
330 and shutdown time for stub-router.
331 Add t_graceful_shutdown struct thread, timer for graceful
332 shutdown, if needed.
333 (struct ospf_area) Add stub_router_state - run time state of
334 stub-router for an area. Add flags for ADMIN, IS and WAS
335 states.
336 Add t_stub_router, timer thread to resend router-lsa for an
337 area.
338 * ospf_lsa.c: (ospf_link_cost) new simple function to spit out
339 either the given lnks cost or infinite cost if stub-router is
340 in effect.
341 (lsa_link_{ptop,broadcast,virtuallink,ptomp}_set) use
342 previous function for transit-links.
343 (ospf_stub_router_timer) timer thread for end of startup stub
344 router. Change state as required for the area and setup
345 re-origination of router-lsa.
346 (ospf_stub_router_check) Check/do whether stub-router should be
347 enabled, and whether it requires timer to be setup.
348 (ospf_router_lsa_new) call previous function at top.
349 (ospf_router_lsa_originate) no external callers, made static.
350 * ospf_lsa.h: (ospf_router_lsa_originate) removed.
351 * ospf_main.c: (sigint) make static.
352 remove call to exit, as ospf_terminate now deals with
353 exiting.
354 * ospf_route.c: (ospf_terminate) removed, now in ospfd.c.
355 * ospf_vty.c: (show_ip_ospf_area) print out state of
356 stub-router, if active.
357 (show_ip_ospf) print out configuration of stub-router
358 support, and details of graceful-shutdown if the timer is
359 active.
360 ((no)?ospf_max_metric_router_lsa_{admin,startup,shutdown}) new
361 commands to (de-)?configure stub-router support.
362 (config_write_stub_router) write out config of stub-router.
363 (ospf_config_write) call previous.
364 (ospf_vty_init) install the new stub-router commands.
365 * ospfd.c: various functions made static.
366 (ospf_new) Set defaults for stub-router. Graceful shutdown
367 is made to default on, just to be adventerous.
368 (ospf_graceful_shutdown_finish) new function, final part of
369 shutdown.
370 (ospf_graceful_shutdown_timer) timer thread wrapper for
371 graceful-shutdown.
372 (ospf_graceful_shutdown_check) check whether to setup timer
373 for shutdown or proceed directly to final shutdown.
374 (ospf_terminate) moved here from ospf_route.c, call
375 ospf_finish for each instance.
376 (ospf_finish) renamed to ospf_finish_final and made static.
377 (ospf_finish) new function, exported wrapper around
378 ospf_graceful_shutdown_check.
379 (ospf_finish_final) complete shutdown of an instance.
380 Add missing TIMER_OFF's of two timer threads.
381 (ospf_area_free) opaque self lsa timer should be turned off.
382
383 2005-10-23 Paul Jakma <paul.jakma@sun.com>
384
385 * ospf_apiserver.c: (ospf_apiserver_term) This function should
386 not have side-effects (eg segv) if no apiserver instances are
387 active, ie be robust.
388 * ospf_vty.c: (show_ip_ospf) fix display of SPF timer if it
389 has not yet been run.
390
391 2005-10-21 Paul Jakma <paul.jakma@sun.com>
392
393 * ospf_dump.c: (ospf_timeval_dump) fix ms adjustment, thanks to
394 Andrew Schorr.
395 * ospf_vty.c: (ospf_config_write) fix write out of spf timers
396 configuration.
397
398 2005-10-21 Paul Jakma <paul.jakma@sun.com>
399
400 * (general) SPF millisecond resolution timer with adaptive,
401 linear back-off holdtime. Prettification of ospf_timer_dump.
402 * ospf_dump.c: (ospf_timeval_dump) new function. The guts of
403 ospf_timer_dump, but made to be more dynamic in printing out
404 the relative timeval, sliding the precision printed out
405 according to the value.
406 (ospf_timer_dump) guts moved to ospf_timeval_dump.
407 * ospf_dump.h: export ospf_timeval_dump.
408 * ospf_flood.c: (ospf_flood) remove gettimeofday, use
409 the libzebra exported recent_time instead, as it's not
410 terribly critical to have time exactly right - the dropped
411 LSA will be retransmited to us if we don't ACK it.
412 * ospf_packet.c: (ospf_ls_upd_timer) Ditto, but here we're
413 not transmitting, just putting LSA back on update transmit list.
414 * ospfd.h: delay and holdtimes should be unsigned.
415 Add spf_max_holdtime and spf_hold_multiplier.
416 Update default defines for delay and hold time to be in msec.
417 (struct ospf) change the SPF timestamp to a struct timeval.
418 Remove ospf_timers_spf_(un)?set.
419 * ospfd.c: (ospf_timers_spf_{set,unset}) removed.
420 (ospf_new) initialise spf_max_holdtime and spf_hold_multiplier
421 * ospf_spf.c: (ospf_spf_calculate) SPF timestamp is a timeval
422 now, update with gettimeofday.
423 (ospf_spf_calculate_schedule) Change SPF timers to millisecond
424 resolution.
425 Make the holdtime be adaptive, with a linear increase in
426 holdtime ever consecutive SPF run which occurs within holdtime
427 of previous SPF, bounded by spf_max_holdtime.
428 * ospf_vty.c: Update spf timers commands.
429 (ospf_timers_spf_set) trivial helper.
430 (ospf_timers_throttle_spf_cmd) new command to set SPF delay,
431 initial hold and max hold times with millisecond resolution.
432 (ospf_timers_spf_cmd) Deprecated. Accept the old values,
433 convert to msec, truncate to new limits.
434 (no_ospf_timers_throttle_spf_cmd) set timers to defaults.
435 (no_ospf_timers_spf_cmd) deprecated form, same as previous.
436 (show_ip_ospf_cmd) Display SPF parameters and times.
437 (show_ip_ospf_neighbour_header) Centralise the 'sh ip os ne'
438 header.
439 (show_ip_ospf_neighbor_sub) Fix the field widths. Get rid of
440 the multiple spaces which were making the lines even longer.
441 (show_ip_ospf_neighbor_cmd) Use show_ip_ospf_neighbour_header
442 (show_ip_ospf_neighbor_all_cmd) ditto and fix the field
443 widths for NBMA neighbours.
444 (show_ip_ospf_neighbor_int) Use header function.
445 (show_ip_ospf_nbr_nbma_detail_sub) use sizeof for timebuf,
446 local array - safer.
447 (show_ip_ospf_neighbor_detail_sub) ditto
448 (ospf_vty_init) install the new SPF throttle timer commands.
449
450 2005-10-21 Paul Jakma <paul.jakma@sun.com>
451
452 * (general) OSPF fast, sub-second hello and 1s dead-interval
453 support.
454 * ospf_dump.c: (ospf_timer_dump) Print out milliseconds too.
455 Callers typically specify a length of 9, so most see
456 millisecs unless they specify the additional length.
457 * ospf_interface.h: (struct ospf_interface) new interface param,
458 fast_hello.
459 * ospf_interface.c: (ospf_if_table_lookup) add brackets,
460 gcc warning fix.
461 (ospf_new_if_params) Initialise fast_hello param.
462 (ospf_free_if_params) Check whether fast_hello is configured.
463 (ospf_if_new_hook) set fast_hello to default.
464 * ospf_ism.h: Wrap OSPF_ISM_TIMER_ON inside do {} while (0) to
465 prevent funny side-effects from its if statement when this
466 macro is used conditionally by other macros.
467 (OSPF_ISM_TIMER_MSEC_ON) new macro, set in milliseconds.
468 (OSPF_HELLO_TIMER_ON) new macro to set hello timer according
469 to whether fast_hello is set.
470 * ospf_ism.c: Update all setting of the hello timer to use
471 either OSPF_ISM_TIMER_MSEC_ON or OSPF_HELLO_TIMER_ON. The
472 former is used when hello is to be sent immediately.
473 * ospf_nsm.c: ditto
474 * ospf_packet.c: (ospf_hello) hello-interval is not checked
475 for mismatch if fast_hello is set.
476 (ospf_read) Annoying nit, fix "no ospf_interface" to be debug
477 rather than a warning, as it can be perfectly normal to
478 receive packets when logical subnets are used.
479 (ospf_make_hello) Set hello-interval to 0 if fast-hellos are
480 configured.
481 * ospf_vty.c: (ospf_auto_cost_reference_bandwidth) annoying
482 nit, don't vty_out if this command is given, it gets tired
483 quick.
484 (show_ip_ospf_interface_sub) Print the hello-interval
485 according to whether fast-hello is set or not.
486 Print the extra 5 millisec characters from (ospf_timer_dump)
487 if fast-hello is configured.
488 (ospf_vty_dead_interval_set) new function, common to all
489 forms of dead-interval command, to set dead-interval and
490 fast-hello correctly. If a dead-interval is given, unset
491 fast-hello, else if a hello-multiplier is set, set
492 dead-interval to 1 and fast-hello to given multiplier.
493 (ip_ospf_dead_interval_addr_cmd) use
494 ospf_vty_dead_interval_set().
495 (ip_ospf_dead_interval_minimal_addr_cmd) ditto.
496 (no_ip_ospf_dead_interval) Unset fast-hello.
497 (no_ip_ospf_hello_interval) Bug-fix, unset of hello-interval
498 should set it to OSPF_HELLO_INTERVAL_DEFAULT, not
499 OSPF_ROUTER_DEAD_INTERVAL_DEFAULT.
500 (config_write_interface) Write out fast-hello.
501 (ospf_config_write) Write a comment about
502 "auto-cost reference-bandwidth" having to be equal on all
503 routers. Hopefully just as noticeable as old practice of
504 writing to vty, but less annoying.
505 (ospf_vty_if_init) install the two new dead-interval
506 commands.
507 * ospfd.h: Add defines for OSPF_ROUTER_DEAD_INTERVAL_MINIMAL
508 and OSPF_FAST_HELLO_DEFAULT.
509
510 2005-10-18 Paul Jakma <paul.jakma@sun.com>
511
512 * (general) SPF memory management cleanup and fix for rare
513 double-free bug.
514 * ospf_spf.h: (struct vertex_parent) New struct to hold parent
515 specific data, eg the backlink and the parent vertex pointer,
516 and point to the appropriate general struct vertex_nexthop.
517 (struct vertex_nexthop) remove parent vertex pointer, so
518 this struct can be shared across vertices.
519 (struct vertex) rename list child to list children. Remove
520 list of nexthops, replace with list of vertex_parents.
521 * ospf_spf.c: (update_stat) trivial, remove cast from void *.
522 (vertex_nexthop_new) remove init of parent - field is gone
523 from struct vertex_nexthop.
524 (ospf_canonical_nexthops_free) Remove the canonical
525 vertex_nexthop memory objects. These are the vertex_nexthops
526 attached to the first level of router vertices from the root.
527 (vertex_parent_new) new function, create a vertex_parent.
528 (vertex_parent_free) ditto, but free it.
529 (ospf_vertex_new) Update to match changes to struct vertex.
530 (ospf_vertex_free) Recursively free a struct vertex and its
531 children. The parent list is used as a reference count.
532 vertex_nexthops must be free seperately, if required.
533 (ospf_vertex_dump) update to match struct vertex changes.
534 Print out backlink of parents too.
535 (ospf_vertex_add_parent) ditto.
536 (ospf_lsa_has_link) update comment.
537 (ospf_nexthop_add_unique) removed, not needed anymore.
538 (ospf_nexthop_merge) ditto.
539 (ospf_spf_consider_nexthop) renamed to ospf_spf_add_parent.
540 Simplified to just create vertex_parent and add it.
541 (ospf_spf_flush_parents) new function, flush out the parent
542 list.
543 (ospf_nexthop_calculation) Take the relevant route_lsa_link
544 as an argument, which simplifies things and removes the need
545 for the hack in ospf_nexthop_add_unique - ospf_spf_next
546 already knew exactly which link the cost calculated was for.
547 Update to match struct vertex changes too.
548 (ospf_spf_next) Don't create a vertex for W unnecessarily, if
549 it's there's a vertex already created for W, use it, and
550 hence there's no need to free it either.
551 Update some manipulation/comparisons of distance to match.
552 Flush the parent list if a lower cost path is found.
553 (ospf_spf_route_free) unused, removed.
554 (ospf_spf_dump) match the struct vertex changes, and dump the
555 ifname if possible.
556 (ospf_spf_calculate) At end of SPF, free the canonical nexthops
557 and call ospf_vertex_free on the root vertex to free the
558 entire tree.
559 * ospf_interface.c: (ospf_vl_set_params) match struct vertex
560 changes.
561 * ospf_route.c: (ospf_intra_route_add) ditto
562 (ospf_route_copy_nexthops_from_vertex) ditto
563
564 2005-10-11 Paul Jakma <paul.jakma@sun.com>
565
566 * ospf_api.c: sign warnings.
567 * ospf_apiserver.c: sign warning and convert all the struct
568 in_addr initialisations so as not to make assumptions about
569 how this struct is organised, initialise the s_addr member
570 explicitely.
571 * ospf_packet.c: Add const qualifier to auth_key.
572
573 2005-10-06 Alain Ritoux <alain.ritoux@6wind.com>
574
575 * ospf_snmp.c: Avoid mixing interface and ospf_interface objects
576 which now allows snmpwalk to work with ospfIfTable and
577 also with ospfIfMetricTable
578
579 2005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
580
581 * ospf_dump.c: Remove local hard-coded table ospf_redistributed_proto.
582 (ospf_redist_string) New function implemented using new library
583 function zebra_route_string(). Note that there are a few differences
584 in the output that will result: the new function returns strings
585 that are lower-case, whereas the old table was mixed case. Also,
586 the old table mapped ZEBRA_ROUTE_OSPF6 to "OSPFv3", whereas the
587 new function returns "ospf6".
588 * ospfd.h: Remove extern struct message ospf_redistributed_proto[],
589 and add extern const char *ospf_redist_string(u_int route_type)
590 instead.
591 * ospf_asbr.c: (ospf_external_info_add) In two messages, use
592 ospf_redist_string instead of LOOKUP(ospf_redistributed_proto).
593 * ospf_vty.c: Remove local hard-coded table distribute_str.
594 (config_write_ospf_redistribute,config_write_ospf_distribute): Use
595 new library function zebra_route_string() instead of distribute_str[].
596 * ospf_zebra.c: (ospf_redistribute_set,ospf_redistribute_unset,
597 ospf_redistribute_default_set,ospf_redistribute_check)
598 In debug messages, use ospf_redist_string() instead of
599 LOOKUP(ospf_redistributed_proto).
600
601 2005-09-30 Vincent Jardin <vincent.jardin@6wind.com>
602
603 * ospf_dump.c, ospf_ia.c, ospf_spf.c, ospf_ase.c:
604 remove unused DEBUG
605
606 2005-09-29 Alain Ritoux <alain.ritoux@6wind.com>
607
608 * ospf_ism.c: generate SNMP traps on Interface state change
609 * ospf_nsm.c: generate SNMP traps on Neighbour state change
610 * ospf_snmp.[ch]: support for SNMP traps for interface and neighbours.
611
612 2005-09-29 Alain Ritoux <alain.ritoux@6wind.com>
613
614 * ospf_vty.c: forece default route LSA to be re_issued whenever
615 cost is changed ( [no] ip ospf area XXX default-cost YYY)
616 Support ignore-mtu option
617 * ospfd.h: define OSPF_MTU_IGNORE_DEFAULT
618 * ospf_packet.c: support ignore-mtu option
619 * ospf_interface.h: field added for skipping MTU check
620 * ospf_interface.c: fix memory leak in ospf_crypt_key_delete()
621 Set mtu_ignore field to default value
622 * ospf_abr.[ch]: export ospf_abr_announce_network_to_area()
623 * ospf_ism.h: add MACRO to convert internal ISM status into SNMP
624 correct values
625 * ospf_snmp.c: add sanity check on LSA type in lsdb_lookup_next()
626 convert OSPFIFSTATE internal status into SNMP values
627
628 2005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
629
630 * ospf_packet.c: use new md5 API
631
632 2005-09-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
633
634 * ospf_lsa.h: (ospf_external_lsa_flush) Comment out the 5th argument
635 (nexthop) since it is not used in the function (except inside
636 some commented-out code).
637 * ospf_lsa.c: (ospf_external_lsa_flush,ospf_external_lsa_refresh)
638 Comment out the 5th argument to ospf_external_lsa_flush.
639 * ospf_asbr.c: (ospf_redistribute_withdraw) Comment out 5th arg
640 to ospf_external_lsa_flush.
641 * ospf_vty.c: (no_ospf_default_information_originate) Eliminate 5th
642 uninitialized nexthop arg to ospf_external_lsa_flush.
643 * ospf_zebra.c: (ospf_zebra_read_ipv4) Comment out 5th arg
644 to ospf_external_lsa_flush.
645 * ospfd.c: (ospf_network_set) Comment out 5th arg
646 to ospf_external_lsa_flush.
647
648 2005-09-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
649
650 * ospf_opaque.c:
651 (ospf_opaque_lsa_refresh_schedule,ospf_opaque_lsa_flush_schedule)
652 No need to call ospf_lookup(), just use lsa0->area->ospf instead.
653
654 2005-08-21 Hasso Tepper <hasso at quagga.net>
655
656 * ospf_vty.c: Make "show ip ospf neighbor xxx" commands work.
657 Interface should be specified by name now.
658
659 2005-08-17 Hasso Tepper <hasso at quagga.net>
660
661 * ospf_vty.c: Check carefully if interface exists before trying to
662 print info about it.
663
664 2005-08-05 Hasso Tepper <hasso at quagga.net>
665
666 * ospf_zebra.c: Don't assert/stop before type == ZEBRA_ROUTE_MAX if
667 dealing with routemaps. There is ospf->route_map[ZEBRA_ROUTE_MAX]
668 for default-information.
669
670 2005-07-26 Paul Jakma <paul.jakma@sun.com>
671
672 * ospf_abr.c: (ospf_abr_announce_network_to_area) SET_FLAG
673 should be on lsa not old, which may be freed for one thing,
674 obviously.
675
676 2005-07-12 Paul Jakma <paul.jakma@sun.com>
677
678 * ospfd.h: add OSPF_ABR_DEFAULT for convenience, make
679 OSPF_ABR_CISCO be the default ABR type.
680 * ospfd.c: (ospf_new) initialise abr_type to OSPF_ABR_DEFAULT
681 * ospf_vty.c: (no_ospf_abr_type_cmd) add standard as a negatable
682 abr_type. default abr_type should be OSPF_ABR_DEFAULT.
683 (ospf_config_write) test whether default abr_type against
684 OSPF_ABR_DEFAULT, rather than any specific ABR_TYPE.
685
686 2005-06-20 Hasso Tepper <hasso at quagga.net>
687
688 * ospf_nsm.c: Make database exchange for NSSA database work.
689
690 2005-06-13 Paul Jakma <paul.jakma@sun.com>
691
692 * ospf_spf.c: Try get more information on a SEGV under
693 ospf_spf_vertex_add_parent.
694 (ospf_vertex_free) NULL out the child and nexthop lists
695 (ospf_vertex_add_parent) nexthop and child can not be NULL
696 vertex_nexthop's parent->child list can not be NULL
697 (ospf_spf_next) w and cw are per-loop iteration variables, move
698 declarations into loop body.
699
700 2005-06-07 Hasso Tepper <hasso at quagga.net>
701
702 * ospf_apiserver.c: Fix obvious error in notifying clients about ISM
703 changes - oi->ifp->status doesn't give to us info about ISM,
704 oi->state does.
705
706 2005-06-01 Akihiro Mizutani <mizutani@net-chef.net>
707
708 * ospf_ism.c (ospf_elect_bdr/ospf_elect_dr): Fix DR election bug.
709
710 2005-05-26 Paul Jakma <paul.jakma@sun.com>
711
712 * ospf_abr.c: (ospf_abr_update_aggregate) Fix comment, cost bug itself
713 had been fixed long ago by Sowmini.
714
715 2005-05-19 Paul Jakma <paul.jakma@sun.com>
716
717 * ospf_interface.c: (ospf_if_table_lookup) Fix a serious bug
718 a less serious one.
719 1: this function is supposed to lookup
720 entries in the oifs ospf_interface route_table and return either
721 an existing oi or NULL to indicate not found, its caller depends
722 on this, yet this function uses route_node_get which /always/
723 returns a route_node - one is created if none exists. Use
724 route_node_lookup instead. This should fix root cause of the
725 reports of the (ospf_add_to_if) assert being hit.
726 2: oi's are inserted into this table with prefixlength set to
727 /32 (indeed, it should be a hash table, not a route_table),
728 however prefixlength to lookup was not changed, if no valid entry
729 can be inserted other than /32, then nothng but /32 should be
730 looked up. This possibly only worked by fluke..
731 Fix confirmed by 2 reporters (one list, one IRC), definitely a
732 backport candidate once it has been incubated in HEAD for a while.
733 Thanks to Patrick Friedel and Ivan Warren for testing.
734
735 2005-05-11 Paul Jakma <paul.jakma@sun.com>
736
737 * (general) Fix memory leaks in opaque AS-scope LSAs, reported and
738 with much debugging done by by scott collins <scollins@agile.tv>.
739 * ospf_lsa.c: (ospf_discard_from_db) dont call
740 ospf_ase_unregister_external_lsa for opaque-lsa's, opaques are
741 never registered with ase in the first place.
742 * ospf_packet.c: (general) Disabuse opaque related code of its
743 tendency to try gather up things into temporary lists.
744 (ospf_ls_upd) remove the temporary lists opaque uses, call
745 opaque functions inline, just like all other types.
746 (ospf_ls_ack) ditto.
747 (ospf_recv_packet) fixup sign warning.
748 * ospf_opaque.c: (general) fix the unneeded use of lists, and
749 untwist some of the logic.
750 (ospf_opaque_self_originated_lsa_received) take a single LSA
751 as argument, not a list of them. Remove the list loop. Logic
752 otherwise unchanged.
753 (ospf_opaque_ls_ack_received) Mostly ditto. But untwist the logic,
754 move the actions up into the switch block, remove the goto's and
755 sanitise the logic near the end a bit.
756 * ospf_opaque.h: Adjust definitions of aforementioned functions
757 in ospf_opaque.c to match.
758
759 2005-05-07 Yar Tikhiy <yar@comp.chem.msu.su>
760
761 * ospf_network.c: Log ifindex on multicast membership leave/join
762 events.
763
764 2005-05-06 Paul Jakma <paul.jakma@sun.com>
765
766 * (general) extern and static qualifiers added.
767 unspecified arguments in definitions fixed, typically they should
768 be 'void'.
769 function casts added for callbacks.
770 Guards added to headers which lacked them.
771 Proper headers included rather than relying on incomplete
772 definitions.
773 gcc noreturn function attribute where appropriate.
774 * ospf_opaque.c: remove the private definition of ospf_lsa's
775 ospf_lsa_refresh_delay.
776 * ospf_lsa.h: export ospf_lsa_refresh_delay
777 * ospf_packet.c: (ospf_make_md5_digest) make *auth_key const,
778 correct thing to do - removes need for the casts later.
779 * ospf_vty.c: Use vty.h's VTY_GET_INTEGER rather than ospf_vty's
780 home-brewed versions, shuts up several warnings.
781 * ospf_vty.h: remove VTY_GET_UINT32. VTY_GET_IPV4_ADDRESS and
782 VTY_GET_IPV4_PREFIX moved to lib/vty.h.
783 * ospf_zebra.c: (ospf_distribute_list_update_timer) hacky
784 overloading of the THREAD_ARG pointer should at least use
785 uintptr_t.
786
787 2005-04-15 Zhipeng Gong <zpgong@cdc.3upsystems.com>
788
789 * ospf_abr.c: (ospf_abr_announce_network_to_area) dont forget
790 to approve LSAs for the case where metric has changed, lsa gets
791 flushed otherwise. (backport candidate).
792
793 2005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
794
795 * ospf_zebra.c (ospf_zebra_add): Call zclient_send_message instead
796 of writen.
797
798 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
799
800 * ospf_interface.h: (ospf_if_lookup_by_name) Remove declaration of a
801 function that does not exist.
802
803 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
804
805 * ospf_zebra.c: (zebra_interface_if_lookup) Must use
806 if_lookup_by_name_len.
807
808 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
809
810 * ospf_interface.c: (ospf_vl_new) Use strnlen to fix call to if_create.
811
812 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
813
814 * ospf_vty.c: (show_ip_ospf_interface_sub) Show ifindex and interface
815 flags to help with debugging.
816 * ospf_zebra.c: (ospf_interface_delete) After deleting, set ifp->ifindex
817 to IFINDEX_INTERNAL.
818 (zebra_interface_if_lookup) Make function static. Tighten up code.
819
820 2005-03-31 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
821
822 * ospf_dump.c: (show_debugging_ospf) Show if ospf event debugging
823 is turned on.
824
825 2005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
826
827 * ospf_zebra.c: (ospf_interface_state_up) If the MTU of an operative
828 interface changes, print a debug message and call ospf_if_reset()
829 to simulate down/up on the interface.
830 * ospf_interface.h: Declare new function ospf_if_reset().
831 * ospf_interface.c: (ospf_if_reset) New function to call ospf_if_down
832 and ospf_if_up for all ospf interfaces attached to an interface.
833
834 2005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
835
836 * ospf_packet.c: (ospf_write_frags) Enhance error message to
837 show MTU. Also make function static.
838 (ospf_write) Enhance error message to show interface name and MTU.
839 Also make function static.
840
841 2005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
842
843 * ospf_vty.c: (show_ip_ospf_interface_sub) Display interface MTU and
844 bandwidth; this is useful for debugging problems. Also, the function
845 should be static.
846
847 2005-03-27 Hasso Tepper <hasso at quagga.net>
848
849 * ospf_snmp.c: Don't crash in snmp query if ospf instance doesn't
850 exist at all.
851
852 2005-03-25 Hasso Tepper <hasso at quagga.net>
853
854 * ospfd.h: Include log.h, fixes compile with gcc-4.0.
855
856 2005-03-13 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
857
858 * ospf_lsa.c: (ospf_lsa_refresh_walker) If the system clock jumps
859 backward, then current time may be less than
860 ospf->lsa_refresher_started. This was causing invalid values
861 for ospf->lsa_refresh_queue.index resulting in infinite loops.
862 Problem fixed by casting the expression to unsigned before taking
863 the modulus.
864
865 2005-02-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
866
867 * ospfd.h: Add new field struct stream *ibuf to struct ospf.
868 * ospfd.c: (ospf_new) Check return code from ospf_sock_init.
869 Allocate ibuf using stream_new(OSPF_MAX_PACKET_SIZE+1).
870 (ospf_finish) Call stream_free(ospf->ibuf.
871 * ospf_packet.c: (ospf_read) Call stream_reset(ospf->ibuf) and then
872 pass it to ospf_recv_packet for use in receiving the packet
873 (instead of allocating a new stream for each packet received).
874 Eliminate all calls to stream_free(ibuf).
875 (ospf_recv_packet) The struct stream *ibuf is now passed in as
876 an argument. No need to use recvfrom to peek at the packet
877 header (to see how big it is), just use ospf->ibuf which is
878 always large enough (this eliminates a system call to recvfrom).
879 Therefore, no need to allocate a stream just for this packet,
880 and no need to free it when done.
881
882 2005-02-23 Vincenzo Eramo <eramo at infocom.ing.uniroma1.it>
883
884 * ospf_lsa.h: New flag to the LSA structure for the SPF calculation.
885 * ospf_lsdb.h: Export ospf_lsdb_clean_stat() function.
886 * ospf_spf.h: Add link to the LSA stat structure into vertex.
887 * ospf_spf.c: New functions cmp() and update_stat() to manage
888 candidates. Remove ospf_spf_has_vertex(), ospf_vertex_lookup(),
889 ospf_install_candidate() and ospf_spf_register() functions not needed
890 any more. Update ospf_vertex_new(), ospf_spf_next() and
891 ospf_spf_calculate() functions to use pqueue instead of linked list.
892
893 2005-02-21 Hasso Tepper <hasso at quagga.net>
894
895 * ospf_ase.c: Don't show messages related to the ase calculations if
896 we are not debugging.
897
898 2005-02-19 Hasso Tepper <hasso at quagga.net>
899
900 * ospf_api.h: char isn't always signed, but it has to be it here.
901
902 2005-02-19 Paul Jakma <paul.jakma@sun.com>
903
904 * ospf_packet.c: (ospf_stream_copy) remove
905 (ospf_packet_dup) use stream_copy instead of ospf_stream_copy
906
907 2005-02-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
908
909 * ospf_packet.c: (ospf_recv_packet) If there is somehow a runt
910 packet in the queue, it must be discarded. Improve warning messages.
911 Fix scope to static.
912 (ospf_read) Fix bug: should reset the read thread in all cases
913 to make sure we continue to get incoming messages.
914
915 2005-02-15 Paul Jakma <paul.jakma@sun.com>
916
917 * ospf_packet.c: (ospf_recv_packet) Fix silly error wrt allocating
918 ibuf. Thanks Andrew.
919
920 2005-02-14 Paul Jakma <paul.jakma@sun.com>
921
922 * ospf_packet.c: (ospf_recv_packet) use stream_recvmsg.
923
924 2005-02-11 Hasso Tepper <hasso at quagga.net>
925
926 * ospf_lsdb.c: Fix sum of checksums calculation.
927
928 2005-02-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
929
930 * ospf_packet.c: (ospf_write) If sendmsg fails, give more info in the
931 error message.
932
933 2005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
934
935 * ospf_interface.h: Reduce structure padding by putting new u_char
936 field multicast_memberships in a better spot (grouped with
937 other u_char fields type and state).
938
939 2005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
940
941 * ospf_interface.h: Improve passive_interface comment. Add new
942 multicast_memberships bitmask to struct ospf_interface to track
943 active multicast subscriptions. Declare new function
944 ospf_if_set_multicast.
945 * ospf_interface.c: (ospf_if_set_multicast) New function to configure
946 multicast memberships properly based on the current
947 multicast_memberships status and the current values of the
948 ospf_interface state, type, and passive_interface status.
949 (ospf_if_up) Remove call to ospf_if_add_allspfrouters (this is
950 now handled by ism_change_state's call to ospf_if_set_multicast).
951 (ospf_if_down) Remove call to ospf_if_drop_allspfrouters (now
952 handled by ism_change_state).
953 * ospf_ism.c: (ospf_dr_election) Remove logic to join or leave
954 the DRouters multicast group (now handled by ism_change_state's call
955 to ospf_if_set_multicast).
956 (ism_change_state) Add call to ospf_if_set_multicast to change
957 multicast memberships as necessary to reflect the new interface state.
958 * ospf_packet.c: (ospf_hello) When a Hello packet is received on a
959 passive interface: 1. Increase the severity of the error message
960 from LOG_INFO to LOG_WARNING; 2. Add more information to the error
961 message (packet destination address and interface address);
962 and 3. If the packet was sent to ospf-all-routers, then try
963 to fix the multicast group memberships.
964 (ospf_read) When a packet is received on an interface whose state
965 is ISM_Down, enhance the warning message to show the packet
966 destination address, and try to update/fix the multicast group
967 memberships if the packet was sent to a multicast address.
968 When a packet is received for ospf-designated-routers, but the
969 current interface state is not DR or BDR, then increase the
970 severity level of the error message from LOG_INFO to LOG_WARNING,
971 and try to fix the multicast group memberships.
972 * ospf_vty.c: (ospf_passive_interface) Call ospf_if_set_multicast for
973 any ospf interface that may have changed from active to passive.
974 (no_ospf_passive_interface) Call ospf_if_set_multicast for
975 any ospf interface that may have changed from passive to active.
976 (show_ip_ospf_interface_sub) Show multicast group memberships.
977
978 2005-02-08 Paul Jakma <paul@dishone.st>
979
980 * ospf_packet.c: (various) Remove unneeded stream_set_putp abuse.
981
982 2005-02-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
983
984 * ospf_packet.c: (ospf_read) Fix bug: must check for state ISM_Down,
985 not for event ISM_InterfaceDown. And improve the message by
986 adding the interface flags.
987
988 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
989
990 * ospf_network.c: (ospf_sock_init) Save errno before calling
991 ospfd_privs.change.
992
993 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
994
995 * ospf_packet.c: (ospf_packet_add) If oi->obuf is NULL, print
996 an error message and return.
997 (ospf_read) If the interface state is ISM_InterfaceDown, issue
998 a warning message and ignore the packet.
999
1000 2005-01-10 Greg Troxel <gdt@fnord.ir.bbn.com>
1001
1002 * ospf_packet.h: Remove commented out definition of
1003 OSPF_MAX_PACKET; neither it or the uncommented one are used any more.
1004
1005 * ospf_packet.c (ospf_make_ls_upd): Leave room for authentication
1006 when deciding if an update will fit.
1007 (ospf_packet_authspace): Factor out calculation of size required
1008 for authentication.
1009 (ospf_make_db_desc): Use ospf_max_packet, not OSPF_MAX_PACKET.
1010 Don't confuse readers that there is a macro.
1011
1012 2004-12-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1013
1014 * ospf_network.c: Improve all setsockopt error messages to give detailed
1015 information on the arguments.
1016
1017 2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1018
1019 * ospf_packet.c: (ospf_db_desc) Reduce severity of "Negotiation done"
1020 messages from LOG_WARNING to LOG_INFO, since this seems to be
1021 normal.
1022
1023 2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1024
1025 * ospf_packet.c: (ospf_read) Always look up the interface if
1026 ospf_recv_packet returns NULL ifp, since some platforms such
1027 as Solaris 8 appear to support ifindex retrieval but don't.
1028
1029 2004-12-22 Hasso Tepper <hasso at quagga.net>
1030
1031 * ospf_dump.c: Show debug configuration in vtysh.
1032 * ospf_vty.c: Fix "show ip ospf" output. Router can't be elected in
1033 any case if it's configured as "translate-never".
1034 * ospf_lsdb.[ch]: New function to calculate sum of checksums.
1035 * ospf_vty.c: Bugfix to show really number of AS external LSAs, not
1036 number of all LSAs with AS scope, this includes opaque as LSAs as
1037 well, show this number separately. Show numbers and sums of
1038 checksums for each type of LSAs.
1039 * ospf_lsa.c: Calculate checksum before putting LSA into database.
1040
1041 2004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1042
1043 * ospf_interface.h: Declare new function ospf_default_iftype.
1044 * ospf_interface.c: (ospf_default_iftype) New function to centralize
1045 this logic in one place.
1046 * ospf_zebra.c: (ospf_interface_add) Use new function
1047 ospf_default_iftype.
1048 * ospf_vty.c: (no_ip_ospf_network,config_write_interface) Fix logic
1049 by using new function ospf_default_iftype.
1050
1051 2004-12-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1052
1053 * ospf_packet.c: (ospf_db_desc) Should be static, not global.
1054 (ospf_hello,ospf_db_desc,ospf_ls_upd,ospf_ls_ack) Improve warning
1055 messages to include identifying information (e.g. router id).
1056 * ospf_nsm.c: (nsm_change_state) Improve info message to include
1057 router id and state names.
1058
1059 2004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
1060
1061 * ospf_apiserver.c (ospf_apiserver_term): Obtain struct
1062 ospf_apiserver * from listnode. Remove unused variables. Follows
1063 suggestion from Jay Fenlason.
1064
1065 2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1066
1067 * *.c: Change level of debug messages to LOG_DEBUG.
1068
1069 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1070
1071 * ospf_main.c: (main) The 2nd argument to openzlog has been removed.
1072
1073 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1074
1075 * ospf_packet.c: (ospf_db_desc) Reduce priority on a debug message
1076 from LOG_NOTICE to LOG_DEBUG.
1077
1078 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1079
1080 * ospf_main.c: (sigint) Use zlog_notice for termination message.
1081 (main) Issue a startup announcement using zlog_notice.
1082
1083 2004-11-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1084
1085 * ospf_packet.c: (ospf_db_desc_proc) Fix spelling of packet in warning
1086 message and in comment.
1087 (ospf_db_desc) Warning message that a packet is being discarded
1088 should give the router id of the packet source. Fix spelling
1089 of packet in two warning messages.
1090 (ospf_ls_req) Warning message that a link state request is being
1091 discarded should give the router id of the neighbor that sent it.
1092
1093 2004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1094
1095 * ospf_main.c: Remove #include "debug.h" (was not being used, and
1096 lib/debug.h has now been deleted).
1097
1098 2004-11-25 Hasso Tepper <hasso at quagga.net>
1099
1100 * ospf_main.c: Make group to run as configurable.
1101
1102 2004-11-15 Greg Troxel <gdt@fnord.ir.bbn.com>
1103
1104 * ospf_packet.c (ospf_recv_packet): Assume CMSG_SPACE is present
1105 and works (lib/zebra.h provides if OS doesn't).
1106
1107 2004-11-15 Paul Jakma <paul@dishone.st>
1108
1109 * ospf_{apiserver,te}.c: ospf_lsa_free's should be ospf_lsa_unlock.
1110
1111 2004-11-12 Paul Jakma <paul@dishone.st>
1112
1113 * ospf_ia.c: (process_summary_lsa) Only an ABR has any reason to
1114 ignore stub area summary default. Even so it seems a strange
1115 check, add a comment to that effect.
1116
1117 2004-11-04 Paul Jakma <paul@dishone.st>
1118
1119 * ospfd.c: (ospf_network_match_iface) revert to previous network
1120 statement match behaviour.
1121
1122 2004-11-02 Paul Jakma <paul@dishone.st>
1123
1124 * ospf_packet.c: (ospf_write_frags) remove iov arg, msg already points
1125 to it. Add convenience pointer to msg->msg_iov[1], and use this,
1126 fixing the unfortunate borkenness introduced in moving of this code
1127 to a function.
1128 (ospf_write) remove iovp and fix up call to previous.
1129 (ospf_ls_upd_packet_new) cast size to long int - unfortunately
1130 glibc's size_t format modifier is not portable.
1131
1132 2004-10-31 Paul Jakma <paul@dishone.st>
1133
1134 * ospf_packet.c: (ospf_write_frags) Add debug output
1135 (ospf_write) set type early, so we can pass it to
1136 ospf_write_frags.
1137 (ospf_ls_upd_packet_new) print size in debug output when too large
1138 packet is encountered.
1139 * ospf_zebra.c: (ospf_distribute_list_update_timer) Ugly misuse of
1140 THREAD_ARG to store an integer, but it should at least use same
1141 same type to retrieve the value. Assert value is sane.
1142
1143 2004-10-22 Paul Jakma <paul@dishone.st>
1144
1145 * ospf_network.c: (ospf_sock_init) call neutral setsock_ifindex()
1146 function.
1147 * ospf_packet.c: (ospf_read) manually look up ifindex
1148 if system could not have returned one, eg openbsd, thanks to Rivo
1149 Nurges for highlighting problem and fix.
1150 Change setsockopt_pktinfo to setsockopt_ifindex.
1151
1152 2004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
1153
1154 * ospf_snmp.c: (ospf_snmp_if_update) Fix logic to handle PtP links
1155 with dedicated subnets properly.
1156 * ospf_lsa.c: (lsa_link_ptop_set) ditto.
1157 * ospfd.c: (ospf_network_match_iface) ditto.
1158 (ospf_network_run) ditto.
1159 * ospf_interface.c: (ospf_if_is_configured) ditto.
1160 (ospf_if_lookup_by_prefix) ditto.
1161 (ospf_if_lookup_recv_if) ditto.
1162 * ospf_vty.c: (show_ip_ospf_interface_sub) Display the peer or
1163 broadcast address if present.
1164
1165 2004-10-13 Hasso Tepper <hasso at quagga.net>
1166
1167 * ospf_main.c: Unbreak compilation with ospfapi disabled.
1168 * ospf_snmp.c: Remove defaults used to initialize smux connection to
1169 snmpd. Connection is initialized only if smux peer is configured.
1170
1171 2004-10-12 Hasso Tepper <hasso at quagga.net>
1172
1173 * ospf_main.c, ospf_opaque.c: Unbreak ospfclient compilation - move
1174 static variable from ospf_main.c into ospf_opaque.c.
1175
1176 2004-10-11 Hasso Tepper <hasso at quagga.net>
1177
1178 * ospf_main.c, ospf_opaque.c: Disable ospfapi init by default. New
1179 command line switch to enable it.
1180
1181 2004-10-11 Paul Jakma <paul@dishone.st>
1182
1183 * ospf_dump.c: (ospf_ip_header_dump) Assume header is in host order
1184 remove ntohs that should have dissappeared. Take struct ip
1185 as argument, caller has to know there's an IP header at start of
1186 stream anyway.
1187 * ospf_dump.h: update declaration of ospf_ip_header_dump.
1188 * ospf_packet.c: (ospf_write) correct call to
1189 sockopt_iphdrincl_swab_htosys which was munging the header.
1190 (ospf_recv_packet) ip_len is needed for old OpenBSD fixup.
1191 (ospf_read) sockopt_iphdrincl_swab_systoh ip header as soon as
1192 we have it.
1193 * (global) Const char update and signed/unsigned fixes.
1194 * (various headers) size defines should be unsigned.
1195 * ospf_interface.h: remove duplicated defines, include the
1196 authoritative header - though, these defines should probably
1197 be moved to a dedicated header, or ospfd.h.
1198 * ospf_lsa.h: (struct lsa) ls_seqnum should be unsigned.
1199 * ospf_packet.c: (ospf_write) cast result of shift to unsigned.
1200
1201 2004-10-08 Hasso Tepper <hasso at quagga.net>
1202
1203 * *.[c|h]: Fix compiler warnings: make some strings const, signed ->
1204 unsigned, remove unused variables etc.
1205
1206 2004-10-07 Greg Troxel <gdt@claude.ir.bbn.com>
1207
1208 * ospf_apiserver.c (ospf_apiserver_unregister_opaque_type): Don't
1209 use of variable names 'node' and 'nextnode' to avoid possible
1210 conflict with list macros. Move variable declaration inside for
1211 loop after a statement to top of function.
1212
1213 2004-10-07 Paul Jakma <paul@dishone.st>
1214
1215 * ospf_snmp.c: Missed list typedef update
1216 * ospf_dump.c: Include sockopt.h for header swab functions.
1217
1218 2004-10-05 Paul Jakma <paul@dishone.st>
1219
1220 * ospf_packet.c: replace ospf_swap_iph_to... with
1221 sockopt_iphdrincl_swab_...
1222
1223 2004-10-03 James R. Leu <jleu at mindspring.com>
1224
1225 * ospf_zebra.c: Read router id related messages from zebra daemon.
1226 Schedule router-id update thread if it's changed.
1227 * ospfd.c: Remove own router-id selection function. Use router id from
1228 zebra daemon if it isn't manually overriden in configuration.
1229
1230 2004-09-27 Paul Jakma <paul@dishone.st>
1231
1232 * ospf_dump.c: (ospf_ip_header_dump) Use HAVE_IP_HDRINCL_BSD_ORDER
1233 Apply to offset too. Print ip_cksum, lets not worry about
1234 possible 2.0.37 compile problems.
1235 * ospf_packet.c: (ospf_swap_iph_to{n,h}) Use
1236 HAVE_IP_HDRINCL_BSD_ORDER.
1237 (ospf_recv_packet) ditto.
1238 (ospf_write) Fixup iov argument to ospf_write_frags.
1239 (struct msghdr).msg_name is caddr_t on most platforms.
1240 (ospf_recv_packet) ditto. And msg_flags is not always there
1241 memset struct then set fields we care about rather than
1242 initialise all fields individually.
1243
1244 2004-09-26 Hasso Tepper <hasso at quagga.net>
1245
1246 * ospf_abr.c, ospf_dump.c, ospf_lsa.c, ospf_packet.c, ospf_vty.c,
1247 ospf_zebra.c: Fix compiler warnings.
1248
1249 2004-09-24 Paul Jakma <paul@dishone.st>
1250
1251 * ospf_apiserver.{c,h}: lists typedef removal cleanup.
1252 update some list loops to LIST_LOOP. some miscellaneous indent
1253 fixups.
1254 (ospf_apiserver_unregister_opaque_type) fix listnode_delete of
1255 referenced node in loop.
1256 (ospf_apiserver_term) loops calling ospf_apiserver_free, which
1257 deletes referenced nodes from apiserver_list, fixed.
1258 * ospf_interface.h: lists typedef removal cleanup.
1259 * ospf_opaque.{c,h}: lists typedef removal cleanup. update some list
1260 loops to LIST_LOOP. miscellaneous style and indent fixups.
1261 * ospf_te.{c,h}: ditto
1262 * ospf_packet.c: lists typedef removal cleanup.
1263 (ospf_write) ifdef fragmentation support. move actual
1264 fragmentation out to a new, similarly ifdefed, function.
1265 (ospf_write_frags) fragmented write support, moved from previous.
1266
1267 2004-09-23 Hasso Tepper <hasso at quagga.net>
1268
1269 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
1270
1271 2004-09-12 Paul Jakma <paul@dishone.st>
1272
1273 * ospf_packet.c: Fix bugzilla #107
1274 (ospf_packet_max) get rid of the magic 88 constant
1275 (ospf_swab_iph_ton) new function. set ip header to network order,
1276 taking BSDisms into account.
1277 (ospf_swab_iph_toh) the inverse.
1278 (ospf_write) Add support for IP fragmentation, will only work on
1279 linux though, other kernels make it impossible. get rid of the
1280 magic 4 constant.
1281 (ospf_make_ls_upd) Bound check to end of stream, not to
1282 interface mtu.
1283 (ospf_ls_upd_packet_new) New function, allocate upd packet
1284 taking oversized LSAs into account.
1285 (ospf_ls_upd_queue_send) use ospf_ls_upd_packet_new to allocate,
1286 rather than statically allocating mtu sized packet buffer, which
1287 actually was wrong - it didnt take ip header into account, which
1288 should not be included in packet buffer.
1289 (ospf_ls_upd_send_queue_event) minor tweaks and remove
1290 TODO comment.
1291
1292 2004-08-31 David Wiggins <dwiggins@bbn.com>
1293
1294 * ospf_spf.c (ospf_spf_calculate): Many more comments and debug
1295 print statements. New function ospf_vertex_dump used in debugging.
1296
1297 2004-08-31 David Wiggins <dwiggins@bbn.com>
1298
1299 * ospf_spf.h (struct vertex): Comments for flags and structure members.
1300
1301 2004-08-31 David Wiggins <dwiggins@bbn.com>
1302
1303 * ospf_route.c: When finding an alternate route, log cost as well.
1304
1305 2004-08-31 David Wiggins <dwiggins@bbn.com>
1306
1307 * ospf_interface.c (ospf_lookup_if_params): Initialize af in
1308 struct prefix allocated on stack.
1309
1310 2004-08-31 David Wiggins <dwiggins@bbn.com>
1311
1312 * ospf_packet.c (ospf_ls_ack_send_delayed): In p2mp mode, send
1313 acks to AllSPFRouters, rather than All-DR.
1314
1315 2004-08-27 Hasso Tepper <hasso at quagga.net>
1316
1317 * ospf_vty.c: Don't print ospf network type under interface only
1318 if interface is in broadcast mode and interface type really is
1319 broadcast. Fixes Bugzilla #108.
1320
1321 2004-08-27 David Wiggins <dwiggins@bbn.com>
1322
1323 * ospf_spf.c (ospf_nexthop_calculation): Initialize address family
1324 in on-stack struct prefix_ipv4. Fixes point-to-multipoint SPF
1325 calculation.
1326
1327 2004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
1328
1329 * ospf_packet.c (ospf_recv_packet): adjust size declaration of
1330 buffer used to get interface index so that it compiles on other
1331 than Linux and includes the required alignment space. Probably
1332 this was only working on sparc/sparc64 because most of
1333 sockaddr_dl was not being written.
1334
1335 2004-08-19 Paul Jakma <paul@dishone.st>
1336
1337 * ospf_packet.c: update to match sockopt renames.
1338
1339 2004-08-04 Paul Jakma <paul@dishone.st>
1340
1341 * ospf_spf.c: (ospf_spf_consider_nexthop) Add comment about issue.
1342 Compare only against list head - all nexthops must be same cost
1343 anyway, fixes a reference-listnode-after-delete bug noted by
1344 Kir Kostuchenko.
1345 (ospf_nexthop_calculation) Use ospf_spf_consider_nexthop for all
1346 candidates attached to root.
1347
1348 2004-07-27 Paul Jakma <paul@dishone.st>
1349
1350 * ospf_packet.c: (ospf_ls_upd_send_queue_event) fix thinko from
1351 last fix for ospfd wedging due to oversize LSAs: dont list loop on
1352 ospf_ls_upd_queue_send() - guaranteed segfault.
1353
1354 2004-07-27 Paul Jakma <paul@dishone.st>
1355
1356 * ospf_opaque.c: (ospf_opaque_lsa_flush_schedule) do not NULL out
1357 the LSA as then free_opaque_info_per_id() can never unlock (and
1358 free) the LSA. Reported by Gunnar Stigen.
1359
1360 2004-07-23 Paul Jakma <paul@dishone.st>
1361
1362 * ospf_network.c: Replace PKTINFO/RECVIF with call to
1363 setsockopt_pktinfo
1364 * ospf_packet.c: Use getsockopt_pktinfo_ifindex and
1365 SOPT_SIZE_CMSG_PKTINFO_IPV4.
1366
1367 2004-07-14 Paul Jakma <paul@dishone.st>
1368
1369 * ospf_packet.c: (ospf_ls_upd_send_queue_event) Partial fix for
1370 problem reported by Peter Frost amongst others, where function
1371 will spin indefinitely if update list contains LSAs greater than
1372 MTU-headers or other condition leading to update list never being
1373 cleared. Problem of what to do with these LSAs remains.
1374 (ospf_make_ls_upd) add comment about large LSA problem,
1375 indentation cleanup.
1376
1377 2004-07-01 Greg Troxel <gdt@fnord.ir.bbn.com>
1378
1379 * Makefile.am (lib_LTLIBRARIES): make libospf shared
1380
1381 2004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
1382
1383 * Makefile.am: Add shlib support.
1384
1385 2004-06-10 Hasso Tepper <hasso@estpak.ee>
1386
1387 * *: Removed ifdefs HAVE_NSSA.
1388
1389 2004-06-06 Paul Jakma <paul@dishone.st>
1390
1391 * ospf_dump.c,ospf_lsa.c: Fix typos of merge of previous.
1392 ospf_flood.c: (ospf_process_self_originated_lsa) fix zlog format
1393
1394 2004-05-31 Sagun Shakya <sagun.shakya@sun.com>
1395
1396 * ospf_dump.c: (ospf_lsa_header_dump) LOOKUP can return null if
1397 index is out of range.
1398 ospf_flood.c: endianness fix
1399 ospf_lsa.c: Missing ntohl's on (struct lsa *)->data->ls_seqnum
1400 in various places.
1401
1402 2004-05-10 Hasso Tepper <hasso@estpak.ee>
1403
1404 * ospf_zebra.c, ospfd.c: Move ospf_prefix_list_update() function
1405 to ospf_zebra.c from ospfd.c and add redistribution updates if
1406 route-map is used in redistribution.
1407 * ospf_main.c: Remove now useless call to ospf_init().
1408
1409 2004-05-08 Paul Jakma <paul@dishone.st>
1410
1411 * ospf_zebra.c: Sync with lib/zclient changes
1412
1413 2004-05-05 Paul Jakma <paul@dishone.st>
1414
1415 * ospf_network.c: (ospf_sock_init) Check whether IP_HDRINCL is
1416 defined. Warn at compile and runtime. Use
1417 IPTOS_PREC_INTERNETCONTROL otherwise.
1418 * ospf_packet.c: (ospf_associate_packet_vl) cleanup, move
1419 some of the checks up to ospf_read, return either a
1420 virtual link oi, or NULL.
1421 (ospf_read) Cleanup, make it responsible for checks. Remove
1422 the nbr lookup - moved to ospf_neighbor. Adjust all nbr
1423 lookups to use new wrappers exported by ospf_neighbor.
1424 * ospf_neighbor.h: Add ospf_neigbour_get and ospf_nbr_lookup.
1425 * ospf_neighbor.c: (ospf_neigbour_get) Index ospf_interface
1426 neighbour table by router-id for virtual-link ospf_interfaces,
1427 not by peer_addr (which breaks for asymmetric vlinks)
1428 (ospf_nbr_lookup) add a wrapper for nbr lookups to deal with
1429 above.
1430 * ospf_interface.c: (ospf_vl_set_params) Catch changes of interface
1431 address for either end of a virtual-link, and hence potential cost
1432 changes.
1433
1434 2004-04-22 Hasso Tepper <hasso@estpak.ee>
1435
1436 * ospf_zebra.c: Don't ignore reject/bh routes, it's the only way
1437 to "summarize" routes in ASBR at the moment.
1438
1439 2004-04-20 Hasso Tepper <hasso@estpak.ee>
1440
1441 * ospfd.c: Unset NP flag if area is going to be normal or stub.
1442 Fixes UNH OSPF_NSSA.1.2a comment.
1443 * ospf_abr.c: Originate default into stub/nssa area even if
1444 summaries are disabled.
1445 * ospf_zebra.c: Don't attempt to redistribute 127.0.0.0/8.
1446
1447 2004-04-19 Hasso Tepper <hasso@estpak.ee>
1448
1449 * ospf_vty.c: Don't warn that export- and import-list can't be
1450 configured to backbone area if they are applied and are working
1451 fine.
1452
1453 2004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
1454
1455 * ospf_packet.c: Don't drop packets in Solaris x86.
1456 [quagga-dev 1005].
1457
1458 2004-03-18 Amir Guindehi <amir@datacore.ch>
1459
1460 * ospf_opaque.c: Attempt to correct the incorrect behavior of
1461 Quagga's ospfd in the special situation that a node's opaque
1462 capability has changed as "ON -> OFF -> ON". [quagga-dev 843].
1463
1464 2004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
1465
1466 * ospf_abr.c: (ospf_abr_update_aggregate) UNH 3.12b,c, address range
1467 should be configured with the highest cost path within the range,
1468 not lowest.
1469
1470 2004-02-17 Paul Jakma <paul@dishone.st>
1471
1472 * ospf_zebra.c: (ospf_interface_delete) Do not delete the interface
1473 params, nor the interface structure, if an interface delete
1474 message is received from zebra.
1475 * ospf_interface.c: (ospf_if_delete_hook) Delete the interface
1476 params and interface, ie that which was previously removed in
1477 (ospf_interface_delete) above.
1478
1479 2004-02-11 Hasso Tepper <hasso@estpak.ee>
1480 * ospf_interface.c, ospf_zebra.c: Don't attempt to read path->oi->ifp
1481 if oi doesn't exist any more.
1482
1483 2004-02-11 Vadim Suraev <vadim.suraev@terayon.com>
1484 * ospf_packet.c (ospf_ls_upd): Router should flush received network
1485 LSA if it was originated with older router-id ([zebra 14710] #6).
1486
1487 2003-12-08 Mattias Amnefelt <mattiasa@kth.se>
1488
1489 * ospf_packet.c: (ospf_recv_packet) OpenBSD now leaves iph.ip_len
1490 network byte order.
1491
1492 2003-12-05 Greg Troxel <gdt@poblano.ir.bbn.com>
1493
1494 * ospfd.c (ospf_network_match_iface): Rewrite code for clarity
1495 while trying not to change semantics. Add ifdefed-out code to
1496 avoid matching ppp interfaces whose destination address does not
1497 also match the prefix under consideration, to help out people with
1498 problems due to as-yet-unfixed bugs with p2p interfaces coming and
1499 going.
1500
1501 2003-07-25 kamatchi soundaram <kamatchi@tdd.sj.nec.com>
1502
1503 * ospf_packet.c (ospf_ls_upd_send_queue_event): get next route
1504 node in body of the loop to avoid chance that route node
1505 is unlocked and deleted before the next iteration tries to
1506 get next route node.
1507
1508 2003-05-24 Kenji Yabuuchi
1509
1510 * ospf_interface.c(ospf_if_lookup_recv_if): Use the most specific
1511 match for interface lookup.
1512
1513 2003-05-18 Hasso Tepper <hasso@estpak.ee>
1514
1515 * ospf_vty.c: Show NSSA LSA route info in "show ip ospf database"
1516 output
1517
1518 2003-05-16 Hasso Tepper <hasso@estpak.ee>
1519
1520 * ospf_lsa.c: Fix handling of NSSA
1521
1522 2003-04-23 Hasso Tepper <hasso@estpak.ee>
1523
1524 * ospf_vty.c: fix "router xxx" node commands in vtysh
1525
1526 2003-04-19 Hasso Tepper <hasso@estpak.ee>
1527
1528 * {ospf_abr,ospfd}.c: area id's DECIMAL -> ADDRESS
1529 * ospf_routemap.c: sync daemon's route-map commands to have same
1530 syntax.
1531
1532 2003-04-19 Sergey Vyshnevetskiy <serg@vostok.net>
1533
1534 * ospf_packet.c: Add missing param to zlog
1535 * ospf_flood.c: remove unused vars
1536
1537 2003-04-17 Denis Ovsienko <zebra@pilot.org.ua>
1538
1539 * ospf_interface.c: fix incorrect memset
1540
1541 2003-04-10 Amir Guindehi <amir@datacore.ch>
1542
1543 * ospf_lsa.[ch]: opaque LSA fix, use ospf_lookup.
1544
1545 2003-04-03 David Watson <dwatson@eecs.umich.edu>
1546
1547 * ospf_lsa.c: byte order fix
1548
1549 2002-03-17 Amir Guindehi <amir@datacore.ch>
1550
1551 * ospf_apiserver.[ch]: Merge Ralph Keller's OSPFAPI support.
1552 * ospf_api.[ch]: Merge Ralph Keller's OSPFAPI support.
1553 * ospfclient: OSPFAPI demonstration client.
1554
1555 2003-01-23 Masahiko Endo <endo@suri.co.jp>
1556
1557 * ospf_ism.c: NSM event schedule bug fix.
1558
1559 2002-10-30 Greg Troxel <gdt@ir.bbn.com>
1560
1561 * ospf_packet.c (ospf_make_md5_digest): MD5 length fix.
1562
1563 2002-10-23 endo@suri.co.jp (Masahiko Endo)
1564
1565 * ospf_opaque.c: Update Opaque LSA patch.
1566
1567 2002-10-23 Ralph Keller <keller@tik.ee.ethz.ch>
1568
1569 * ospf_vty.c (show_ip_ospf_database): Fix CLI parse.
1570
1571 2002-10-23 Juris Kalnins <juris@mt.lv>
1572
1573 * ospf_interface.c (ospf_if_stream_unset): When write queue
1574 becomes empty stop write timer.
1575
1576 2002-10-10 Greg Troxel <gdt@ir.bbn.com>
1577
1578 * ospf_packet.c (ospf_check_md5_digest): Change >= to > to make it
1579 conform to RFC.
1580
1581 2002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1582
1583 * zebra-0.93 released.
1584
1585 2002-06-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1586
1587 * ospf_spf.c (ospf_nexthop_calculation): Add NULL set to oi and
1588 check of l2. Reported by: Daniel Drown <dan-zebra@drown.org>
1589 (ospf_lsa_has_link): LSA Length calculation fix. Reported by:
1590 Paul Jakma <paulj@alphyra.ie>.
1591
1592 * ospfd.c (ospf_if_update): Fix nextnode reference bug. Reported
1593 by: juris@mt.lv.
1594
1595 2002-01-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1596
1597 * ospfd.c: Merge [zebra 11445] Masahiko ENDO's Opaque-LSA support.
1598
1599 2001-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1600
1601 * ospf_interface.c (ospf_add_to_if): Use /32 address to register
1602 OSPF interface information.
1603 (ospf_delete_from_if): Likewise.
1604
1605 * ospf_zebra.c (ospf_interface_address_delete): Likewise.
1606
1607 2001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1608
1609 * ospf_zebra.c (ospf_redistribute_unset): When redistribute type
1610 is OSPF, do not unset redistribute flag.
1611
1612 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1613
1614 * zebra-0.92a released.
1615
1616 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1617
1618 * zebra-0.92 released.
1619
1620 2001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1621
1622 * ospfd.c (ospf_config_write): auto-cost reference-bandwidth
1623 configuration display.
1624
1625 2001-07-24 David Watson <dwatson@eecs.umich.edu>
1626
1627 * ospf_spf.c (ospf_spf_next): Modify ospf_vertex_add_parent to
1628 check for an existing link before connecting the parent and child.
1629 ospf_nexthop_calculation is also modified to check for duplicate
1630 entries when copying from the parent. Finally, ospf_spf_next
1631 removes duplicates when it merges two equal cost candidates.
1632
1633 2001-07-23 itojun@iijlab.net
1634
1635 * ospfd.c (show_ip_ospf_neighbor): Check ospf_top before use it
1636 [zebra 8549].
1637
1638 2001-07-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1639
1640 * ospf_packet.c (ospf_write): Remove defined(__OpenBSD__) to make
1641 it work on OpenBSD.
1642
1643 2001-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1644
1645 * ospf_zebra.c (config_write_ospf_default_metric): Display
1646 default-metric configuration.
1647
1648 2001-06-18 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1649
1650 * ospf_ia.h (OSPF_EXAMINE_SUMMARIES_ALL): Remove old macros.
1651
1652 2001-05-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1653
1654 * ospf_snmp.c (ospfIfEntry): Fix interface lookup bug to avoid
1655 crush.
1656 (ospfIfMetricEntry): Likewise.
1657
1658 2001-03-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1659
1660 * ospf_packet.c (ospf_read): Fix typo. Reported by: "Jen B
1661 Lin'Kova" <jen@stack.net>.
1662
1663 2001-03-15 Gleb Natapov <gleb@nbase.co.il>
1664
1665 * ospf_interface.c (ip_ospf_network): Set interface parameter.
1666 (interface_config_write): Add check for OSPF_IFTYPE_LOOPBACK.
1667
1668 * ospf_zebra.c (ospf_interface_add): Set interface parameter.
1669
1670 2001-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1671
1672 * ospf_packet.c (ospf_recv_packet): Solaris also need to add
1673 (iph.ip_hl << 2) to iph.ip_len.
1674
1675 2001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1676
1677 * ospfd.h (OSPF_LS_REFRESH_TIME): Fix OSPF_LS_REFRESH_TIME value.
1678 Suggested by: David Watson <dwatson@eecs.umich.edu>.
1679
1680 * ospf_zebra.c (zebra_init): Remove zebra node.
1681
1682 * ospfd.c (ospf_area_range_set): Function name is changed from
1683 ospf_ara_range_cmd.
1684 (ospf_area_range_unset): New function which separated from DEFUN.
1685 New commands are added:
1686 "no area A.B.C.D range A.B.C.D/M advertise"
1687 "no area <0-4294967295> range A.B.C.D/M advertise"
1688 "no area A.B.C.D range A.B.C.D/M not-advertise"
1689 "no area <0-4294967295> range A.B.C.D/M not-advertise"
1690
1691 * ospf_lsa.c (ospf_lsa_more_recent): Fix previous change.
1692
1693 2001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
1694
1695 * ospf_network.c (ospf_if_add_allspfrouters): Use
1696 setsockopt_multicast_ipv4.
1697 (ospf_if_drop_allspfrouters): Likewise.
1698
1699 * ospf_lsa.c (ospf_router_lsa_install): Add rt_recalc flag.
1700 (ospf_network_lsa_install): Likewise.
1701 (ospf_summary_lsa_install): Likewise.
1702 (ospf_summary_asbr_lsa_install): Likewise.
1703 (ospf_external_lsa_install): Likewise.
1704 (ospf_lsa_install): Call ospf_lsa_different to check this LSA is
1705 new one or not.
1706
1707 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1708
1709 * ospf_zebra.c (ospf_interface_delete): Do not free interface
1710 structure when ospfd receive interface delete message to support
1711 pseudo interface.
1712
1713 2001-02-01 Dick Glasspool <dick@ipinfusion.com>
1714
1715 * ospfd.c (area_range_notadvertise): Change area range "suppress"
1716 command to "not-advertise".
1717
1718 * ospfd.h (OSPF_LS_REFRESH_TIME): Change OSPF_LS_REFRESH_TIME from
1719 1800 to 60.
1720
1721 * ospf_abr.c (ospf_abr_update_aggregate): When update_aggregate is
1722 updating the area-range, the lowest cost is now saved.
1723
1724 * ospf_lsa.c (ospf_lsa_more_recent): Routing to compare sequence
1725 numbers rather than creating overflow during calculation.
1726
1727 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1728
1729 * zebra-0.91 is released.
1730
1731 2001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1732
1733 * ospf_packet.c (ospf_db_desc_proc): Do not continue process when
1734 NSM_SeqNumberMismatch is scheduled.
1735 (ospf_ls_req): Free ls_upd when return from this function.
1736 (ospf_ls_upd_timer): When update list is empty do not call
1737 ospf_ls_upd_send(). Suggested by: endo@suri.co.jp (Masahiko
1738 Endo).
1739
1740 2001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1741
1742 * ospf_lsa.c (ospf_maxage_flood): Flood LSA when it reaches
1743 MaxAge. RFC2328 Section 14.
1744 (ospf_maxage_lsa_remover): Call above function during removing
1745 MaxAge LSA.
1746
1747 2001-01-26 Dick Glasspool <dick@ipinfusion.com>
1748
1749 * ospf_flood.c (ospf_flood_through_as): Function is updated for
1750 NSSA Translations now done at ospf_abr.c with no change in P-bit.
1751
1752 * ospf_lsa.c (ospf_get_nssa_ip): Get 1st IP connection for Forward
1753 Addr.
1754 (ospf_install_flood_nssa): Leave Type-7 LSA at Lock Count = 2.
1755
1756 * ospf_ase.c (ospf_ase_calculate_route): Add debug codes.
1757
1758 * ospf_abr.c (ospf_abr_translate_nssa): Recalculate LSA checksum.
1759
1760 * ospf_packet.h (OSPF_SEND_PACKET_LOOP): Added for test packet.
1761
1762 * ospf_dump.c (ospf_lsa_type_msg): Add OSPF_GROUP_MEMBER_LSA and
1763 OSPF_AS_NSSA_LSA.
1764
1765 * ospfd.c (data_injection): Function to inject LSA. This is
1766 debugging command.
1767
1768 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1769
1770 * ospf_route.c (ospf_route_match_same): Remove function.
1771 (ospf_route_match_same_new): Renamed to ospf_route_match_same.
1772
1773 * ospf_zebra.c (ospf_interface_address_delete): Add check for
1774 oi->address. Suggested by Matthew Grant
1775 <grantma@anathoth.gen.nz>.
1776 (ospf_zebra_add): Remove function.
1777 (ospf_zebra_add_multipath): Rename to ospf_zebra_add.
1778
1779 * ospf_interface.c: Remove HAVE_IF_PSEUDO part.
1780
1781 * ospf_zebra.c: Likewise.
1782
1783 2001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1784
1785 * ospf_ase.c: Remove OLD_RIB part.
1786
1787 * ospf_route.c: Likewise.
1788
1789 * zebra-0.90 is released.
1790
1791 * ospf_packet.c (ospf_recv_packet): Use ip_len adjestment code to
1792 NetBSD.
1793
1794 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1795
1796 * ospf_route.c (ospf_route_delete): Use
1797 ospf_zebra_delete_multipath.
1798
1799 2001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1800
1801 * ospf_interface.c (ospf_if_cleanup): Function name is renamed
1802 from ospf_if_free(). Rewrite whole procudure to support primary
1803 address deletion.
1804
1805 * ospf_zebra.c (ospf_interface_address_delete): Add primary
1806 address deletion process.
1807
1808 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1809
1810 * ospf_packet.c (ospf_recv_packet): OpenBSD has same ip_len
1811 treatment like FreeBSD.
1812
1813 2001-01-09 endo@suri.co.jp (Masahiko Endo)
1814
1815 * ospf_packet.c (ospf_recv_packet): FreeBSD kernel network code
1816 strips IP header size from receiving IP Packet. So we adjust
1817 ip_len to whole IP packet size by adding IP header size.
1818
1819 2001-01-08 endo@suri.co.jp (Masahiko Endo)
1820
1821 * ospf_network.c (ospf_serv_sock): When socket() is failed return
1822 immediately.
1823 (ospf_serv_sock): Close socket when it is not used.
1824
1825 * ospf_packet.c (ospf_write): Set sin_len when HAVE_SIN_LEN is
1826 defined.
1827 (ospf_write): When bind is fined, close sock.
1828
1829 2001-01-07 Gleb Natapov <gleb@nbase.co.il>
1830
1831 * ospf_zebra.c (ospf_interface_state_up): Fixes coredump that
1832 appears when you try to configure bandwidth on the ppp interface
1833 that is not yet configured in ospfd.
1834
1835 2001-01-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1836
1837 * ospf_route.c (show_ip_ospf_route_external): "show ip ospf route"
1838 will print nexthops for AS-external routes.
1839
1840 * ospf_ase.c (ospf_ase_route_match_same): New function to compare
1841 ASE route under multipath environment.
1842 (ospf_ase_compare_tables): Likewise.
1843
1844 2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1845
1846 * ospfd.h (OSPF_VTYSH_PATH): Change "/tmp/ospfd" to "/tmp/.ospfd".
1847
1848 2000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1849
1850 * ospf_route.c (ospf_route_install): Install multipath information
1851 to zebra daemon.
1852
1853 * ospf_zebra.c (ospf_zebra_add_multipath): Function for passing
1854 multipath information to zebra daemon.
1855
1856 2000-12-25 Dick Glasspool <dick@ipinfusion.com>
1857
1858 * ospf_packet.c (ospf_write): Call ospf_packet_delete when sendto
1859 fail.
1860 (DISCARD_LSA): Add argument N for logging point of DISCARD_LSA is
1861 called.
1862
1863 * ospf_lsa.c (ospf_external_lsa_refresh): NSSA install_flood will
1864 leave Type-7 LSA at Lock Count = 2.
1865
1866 * ospf_flood.c (ospf_flood_through): Flood_though_as updated for
1867 NSSA no P-bit off during Area flooding, but P-bit is turned off
1868 for mulitple NSSA AS flooding.
1869
1870 * ospf_ase.c (ospf_ase_calculate_timer): Added calculations for
1871 Type-7 LSDB.
1872
1873 * ospf_abr.c (ospf_abr_translate_nssa): Removed one unlock call.
1874 (ospf_abr_announce_nssa_defaults): Corrected Debug from EVENT to
1875 NSSA.
1876
1877 2000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1878
1879 * ospf_zebra.c (ospf_zebra_read_ipv4): Checking the age of the
1880 found LSA and if the LSA is MAXAGE we should call refresh instead
1881 of originate.
1882
1883 2000-12-18 Dick Glasspool <dick@ipinfusion.com>
1884
1885 * ospf_abr.c: Removed redundant "...flood" in
1886 announce_network_to_area(). Repaired nssa Unlock by using
1887 discard.
1888
1889 * ospf_packet.c: Removed old NSSA translate during mk_ls_update.
1890
1891 * ospfd.c: Free up all data bases including NSSA.
1892
1893 * ospf_lsa.c: Now allow removal of XLATE LSA's Check in
1894 discard_callback. Added routine to get ip addr from within the
1895 ifp.
1896
1897 * ospf_flood.c: Now set Forward Address for outgoing Type-7.
1898
1899 * ospf_lsa.h: Added prototype for the below. struct in_addr
1900 ospf_get_ip_from_ifp (struct interface *ifp).
1901
1902 2000-12-14 Gleb Natapov <gleb@nbase.co.il>
1903
1904 * ospf_packet.c (ospf_recv_packet): New OSPF pakcet read method.
1905 Now maximum packet length may be 65535 bytes (maximum IP packet
1906 length).
1907
1908 * ospf_interface.c (ospf_if_stream_set): Don't make input buffer.
1909
1910 * ospfd.c (config_write_network_area): Remove unnecessary area
1911 lookup code.
1912
1913 2000-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1914
1915 * ospf_packet.c (ospf_read): Accept packet bigger than MTU value.
1916
1917 2000-12-13 Gleb Natapov <gleb@nbase.co.il>
1918
1919 * ospfd.c (config_write_network_area): Fix bug in
1920 config_write_network_area function.
1921
1922 2000-12-12 Gleb Natapov <gleb@nbase.co.il>
1923
1924 * ospf_abr.c (ospf_abr_announce_network_to_area): Make Summary
1925 LSA's origination and refreshment as same as other type of LSA.
1926
1927 * ospf_lsa.c (ospf_summary_lsa_refresh): Return struct ospf_lsa *.
1928
1929 * ospf_lsa.c (ospf_summary_asbr_lsa_refresh): Likewise.
1930
1931 2000-12-08 Dick Glasspool <dick@ipinfusion.com>
1932
1933 The bulk of NSSA changes are contained herein; This version will
1934 require manual setting of "always" for NSSA Translator, and will
1935 not perform aggregation yet.
1936
1937 * ospf_dump.c: "debug ospf nssa" is added.
1938
1939 * ospf_dump.h: Likewise.
1940
1941 * ospf_packet.c (ospf_hello): Display router ID on Bad NSSA Hello.
1942
1943 * ospfd.c: Discard_LSA to stay away from LOCAL_XLT Process NSSA
1944 'never, candidate, always'. Change "suppress" to "not-advertise".
1945
1946 * ospfd.h: Add TranslatorRole to struct ospf_area. Add anyNSSA to
1947 struct ospf.
1948
1949 * ospf_ase.c (ospf_ase_calculate_route): External to stay away
1950 from LOCAL_XLT
1951
1952 * ospf_nsm.c (ospf_db_summary_add): External to stay away from
1953 LOCAL_XLT
1954
1955 * ospf_abr.c: Major logic added for abr_nssa_task(). If ABR, and
1956 NSSA translator, then do it. Approve the global list, and flush
1957 any unapproved.
1958
1959 * ospf_lsa.h: New LSA flag OSPF_LSA_LOCAL_XLT to indicate that the
1960 Type-5 resulted from a Local Type-7 translation; not used for
1961 flooding, but used for flushing.
1962
1963 * ospf_flood.c: New NSSA flooding.
1964
1965 2000-12-08 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1966
1967 * ospfd.c (ospf_find_vl_data): New function for looking up virtual
1968 link data.
1969 (ospf_vl_set_security): Virtual link configuration with
1970 authentication.
1971 (ospf_vl_set_timers): Set timers for virtual link.
1972
1973 * New commands are added.
1974 "area A.B.C.D virtual-link A.B.C.D"
1975 "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>"
1976 "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"
1977 "area A.B.C.D virtual-link A.B.C.D authentication-key AUTH_KEY"
1978 "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"
1979 "area A.B.C.D virtual-link A.B.C.D message-digest-key <1-255> md5 KEY"
1980
1981 * ospf_packet.c (ospf_check_md5_digest): Add neighbor's
1982 cryptographic sequence number treatment.
1983 (ospf_check_auth): OSPF input buffer is added to argument.
1984 (ospf_read): Save neighbor's cryptographic sequence number.
1985
1986 * ospf_nsm.c (nsm_change_status): Clear cryptographic sequence
1987 number when neighbor status is changed to NSM down.
1988
1989 * ospf_neighbor.c (ospf_nbr_new): Set zero to crypt_seqnum.
1990
1991 * ospf_neighbor.h (struct ospf_neighbor): Add cryptographic
1992 sequence number to neighbor structure.
1993
1994 2000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1995
1996 * ospf_snmp.c (ospfIfLookup): OSPF MIB updates.
1997 (ospfExtLsdbEntry): Add OspfExtLsdbTable treatment.
1998
1999 2000-11-28 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
2000
2001 * ospfd.c (ospf_interface_down): Clear a ls_upd_queue queue of the
2002 interface.
2003 (ospf_ls_upd_queue_empty): New function to empty ls update queue
2004 of the OSPF interface.
2005 (no_router_ospf): 'no router ospf' unregister redistribution
2006 requests from zebra.
2007
2008 2000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
2009
2010 * ospf_ism.c (ism_change_status): Increment status change number.
2011
2012 * ospf_interface.h (struct ospf_interface): Add new member for
2013 status change statistics.
2014
2015 * Makefile.am: Update dependencies.
2016
2017 * ospf_zebra.c (ospf_interface_add): OSPF SNMP interface update.
2018 (ospf_interface_delete): OSPF SNMP interface delete.
2019
2020 * ospf_snmp.h: New file is added.
2021
2022 2000-11-23 Dick Glasspool <dick@ipinfusion.com>
2023
2024 * ospfd.h: Add new ospf_area structure member for
2025 NSSATranslatorRole and NSSATranslator state.
2026
2027 * ospfd.c: Provided for eventual commands to specify NSSA
2028 elections for "translator- ALWAYS/NEVER/CANDIDATE". Provided for
2029 decimal integer version of area-suppress.
2030
2031 * ospf_flood.c: Flood Type-7's only into NSSA (not AS).
2032
2033 * ospf_lsa.c: Undo some previous changes for NSSA. If NSSA
2034 translator, advertise Nt bit.
2035
2036 * ospf_route.c: 1st version of "sh ip os border-routers".
2037
2038 2000-11-23 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
2039
2040 * ospfd.c (area_vlink): Virtual link can not configured in stub
2041 area.
2042
2043 2000-11-23 Gleb Natapov <gleb@nbase.co.il>
2044
2045 * ospf_packet.c (ospf_db_desc): In states Loading and Full the
2046 slave must resend its last Database Description packet in response
2047 to duplicate Database Description packets received from the
2048 master. For this reason the slave must wait RouterDeadInterval
2049 seconds before freeing the last Database Description packet.
2050 Reception of a Database Description packet from the master after
2051 this interval will generate a SeqNumberMismatch neighbor
2052 event. RFC2328 Section 10.8
2053 (ospf_make_db_desc): DD Master flag treatment.
2054
2055 * ospf_nsm.c (nsm_twoway_received): Move DD related procedure to
2056 nsm_change_status().
2057 (nsm_bad_ls_req): Likewise.
2058 (nsm_adj_ok): Likewise.
2059 (nsm_seq_number_mismatch): Likewise.
2060 (nsm_oneway_received): Likewise.
2061
2062 * ospf_neighbor.h (struct ospf_neighbor): New structure member
2063 last_send_ts for timestemp when last Database Description packet
2064 was sent.
2065
2066 * ospf_nsm.c (ospf_db_desc_timer): Make it sure nbr->last_send is
2067 there. Call ospf_db_desc_resend() in any case.
2068
2069 2000-11-16 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
2070
2071 * ospf_lsa.c (lsa_link_broadcast_set): When there is no DR on
2072 network (suppose you have only one router with interface priority
2073 0). It's router LSA does not contain the link information about
2074 this network.
2075
2076 * ospf_nsm.c (nsm_timer_set): When you change a priority of
2077 interface from/to 0 ISM_NeighborChange event should be scheduled
2078 in order to elect new DR/BDR on the network.
2079
2080 * ospf_interface.c (ip_ospf_priority): Likewise.
2081
2082 * ospf_flood.c (ospf_ls_retransmit_add): When we add some LSA into
2083 retransmit list we need to check whether the present old LSA in
2084 retransmit list is not more recent than the new
2085 one.
2086
2087 2000-11-09 Dick Glasspool <dick@ipinfusion.com>
2088
2089 * ospf_packet.c: Allows for NSSA Type-7 LSA's throughout the NSSA
2090 area. Any that exit the NSSA area are translated to type-5 LSA's.
2091 The instantiated image is restored after translation.
2092 (ospf_ls_upd_send_list): Renamed to ospf_ls_upd_queu_send().
2093 (ospf_ls_upd_send): Old function which enclosed by #ifdef 0 is
2094 removed.
2095 (ospf_ls_ack_send): Likewise.
2096
2097 * ospf_flood.c: NSSA-LSA's without P-bit will be restricted to
2098 local area. Otherwise they are allowed out the area to be
2099 translated by ospf_packet.c.
2100
2101 * ospf_lsa.c: Undo some previous changes for NSSA.
2102
2103 * ospf_lsdb.h: New access for type 7.
2104
2105 2000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2106
2107 * ospf_route.c (ospf_path_exist): New function to check nexthop
2108 and interface are in current OSPF path or not.
2109 (ospf_route_copy_nexthops_from_vertex): Add nexthop to OSPF path
2110 when it is not there. Reported by Michael Rozhavsky
2111 <mrozhavsky@opticalaccess.com>
2112
2113 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2114
2115 * ospf_dump.c (config_write_debug): Add seventh string "detail" is
2116 added for flag is OSPF_DEBUG_SEND | OSPF_DEBUG_RECV |
2117 OSPF_DEBUG_DETAIL.
2118
2119 2000-11-06 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
2120
2121 * ospf_lsa.c (router_lsa_flags): ASBR can't exit in stub area.
2122
2123 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2124
2125 * ospf_lsa.c (ospf_router_lsa_originate): Reduce unconditional
2126 logging.
2127
2128 2000-11-06 Dick Glasspool <dick@ipinfusion.com>
2129
2130 * ospfd.h: Add ait_ntoa function prototype.
2131
2132 * ospfd.c (ait_ntoa): New function for displaying area ID and
2133 Stub/NSSA status.
2134 (show_ip_ospf_interface_sub): Use ait_ntoa.
2135 (show_ip_ospf_nbr_static_detail_sub): Likewise.
2136 (show_ip_ospf_neighbor_detail_sub): Likewise.
2137
2138 * ospf_route.c (ospf_intra_route_add): Set external routing type
2139 to ospf route.
2140 (ospf_intra_add_router): Likewise.
2141 (ospf_intra_add_transit): Likewise.
2142 (ospf_intra_add_stub): Likewise.
2143 (ospf_add_discard_route): Likewise.
2144 (show_ip_ospf_route_network): Use ait_ntoa.
2145 (show_ip_ospf_route_network): Likewise.
2146 (show_ip_ospf_route_router): Likewise.
2147
2148 * ospf_lsa.c (show_lsa_detail): Use ait_ntoa.
2149 (show_lsa_detail_adv_router): Likewise.
2150 (show_ip_ospf_database_summary): Likewise.
2151
2152 * ospf_route.h (struct route_standard): Add new member
2153 external_routing.
2154
2155 * ospf_ia.c (process_summary_lsa): Set external routing tyep to ospf
2156 route.
2157 (ospf_update_network_route): Likewise.
2158 (ospf_update_router_route): Likewise.
2159
2160 2000-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2161
2162 * ospf_flood.c (ospf_process_self_originated_lsa): Enclose
2163 OSPF_AS_NSSA_LSA treatment with #ifdef HAVE_NSSA.
2164
2165 2000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2166
2167 * Unconditional logging is enclosed with if (IS_DEBUG_OSPF_EVENT).
2168 Please specify "debug ospf event" for enable logging.
2169
2170 * ospf_ism.c: Do not extern debug flag varible. It is done by
2171 ospf_debug.h
2172 * ospf_asbr.c: Likewise.
2173 * ospf_lsa.c: Likewise.
2174 * ospf_nsm.c: Likewise.
2175 * ospf_zebra.c: Likewise.
2176
2177 * ospf_dump.c (debug_ospf_event): New command "debug ospf event"
2178 is added.
2179
2180 * ospfd.c (router_ospf): Change logging from vty_out() to
2181 zlog_info().
2182 (ospf_area_stub_cmd): Likewise.
2183
2184 * ospf_dump.h: Extern term_debug flags.
2185 (OSPF_DEBUG_EVENT): Add new flag.
2186 (IS_DEBUG_OSPF_EVENT): Add new macro.
2187
2188 2000-11-03 Dick Glasspool <dick@ipinfusion.com>
2189
2190 * ospf_flood.c (ospf_process_self_originated_lsa):
2191 OSPF_AS_NSSA_LSA is treated as same as OSPF_AS_EXTERNAL_LSA.
2192 (ospf_flood): Type-5's have no change. Type-7's can be received,
2193 and will Flood the AS as Type-5's They will also flood the local
2194 NSSA Area as Type-7's. The LSDB will be updated as Type-5's, and
2195 during re-fresh will be converted back to Type-7's (if within an
2196 NSSA).
2197 (ospf_flood_through): Incoming Type-7's were allowed here if our
2198 neighbor was an NSSA. So Flood our area with the Type-7 and also
2199 if we are an ABR, flood thru AS as Type-5.
2200
2201 * ospf_lsa.c (ospf_external_lsa_refresh): Flood NSSA both NSSA
2202 area and other area.
2203
2204 * ospf_packet.c (ospf_db_desc_proc): When AS External LSA is
2205 exists in DD packet, make it sure that this area is not stub.
2206 (ospf_ls_upd_list_lsa): When LSA type is NSSA then set lsa's area
2207 to NULL.
2208 (ospf_ls_upd): If the LSA is AS External LSA and the area is stub
2209 then discard the lsa. If the LSA is NSSA LSA and the area is not
2210 NSSA then discard the lsa.
2211
2212 2000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2213
2214 * ospfd.c (ospf_interface_run): Fix bug of Hello packet's option
2215 is not properly set when interface comes up.
2216
2217 2000-11-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2218
2219 * ospfd.h (OSPF_OPTION_O): Add new hello header option.
2220
2221 2000-11-01 Dick Glasspool <dick@ipinfusion.com>
2222
2223 * ospf_lsa.h: Define OSPF_MAX_LSA to 8 when HAVE_NSSA is enabled.
2224 (OSPF_GROUP_MEMBER_LSA): Define OSPF_GROUP_MEMBER_LSA.
2225
2226 * ospf_lsa.c (show_database_desc): Add "Group Membership LSA"
2227 string.
2228
2229 2000-10-31 Dick Glasspool <dick@ipinfusion.com>
2230
2231 * ospf_lsa.h (OSPF_AS_NSSA_LSA): Define OSPF_AS_NSSA_LSA.
2232
2233 * ospf_lsa.c (show_ip_ospf_database): NSSA database display
2234 function is added. ALIASES which have "show ip ospf database
2235 nssa-external" is added.
2236 (show_ip_ospf_border_routers): New command "show ip ospf
2237 border-routers" is added.
2238
2239 2000-10-30 Dick Glasspool <dick@ipinfusion.com>
2240
2241 * ospfd.c (router_ospf): NSSA Enabled message is added for
2242 testing.
2243 (ospf_area_type_set): Are type set for NSSA area.
2244 (ospf_area_stub_cmd): Special translation of no_summary into NSSA
2245 and summary information. If NSSA is enabled pass the information
2246 to ospf_area_type_set().
2247 (area_nssa): New commands are added:
2248 "area A.B.C.D nssa"
2249 "area <0-4294967295> nssa"
2250 "area A.B.C.D nssa no-summary"
2251 "area <0-4294967295> nssa no-summary"
2252 (ospf_no_area_stub_cmd): Special translation of no_summary into
2253 NSSA and summary information. If external_routing is
2254 OSPF_AREA_NSSA unset area with ospf_area_type_set (area,
2255 OSPF_AREA_DEFAULT).
2256 (show_ip_ospf_area): Display NSSA status.
2257 (config_write_ospf_area): Show NSSA configuration.
2258
2259 * ospf_packet.c (ospf_hello): For NSSA support, ensure that NP is
2260 on and E is off.
2261
2262 2000-10-26 Gleb Natapov <gleb@nbase.co.il>
2263
2264 * ospf_lsa.c (ospf_network_lsa_body_set): The network-LSA lists
2265 those routers that are fully adjacent to the Designated Router;
2266 each fully adjacent router is identified by its OSPF Router ID.
2267 The Designated Router includes itself in this list. RFC2328,
2268 Section 12.4.2.
2269
2270 2000-10-23 Jochen Friedrich <jochen@scram.de>
2271
2272 * ospf_snmp.c: ospf_oid and ospfd_oid are used in smux_open after
2273 it is registered. So those variables must be static.
2274
2275 2000-10-18 K N Sridhar <sridhar@euler.ece.iisc.ernet.in>
2276
2277 * ospfd.c: Add area_default_cost_decimal_cmd and
2278 no_area_default_cost_decimal_cmd alias.
2279
2280 2000-10-05 Gleb Natapov <gleb@nbase.co.il>
2281
2282 * ospfd.c (ospf_network_new): Fix setting area format.
2283 (no_router_ospf): Check area existance when calling
2284 ospf_interface_down().
2285
2286 * ospf_flood.c (ospf_external_info_check): Fix bug of refreshing
2287 default route.
2288
2289 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2290
2291 * zebra-0.89 is released.
2292
2293 2000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2294
2295 * ospf_snmp.c (ospfHostEntry): OSPF Host MIB is implemented.
2296
2297 * ospfd.c (ospf_nbr_static_cmp): OSPF neighbor is sorted by it's
2298 address.
2299
2300 2000-09-28 Michael Rozhavsky <mike@nbase.co.il>
2301
2302 * ospf_interface.c (ospf_if_free): Fix deleting self neighbor twice.
2303
2304 2000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2305
2306 * ospf_packet.c (ospf_read): Solaris on x86 has ip_len with host
2307 byte order.
2308
2309 2000-09-25 Toshiaki Takada <takada@zebra.org>
2310
2311 * ospfd.c (ospf_compatible_rfc1583), (no_ospf_compatible_rfc1583):
2312 Add CISCO compatible command.
2313
2314 2000-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2315
2316 * ospf_abr.c (ospf_area_range_lookup): New function is added for
2317 area range lookup in OSPF-MIB.
2318 (ospf_area_range_lookup_next): Likewise.
2319
2320 2000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2321
2322 * ospfd.c (no_router_ospf): Delete virtual link before deleting
2323 area structure.
2324
2325 * ospf_lsa.c (ospf_external_lsa_refresh_type): Check
2326 EXTERNAL_INFO(type).
2327
2328 * ospfd.c (no_router_ospf): Call ospf_vl_delete() instead of
2329 ospf_vl_data_free().
2330
2331 * ospf_interface.c (ospf_vl_shutdown): Execute ISM_InterfaceDown
2332 when ospf_vl_shutdown is called.
2333 (ospf_vl_delete): Call ospf_vl_shutdown() to delete virtual link
2334 interface's thread.
2335
2336 2000-09-21 Gleb Natapov <gleb@nbase.co.il>
2337
2338 * ospf_lsa.c: New implementation of OSPF refresh.
2339
2340 2000-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2341
2342 * ospf_snmp.c (ospfLsdbLookup): Add LSDB MIB implementation.
2343
2344 2000-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2345
2346 * ospf_snmp.c (ospfStubAreaEntry): Add OSPF stub area MIB.
2347
2348 2000-09-18 Gleb Natapov <gleb@nbase.co.il>
2349
2350 * ospf_route.h (route_standard): Change member from `struct area'
2351 to area_id.
2352
2353 * ospf_abr.c (ospf_abr_announce_network), (ospf_abr_should_announce),
2354 (ospf_abr_process_network_rt), (ospf_abr_announce_rtr),
2355 (ospf_abr_process_router_rt):
2356 * ospf_ase.c (ospf_find_asbr_route),
2357 (ospf_find_asbr_router_through_area),
2358 * ospf_ia.c (ospf_find_abr_route), (ospf_ia_router_route),
2359 (process_summary_lsa), (ospf_update_network_route),
2360 (ospf_update_router_route):
2361 * ospf_route.c (ospf_intra_route_add), (ospf_intra_add_router),
2362 (ospf_intra_add_transit), (ospf_intra_add_stub),
2363 (ospf_route_table_dump), (show_ip_ospf_route_network),
2364 (show_ip_ospf_route_router), (ospf_asbr_route_cmp),
2365 (ospf_prune_unreachable_routers):
2366 * ospf_spf.c (ospf_rtrs_print):
2367 * ospfd.c (ospf_rtrs_free): Fix the struct change above.
2368
2369 2000-09-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2370
2371 * ospf_network.c (ospf_serv_sock_init): Enclose SO_BINDTODEVICE
2372 with ifdef.
2373
2374 2000-09-13 Gleb Natapov <gleb@nbase.co.il>
2375
2376 * ospf_ism.c (ospf_elect_dr), (ospf_elect_bdr): Fix DR election.
2377
2378 * ospf_network.c (ospf_serv_sock_init): Add socket option
2379 SO_BINDTODEVICE on read socket.
2380
2381 * ospf_packet.c (ospf_hello): Ignore Hello packet if E-bit does
2382 not match.
2383
2384 * ospfd.c (ospf_area_check_free), (ospf_area_get),
2385 (ospf_area_add_if): New function added.
2386
2387 2000-09-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2388
2389 * ospf_route.c (ospf_intra_add_router): Update ABR and ASBR router
2390 count.
2391
2392 * ospf_spf.c (ospf_spf_init): Rest ABR and ASBR router count
2393 starting SPF calculation.
2394
2395 * ospfd.h (struct ospf_area): Add ABR and ASBR router count.
2396
2397 2000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2398
2399 * ospfd.c (ospf_area_id_cmp): New area structure is sorted by area
2400 ID.
2401
2402 * ospf_lsa.c (ospf_router_lsa_originate): For OSPF MIB update
2403 lsa_originate_count.
2404 (ospf_network_lsa_originate): Likewise.
2405 (ospf_summary_lsa_originate): Likewise.
2406 (ospf_summary_asbr_lsa_originate): Likewise.
2407 (ospf_external_lsa_originate): Likewise.
2408
2409 2000-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2410
2411 * ospf_snmp.c (ospf_variables): ospfRouterID's type RouterID
2412 syntax is IpAddress.
2413 (ospf_admin_stat): New function for OSPF administrative status
2414 check.
2415
2416 2000-09-10 Jochen Friedrich <jochen@scram.de>
2417
2418 * ospf_snmp.c: Implement OSPF MIB skeleton.
2419
2420 2000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2421
2422 * ospf_snmp.c: New file is added.
2423
2424 2000-09-07 David Lipovkov <davidl@nbase.co.il>
2425
2426 * ospf_zebra.c (ospf_interface_delete): Add pseudo interface
2427 treatment.
2428
2429 * ospf_interface.c (interface_config_write): Likewise.
2430
2431 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2432
2433 * zebra-0.88 is released.
2434
2435 2000-08-17 Michael Rozhavsky <mike@nbase.co.il>
2436
2437 * ospfd.c (ospf_area_free): Remove virtual link configuration only
2438 when Area is removed.
2439
2440 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2441
2442 * ospfd.c (network_area): Revert check for EXTERNAL_INFO
2443 (ZEBRA_ROUTE_CONNECT).
2444 (no_network_area): Likewise.
2445
2446 2000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2447
2448 * ospfd.h (struct ospf): Add distance_table and
2449 distance_{all,intra,inter,external}.
2450
2451 * ospf_zebra.c: Add OSPF distance related functions.
2452
2453 2000-08-15 Gleb Natapov <gleb@nbase.co.il>
2454
2455 * ospf_asbr.c (ospf_external_info_find_lsa): New function added.
2456
2457 * ospf_lsa.c (ospf_default_external_info),
2458 (ospf_default_originate_timer), (ospf_external_lsa_refresh_default):
2459 New function added.
2460
2461 * ospf_zebra.c
2462 (ospf_default_information_originate_metric_type_routemap),
2463 (ospf_default_information_originate_always_metric_type_routemap):
2464 Change name and add route-map function.
2465 (ospf_default_information_originate_metric_routemap),
2466 (ospf_default_information_originate_routemap),
2467 (ospf_default_information_originate_type_metric_routemap):
2468 New DEFUN added.
2469
2470 2000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2471
2472 * ospf_zebra.c (zebra_interface_if_set_value): Change ifindex
2473 restore size from two octet to four.
2474
2475 2000-08-14 Michael Rozhavsky <mike@nbase.co.il>
2476
2477 * ospf_ase.c (ospf_ase_incremental_update): Implement incremental
2478 AS-external-LSA in 16.6 of RFC2328.
2479
2480 2000-08-14 Matthew Grant <grantma@anathoth.gen.nz>
2481
2482 * ospf_interface.c (ospf_if_get_output_cost): Change cost
2483 calculation algorithm.
2484
2485 * ospf_packet (ospf_ls_upd): Fix problem of LSA retransmitting.
2486
2487 2000-08-11 Michael Rozhavsky <mike@nbase.co.il>
2488
2489 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix maxage remover for
2490 AS-external-LSAs.
2491
2492 2000-08-10 Toshiaki Takada <takada@zebra.org>
2493
2494 * ospfd.c (auto_cost_reference_bandwidth): New DEFUN added.
2495 `auto-cost reference-bandwidth' OSPF router command added.
2496
2497 2000-08-08 Gleb Natapov <gleb@nbase.co.il>
2498
2499 * ospf_routemap.c (ospf_route_map_update): New function added.
2500 Add route-map event hook.
2501
2502 2000-08-08 Toshiaki Takada <takada@zebra.org>
2503
2504 * ospf_zebra.c (ospf_distribute_check_connected): If redistribute
2505 prefix is connected route on OSPF enabled interface, suppress to
2506 announce it.
2507
2508 2000-08-08 Matthew Grant <grantma@anathoth.gen.nz>
2509
2510 * ospf_interface.c (ospf_if_get_output_cost):
2511 New function added. Handle bandwidth parameter for cost
2512 calculation.
2513
2514 2000-08-08 Michael Rozhavsky <mike@nbase.co.il>
2515
2516 * ospf_interface.c (interface_config_write): Show interface
2517 configuration regardless interface is down.
2518
2519 * ospf_ase.c (ospf_ase_caocluate_route): Whole rewritten external
2520 route calculate function.
2521
2522 2000-08-08 Gleb Natapov <gleb@nbase.co.il>
2523
2524 * ospf_routemap.c: New file added.
2525
2526 * ospf_asbr.c (ospf_reset_route_map_set_values),
2527 (ospf_route_map_set_compare): New function added.
2528
2529 * ospf_lsa.c (ospf_external_lsa_body_set): Set routemap metric
2530 with AS-external-LSA.
2531
2532 2000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2533
2534 * ospf_ase.c (ospf_ase_calculate_route_add): Pass new->cost to
2535 ospf_zebra_add as metric.
2536 (ospf_ase_calculate_route_add): Likewise.
2537
2538 * ospf_route.c (ospf_route_install): Pass or->cost to
2539 ospf_zebra_add as metric.
2540
2541 * ospf_zebra.c (ospf_zebra_add): Add metric arguemnt.
2542 (ospf_zebra_delete): Likewise.
2543
2544 2000-08-03 Matthew Grant <grantma@anathoth.gen.nz>
2545
2546 * ospf_flood.c (ospf_flood_delayed_lsa_ack): New function added.
2547 Dispatch delayed-ACK with flooding AS-external-LSA across virtual
2548 link.
2549
2550 2000-07-31 Matthew Grant <grantma@anathoth.gen.nz>
2551
2552 * ospfd.c (show_ip_ospf_area): Fix lack of VTY_NEWLINE when
2553 `show ip ospf'.
2554
2555 * ospf_interface.c (ospf_if_free): Fix bug of crash with
2556 Point-to-Point interface.
2557
2558 2000-07-27 Michael Rozhavsky <mike@nbase.co.il>
2559
2560 * ospf_flood.c (ospf_process_self_originated_lsa):
2561 Make sure to clear LSA->param (redistributed external information)
2562 before refreshment.
2563
2564 2000-07-27 Gleb Natapov <gleb@nbase.co.il>
2565
2566 * ospfd.c (refresh_group_limit), (refresh_per_slice),
2567 (refresh_age_diff): New defun added. Refresher related parameter
2568 can be configurable.
2569
2570 2000-07-27 Akihiro Mizutani <mizutani@dml.com>
2571
2572 * ospf_interface.c (interface_config_write): Print `description'
2573 config directive to work.
2574
2575 2000-07-24 Akihiro Mizutani <mizutani@dml.com>
2576
2577 * ospf_interface.c (ospf_if_init): Use install_default for
2578 INTERFACE_NODE.
2579
2580 2000-07-24 Gleb Natapov <gleb@nbase.co.il>
2581
2582 * ospf_packet.c (ospf_ls_upd_send_list), (ospf_ls_upd_send_event),
2583 (ospf_ls_ack_send_list), (ospf_ls_ack_send_event): New function added.
2584 This make sending always as many LS update/Ack combined in one ospf
2585 packet.
2586
2587 2000-07-24 Gleb Natapov <gleb@nbase.co.il>
2588
2589 * ospf_packet.c (ospf_ls_upd_list_lsa): Set NULL to lsa->area if
2590 LSA is AS-external-LSA.
2591
2592 * ospf_nsm.c (nsm_reset_nbr): Do not cancel Inactivity timer.
2593
2594 2000-07-21 Toshiaki Takada <takada@zebra.org>
2595
2596 * ospf_zebra.c (ospf_default_originate_timer): Set timer for
2597 `default-information originate'. Fix some default originate
2598 related functions.
2599
2600 2000-07-12 Toshiaki Takada <takada@zebra.org>
2601
2602 * ospf_lsa.c (stream_put_ospf_metric): New function added.
2603
2604 2000-07-12 Toshiaki Takada <takada@zebra.org>
2605
2606 * ospf_lsa.c (show_ip_ospf_database_router),
2607 (show_ip_ospf_database_network), (show_ip_ospf_database_summary),
2608 (show_ip_ospf_database_summary_asbr), (show_ip_ospf_database_externel),
2609 (show_router_lsa), (show_any_lsa), (show_router_lsa_self),
2610 (show_any_lsa_self): Functions removed.
2611
2612 (show_lsa_prefix_set), (show_lsa_detail_proc), (show_lsa_detail),
2613 (show_lsa_detail_adv_router_proc), (show_lsa_detail_adv_router):
2614 New functions added. Replace above functions.
2615
2616 (show_ip_ospf_database_all), (show_ip_ospf_database_self_originated):
2617 Functions removed.
2618 (show_ip_ospf_database_summary): New functions added. Replace
2619 above functions.
2620
2621 (show_ip_ospf_database_cmd): DEFUN rearranged.
2622 (show_ip_ospf_database_type_id_cmd),
2623 (show_ip_ospf_database_type_id_adv_router_cmd),
2624 (show_ip_ospf_database_type_is_self_cmd): New ALIASes added.
2625 (show_ip_ospf_database_type_adv_rotuer_cmd): New DEFUN added.
2626 (show_ip_ospf_database_type_self_cmd): New ALIAS added.
2627
2628 2000-07-11 Toshiaki Takada <takada@zebra.org>
2629
2630 * ospf_asbr.c (ospf_external_info_new),
2631 (ospf_external_info_free): New functions added.
2632
2633 * ospf_lsa.h (ospf_lsa): Add new member `void *param' to set
2634 origination parameter for external-LSA.
2635 Remove member `redistribute'.
2636
2637 * ospf_zebra.c (ospf_redistirbute_set): When `redistribute'
2638 command executed, metric and metric-type values are overridden.
2639 If one of those is changed refresh AS-external-LSAs for appropriate
2640 type.
2641
2642 2000-07-11 Michael Rozhavsky <mike@nbase.co.il>
2643
2644 * ospf_lsa.c (ospf_summary_lsa_refresh),
2645 (ospf_summary_asbr_lsa_refresh): Make sure to refresh summary-LSAs.
2646
2647 * ospf_abr.c (set_metric): New function added.
2648
2649 2000-07-07 Toshiaki Takada <takada@zebra.org>
2650
2651 * ospf_zebra.c (ospf_default_information_originate_metric_type),
2652 (ospf_default_information_originate_type_metric): New defun added.
2653 Metic and Metric type can be set to default route.
2654 (ospf_default_information_originate_always_metric_type):
2655 (ospf_default_information_originate_always_type_metric):
2656 New defun added. Metric and Metric type can be set to default
2657 always route.
2658
2659 * ospf_zebra.c (ospf_default_metric), (no_ospf_default_metric):
2660 New defun added.
2661
2662 2000-07-06 Gleb Natapov <gleb@nbase.co.il>
2663
2664 * ospf_flood.c (ospf_flood_through_area): Fix bug of considering
2665 on the same interface the LSA was received from.
2666
2667 2000-07-06 Michael Rozhavsky <mike@nbase.co.il>
2668
2669 * ospfd.c (ospf_config_write): Fix bug of printing `area stub'
2670 command with `write mem'.
2671
2672 * ospfd.c (no_router_ospf): Remove installed routes from zebra.
2673
2674 * ospf_zebra.c (ospf_interface_delete): Fix function to handle
2675 zebra interface delete event.
2676
2677 2000-07-06 Toshiaki Takada <takada@zebra.org>
2678
2679 * ospf_zebra.c (ospf_default_information_originate),
2680 (ospf_default_information_originate_always): New DEFUN added.
2681
2682 2000-07-05 Michael Rozhavsky <mike@nbase.co.il>
2683
2684 * ospf_route.c (ospf_terminate): Make sure to remove external route
2685 when SIGINT received.
2686
2687 2000-07-03 Gleb Natapov <gleb@nbase.co.il>
2688
2689 * ospf_flood.c, ospf_ism.c, ospf_lsa,c, ospfd.c: Make sure to free
2690 many structure with `no router ospf'.
2691
2692 2000-06-30 Gleb Natapov <gleb@nbase.co.il>
2693
2694 * ospf_neighbor.c (ospf_nbr_new),
2695 ospf_nsm.c (nsm_timer_set): Start LS update timer only
2696 when neighbor enters Exchange state.
2697
2698 2000-06-29 Gleb Natapov <gleb@nbase.co.il>
2699
2700 * ospf_nsm.c (nsm_timer_set), (nsm_exchange_done),
2701 ospf_packet.c (ospf_db_desc_proc):
2702 Do not cancel DD retransmit timer when Master.
2703
2704 2000-06-29 Gleb Natapov <gleb@nbase.co.il>
2705
2706 * ospf_abr.c (ospf_abr_announce_network_to_area),
2707 (ospf_abr_announce_rtr_to_area)
2708 ospf_ase.c (ospf_ase_rtrs_register_lsa),
2709 ospf_flood.c (ospf_process_self_originated_lsa),
2710 (ospf_flood_through_area), (ospf_ls_request_delete),
2711 ospf_interface.c (ospf_if_free),
2712 ospf_ism.c (ism_change_status),
2713 ospf_lsa.c (ospf_router_lsa_update_timer),
2714 (ospf_router_lsa_install), (ospf_network_lsa_install),
2715 (ospf_lsa_maxage_delete), (ospf_lsa_action),
2716 (ospf_schedule_lsa_flood_area),
2717 ospf_nsm.c (nsm_change_status),
2718 ospf_packet.c (ospf_make_ls_req_func), (ospf_make_ls_ack):
2719 Use ospf_lsa_{lock,unlock} for all looking-up of LSA.
2720
2721 * ospf_flood.c (ospf_ls_request_free): Function deleted.
2722
2723 * ospf_lsa.c (ospf_discard_from_db): New function added.
2724
2725 2000-06-26 Toshiaki Takada <takada@zebra.org>
2726
2727 * ospfd.h (ospf): struct member `external_lsa' name changed to
2728 `lsdb'.
2729
2730 2000-06-26 Toshiaki Takada <takada@zebra.org>
2731
2732 * ospf_lsa.c (ospf_lsa_install), (ospf_router_lsa_install),
2733 (ospf_network_lsa_install), (ospf_summary_lsa_install),
2734 (ospf_summary_asbr_lsa_install), (ospf_external_lsa_install):
2735 Functions re-arranged.
2736
2737 * ospf_lsa.c (IS_LSA_MAXAGE), (IS_LSA_SELF): Macro added.
2738
2739 2000-06-20 Michael Rozhavsky <mike@nbase.co.il>
2740
2741 * ospf_packet.c (ospf_ls_req), (ospf_ls_upd), (ospf_ls_ack): Add
2742 verification of LS type.
2743
2744 2000-06-20 Gleb Natapov <gleb@nbase.co.il>
2745
2746 * ospf_ase.c (ospf_ase_calculate_timer): Add more sanity check
2747 whether rn->info is NULL.
2748
2749 2000-06-20 Toshiaki Takada <takada@zebra.org>
2750
2751 * ospfd.c (show_ip_ospf_interface_sub): Show Router-ID of both
2752 DR and Backup correctly with `show ip ospf interface' command.
2753
2754 2000-06-20 Toshiaki Takada <takada@zebra.org>
2755
2756 * ospf_lsa.c (ospf_lsa_lock), (ospf_lsa_unlock),
2757 (ospf_lsa_discard): These functions are used for avoiding
2758 unexpected reference to freed LSAs.
2759
2760 2000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2761
2762 * ospf_packet.c (ospf_ls_upd): Initialize lsa by NULL to avoid
2763 warning.
2764
2765 2000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2766
2767 * ospf_ase.h (ospf_ase_rtrs_register_lsa): Add prototype.
2768
2769 2000-06-12 Toshiaki Takada <takada@zebra.org>
2770
2771 * ospf_lsa.c (ospf_external_lsa_install): Make sure to register
2772 LSA to rtrs_external when replacing AS-external-LSAs in LSDB.
2773 Fix core dump.
2774
2775 2000-06-10 Toshiaki Takada <takada@zebra.org>
2776
2777 * ospf_lsdb.c (id_to_prefix), (ospf_lsdb_hash_key),
2778 (ospf_lsdb_hash_cmp), (ospf_lsdb_new), (ospf_lsdb_iterator),
2779 (lsdb_free), (ospf_lsdb_free), (ospf_lsdb_add), (ospf_lsdb_delete),
2780 (find_lsa), (ospf_lsdb_lookup), (find_by_id),
2781 (ospf_lsdb_lookup_by_id), (ospf_lsdb_lookup_by_header): Functinos
2782 removed for migration to new_lsdb.
2783
2784 * ospf_lsa.c (ospf_summary_lsa_install),
2785 (ospf_summary_asbr_lsa_install), (ospf_maxage_lsa_remover),
2786 (ospf_lsa_maxage_walker), (ospf_lsa_lookup),
2787 (ospf_lsa_lookup_by_id): Use new_lsdb instead of ospf_lsdb.
2788 (count_lsa), (ospf_lsa_count_table), (ospf_lsa_count),
2789 (ospf_get_free_id_for_prefix): Funcitions removed.
2790
2791 2000-06-09 Gleb Natapov <gleb@nbase.co.il>
2792
2793 * ospf_ism.c (ism_interface_down): Prevent some unneeded DR changes.
2794
2795 * ospf_packet.c (ospf_db_desc_proc): Fix memory leak.
2796 (ospf_hello): Always copy router-ID when hello is received.
2797
2798 2000-06-08 Gleb Natapov <gleb@nbase.co.il>
2799
2800 * ospf_lsa.h (struct ospf_lsa): Add member of pointer to struct
2801 ospf_area.
2802
2803 2000-06-08 Michael Rozhavsky <mike@nbase.co.il>
2804
2805 * ospf_ase.c (ospf_asbr_route_same): New function added.
2806 This function makes sure external route calculation more
2807 precisely.
2808
2809 2000-06-07 Michael Rozhavsky <mike@nbase.co.il>
2810
2811 * ospf_ism.c (ism_change_status): Use ospf_lsa_flush_area for
2812 network-LSA deletion instead of using ospf_lsdb_delete.
2813 Also cancel network-LSA origination timer.
2814
2815 2000-06-07 Levi Harper <lharper@kennedytech.com>
2816
2817 * ospf_interface.c (ospf_if_down): Close read fd when an interface
2818 goes down.
2819
2820 2000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2821
2822 * ospf_asbr.c (ospf_external_info_lookup): Add explicit brace for
2823 avoid ambiguous else.
2824
2825 * ospf_flood.c (ospf_external_info_check): Likewise.
2826
2827 2000-06-05 Toshiaki Takada <takada@zebra.org>
2828
2829 * ospf_nsm.c (nsm_adj_ok): Fix bug of DR election.
2830
2831 2000-06-04 Toshiaki Takada <takada@zebra.org>
2832
2833 * ospf_zebra.c (ospf_default_information_originate),
2834 (no_ospf_default_information_originate): New DEFUN added.
2835
2836 2000-06-03 Toshiaki Takada <takada@zebra.org>
2837
2838 * ospf_lsa.h, ospf_asbr.h (external_info): Struct moved from
2839 ospf_lsa.h to ospf_asbr.h.
2840
2841 * ospf_lsa.c, ospf_asbr.c (ospf_external_info_add),
2842 (ospf_external_info_delete): Function moved from ospf_lsa.c
2843 to ospf_asbr.c.
2844
2845 2000-06-03 Toshiaki Takada <takada@zebra.org>
2846
2847 * ospf_flood.c (ospf_external_info_check): New function added.
2848 (ospf_process_self_orignated_lsa): Make sure to flush
2849 self-originated AS-external-LSA, when router reboot and no longer
2850 originate those AS-external-LSA.
2851
2852 2000-06-02 Toshiaki Takada <takada@zebra.org>
2853
2854 * ospf_network.c (ospf_serv_sock): Remove SO_DONTROUTE
2855 socket option.
2856
2857 * ospf_packet.c (ospf_write): Set MSG_DONTROUTE flag for
2858 unicast destination packets.
2859
2860 2000-06-02 Toshiaki Takada <takada@zebra.org>
2861
2862 * ospf_lsdb.c (new_lsdb_delete): Delete entry from LSDB only when
2863 specified LSA matches.
2864
2865 2000-06-02 Gleb Natapov <gleb@nbase.co.il>
2866
2867 * ospf_network.c (ospf_serv_sock): Set SO_DONTROUTE
2868 socket option.
2869
2870 2000-06-01 Akihiro Mizutani <mizutani@dml.com>
2871
2872 * ospf_dump.c: Replace string `Debugging functions\n' with DEBUG_STR.
2873 Replace string `OSPF information\n' with OSPF_STR.
2874
2875 2000-06-01 Toshiaki Takada <takada@zebra.org>
2876
2877 * ospf_lsdb.[ch]: Use new_lsdb struct for network-LSA instead of
2878 ospf_lsdb.
2879
2880 2000-06-01 Toshiaki Takada <takada@zebra.org>
2881
2882 * ospf_dump.c (config_debug_ospf_packet), (config_debug_ospf_event),
2883 (config_debug_ospf_ism), (config_debug_ospf_nsm),
2884 (config_debug_ospf_lsa), (config_debug_ospf_zebra),
2885 (term_debug_ospf_packet), (term_debug_ospf_event),
2886 (term_debug_ospf_ism), (term_debug_ospf_nsm),
2887 (term_debug_ospf_lsa), (term_debug_ospf_zebra): Repalce debug_ospf_*
2888 variable to use for debug option flags.
2889
2890 (debug_ospf_packet), (debug_ospf_ism), (debug_ospf_nsm),
2891 (debug_ospf_lsa), (debug_ospf_zebra): Set {config,term}_debug_*
2892 flags when vty->node is CONFIG_NODE, otherwise set only term_debug_*
2893 flags.
2894
2895 * ospf_dump.h (CONF_DEBUG_PACKET_ON), (CONF_DEBUG_PACKET_OFF),
2896 (TERM_DEBUG_PACKET_ON), (TERM_DEBUG_PACKET_OFF),
2897 (CONF_DEBUG_ON), (CONF_DEBUG_OFF), (IS_CONF_DEBUG_OSPF_PACKET),
2898 (IS_CONF_DEBUG_OSPF): New Macro added.
2899
2900 2000-05-31 Toshiaki Takada <takada@zebra.org>
2901
2902 * ospfd.c (clear_ip_ospf_neighbor): New DEFUN added.
2903 Currently this command is used for only debugging.
2904
2905 * ospf_nsm.c (nsm_change_status): Make sure thread cancellation
2906 for network-LSA when DR has no full neighbors.
2907
2908 * ospf_nsm.c (ospf_db_summary_clear): New function added.
2909
2910 2000-05-30 Toshiaki Takada <takada@zebra.org>
2911
2912 * ospf_lsdb.c (new_lsdb_insert): LSAs are always freed by
2913 maxage_lsa_remover when LSA is replaced.
2914
2915 2000-05-25 Gleb Natapov <gleb@nbase.co.il>
2916
2917 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all): Add argument
2918 `struct ospf_area' to remove LSA from Link State retransmission list
2919 of neighbor from only one Area.
2920
2921 2000-05-24 Michael Rozhavsky <mike@nbase.co.il>
2922
2923 * ospf_lsdb.c (ospf_lsdb_add): Preserve flags field when
2924 overriting old LSA with new LSA.
2925
2926 2000-05-24 Gleb Natapov <gleb@nbase.co.il>
2927
2928 * ospf_lsa.c (ospf_router_lsa_body_set): Fix bug of router-LSA
2929 size calculation.
2930
2931 2000-05-22 Michael Rozhavsky <mike@nbase.co.il>
2932
2933 * ospf_route.c (ospf_intra_add_stub):
2934 * ospf_spf.h (struct vertex): Use u_int32_t for distance (cost)
2935 value instead of u_int16_t.
2936
2937 2000-05-22 Axel Gerlach <agerlach@datus.datus.com>
2938
2939 * ospf_ia.c (ospf_ia_network_route): Fix bug of Inter-area route
2940 equal cost path calculation.
2941
2942 2000-05-21 Toshiaki Takada <takada@zebra.org>
2943
2944 * ospf_ase.c (ospf_ase_calculate_route_delete): New function added.
2945 Make sure, when rotuer route is deleted, related external routes
2946 are also deleted.
2947
2948 2000-05-20 Toshiaki Takada <takada@zebra.org>
2949
2950 * ospfd.c (ospf_interface_down): Make sure interface flag is disable
2951 and set fd to -1.
2952
2953 2000-05-16 Toshiaki Takada <takada@zebra.org>
2954
2955 * ospf_asbr.c (ospf_asbr_should_announce), (ospf_asbr_route_remove):
2956 Functions removed.
2957
2958 * ospfd.h (EXTERNAL_INFO): Macro added.
2959 Substitute `ospf_top->external_info[type]' with it.
2960
2961 2000-05-16 Toshiaki Takada <takada@zebra.org>
2962
2963 * ospf_lsa.c (ospf_rtrs_external_remove): New function added.
2964
2965 2000-05-14 Gleb Natapov <gleb@nbase.co.il>
2966
2967 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all)
2968 * ospf_lsdb.c (new_lsdb_insert)
2969 * ospf_packet.c (ospf_ls_ack): Fix database synchonization problem.
2970
2971 2000-05-14 Gleb Natapov <gleb@nbase.co.il>
2972
2973 * ospf_lsa.h (tv_adjust), (tv_ceil), (tv_floor), (int2tv),
2974 (tv_add), (tv_sub), (tv_cmp): Prototype definition added.
2975
2976 * ospf_nsm.h (ospf_db_summary_delete_all): Prototype definition added.
2977
2978 2000-05-13 Toshiaki Takada <takada@zebra.org>
2979
2980 * ospf_lsa.[ch] (ospf_lsa): struct timestamp type is changed from
2981 time_t to struct timeval.
2982 (tv_adjust), (tv_ceil), (tv_floor), (int2tv), (tv_add),
2983 (tv_sub), (tv_cmp): timeval utillity functions added.
2984
2985 2000-05-12 Toshiaki Takada <takada@zebra.org>
2986
2987 * ospf_lsa.[ch] (ospf_schedule_update_router_lsas): Delete function.
2988 Change to use macro OSPF_LSA_UPDATE_TIMER instead of using
2989 this function.
2990 router-LSA refresh timer related stuff is re-organized.
2991
2992 2000-05-10 Gleb Natapov <gleb@nbase.co.il>
2993
2994 * ospf_interface.c (ospf_vl_set_params):
2995 * ospf_packet.c (ospf_check_network_mask):
2996 * ospf_spf.[ch] (ospf_spf_next):
2997 Remove field address from `struct vertex', and search for peer
2998 address of virtual link in function `ospf_vl_set_params' instead.
2999
3000 2000-05-10 Gleb Natapov <gleb@nbase.co.il>
3001
3002 * ospf_packet.c (ospf_ls_upd): Fix some memory leak related LSA.
3003
3004 2000-05-08 Thomas Molkenbur <tmo@datus.com>
3005
3006 * ospf_packet.c (ospf_packet_dup): Replace ospf_steram_copy()
3007 with ospf_stream_dup() to fix memory leak.
3008
3009 2000-05-08 Michael Rozhavsky <mike@nbase.co.il>
3010
3011 * ospf_flood.c (ospf_flood_through_area): Fix the problem of
3012 LSA update without DROther.
3013
3014 2000-05-04 Gleb Natapov <gleb@nbase.co.il>
3015
3016 * ospf_spf.c (ospf_vertex_free): Fix memory leak of SPF calculation.
3017
3018 2000-05-03 Toshiaki Takada <takada@zebra.org>
3019
3020 * ospf_neighbor.c (ospf_db_summary_add): Use new_lsdb struct
3021 instead linked-list.
3022 (ospf_db_summary_count), (ospf_db_summary_isempty):
3023 New function added.
3024
3025 * ospf_lsa.c (ospf_rotuer_lsa): Re-arrange and divide functions.
3026
3027 2000-05-02 Gleb Natapov <gleb@nbase.co.il>
3028
3029 * ospf_lsdb.c (new_lsdb_cleanup): Fix memory leak. When LSDB are
3030 not needed any more, then free them.
3031
3032 2000-05-02 Toshiaki Takada <takada@zebra.org>
3033
3034 * ospfd.c (timers_spf), (no_timers_spf): New defun added.
3035 SPF calculation timers related stuff is rearranged.
3036
3037 * ospf_spf.c (ospf_spf_calculate_timer_add): Function removed.
3038 SPF timer is scheduled by SPF calculation delay and holdtime
3039 configuration variable.
3040
3041 * ospf_lsa.c (ospf_external_lsa_nexthop_get): Set AS-external-LSA's
3042 forwarding address when nexthop learned by other protocols is
3043 in the OSPF domain.
3044
3045 * ospf_zebra.c (ospf_redistribute_source_metric_type),
3046 (ospf_redistribute_source_type_metric): Re-arrange DEFUNs and
3047 ALIASes.
3048
3049 2000-05-01 Toshiaki Takada <takada@zebra.org>
3050
3051 * ospf_flood.c (ospf_ls_retransmit_count),
3052 (ospf_ls_retransmit_isempty): New function added.
3053
3054 (ospf_ls_retransmit_add), (ospf_ls_retransmit_delete),
3055 (ospf_ls_retransmit_clear), (ospf_ls_retransmit_lookup),
3056 (ospf_ls_retransmit_delete_all), (ospf_ls_retransmit_delete_nbr_all),
3057 (ospf_ls_retransmit_add_nbr_all): Replace these functions to use
3058 new_lsdb.
3059
3060 2000-04-29 Toshiaki Takada <takada@zebra.org>
3061
3062 * ospfd.c (no_network_area): Add check Area-ID whether specified
3063 Area-ID with prefix matches config.
3064
3065 2000-04-27 Toshiaki Takada <takada@zebra.org>
3066
3067 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix problem of
3068 remaining withdrawn routes on zebra.
3069
3070 2000-04-25 Michael Rozhavsky <mike@nbase.co.il>
3071
3072 * ospf_nsm.c (nsm_kill_nbr), (nsm_ll_down), (nsm_change_status),
3073 (ospf_nsm_event): Fix network-LSA re-origination problem.
3074
3075 2000-04-24 Toshiaki Takada <takada@zebra.org>
3076
3077 * ospf_nsm.c (ospf_db_desc_timer): Fix bug of segmentation fault
3078 with DD retransmission.
3079
3080 * ospf_nsm.c (nsm_kill_nbr): Fix bug of re-origination when
3081 a neighbor disappears.
3082
3083 2000-04-23 Michael Rozhavsky <mike@nbase.co.il>
3084
3085 * ospf_abr.c (ospf_abr_announce_network_to_area): Fix bug of
3086 summary-LSAs reorigination. Correctly copy OSPF_LSA_APPROVED
3087 flag to new LSA. when summary-LSA is reoriginatd.
3088
3089 * ospf_flood.c (ospf_flood_through_area): Fix bug of flooding
3090 procedure. Change the condition of interface selection.
3091
3092 2000-04-21 Toshiaki Takada <takada@zebra.org>
3093
3094 * ospf_lsa.c (ospf_refresher_register_lsa): Fix bug of refresh never
3095 occurs.
3096
3097 * ospfd.c (show_ip_ospf_neighbor_id): New defun added.
3098 `show ip ospf neighbor' related commands are re-arranged.
3099
3100 2000-04-20 Toshiaki Takada <takada@zebra.org>
3101
3102 * ospf_dump.c (debug_ospf_zebra): New defun added.
3103 Suppress zebra related debug information.
3104
3105 2000-04-19 Toshiaki Takada <takada@zebra.org>
3106
3107 * ospf_zebra.c (ospf_distribute_list_update_timer),
3108 (ospf_distribute_list_update), (ospf_filter_update):
3109 New function added. Re-organize `distribute-list' router ospf
3110 command.
3111
3112 2000-04-13 Michael Rozhavsky <mike@nbase.co.il>
3113
3114 * ospf_packet.c (ospf_make_ls_upd): Add check for MAX_AGE.
3115
3116 2000-04-14 Michael Rozhavsky <mike@nbase.co.il>
3117
3118 * ospf_packet.c (ospf_make_ls_upd): Increment LS age by configured
3119 interface transmit_delay.
3120
3121 2000-04-14 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
3122
3123 * ospf_interface.c (ip_ospf_cost), (no_ip_ospf_cost):
3124 Add to schedule router_lsa origination when the interface cost changes.
3125
3126 2000-04-12 Toshiaki Takada <takada@zebra.org>
3127
3128 * ospf_lsa.c (ospf_refresher_register_lsa),
3129 (ospf_refresher_unregister_lsa): Fix bug of core dumped.
3130
3131 * ospfd.c (no_router_ospf): Fix bug of core dumped.
3132
3133 2000-03-29 Toshiaki Takada <takada@zebra.org>
3134
3135 * ospf_nsm.c (nsm_oneway_received): Fix bug of MS flag unset.
3136
3137 2000-03-29 Michael Rozhavsky <mike@nbase.co.il>
3138
3139 * ospf_lsa.c (ospf_network_lsa):
3140 * ospf_nsm.c (ospf_nsm_event): Fix bug of Network-LSA originated
3141 in stub network.
3142
3143 2000-03-28 Toshiaki Takada <takada@zebra.org>
3144
3145 * ospf_nsm.c (nsm_bad_ls_req), (nsm_seq_number_mismatch),
3146 (nsm_oneway_received): Fix bug of NSM state flapping between
3147 ExStart and Exchange.
3148
3149 2000-03-28 Toshiaki Takada <takada@zebra.org>
3150
3151 * ospf_packet.h (strcut ospf_header): Fix the size of ospf_header,
3152 change u_int8_t to u_char.
3153
3154 2000-03-27 Toshiaki Takada <takada@zebra.org>
3155
3156 * ospf_lsa.c (ospf_lsa_checksum): Take care of BIGENDIAN architecture.
3157
3158 2000-03-27 Toshiaki Takada <takada@zebra.org>
3159
3160 * ospfd.c (ospf_interface_run): Make sure Address family matches.
3161
3162 2000-03-26 Love <lha@s3.kth.se>
3163
3164 * ospf_packet.c (ospf_write): Chack result of sendto().
3165
3166 2000-03-26 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
3167
3168 * ospf_nsm.c (nsm_oneway_received): Fix bug of 1-WayReceived in NSM.
3169
3170 2000-03-23 Libor Pechacek <farco@clnet.cz>
3171
3172 * ospf_lsa.c (ospf_network_lsa)
3173 * ospf_lsdb.c (new_lsdb_insert): Fix bug of accessing to
3174 unallocated memory.
3175
3176 2000-03-23 Toshiaki Takada <takada@zebra.org>
3177
3178 * ospfd.c (ospf_config_write): Fix bug of duplicate line for
3179 `area A.B.C.D authentication'.
3180
3181 2000-03-22 Toshiaki Takada <takada@zebra.org>
3182
3183 * ospf_debug.c (debug_ospf_lsa), (no_debug_ospf_lsa): Defun added.
3184 Suppress all zlog related to LSAs with this config option.
3185
3186 2000-03-21 Kunihiro Ishiguro <kunihiro@zebra.org>
3187
3188 * ospf_nsm.c (ospf_nsm_event): Add check for NSM_InactivityTimer.
3189
3190 2000-03-21 Toshiaki Takada <takada@zebra.org>
3191
3192 * ospf_packet.c (ospf_ls_upd_timer), (ospf_ls_req):
3193 Fix bug of memory leak about linklist.
3194
3195 * ospf_flood.c (ospf_flood_through_area): Likewise.
3196
3197 2000-03-18 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
3198
3199 * ospf_flood.c (ospf_ls_retransmit_lookup): Add checksum comparison
3200 to identify LSA uniquely. This fix routes lost.
3201
3202 2000-03-18 Toshiaki Takada <takada@zebra.org>
3203
3204 * ospf_ase.c (ospf_find_asbr_route): Add sanity check with router
3205 routing table.
3206
3207 2000-03-17 Alex Zinin <zinin@amt.ru>
3208
3209 * ospf_spf.[ch]: Bug fix.
3210 The 2nd stage of Dijkstra could consider one vertex
3211 more than once if there is more than one link
3212 between the routers, thus adding extra CPU overhead
3213 and extra next-hops.
3214 Fixed.
3215
3216 2000-03-15 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
3217
3218 * ospf_nsm.c (nsm_inactivity_timer): Changed to call nsm_kill_nbr().
3219
3220 2000-03-14 Toshiaki Takada <takada@zebra.org>
3221
3222 * ospf_route.c (ospf_route_copy_nexthops): Fix bug of memory leak of
3223 ospf_path. Actually ignore merging ospf_route with completely same
3224 paths.
3225
3226 2000-03-12 Toshiaki Takada <takada@zebra.org>
3227
3228 * ospf_lsa.c (show_as_external_lsa_detail): fix bug of
3229 external route tag byte order.
3230
3231 2000-03-11 Toshiaki Takada <takada@zebra.org>
3232
3233 * ospf_lsdb.c (ospf_lsdb_insert): New function added.
3234
3235 2000-03-09 Toshiaki Takada <takada@zebra.org>
3236
3237 * ospf_lsa.c (ospf_external_lsa_install),
3238 (ospf_lsa_lookup), (show_ip_ospf_database_all),
3239 (show_ip_ospf_database_self_originate): Use struct new_lsdb for
3240 LSDB of AS-external-LSAs instead of ospf_lsdb.
3241
3242 * ospf_lsa.c (ospf_lsa_unique_id): New function added.
3243 Use for assigning Unique Link State ID instead of
3244 ospf_get_free_id_for_prefix().
3245
3246 2000-03-09 Toshiaki Takada <takada@zebra.org>
3247
3248 * ospf_ase.c (ospf_ase_calculate_timer): Fix bug of segmentation
3249 fault reported by George Bonser <george@siteROCK.com>.
3250
3251 2000-03-07 Libor Pechacek <farco@clnet.cz>
3252
3253 * ospfd.c (ospf_interface_down): Fix bug of segmentation fault.
3254
3255 2000-03-06 Toshiaki Takada <takada@zebra.org>
3256
3257 * ospf_route.c (ospf_route_cmp): Change meaning of return values.
3258
3259 2000-03-02 Alex Zinin <zinin@amt.ru>
3260 * ospfd.h, ospf_ia.h
3261 New Shortcut ABR code. Now area's flag can be configured
3262 with Default, Enable, and Disable values.
3263 More info will be in the new ver of I-D soon (see IETF web).
3264
3265 2000-02-25 Toshiaki Takada <takada@zebra.org>
3266
3267 * ospf_lsa.c (ospf_lsa_header_set), (ospf_external_lsa_body_set),
3268 (osfp_external_lsa_originate), (ospf_external_lsa_queue),
3269 (ospf_external_lsa_originate_from_queue): New function added.
3270 (ospf_external_lsa): Function removed.
3271
3272 * ospf_zebra.c (ospf_zebra_read_ipv4): Originate AS-external-LSA
3273 when listen a route from Zebra, instead creating external route.
3274
3275 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
3276 (ospf_asbr_route_add_queue_lsa),
3277 (ospf_asbr_route_install_lsa), (ospf_asbr_route_add):
3278 Functions removed.
3279
3280 * ospf_ase.c (process_ase_lsa): Function will not be used.
3281 (ospf_ase_calculate), (ospf_ase_calculate_route_add),
3282 (ospf_ase_calculate_new_route), (ospf_ase_caluculate_asbr_route):
3283 process_ase_lsa () is separated to these functions.
3284
3285 OSPF AS-external-LSA origination is whole re-organized.
3286
3287 2000-02-18 Toshiaki Takada <takada@zebra.org>
3288
3289 * ospf_packet.c (ospf_ls_upd): Fix bug of OSPF LSA memory leak.
3290
3291 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
3292 (ospf_asbr_route_add_queue_lsa): Fix bug of OSPF external route
3293 memory leak.
3294
3295 2000-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
3296
3297 * ospf_asbr.c (ospf_asbr_route_install_lsa): Re-calculate LSA
3298 checksum after change Advertised Router field.
3299
3300 2000-02-09 Toshiaki Takada <takada@zebra.org>
3301
3302 * ospf_asbr.c (ospf_external_route_lookup): Add new function.
3303
3304 2000-02-08 Toshiaki Takada <takada@zebra.org>
3305
3306 * ospfd.c (ospf_router_id_get), (ospf_router_id_update),
3307 (ospf_router_id_update_timer): Router ID decision algorithm is changed.
3308 Router ID is chosen from all of eligible interface addresses even if
3309 it is not enable to OSPF.
3310
3311 2000-02-08 Toshiaki Takada <takada@zebra.org>
3312
3313 * ospf_asbr.c (ospf_asbr_route_add): Function divided to
3314 ospf_asbr_route_add_flood_lsa, ospf_asbr_route_add_queue_lsa and
3315 ospf_asbr_route_install_lsa. If Router-ID is not set, then LSA is
3316 waited to install to LSDB.
3317 `0.0.0.0 adv_router' AS-external-LSA origination bug was fixed.
3318
3319 2000-02-01 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
3320
3321 * ospf_flood.c (ospf_ls_retransmit_lookup): Compare LS seqnum
3322 in the ACK before deleting.
3323
3324 * ospf_packet.c (ospf_hello): Reset the flags after a shutdown
3325 and no shutdown of the interface.
3326
3327 2000-01-31 Toshiaki Takada <takada@zebra.org>
3328
3329 * ospf_packet.c (ospf_ls_req): Send multiple Link State Update
3330 packets respond to a Link State Request packet.
3331
3332 * ospfd.c (show_ip_ospf_neighbor_detail_sub): Show thread state.
3333
3334 * ospf_interface.c (ospf_vl_new): Crash when backbone area
3335 is not configured and set virtual-link to no-backbone area,
3336 bug fixed.
3337
3338 2000-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3339
3340 * ospf_neighbor.h (struct ospf_neighbor): Add pointer to last send
3341 LS Request LSA.
3342
3343 * ospf_packet.c (ospf_ls_upd): Comment out LS request list
3344 treatment. That should be done in OSPF flooding procedure.
3345
3346 * ospf_flood.c (ospf_flood_through_area): Enclose
3347 ospf_check_nbr_loding inside if-else close.
3348
3349 2000-01-31 Toshiaki Takada <takada@zebra.org>
3350
3351 * ospf_packet.c (ospf_make_ls_upd): Fix bug of #LSAs counting.
3352
3353 2000-01-29 Toshiaki Takada <takada@zebra.org>
3354
3355 * ospf_packet.c (ospf_make_md5_digest): Fix bug of md5 authentication.
3356
3357 2000-01-28 Toshiaki Takada <takada@zebra.org>
3358
3359 * ospfd.c (show_ip_ospf): Show Number of ASE-LSAs.
3360
3361 2000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3362
3363 * ospf_packet.c (ospf_make_db_desc): Don't use rm_list for
3364 removing LSA from nbr->db_summary.
3365
3366 2000-01-27 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
3367
3368 * ospf_packet.c (ospf_ls_upd_send): Set AllSPFRouters to
3369 destination when the link is point-to-point.
3370 (ospf_ls_ack_send_delayed): Likewise.
3371
3372 2000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3373
3374 * ospf_flood.c (ospf_ls_request_delete_all): Fix bug of next
3375 pointer lookup after the node is freed.
3376
3377 2000-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
3378
3379 * ospf_asbr.c (ospf_asbr_route_add): Instead of scanning all AS
3380 external route, use ospf_top->external_self.
3381
3382 2000-01-27 Toshiaki Takada <takada@zebra.org>
3383
3384 * ospf_lsa.c (ospf_forward_address_get): New function added.
3385
3386 * ospf_asbr.c (ospf_asbr_check_lsas): Originate AS-external-LSA
3387 only when it should be replaced.
3388
3389 2000-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3390
3391 * ospf_flood.c (ospf_ls_retransmit_clear): Delete list node.
3392
3393 * ospf_lsa.c (ospf_lsa_free): Reduce logging message using
3394 ospf_zlog value.
3395
3396 * ospf_ism.c (ism_change_status): Fix bug of DR -> non DR status
3397 change. Self originated LSA is freed but not deleted from lsdb.
3398
3399 2000-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
3400
3401 * ospf_ism.c (ism_interface_down): Don't use router_id for
3402 detecting self neighbor structure. Instead of that compare
3403 pointer itself.
3404
3405 * ospf_neighbor.c (ospf_nbr_free): Cancel all timer when neighbor
3406 is deleted.
3407 (ospf_nbr_free): Free last send packet.
3408
3409 * ospf_neighbor.h (struct ospf_neighbor): Remove host strucutre.
3410 Instead of that src is introduced.
3411
3412 * ospf_nsm.h: Enclose macro defenition with do {} while (0).
3413
3414 2000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
3415
3416 * ospfd.c: Change part of passive interface implementation. For
3417 passive interface just disabling sending/receiving Hello on the
3418 interface.
3419
3420 2000-01-16 Kai Bankett <kai.bankett@vew-telnet.net>
3421
3422 * ospf_interface.h (OSPF_IF_PASSIVE): Add passive flag.
3423 * ospf_interface.c (ospf_if_lookup_by_name): Add new function.
3424 * ospf_lsa.c (ospf_router_lsa): Skip passive interface.
3425 * ospfd.c (passive_interface): New command passive-interface is
3426 added.
3427 (ospf_config_write): Print passive interface.
3428
3429 2000-01-15 Toshiaki Takada <takada@zebra.org>
3430
3431 * ospf_interface.h (crypt_key): New struct added to store
3432 multiple cryptographic autheitication keys.
3433 (ospf_interface): struct changed.
3434
3435 * ospf_interface.c: ospf_crypt_key_new, ospf_crypt_key_add,
3436 ospf_crypt_key_lookup, ospf_crypt_key_delete: new functions added.
3437
3438 * ospf_packet.c (ip_ospf_message_digest_key): Changed to store
3439 multiple cryptographic authentication keys.
3440
3441 2000-01-14 Toshiaki Takada <takada@zebra.org>
3442
3443 * ospf_interface.c: DEFUN (if_ospf_*) commands changed name to
3444 ip_ospf_* ().
3445 Old notation `ospf *' still remains backward compatibility.
3446
3447 1999-12-29 Alex Zinin <zinin@amt.ru>
3448 * ospf_lsa.c: ospf_lsa_more_recent() bug fix
3449 * ospf_nsm.c, ospf_packet.c: remove nbr data struct when
3450 int goes down, also check DD flags correctly (bug fix)
3451
3452 1999-12-28 Alex Zinin <zinin@amt.ru>
3453 * "redistribute <source> metric-type (1|2) metric <XXX>" added
3454
3455 1999-12-23 Alex Zinin <zinin@amt.ru>
3456 * added RFC1583Compatibility flag
3457 * added dynamic interface up/down functionality
3458
3459 1999-11-19 Toshiaki Takada <takada@zebra.org>
3460
3461 * ospf_neighbor.h (struct ospf_neighbor): Add member state_change
3462 for NSM state change statistics.
3463
3464 1999-11-19 Toshiaki Takada <takada@zebra.org>
3465
3466 * ospfd.c (show_ip_ospf_neighbor_detail),
3467 (show_ip_ospf_neighbor_int_detail): DEFUN Added.
3468
3469 1999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
3470
3471 * ospf_asbr.c (ospf_asbr_check_lsas): Add check of
3472 lsa->refresh_list.
3473
3474 1999-11-11 Toshiaki Takada <takada@zebra.org>
3475
3476 * ospf_ia.[ch] (OSPF_EXAMINE_SUMMARIES_ALL): Macro added.
3477 This macro is expanded to ospf_examine_summaries ()
3478 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
3479 (OSPF_EXAMINE_TRANSIT_SUMMARIES_ALL): Macro added.
3480 This macro is expanded to ospf_examine_transit_summaries ()
3481 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
3482
3483 1999-11-11 Toshiaki Takada <takada@zebra.org>
3484
3485 * ospf_lsa.[ch] (ospf_find_self_summary_lsa_by_prefix): Changed to
3486 macro OSPF_SUMMARY_LSA_SELF_FIND_BY_PREFIX.
3487 (ospf_find_self_summary_asbr_lsa_by_prefix): Changed to
3488 macro OSPF_SUMMARY_ASBR_LSA_SELF_FIND_BY_PREFIX.
3489 (ospf_find_self_external_lsa_by_prefix): Changed to
3490 macro OSPF_EXTERNAL_LSA_SELF_FIND_BY_PREFIX.
3491
3492 1999-11-11 Toshiaki Takada <takada@zebra.org>
3493
3494 * ospfd.c (ospf_abr_type): ospf_abr_type_cisco, ospf_abr_type_ibm,
3495 ospf_abr_type_shortcut and ospf_abr_type_standard DEFUNs are
3496 combined.
3497 * ospfd.c (no_ospf_abr_type): no_ospf_abr_type_cisco,
3498 no_ospf_abr_type_ibm and no_ospf_abr_type_shortcut DEFUNS are
3499 combined.
3500
3501 1999-11-10 Toshiaki Takada <takada@zebra.org>
3502
3503 * ospf_route.c (ospf_lookup_int_by_prefix): Move function to
3504 ospf_interface.c and change name to ospf_if_lookup_by_prefix ().
3505
3506 1999-11-01 Alex Zinin <zinin@amt.ru>
3507 * ospf_packet.c
3508 some correction to LSU processing
3509
3510 * ospf_lsa.c ospfd.h
3511 randomize initial LSA refreshment interval
3512 and limit the size of LSA-group to 10
3513 to let randomization work more effectively.
3514
3515 1999-10-31 Alex Zinin <zinin@amt.ru>
3516 * ospf_interface.c
3517 cancel t_network_lsa_self
3518 when freeing int structure
3519
3520 * ospf_abr.c ospf_asbr.c ospf_flood.c ospf_lsa.c
3521 ospf_lsa.h ospf_lsdb.h ospfd.c ospfd.h
3522
3523 Summary and ASE LSA refreshment functions
3524 added---LSA refreshment is paced to 70 LSAs
3525 per sec to avoid link overflow. Refreshment events
3526 are further randomized within a 10 sec interval
3527 to avoid syncing.
3528
3529 Also the sigfault of memcmp() in ospf_lsa_is_different()
3530 is fixed.
3531
3532 1999-10-30 Alex Zinin <zinin@amt.ru>
3533 * ospf_nsm.c
3534 Fix the bug where MAX_AGE LSAs
3535 are included into the DB summary.
3536
3537 * ospf_interface.c
3538 allocate 2*MTU input buffer instead of just MTU
3539 for the cases when the other router mistakenly
3540 sends larger packets thus causing fragmentation, etc.
3541
3542 * ospf_nsm.c
3543 in nsm_reset_nbr() lists should be freed
3544 not when they are empty.
3545
3546 1999-10-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3547
3548 * ospf_zebra.c (ospf_acl_hook): Move OSPF_IS_ASBR and OSPF_IS_ABR
3549 check inside of if (ospf_top).
3550
3551 1999-10-29 Alex Zinin <zinin@amt.ru>
3552 * ospf_lsa.c ospf_lsdb.c :
3553 add assertion in lsa and lsa->data alloc functions,
3554 as well as in lsdb_add for new->data
3555
3556 * ospf_lsdb.c: free hash table correctly
3557
3558 1999-10-28 John Capo <jc@irbs.com>
3559
3560 * ospf_packet.h (OSPF_PACKET_MAX): Correct MAX packet length
3561 calculation
3562
3563 1999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3564
3565 * OSPF-TRAP-MIB.txt: New file added. Edited version of RFC1850.
3566
3567 * OSPF-MIB.txt: New file added. Edited version of RFC1850.
3568
3569 1999-10-27 Alex Zinin <zinin@amt.ru>
3570 * ospfd, ospf_zebra, ospf_abr
3571 "area import-list" command is added.
3572 This command allows to filter the inter-area routes
3573 injected into an area. Access list hook function
3574 extended to invalidate area exp/imp lists.
3575
3576 1999-10-25 Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
3577
3578 * ospfd.c (ospf_interface_run): Enable to detect P2P network
3579 on an OSPF interface.
3580
3581 1999-10-19 Jordan Mendelson <jordy@wserv.com>
3582
3583 * ospf_lsdb.c (ospf_lsdb_add): Fix bug of crash
3584 in ospf_ls_retransmit_lookup ().
3585
3586 1999-10-19 Vladimir B. Grebenschikov <vova@express.ru>
3587
3588 * ospf_route.c: Workaround about installation of OSPF routes into
3589 the zebra daemon. Add checking of existance routes. Free
3590 ospf_top->old_table if it exists.
3591
3592 1999-10-15 Jordan Mendelson <jordy@wserv.com>
3593
3594 * Add support for MD5 authentication.
3595
3596 1999-10-12 Alex Zinin <zinin@amt.ru>
3597 * ospfd.c, ospfd.h, ospf_abr.c:
3598 a new command "area export-list" was added, it allows
3599 the admin. to control which intra-area routes are
3600 announced to other areas by the ABR
3601
3602 1999-10-12 Alex Zinin <zinin@amt.ru>
3603 * ospf_asbr.c (ospf_asbr_check_lsas): Fix bug of coredump
3604 when "no redistribute" is used after a distribute list
3605 denying some networks was used
3606
3607 1999-10-05 Toshiaki Takada <takada@zebra.org>
3608
3609 * ospf_route.c (ospf_path_dup): New function added.
3610
3611 1999-10-05 Toshiaki Takada <takada@zebra.org>
3612
3613 * ospf_interface.[ch]: Some of VL related funciton name changed.
3614
3615 1999-09-27 Alex Zinin <zinin@amt.ru>
3616
3617 * ospf_zebra.c: Distribute-list functionality added
3618
3619 1999-09-27 Toshiaki Takada <takada@zebra.org>
3620
3621 * ospfd.c (show_ip_ospf): Fix bug of segmentation fault when no ospf
3622 instance exists.
3623
3624 1999-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3625
3626 * ospfd.c (ospf_interface_down): Fix bug of misusing nextnode()
3627 instead of node->next. Reported by Hiroki Ishibashi
3628 <ishibasi@dcd.abk.nec.co.jp>.
3629
3630 * ospf_route.c (show_ip_ospf_route): Add check for ospf is enabled
3631 or not.
3632
3633 1999-09-23 Alex Zinin <zinin@amt.ru>
3634
3635 * stub area support added
3636
3637 1999-09-23 Alex Zinin <zinin@amt.ru>
3638
3639 * fwd_addr in ASE-LSAs is now set correctly
3640 * ASE routing changed to check the fwd_addr
3641 and skip the route if the addr points to one
3642 of our interfaces to avoid loops.
3643
3644 1999-09-22 Alex Zinin <zinin@amt.ru>
3645
3646 * ospf_interface:
3647 ospf_vls_in_area() added, it returns
3648 the number of VLs configured through the area
3649
3650 * ospf_interface.c ospf_lsa.c ospf_lsdb.c ospfd.c
3651 honor correct mem alloc
3652
3653 1999-09-22 Alex Zinin <zinin@amt.ru>
3654
3655 * memory.[ch]:
3656 Some OSPF mem types added,
3657 plus more info in "show mem"
3658
3659 1999-09-21 Alex Zinin <zinin@amt.ru>
3660
3661 * ospfd.c:
3662 "area range substitute" added.
3663 It can be used on NAT-enabled (IP-masquarade)
3664 routers to announce private networks
3665 from an area as public ones into the outside
3666 world (not in the RFC, btw :)
3667
3668 1999-09-21 Alex Zinin <zinin@amt.ru>
3669
3670 * ospfd.c:
3671 "area range suppress" added.
3672 This command allows to instruct the router
3673 to be silent about specific ranges, i.e.,
3674 it is a method of route filtering on area
3675 borders
3676
3677 1999-09-21 Alex Zinin <zinin@amt.ru>
3678
3679 * ospfd.c VLs removed when "no network area" executed
3680
3681 1999-09-20 Alex Zinin <zinin@amt.ru>
3682
3683 * ospf_ase.c bug fix for not-zero fwd_addr
3684 and directly connected routes.
3685
3686 1999-09-20 Yon Uriarte <yon@plannet.de>
3687
3688 * ospf_packet.c (ospf_make_ls_req): Introduce delta value for
3689 checking the length of OSPF packet exceeds MTU or not.
3690
3691 * ospf_lsa.c (ospf_lsa_different): Apply ntohs for checking
3692 l1->data->length.
3693
3694 1999-09-18 Alex Zinin <zinin@amt.ru>
3695
3696 * ospf_lsa.c bug fix for ospf_network_lsa() to
3697 include itself into the RID list
3698
3699 1999-09-10 Alex Zinin <zinin@amt.ru>
3700
3701 * Alternative ABR behaviors IBM/Cisco/Shortcut
3702 implemented
3703
3704 1999-09-10 Alex Zinin <zinin@amt.ru>
3705
3706 * router and network-LSA origination
3707 changed to honor MinLSInterval
3708
3709 1999-09-08 Alex Zinin <zinin@amt.ru>
3710
3711 * modified ABR behavior to honor VLs and transit
3712 areas
3713
3714 1999-09-07 Alex Zinin <zinin@amt.ru>
3715
3716 * completed VL functionality
3717
3718 1999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
3719
3720 * ospf_asbr.c: New file.
3721 ospf_asbr.h: New file.
3722
3723 * ospf_zebra.c (ospf_redistribute_connected): Add redistribute
3724 related stuff.
3725
3726 1999-09-05 Kunihiro Ishiguro <kunihiro@zebra.org>
3727
3728 * ospfd.h (OSPF_FLAG_VIRTUAL_LINK): Change OSPF_FLAG_VEND to
3729 OSPF_FLAG_VIRTUAL_LINK for comprehensiveness.
3730
3731 1999-09-03 Kunihiro Ishiguro <kunihiro@zebra.org>
3732
3733 * ospf_spf.c (ospf_spf_register): Change name from
3734 ospf_spf_route_add() to ospf_spf_register().
3735 Include "ospfd/ospf_abr.h" for ospf_abr_task() prototype.
3736
3737 1999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
3738
3739 * ospf_lsa.c (ospf_external_lsa_install): Change to update
3740 lsa->data rather than install new one, when same id lsa is already
3741 installed.
3742
3743 1999-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
3744
3745 * ospf_lsa.c (ospf_router_lsa_install): Return lsa value.
3746 (ospf_network_lsa_install): Likewise.
3747 (ospf_summary_lsa_install): Likewise.
3748 (ospf_summary_asbr_lsa_install): Likewise.
3749 (ospf_external_lsa_install): Likewise.
3750
3751 * ospf_spf.c (ospf_spf_calculate): Comment out debug function
3752 ospf_rtrs_print().
3753
3754 1999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
3755
3756 * ospf_spf.c (ospf_rtrs_free): Add ospf_spf_calculate() for
3757 freeing rtrs.
3758
3759 1999-08-31 Toshiaki Takada <takada@zebra.org>
3760
3761 * ospf_lsa.c (show_ip_ospf_database_summary),
3762 (show_ip_ospf_database_summary_asbr),
3763 (show_ip_ospf_database_external): New function added.
3764 `show ip ospf database summary',
3765 `show ip ospf database asbr-summary'
3766 `show ip ospf database external' command can be used.
3767
3768 * ospf_lsa.c (ospf_lsa_count_table): New function added.
3769 (show_ip_ospf_database_all): show nothing if a type of LSA
3770 does not exist.
3771
3772 1999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
3773
3774 * ospf_lsa.c (ospf_maxage_lsa_remover): Preserve next pointer when
3775 the node is deleted.
3776
3777 1999-08-31 Toshiaki Takada <takada@zebra.org>
3778
3779 * ospf_flood.c (ospf_ls_retransmit_lookup): change to return
3780 struct ospf_lsa *.
3781 (ospf_ls_request_new), (ospf_ls_request_free),
3782 (ospf_ls_request_add), (ospf_ls_request_delete),
3783 (ospf_ls_request_delete_all), (ospf_ls_request_lookup):
3784 New function added.
3785
3786 * ospf_packet.c (ospf_ls_upd_send_lsa): New function added.
3787
3788 * ospf_lsa.h (LS_AGE): Slightly change macro definition.
3789
3790 * ospf_lsa.c (ospf_lsa_more_recent), (ospf_lsa_diffrent):
3791 Use LS_AGE macro.
3792
3793 1999-08-30 Alex Zinin <zinin@amt.ru>
3794
3795 * ospfd.c
3796 fix a bug with area range config write
3797 added "show ip ospf" command, it will be enhanced later on
3798
3799 1999-08-30 Alex Zinin <zinin@amt.ru>
3800
3801 * ospf_lsa.c
3802 updated ospf_router_lsa() to honor flags (B-bit)
3803
3804 1999-08-30 Alex Zinin <zinin@amt.ru>
3805
3806 * ospf_abr.c
3807 wrote major functions implementing ABR activity
3808
3809 1999-08-30 Alex Zinin <zinin@amt.ru>
3810
3811 * ospf_ia.c ospf_route.c ospf_route.h
3812 fixed the bug with ospf_route.origin field.
3813 Now it holds pointer to lsa_header
3814
3815 1999-08-30 Alex Zinin <zinin@amt.ru>
3816
3817 * ospf_flood.c ospf_flood.h:
3818 transformed ospf_flood_if_select into ospf_flood_through_area()
3819 added new ospf_flood_if_select() and ospf_flood_through_as()
3820
3821 1999-08-30 Toshiaki Takada <takada@zebra.org>
3822
3823 * ospf_flood.[ch]: New file added.
3824
3825 * ospf_packet.c (ospf_lsa_flooding),
3826 (ospf_lsa_flooding_select_if): functions move to ospf_flood.c
3827
3828 * ospf_neighbor.c (ospf_put_lsa_on_retransm_list),
3829 (ospf_remove_lsa_from_retransm_list),
3830 (ospf_nbr_remove_all_lsas_from_retransm_list),
3831 (ospf_lsa_remove_from_ls_retransmit):
3832 (ospf_lsa_retransmit): functions move to
3833 ospf_flood.c, and change function's name:
3834
3835 ospf_put_lsa_on_retransm_list ()
3836 -> ospf_ls_retransmit_add ()
3837 ospf_remove_lsa_from_retransm_list ()
3838 -> ospf_ls_retransmit_delete ()
3839 ospf_nbr_remove_all_lsas_from_retransm_list ()
3840 -> ospf_ls_retransmit_clear ()
3841 ospf_lsa_remove_from_ls_retransmit ()
3842 -> ospf_ls_retransmit_delete_nbr_all ()
3843 ospf_lsa_retransmit ()
3844 -> ospf_ls_retransmit_add_nbr_all ()
3845
3846 * ospf_lsa.c (ospf_lsa_lookup_from_list): function move to
3847 ospf_flood.c, and change name to ospf_ls_retransmit_lookup ().
3848
3849 1999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3850
3851 * ospf_neighbor.c (ospf_nbr_lookup_by_addr): Use
3852 route_node_lookup() instead of route_node_get().
3853
3854 * ospf_packet.c (ospf_ls_upd): Temporary comment out (6) check.
3855
3856 1999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3857
3858 * ospf_route.c (ospf_lookup_int_by_prefix): Add check of
3859 oi->address.
3860
3861 1999-08-29 Alex Zinin <zinin@amt.ru>
3862 * ospf_lsa.c
3863 MaxAge LSA deletion functions added.
3864
3865 1999-08-29 Alex Zinin <zinin@amt.ru>
3866 * ospf_neighbor.c
3867 ospf_nbr_lookup_by_addr(): added route_unlock_node()
3868 when function returns NULL if (rn->info == NULL)
3869
3870 1999-08-29 Alex Zinin <zinin@amt.ru>
3871 * ospfd.c
3872 added a hack for area range deletion
3873
3874 1999-08-29 Alex Zinin <zinin@amt.ru>
3875 * ospf_lsa.h
3876 included lsdb field into struct ospf_lsa, to find
3877 LSDB easier when removing MaxAge LSAs.
3878
3879 1999-08-29 Alex Zinin <zinin@amt.ru>
3880 * ospf_lsa.c ospf_neighbor.c ospf_nsm.c
3881 ospf_packet.c changed to honor new retransmit list
3882 management functions
3883
3884 1999-08-29 Alex Zinin <zinin@amt.ru>
3885 * ospf_neighbor.c , .h added new retransmit list functions.
3886
3887 1999-08-29 Alex Zinin <zinin@amt.ru>
3888 * Makefile.in
3889 added ospf_ase, ospf_abr, ospf_ia
3890
3891 1999-08-29 Alex Zinin <zinin@amt.ru>
3892 * ospf_spf.c:
3893 - changed ospf_next_hop_calculation() to include interface
3894 and nexthop addr for directly connected routers---more informative
3895 and solves problem with route installation into the kernel
3896 - changed ospf_nexthop_out_if_addr() to support routers, not only
3897 transit networks
3898 - added ospf_process_stubs();
3899
3900 1999-08-29 Alex Zinin <zinin@amt.ru>
3901 * ospf_lsa.c:
3902 - changed ospf_router_lsa() to provide correct links
3903 for p-t-p interfaces;
3904 - changed ospf_summary_lsa_install() to support table
3905 of self-originated summary-LSAs;
3906 - added ospf_summary_asbr_lsa_install() and ospf_external_lsa_install()
3907 - changed ospf_lsa_install() accordingly
3908 - changed show_ip_ospf_database_router_links() to support p-t-p
3909
3910 1999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3911
3912 * ospf_packet.c (ospf_make_db_desc): Only master can clear more
3913 flag.
3914
3915 1999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3916
3917 * ospf_packet.c (ospf_read): Add check of IP src address.
3918
3919 1999-08-28 Alex Zinin <zinin@amt.ru>
3920 * ospf_neighbor.h
3921 added ospf_nbr_lookup_by_routerid()
3922
3923 1999-08-28 Alex Zinin <zinin@amt.ru>
3924 * ospfd.h
3925 added ABR/ASBR flag definitions and fields;
3926 added iflist field to area structure;
3927 summary_lsa_self and summary_lsa_asbr_self are changed
3928 to be route tables;
3929 added ranges field---configured area ranges;
3930 A separate Routers RT added;
3931 area range config commands and config write added
3932
3933
3934 1999-08-28 Alex Zinin <zinin@amt.ru>
3935 * ospf_route.c :
3936 ospf_route_free()--added code to free the list of paths;
3937 The following functions added:
3938 ospf_intra_add_router();
3939 ospf_intra_add_transit();
3940 ospf_intra_add_stub();
3941 the last function uses new ospf_int_lookup_by_prefix();
3942 show_ip_ospf_route_cmd()--changed to support new RT structure;
3943 added ospf_cmp_routes()--general route comparision function;
3944 added ospf_route_copy_nexthops() and ospf_route_copy_nexthops_from_vertex()
3945 they are used in ASE and IA routing;
3946 added ospf_subst_route() and ospf_add_route();
3947
3948 1999-08-28 Alex Zinin <zinin@amt.ru>
3949 * ospf_route.h :
3950 changed struct ospf_path to include output interface,
3951 changed struct ospf_route to support IA and ASE routing.
3952 added prototypes of the function used in IA and ASE modules.
3953
3954 1999-08-28 Alex Zinin <zinin@amt.ru>
3955 * ospf_lsa.h ospf_lsa.c :
3956 added ospf_my_lsa(), an interface independent version of
3957 ospf_lsa_is_self_originated(), it will be used in ASE and IA-routing.
3958
3959 1999-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3960
3961 * ospf_interface.c (interface_config_write): Add check for
3962 oi->nbr_self.
3963
3964 1999-08-25 Toshiaki Takada <takada@zebra.org>
3965
3966 * ospf_lsa.c (ospf_lsa_dup): New function added.
3967
3968 * ospf_packet.c (ospf_write), (ospf_read): Print send/recv
3969 interface in debug message.
3970
3971 1999-08-25 Toshiaki Takada <takada@zebra.org>
3972
3973 * ospf_packet.c (ospf_ls_ack_send): The name is changed from
3974 `ospf_ls_ack_send'.
3975 (ospf_ls_ack_send_delayed) (ospf_ls_ack_timer): New function added.
3976 Delayed Link State Acknowledgment is scheduled by timer.
3977
3978 1999-08-25 Alex Zinin <zinin@amt.ru>
3979
3980 * ospf_lsa.c (ospf_router_lsa): Incorrectly included link to
3981 a stub network instead of link to a transit network into
3982 originated router-LSA, bug fixed.
3983
3984 1999-08-24 Toshiaki Takada <takada@zebra.org>
3985
3986 * ospfd.c (ospf_update_router_id): New function added.
3987
3988 * ospf_network.c (ospf_write): Create new socket per transmission.
3989 And select outgoing interface whether dst is unicast or multicast.
3990
3991 * ospf_packet.c: LSA flooding will work.
3992
3993 1999-08-24 VOP <vop@unity.net>
3994
3995 * ospf_route.c: Include "sockunion.h"
3996
3997 1999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
3998
3999 * ospf_network.c (ospf_serv_sock_init): Enclose
4000 IPTOS_PREC_INTERNETCONTROL setting with #ifdef for OS which does
4001 not have the definition.
4002
4003 1999-08-23 Toshiaki Takada <takada@zebra.org>
4004
4005 * ospf_packet.c: Fix bug of DD processing.
4006
4007 1999-08-18 Toshiaki Takada <takada@zebra.org>
4008
4009 * ospf_lsa.c (show_ip_ospf_database): Show actual `LS age'.
4010
4011 1999-08-17 Toshiaki Takada <takada@zebra.org>
4012
4013 * ospf_lsa.h (OSPF_MAX_LSA): The value of OSPF_MAX_LSA is
4014 corrected. The bug of `mes_lookup' is fixed.
4015 This had been reported by Poul-Henning Kamp <phk@freebsd.org>.
4016
4017 * ospf_lsa.c (ospf_router_lsa_install): The name is changed from
4018 `ospf_add_router_lsa'.
4019 (ospf_network_lsa_install): The name is changed from
4020 `ospf_add_network_lsa'.
4021
4022 * ospf_interface.h (ospf_interface): Add member `nbr_self'.
4023
4024 * ospf_interface.c (ospf_if_is_enable): New function added.
4025
4026 1999-08-16 Toshiaki Takada <takada@zebra.org>
4027
4028 * ospf_lsa.h (struct lsa_header): The name is changed from
4029 `struct ospf_lsa'.
4030 (struct ospf_lsa): New struct added to control each LSA's aging
4031 and timers.
4032
4033 * ospf_lsa.c (ospf_lsa_data_free): The name is change from
4034 `ospf_lsa_free'.
4035 (ospf_lsa_data_new), (ospf_lsa_new), (ospf_lsa_free),
4036 (ospf_lsa_different), (ospf_lsa_install): New function added.
4037
4038 * ospf_packet.c (ospf_ls_upd_list_lsa): New function added.
4039
4040 1999-08-12 Toshiaki Takada <takada@zebra.org>
4041
4042 * ospf_nsm.c (nsm_reset_nbr): New function added.
4043 KillNbr and LLDown neighbor event call this function.
4044
4045 1999-08-10 Toshiaki Takada <takada@zebra.org>
4046
4047 * ospf_packet.c (ospf_ls_retransmit)
4048 (ospf_ls_upd_timer): New function added.
4049 Set retransmission timer for Link State Update.
4050
4051 1999-07-29 Toshiaki Takada <takada@zebra.org>
4052
4053 * ospf_ism.c (ospf_dr_election): Fix bug of DR election.
4054
4055 1999-07-28 Toshiaki Takada <takada@zebra.org>
4056
4057 * ospf_network.c (ospf_serv_sock_init): Set IP precedence field
4058 with IPTOS_PREC_INTERNET_CONTROL.
4059
4060 * ospf_nsm.c (nsm_change_status): Schedule NeighborChange event
4061 if NSM status change.
4062
4063 * ospf_packet.c (ospf_make_hello): Never include a neighbor in
4064 Hello packet, when the neighbor goes down.
4065
4066 1999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
4067
4068 * Makefile.am (noinst_HEADERS): Add ospf_route.h.
4069
4070 * ospf_route.c (show_ip_ospf_route): Add `show ip ospf route'
4071 command.
4072
4073 1999-07-25 Toshiaki Takada <takada@zebra.org>
4074
4075 * ospf_lsa.c (ospf_router_lsa): Fix bug of LS sequence number
4076 assignement.
4077
4078 1999-07-25 Kunihiro Ishiguro <kunihiro@zebra.org>
4079
4080 * ospf_route.c (ospf_route_table_free): New function added.
4081
4082 * ospf_spf.c (ospf_spf_next): Free vertex w when cw's and w's
4083 distance is same.
4084
4085 * ospfd.h (struct ospf): Add old_table.
4086
4087 * ospf_main.c (sighup): Call of log_rotate () removed.
4088
4089 * ospf_lsa.c (ospf_lsa_is_self_originated): Fix bug of checking
4090 area->lsa as self LSA. This should be area->lsa_self.
4091
4092 1999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
4093
4094 * ospf_zebra.c (ospf_zebra_add): ospf_zebra_add
4095 (),ospf_zebra_delete () added.
4096
4097 * ospf_spf.c (ospf_spf_calculate): Call ospf_intra_route_add ().
4098
4099 1999-07-24 Toshiaki Takada <takada@zebra.org>
4100
4101 * ospf_lsa.c: Change LS sequence number treatment.
4102 (ospf_lsa_is_self_originated): New function added.
4103 (show_ip_ospf_database_self_originated): New DEFUN added.
4104
4105 1999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
4106
4107 * ospf_interface.c (ospf_if_lookup_by_addr): Add loopback check.
4108
4109 1999-07-22 Toshiaki Takada <takada@zebra.org>
4110
4111 * ospf_spf.c (ospf_nexthop_new), (ospf_nexthop_free),
4112 (ospf_nexthop_dup): function added.
4113 (ospf_nexthop_calculation): function changed.
4114
4115 * ospf_interface.c (ospf_if_lookup_by_addr): function added.
4116
4117 1999-07-21 Toshiaki Takada <takada@zebra.org>
4118
4119 * ospf_spf.c (ospf_spf_closest_vertex): function removed.
4120
4121 1999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
4122
4123 * ospf_spf.c (ospf_spf_next): Apply ntohs for fetching metric.
4124
4125 1999-07-21 Toshiaki Takada <takada@zebra.org>
4126
4127 * ospf_neighbor.c (ospf_nbr_lookup_by_router_id): fundtion removed.
4128
4129 * ospf_lsa.c (show_ip_ospf_database_router): describe each
4130 connected link.
4131
4132 1999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
4133
4134 * ospf_spf.c (ospf_spf_next): V is router LSA or network LSA so
4135 change behavior according to LSA type.
4136 (ospf_lsa_has_link): Link check function is added.
4137
4138 1999-07-20 Kunihiro Ishiguro <kunihiro@zebra.org>
4139
4140 * ospf_spf.c (ospf_spf_calculate_schedule): Add new function for
4141 SPF calcultion schedule addtition.
4142 (ospf_spf_calculate_timer_add): Rough 30 sec interval SPF calc
4143 timer is added.
4144 (ospf_spf_next_router): Delete ospf_spf_next_network ().
4145
4146 * ospf_lsa.c (show_ip_ospf_database_all): Network-LSA display
4147 header typo correction. Display of router LSA's #link added.
4148
4149 1999-07-19 Toshiaki Takada <takada@zebra.org>
4150
4151 * ospf_packet.c (ospf_check_network_mask): Added new function for
4152 receiving Raw IP packet on an appropriate interface.
4153
4154 1999-07-16 Toshiaki Takada <takada@zebra.org>
4155
4156 * ospfd.c (ospf_router_id): new DEFUN added.
4157
4158 1999-07-15 Toshiaki Takada <takada@zebra.org>
4159
4160 * ospf_spf.c (ospf_spf_init), (ospf_spf_free),
4161 (ospf_spf_has_vertex), (ospf_vertex_lookup),
4162 (ospf_spf_next_router), (ospf_spf_next_network),
4163 (ospf_spf_closest_vertex), (ospf_spf_calculate):
4164 function added.
4165
4166 1999-07-13 Toshiaki Takada <takada@zebra.org>
4167
4168 * ospf_ism.c: fix bug of DR Election.
4169
4170 * ospf_nsm.c: fix bug of adjacency forming.
4171
4172 1999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
4173
4174 * ospfd.c (ospf_init): Change to use install_default.
4175
4176 1999-07-01 Rick Payne <rickp@rossfell.co.uk>
4177
4178 * ospf_zebra.c (zebra_init): Install standard commands to
4179 ZEBRA_NODE.
4180
4181 1999-06-30 Toshiaki Takada <takada@zebra.org>
4182
4183 * ospf_dump.c: Whole debug command is improved.
4184 (ISM|NSM) (events|status|timers) debug option added.
4185 (show_debugging_ospf): new DEFUN added.
4186
4187 1999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
4188
4189 * ospf_lsa.c (ospf_lsa_lookup_from_list): Change !IPV4_ADDR_CMP to
4190 IPV4_ADDR_SAME.
4191
4192 1999-06-29 Toshiaki Takada <takada@zebra.org>
4193
4194 * ospf_dump.c (ospf_summary_lsa_dump): Add summary-LSA dump routine.
4195 (ospf_as_external_lsa_dump): Add AS-external-LSA dump routine.
4196
4197 * ospf_nsm.c (nsm_twoway_received): fix condtion of adjacnet.
4198
4199 * ospf_ism.c (ospf_dr_election): fix DR Election.
4200
4201 * ospf_dump.c (ospf_nbr_state_message): fix `show ip ospf neighbor'
4202 command's state.
4203
4204 1999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
4205
4206 * ospf_dump.c (ospf_router_lsa_dump): Add router-LSA dump routine.
4207
4208 1999-06-28 Toshiaki Takada <takada@zebra.org>
4209
4210 * ospf_lsa.c (show_ip_ospf_database_network): fix bug of
4211 `show ip ospf database network' command output.
4212
4213 * ospf_nsm.c (nsm_inactivity_timer): Clear list of Link State
4214 Retransmission, Database Summary and Link State Request.
4215
4216 * ospf_packet.c (ospf_ls_req_timer): New function added.
4217 Set Link State Request retransmission timer.
4218
4219 1999-06-27 Kunihiro Ishiguro <kunihiro@zebra.org>
4220
4221 * ospf_main.c (main): Change default output from ZLOG_SYSLOG to
4222 ZLOG_STDOUT.
4223
4224 * ospfd.c (ospf_init): Register show_ip_ospf_interface_cmd and
4225 show_ip_ospf_neighbor_cmd to VIEW_NODE.
4226
4227 * ospf_lsa.c (ospf_lsa_init): Register show_ip_ospf_database_cmd
4228 and show_ip_ospf_database_type_cmd to VIEW_NODE.
4229
4230 1999-06-25 Toshiaki Takada <takada@zebra.org>
4231
4232 * ospf_packet.c: fix bug of DD making.
4233 fix bug of LS-Update reading.
4234
4235 1999-06-23 Toshiaki Takada <takada@zebra.org>
4236
4237 * ospf_packet.c: All type of packets are changed to use
4238 fifo queue structure.
4239 (ospf_fill_header) function added.
4240
4241 1999-06-22 Toshiaki Takada <takada@zebra.org>
4242
4243 * ospf_packet.c (ospf_packet_new): New function added to handle
4244 sending ospf packet by fifo queue structure.
4245 (ospf_packet_free), (ospf_fifo_new), (ospf_fifo_push),
4246 (ospf_fifo_pop), (ospf_fifo_head), (ospf_fifo_flush),
4247 (ospf_fifo_free): Likewise.
4248
4249 1999-06-21 Toshiaki Takada <takada@zebra.org>
4250
4251 * ospf_nsm.c (ospf_db_desc_timer): function added.
4252 (nsm_timer_set) function added.
4253 * ospf_dump.c (ospf_option_dump): function added.
4254 * ospf_packet.c (ospf_ls_req) (ospf_make_ls_req): function added.
4255
4256 1999-06-20 Toshiaki Takada <takada@zebra.org>
4257
4258 * ospf_lsa.c (ospf_lsa_more_recent): function added.
4259 * ospf_neighbor.h (struct ospf_neighbor): Change member ms_flag
4260 to dd_flags.
4261
4262 1999-06-19 Toshiaki Takada <takada@zebra.org>
4263
4264 * ospf_lsa.c: DEFUN (show_ip_ospf_database) Added.
4265 * ospf_interface.c (if_ospf_cost), (if_ospf_dead_interval),
4266 (if_ospf_hello_interval), (if_ospf_priority),
4267 (if_ospf_retransmit_interval), (if_ospf_transmit_delay)
4268 argument changed from NUMBER to <range>.
4269 DEFUN (if_ospf_network_broadcast),
4270 DEFUN (if_ospf_network_non_broadcast),
4271 DEFUN (if_ospf_network_point_to_multipoint),
4272 DEFUN (if_ospf_network_point_to_point) functions are combined to
4273 DEFUN (if_ospf_network).
4274
4275 1999-06-18 Toshiaki Takada <takada@zebra.org>
4276
4277 * ospf_lsa.c: ospf_add_router_lsa (), ospf_add_network_lsa (),
4278 ospf_lsa_lookup (), ospf_lsa_count () Added.
4279
4280 1999-06-15 Toshiaki Takada <takada@zebra.org>
4281
4282 * DEFUN (ospf_debug_ism), DEFUN (ospf_debug_nsm),
4283 DEFUN (no_ospf_debug_ism), DEFUN (no_ospf_debug_nsm) Added.
4284 `debug ospf ism' command shows debug message.
4285 `debuf ospf nsm' command shows debug message.
4286
4287 1999-06-14 Toshiaki Takada <takada@zebra.org>
4288
4289 * ospf_lsa.c: ospf_network_lsa () Added.
4290 ospf_lsa_checksum () Added.
4291 * DEFUN (ospf_debug_packet), DEFUN (no_ospf_debug_packet) Added.
4292 `debug ospf packet' command shows debug message.
4293
4294 1999-06-13 Toshiaki Takada <takada@zebra.org>
4295
4296 * ospf_packet.h: Remove struct ospf_ls_req {}, ospf_ls_upd {},
4297 ospf_ls_ack {}.
4298
4299 1999-06-11 Toshiaki Takada <takada@zebra.org>
4300
4301 * ospf_dump.c: fix IP packet length treatment.
4302
4303 1999-06-10 Toshiaki Takada <takada@zebra.org>
4304
4305 * ospf_ism.h: Add OSPF_ISM_EVENT_EXECUTE() Macro Added.
4306 * ospf_nsm.h: Add OSPF_NSM_EVENT_EXECUTE() Macro Added.
4307
4308 * ospf_packet.c: ospf_db_desc (), ospf_db_desc_send () Added.
4309 ospf_make_hello (), ospf_make_db_desc () Added.
4310 ospf_db_desc_proc () Added.n
4311
4312 * Database Description packet can be processed.
4313
4314 1999-06-08 Toshiaki Takada <takada@zebra.org>
4315
4316 * ospf_lsa.c: New file.
4317
4318 1999-06-07 Toshiaki Takada <takada@zebra.org>
4319
4320 * ospf_neighbor.c: ospf_fully_adjacent_count () Added.
4321
4322 1999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
4323
4324 * ospf_spf.[ch]: New file.
4325
4326 1999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
4327
4328 * ospf_zebra.c: Changed to use lib/zclient.c routines.
4329
4330 * ospf_zebra.h (zebra_start): Remove struct zebra.
4331
4332 1999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
4333
4334 * ospfd.c (ospf_config_write): Add cast (unsigned long int) to
4335 ntohl for sprintf warning.
4336
4337 1999-05-19 Toshiaki Takada <takada@zebra.org>
4338
4339 * ospf_ism.c (ospf_dr_election): Join AllDRouters Multicast group
4340 if interface state changes to DR or BDR.
4341
4342 1999-05-14 Stephen R. van den Berg <srb@cuci.nl>
4343
4344 * ospf_main.c (signal_init): SIGTERM call sigint.
4345 (sigint): Logging more better message.
4346
4347 1999-05-12 Toshiaki Takada <takada@zebra.org>
4348
4349 * ospfd.c: Fix bug of `no router ospf' statement, it will work.
4350
4351 1999-05-11 Toshiaki Takada <takada@zebra.org>
4352
4353 * ospf_neighbor.c: ospf_nbr_free () Added.
4354
4355 1999-05-10 Toshiaki Takada <takada@zebra.org>
4356
4357 * ospfd.h: struct ospf_area { }, struct ospf_network { } Changed.
4358 * Fix bug of `no network' statement, it will work.
4359
4360 1999-05-07 Toshiaki Takada <takada@zebra.org>
4361
4362 * ospf_interface.c, ospf_zebra.c: Fix bug of last interface is not
4363 updated by ospf_if_update ().
4364
4365 1999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
4366
4367 * Makefile.am (noinst_HEADERS): Add ospf_lsa.h for distribution.
4368
4369 1999-04-25 Toshiaki Takada <takada@zebra.org>
4370
4371 * ospf_interface.c: DEFUN (no_if_ospf_cost),
4372 DEFUN (no_if_ospf_dead_interval),
4373 DEFUN (no_if_ospf_hello_interval),
4374 DEFUN (no_if_ospf_priority),
4375 DEFUN (no_if_ospf_retransmit_interval),
4376 DEFUN (no_if_ospf_transmit_delay) Added.
4377
4378 interface_config_write () suppress showing interface
4379 default values.
4380
4381 1999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
4382
4383 * ospf_dump.c (ospf_timer_dump): If thread is NULL return "inactive".
4384
4385 * ospfd.c (ospf_if_update): Fix bug of using ospf_area { } instead
4386 of ospf_network { }. So `router ospf' statement in ospfd.conf
4387 works again.
4388 (ospf_if_update): Call ospf_get_router_id for updating router ID.
4389
4390 1999-04-25 Toshiaki Takada <takada@zebra.org>
4391
4392 * ospf_interface.c: DEFUN (if_ospf_network) deleted.
4393 DEFUN (if_ospf_network_broadcast),
4394 DEFUN (if_ospf_network_non_broadcast),
4395 DEFUN (if_ospf_network_point_to_multipoint),
4396 DEFUN (if_ospf_network_point_to_point),
4397 DEFUN (no_if_ospf_network) Added.
4398
4399 1999-04-23 Toshiaki Takada <takada@zebra.org>
4400
4401 * ospfd.h: struct area { } changed to struct ospf_network { }.
4402 Add struct ospf_area { }.
4403 * ospfd.c: Add ospf_area_lookup_by_area_id (), ospf_network_new (),
4404 and ospf_network_free ().
4405 DEFUN (area_authentication), DEFUN (no_area_authentication) Added.
4406
4407 1999-04-22 Toshiaki Takada <takada@zebra.org>
4408
4409 * ospf_lsa.h: New file.
4410 * ospf_packet.h: LSA related struct definition are moved to
4411 ospf_lsa.h.
4412 * ospf_packet.c: ospf_verify_header () Added.
4413
4414 1999-04-21 Toshiaki Takada <takada@zebra.org>
4415
4416 * ospf_ism.c: ospf_elect_dr () and related function is changed.
4417 DR Election bug fixed.
4418 * ospf_dump.c: ospf_nbr_state_message (), ospf_timer_dump () Added.
4419 * ospfd.c: DEFUN (show_ip_ospf_neighbor) Added.
4420
4421 1999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
4422
4423 * ospf_main.c (main): access_list_init () is added for vty
4424 connection filtering.
4425
4426 1999-04-16 Toshiaki Takada <takada@zebra.org>
4427
4428 * ospfd.c: DEFUN (show_ip_ospf_interface) Added.
4429 * ospf_neighbor.c: ospf_nbr_count () Added.
4430
4431 1999-04-15 Toshiaki Takada <takada@zebra.org>
4432
4433 * ospfd.h: struct ospf { } Changed.
4434 * ospfd.c: ospf_lookup_by_process_id () Deleted.
4435 * ospf_ism.c: ospf_wait_timer () Added. WaitTimer will work.
4436
4437 1999-04-14 Toshiaki Takada <takada@zebra.org>
4438
4439 * ospf_ism.c: ospf_elect_dr () Added.
4440 * ospf_network.c: ospf_if_ipmulticast () Added.
4441
4442 1999-04-11 Toshiaki Takada <takada@zebra.org>
4443
4444 * ospf_interface.c: interface_config_write (),
4445 DEFUN (if_ip_ospf_cost),
4446 DEFUN (if_ip_ospf_dead_interval),
4447 DEFUN (if_ip_ospf_hello_interval),
4448 DEFUN (if_ip_ospf_priority),
4449 DEFUN (if_ip_ospf_retransmit_interval) and
4450 DEFUN (if_ip_ospf_transmit_delay) Added.
4451
4452 1999-04-08 Toshiaki Takada <takada@zebra.org>
4453
4454 * ospf_dump.c: ospf_packet_db_desc_dump () Added.
4455 * ospf_neighbor.c: ospf_nbr_bidirectional () Added.
4456 * ospf_nsm.c: nsm_twoway_received () Added.
4457
4458 1999-04-02 Toshiaki Takada <takada@zebra.org>
4459
4460 * ospf_neighbor.c: New file.
4461 * ospf_neighbor.h: New file.
4462 * ospf_nsm.c: New file.
4463 * ospf_nsm.h: New file.
4464 * ospf_packet.c: Add ospf_make_header (), ospf_hello () and
4465 ospf_hello_send (). Now OSPFd can receive Hello and send Hello.
4466
4467 1999-03-27 Kunihiro Ishiguro <kunihiro@zebra.org>
4468
4469 * ospf_packet.c: Add ospf_recv_packet (). Now OSPF Hello can receive.
4470
4471 1999-03-19 Toshiaki Takada <takada@zebra.org>
4472
4473 * ospf_packet.c: New file.
4474 * ospf_packet.h: New file.
4475 * ospf_network.c: New file.
4476 * ospf_network.h: New file.
4477 * ospfd.h: move OSPF message structure has moved to ospf_packet.h.
4478
4479 1999-03-17 Kunihiro Ishiguro <kunihiro@zebra.org>
4480
4481 * ospf_zebra.c (ospf_zebra_get_interface): Fix for IPv6 interface
4482 address.
4483
4484 * Makefile.am (install-sysconfDATA): Overwrite install-sysconfDATA
4485 for install ospfd.conf.sample as owner read only file.
4486
4487 * ospf_main.c (usage): Change to use ZEBRA_BUG_ADDRESS.
4488
4489 1999-03-15 Toshiaki Takada <takada@zebra.org>
4490
4491 * ospf_ism.c: New file.
4492 * ospf_ism.h: New file.
4493 * ospf_dump.c: New file.
4494 * ospf_dump.h: New file.
4495
4496 * ospfd.h: Add (struct ospf), (struct config_network),
4497 (struct message) structure.
4498
4499 * ospf_interface.c: Add ospf_if_match_network ().
4500 * ospf_interface.h (struct ospf_interface): Change struct members.
4501
4502 * ospfd.c: ospf_lookup_by_process_id (), ospf_network_new (),
4503 DEFUN (network_area): Added.
4504
4505 * ospfd.conf.sample: Change sample configuration.
4506
4507 1999-03-05 Toshiaki Takada <takada@zebra.org>
4508
4509 * ospf_interface.c: New file.
4510 * ospf_interface.h: New file.
4511 * ospf_zebra.h: New file.
4512 * ospf_zebra.c: Add interface function for zebra daemon.
4513 * ospfd.c: New file.
4514
4515 1999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
4516
4517 * Move IPv6 codes and files to ospf6d directory.
4518
4519 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
4520
4521 * syslog support added
4522
4523 1998-12-22 Toshiaki Takada <takada@zebra.org>
4524
4525 * ospfd.h: New file.
4526 * ospf_lsa.h: New file.
4527
4528 1998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
4529
4530 * Makefile.am: New file.
4531 * ospf_main.c: New file.
4532