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