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