blob: 2e288a7d12f78a7019df4a58c3d804aec1b7824d [file] [log] [blame]
jardin6638c1a2005-10-01 00:08:54 +000012005-09-30 Vincent Jardin <vincent.jardin@6wind.com>
2
3 * ospf_dump.c, ospf_ia.c, ospf_spf.c, ospf_ase.c:
4 remove unused DEBUG
5
vincentba682532005-09-29 13:52:57 +000062005-09-29 Alain Ritoux <alain.ritoux@6wind.com>
7
vincent5e4914c2005-09-29 16:34:30 +00008 * ospf_ism.c: generate SNMP traps on Interface state change
9 * ospf_nsm.c: generate SNMP traps on Neighbour state change
10 * ospf_snmp.[ch]: support for SNMP traps for interface and neighbours.
11
122005-09-29 Alain Ritoux <alain.ritoux@6wind.com>
13
vincentba682532005-09-29 13:52:57 +000014 * ospf_vty.c: forece default route LSA to be re_issued whenever
15 cost is changed ( [no] ip ospf area XXX default-cost YYY)
16 Support ignore-mtu option
17 * ospfd.h: define OSPF_MTU_IGNORE_DEFAULT
18 * ospf_packet.c: support ignore-mtu option
19 * ospf_interface.h: field added for skipping MTU check
20 * ospf_interface.c: fix memory leak in ospf_crypt_key_delete()
21 Set mtu_ignore field to default value
22 * ospf_abr.[ch]: export ospf_abr_announce_network_to_area()
23 * ospf_ism.h: add MACRO to convert internal ISM status into SNMP
24 correct values
25 * ospf_snmp.c: add sanity check on LSA type in lsdb_lookup_next()
26 convert OSPFIFSTATE internal status into SNMP values
27
vincentc1a03d42005-09-28 15:47:44 +0000282005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
29
30 * ospf_packet.c: use new md5 API
31
ajs5339cfd2005-09-19 13:28:05 +0000322005-09-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
33
34 * ospf_lsa.h: (ospf_external_lsa_flush) Comment out the 5th argument
35 (nexthop) since it is not used in the function (except inside
36 some commented-out code).
37 * ospf_lsa.c: (ospf_external_lsa_flush,ospf_external_lsa_refresh)
38 Comment out the 5th argument to ospf_external_lsa_flush.
39 * ospf_asbr.c: (ospf_redistribute_withdraw) Comment out 5th arg
40 to ospf_external_lsa_flush.
41 * ospf_vty.c: (no_ospf_default_information_originate) Eliminate 5th
42 uninitialized nexthop arg to ospf_external_lsa_flush.
43 * ospf_zebra.c: (ospf_zebra_read_ipv4) Comment out 5th arg
44 to ospf_external_lsa_flush.
45 * ospfd.c: (ospf_network_set) Comment out 5th arg
46 to ospf_external_lsa_flush.
47
ajse6a0bf92005-09-17 18:53:38 +0000482005-09-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
49
50 * ospf_opaque.c:
51 (ospf_opaque_lsa_refresh_schedule,ospf_opaque_lsa_flush_schedule)
52 No need to call ospf_lookup(), just use lsa0->area->ospf instead.
53
hassobb5b7552005-08-21 20:01:15 +0000542005-08-21 Hasso Tepper <hasso at quagga.net>
55
56 * ospf_vty.c: Make "show ip ospf neighbor xxx" commands work.
57 Interface should be specified by name now.
58
hasso54bedb52005-08-17 13:31:47 +0000592005-08-17 Hasso Tepper <hasso at quagga.net>
60
61 * ospf_vty.c: Check carefully if interface exists before trying to
62 print info about it.
63
hasso01018ce2005-08-05 07:40:15 +0000642005-08-05 Hasso Tepper <hasso at quagga.net>
65
66 * ospf_zebra.c: Don't assert/stop before type == ZEBRA_ROUTE_MAX if
67 dealing with routemaps. There is ospf->route_map[ZEBRA_ROUTE_MAX]
68 for default-information.
69
paulc8987752005-07-26 06:07:22 +0000702005-07-26 Paul Jakma <paul.jakma@sun.com>
71
72 * ospf_abr.c: (ospf_abr_announce_network_to_area) SET_FLAG
73 should be on lsa not old, which may be freed for one thing,
74 obviously.
75
pauld57834f2005-07-12 20:04:22 +0000762005-07-12 Paul Jakma <paul.jakma@sun.com>
77
78 * ospfd.h: add OSPF_ABR_DEFAULT for convenience, make
79 OSPF_ABR_CISCO be the default ABR type.
80 * ospfd.c: (ospf_new) initialise abr_type to OSPF_ABR_DEFAULT
81 * ospf_vty.c: (no_ospf_abr_type_cmd) add standard as a negatable
82 abr_type. default abr_type should be OSPF_ABR_DEFAULT.
83 (ospf_config_write) test whether default abr_type against
84 OSPF_ABR_DEFAULT, rather than any specific ABR_TYPE.
85
hasso8469bd72005-06-20 20:50:10 +0000862005-06-20 Hasso Tepper <hasso at quagga.net>
hassof4833e92005-06-20 20:42:26 +000087
88 * ospf_nsm.c: Make database exchange for NSSA database work.
89
paul7461d452005-06-13 13:57:16 +0000902005-06-13 Paul Jakma <paul.jakma@sun.com>
91
92 * ospf_spf.c: Try get more information on a SEGV under
93 ospf_spf_vertex_add_parent.
94 (ospf_vertex_free) NULL out the child and nexthop lists
95 (ospf_vertex_add_parent) nexthop and child can not be NULL
96 vertex_nexthop's parent->child list can not be NULL
97 (ospf_spf_next) w and cw are per-loop iteration variables, move
98 declarations into loop body.
99
hasso1ddd7292005-06-07 19:54:04 +00001002005-06-07 Hasso Tepper <hasso at quagga.net>
101
102 * ospf_apiserver.c: Fix obvious error in notifying clients about ISM
103 changes - oi->ifp->status doesn't give to us info about ISM,
104 oi->state does.
105
paul7e440862005-06-01 11:20:51 +00001062005-06-01 Akihiro Mizutani <mizutani@net-chef.net>
107
108 * ospf_ism.c (ospf_elect_bdr/ospf_elect_dr): Fix DR election bug.
109
paul500e4182005-05-26 17:11:13 +00001102005-05-26 Paul Jakma <paul.jakma@sun.com>
111
112 * ospf_abr.c: (ospf_abr_update_aggregate) Fix comment, cost bug itself
113 had been fixed long ago by Sowmini.
114
paula3387a42005-05-18 23:29:57 +00001152005-05-19 Paul Jakma <paul.jakma@sun.com>
116
117 * ospf_interface.c: (ospf_if_table_lookup) Fix a serious bug
118 a less serious one.
119 1: this function is supposed to lookup
120 entries in the oifs ospf_interface route_table and return either
121 an existing oi or NULL to indicate not found, its caller depends
122 on this, yet this function uses route_node_get which /always/
123 returns a route_node - one is created if none exists. Use
124 route_node_lookup instead. This should fix root cause of the
125 reports of the (ospf_add_to_if) assert being hit.
126 2: oi's are inserted into this table with prefixlength set to
127 /32 (indeed, it should be a hash table, not a route_table),
128 however prefixlength to lookup was not changed, if no valid entry
129 can be inserted other than /32, then nothng but /32 should be
130 looked up. This possibly only worked by fluke..
131 Fix confirmed by 2 reporters (one list, one IRC), definitely a
132 backport candidate once it has been incubated in HEAD for a while.
133 Thanks to Patrick Friedel and Ivan Warren for testing.
134
paul69310a62005-05-11 18:09:59 +00001352005-05-11 Paul Jakma <paul.jakma@sun.com>
136
137 * (general) Fix memory leaks in opaque AS-scope LSAs, reported and
138 with much debugging done by by scott collins <scollins@agile.tv>.
139 * ospf_lsa.c: (ospf_discard_from_db) dont call
140 ospf_ase_unregister_external_lsa for opaque-lsa's, opaques are
141 never registered with ase in the first place.
142 * ospf_packet.c: (general) Disabuse opaque related code of its
143 tendency to try gather up things into temporary lists.
144 (ospf_ls_upd) remove the temporary lists opaque uses, call
145 opaque functions inline, just like all other types.
146 (ospf_ls_ack) ditto.
147 (ospf_recv_packet) fixup sign warning.
148 * ospf_opaque.c: (general) fix the unneeded use of lists, and
149 untwist some of the logic.
150 (ospf_opaque_self_originated_lsa_received) take a single LSA
151 as argument, not a list of them. Remove the list loop. Logic
152 otherwise unchanged.
153 (ospf_opaque_ls_ack_received) Mostly ditto. But untwist the logic,
154 move the actions up into the switch block, remove the goto's and
155 sanitise the logic near the end a bit.
156 * ospf_opaque.h: Adjust definitions of aforementioned functions
157 in ospf_opaque.c to match.
158
paul42c98192005-05-07 02:22:51 +00001592005-05-07 Yar Tikhiy <yar@comp.chem.msu.su>
160
161 * ospf_network.c: Log ifindex on multicast membership leave/join
162 events.
163
paul4dadc292005-05-06 21:37:42 +00001642005-05-06 Paul Jakma <paul.jakma@sun.com>
165
166 * (general) extern and static qualifiers added.
167 unspecified arguments in definitions fixed, typically they should
168 be 'void'.
169 function casts added for callbacks.
170 Guards added to headers which lacked them.
171 Proper headers included rather than relying on incomplete
172 definitions.
173 gcc noreturn function attribute where appropriate.
174 * ospf_opaque.c: remove the private definition of ospf_lsa's
175 ospf_lsa_refresh_delay.
176 * ospf_lsa.h: export ospf_lsa_refresh_delay
177 * ospf_packet.c: (ospf_make_md5_digest) make *auth_key const,
178 correct thing to do - removes need for the casts later.
179 * ospf_vty.c: Use vty.h's VTY_GET_INTEGER rather than ospf_vty's
180 home-brewed versions, shuts up several warnings.
181 * ospf_vty.h: remove VTY_GET_UINT32. VTY_GET_IPV4_ADDRESS and
182 VTY_GET_IPV4_PREFIX moved to lib/vty.h.
183 * ospf_zebra.c: (ospf_distribute_list_update_timer) hacky
184 overloading of the THREAD_ARG pointer should at least use
185 uintptr_t.
186
paul9e67dc22005-04-15 12:10:17 +00001872005-04-15 Zhipeng Gong <zpgong@cdc.3upsystems.com>
188
189 * ospf_abr.c: (ospf_abr_announce_network_to_area) dont forget
190 to approve LSAs for the case where metric has changed, lsa gets
191 flushed otherwise. (backport candidate).
192
ajs634f9ea2005-04-11 15:51:40 +00001932005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
194
195 * ospf_zebra.c (ospf_zebra_add): Call zclient_send_message instead
196 of writen.
197
ajsd2fc8892005-04-02 18:38:43 +00001982005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
199
ajse4319de2005-04-02 23:23:55 +0000200 * ospf_interface.h: (ospf_if_lookup_by_name) Remove declaration of a
201 function that does not exist.
202
2032005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
204
ajs21fefa92005-04-02 23:16:41 +0000205 * ospf_zebra.c: (zebra_interface_if_lookup) Must use
206 if_lookup_by_name_len.
207
2082005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
209
ajsa3491982005-04-02 22:50:38 +0000210 * ospf_interface.c: (ospf_vl_new) Use strnlen to fix call to if_create.
211
2122005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
213
ajsd2fc8892005-04-02 18:38:43 +0000214 * ospf_vty.c: (show_ip_ospf_interface_sub) Show ifindex and interface
215 flags to help with debugging.
216 * ospf_zebra.c: (ospf_interface_delete) After deleting, set ifp->ifindex
217 to IFINDEX_INTERNAL.
218 (zebra_interface_if_lookup) Make function static. Tighten up code.
219
ajsaca72fd2005-03-31 15:18:21 +00002202005-03-31 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
221
222 * ospf_dump.c: (show_debugging_ospf) Show if ospf event debugging
223 is turned on.
224
ajsfd651fa2005-03-29 16:08:16 +00002252005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
226
ajsa608bbf2005-03-29 17:03:49 +0000227 * ospf_zebra.c: (ospf_interface_state_up) If the MTU of an operative
228 interface changes, print a debug message and call ospf_if_reset()
229 to simulate down/up on the interface.
230 * ospf_interface.h: Declare new function ospf_if_reset().
231 * ospf_interface.c: (ospf_if_reset) New function to call ospf_if_down
232 and ospf_if_up for all ospf interfaces attached to an interface.
233
2342005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
235
ajs5dcbdf82005-03-29 16:13:49 +0000236 * ospf_packet.c: (ospf_write_frags) Enhance error message to
237 show MTU. Also make function static.
238 (ospf_write) Enhance error message to show interface name and MTU.
239 Also make function static.
240
2412005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
242
243 * ospf_vty.c: (show_ip_ospf_interface_sub) Display interface MTU and
244 bandwidth; this is useful for debugging problems. Also, the function
245 should be static.
ajsfd651fa2005-03-29 16:08:16 +0000246
hasso1b639042005-03-27 13:32:25 +00002472005-03-27 Hasso Tepper <hasso at quagga.net>
248
249 * ospf_snmp.c: Don't crash in snmp query if ospf instance doesn't
250 exist at all.
251
hasso343f5cc2005-03-25 19:48:40 +00002522005-03-25 Hasso Tepper <hasso at quagga.net>
253
254 * ospfd.h: Include log.h, fixes compile with gcc-4.0.
255
ajs9dbc7972005-03-13 19:27:22 +00002562005-03-13 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
257
258 * ospf_lsa.c: (ospf_lsa_refresh_walker) If the system clock jumps
259 backward, then current time may be less than
260 ospf->lsa_refresher_started. This was causing invalid values
261 for ospf->lsa_refresh_queue.index resulting in infinite loops.
262 Problem fixed by casting the expression to unsigned before taking
263 the modulus.
264
ajs5c333492005-02-23 15:43:01 +00002652005-02-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
266
267 * ospfd.h: Add new field struct stream *ibuf to struct ospf.
268 * ospfd.c: (ospf_new) Check return code from ospf_sock_init.
269 Allocate ibuf using stream_new(OSPF_MAX_PACKET_SIZE+1).
270 (ospf_finish) Call stream_free(ospf->ibuf.
271 * ospf_packet.c: (ospf_read) Call stream_reset(ospf->ibuf) and then
272 pass it to ospf_recv_packet for use in receiving the packet
273 (instead of allocating a new stream for each packet received).
274 Eliminate all calls to stream_free(ibuf).
275 (ospf_recv_packet) The struct stream *ibuf is now passed in as
276 an argument. No need to use recvfrom to peek at the packet
277 header (to see how big it is), just use ospf->ibuf which is
278 always large enough (this eliminates a system call to recvfrom).
279 Therefore, no need to allocate a stream just for this packet,
280 and no need to free it when done.
281
hasso462f20d2005-02-23 11:29:02 +00002822005-02-23 Vincenzo Eramo <eramo at infocom.ing.uniroma1.it>
283
284 * ospf_lsa.h: New flag to the LSA structure for the SPF calculation.
285 * ospf_lsdb.h: Export ospf_lsdb_clean_stat() function.
286 * ospf_spf.h: Add link to the LSA stat structure into vertex.
287 * ospf_spf.c: New functions cmp() and update_stat() to manage
288 candidates. Remove ospf_spf_has_vertex(), ospf_vertex_lookup(),
289 ospf_install_candidate() and ospf_spf_register() functions not needed
290 any more. Update ospf_vertex_new(), ospf_spf_next() and
291 ospf_spf_calculate() functions to use pqueue instead of linked list.
292
hassoe40dcce2005-02-21 14:58:42 +00002932005-02-21 Hasso Tepper <hasso at quagga.net>
294
295 * ospf_ase.c: Don't show messages related to the ase calculations if
296 we are not debugging.
297
hasso306541b2005-02-19 17:58:40 +00002982005-02-19 Hasso Tepper <hasso at quagga.net>
299
300 * ospf_api.h: char isn't always signed, but it has to be it here.
301
paulfa81b712005-02-19 01:19:20 +00003022005-02-19 Paul Jakma <paul.jakma@sun.com>
303
304 * ospf_packet.c: (ospf_stream_copy) remove
305 (ospf_packet_dup) use stream_copy instead of ospf_stream_copy
306
ajs038163f2005-02-17 19:55:59 +00003072005-02-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
308
309 * ospf_packet.c: (ospf_recv_packet) If there is somehow a runt
310 packet in the queue, it must be discarded. Improve warning messages.
311 Fix scope to static.
312 (ospf_read) Fix bug: should reset the read thread in all cases
313 to make sure we continue to get incoming messages.
314
paul658b03a2005-02-15 10:10:55 +00003152005-02-15 Paul Jakma <paul.jakma@sun.com>
316
317 * ospf_packet.c: (ospf_recv_packet) Fix silly error wrt allocating
318 ibuf. Thanks Andrew.
319
paulbfdc44a2005-02-14 23:48:42 +00003202005-02-14 Paul Jakma <paul.jakma@sun.com>
321
322 * ospf_packet.c: (ospf_recv_packet) use stream_recvmsg.
323
hasso082253f2005-02-11 08:31:54 +00003242005-02-11 Hasso Tepper <hasso at quagga.net>
325
326 * ospf_lsdb.c: Fix sum of checksums calculation.
327
ajs083ee9d2005-02-09 15:35:50 +00003282005-02-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
329
330 * ospf_packet.c: (ospf_write) If sendmsg fails, give more info in the
331 error message.
332
ajsba6454e2005-02-08 15:37:30 +00003332005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
334
ajs8cfde372005-02-08 15:59:16 +0000335 * ospf_interface.h: Reduce structure padding by putting new u_char
336 field multicast_memberships in a better spot (grouped with
337 other u_char fields type and state).
338
3392005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
340
ajsba6454e2005-02-08 15:37:30 +0000341 * ospf_interface.h: Improve passive_interface comment. Add new
342 multicast_memberships bitmask to struct ospf_interface to track
343 active multicast subscriptions. Declare new function
344 ospf_if_set_multicast.
345 * ospf_interface.c: (ospf_if_set_multicast) New function to configure
346 multicast memberships properly based on the current
347 multicast_memberships status and the current values of the
348 ospf_interface state, type, and passive_interface status.
349 (ospf_if_up) Remove call to ospf_if_add_allspfrouters (this is
350 now handled by ism_change_state's call to ospf_if_set_multicast).
351 (ospf_if_down) Remove call to ospf_if_drop_allspfrouters (now
352 handled by ism_change_state).
353 * ospf_ism.c: (ospf_dr_election) Remove logic to join or leave
354 the DRouters multicast group (now handled by ism_change_state's call
355 to ospf_if_set_multicast).
356 (ism_change_state) Add call to ospf_if_set_multicast to change
357 multicast memberships as necessary to reflect the new interface state.
358 * ospf_packet.c: (ospf_hello) When a Hello packet is received on a
359 passive interface: 1. Increase the severity of the error message
360 from LOG_INFO to LOG_WARNING; 2. Add more information to the error
361 message (packet destination address and interface address);
362 and 3. If the packet was sent to ospf-all-routers, then try
363 to fix the multicast group memberships.
364 (ospf_read) When a packet is received on an interface whose state
365 is ISM_Down, enhance the warning message to show the packet
366 destination address, and try to update/fix the multicast group
367 memberships if the packet was sent to a multicast address.
368 When a packet is received for ospf-designated-routers, but the
369 current interface state is not DR or BDR, then increase the
370 severity level of the error message from LOG_INFO to LOG_WARNING,
371 and try to fix the multicast group memberships.
372 * ospf_vty.c: (ospf_passive_interface) Call ospf_if_set_multicast for
373 any ospf interface that may have changed from active to passive.
374 (no_ospf_passive_interface) Call ospf_if_set_multicast for
375 any ospf interface that may have changed from passive to active.
376 (show_ip_ospf_interface_sub) Show multicast group memberships.
377
paul3a9eb092005-02-08 11:29:41 +00003782005-02-08 Paul Jakma <paul@dishone.st>
379
380 * ospf_packet.c: (various) Remove unneeded stream_set_putp abuse.
381
ajs847947f2005-02-02 18:38:48 +00003822005-02-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
383
384 * ospf_packet.c: (ospf_read) Fix bug: must check for state ISM_Down,
385 not for event ISM_InterfaceDown. And improve the message by
386 adding the interface flags.
387
ajs0b7d97d2005-01-30 17:24:02 +00003882005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
389
390 * ospf_network.c: (ospf_sock_init) Save errno before calling
391 ospfd_privs.change.
392
ajsc3eab872005-01-29 15:52:07 +00003932005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
394
395 * ospf_packet.c: (ospf_packet_add) If oi->obuf is NULL, print
396 an error message and return.
397 (ospf_read) If the interface state is ISM_InterfaceDown, issue
398 a warning message and ignore the packet.
399
gdt86f1fd92005-01-10 14:20:43 +00004002005-01-10 Greg Troxel <gdt@fnord.ir.bbn.com>
401
402 * ospf_packet.h: Remove commented out definition of
403 OSPF_MAX_PACKET; neither it or the uncommented one are used any more.
404
405 * ospf_packet.c (ospf_make_ls_upd): Leave room for authentication
406 when deciding if an update will fit.
407 (ospf_packet_authspace): Factor out calculation of size required
408 for authentication.
409 (ospf_make_db_desc): Use ospf_max_packet, not OSPF_MAX_PACKET.
410 Don't confuse readers that there is a macro.
411
ajs3dc56b52004-12-30 15:11:19 +00004122004-12-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
413
414 * ospf_network.c: Improve all setsockopt error messages to give detailed
415 information on the arguments.
416
ajsb87f7722004-12-29 20:41:26 +00004172004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
418
ajs17eaa722004-12-29 21:04:48 +0000419 * ospf_packet.c: (ospf_db_desc) Reduce severity of "Negotiation done"
420 messages from LOG_WARNING to LOG_INFO, since this seems to be
421 normal.
422
4232004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
424
ajsb87f7722004-12-29 20:41:26 +0000425 * ospf_packet.c: (ospf_read) Always look up the interface if
426 ospf_recv_packet returns NULL ifp, since some platforms such
427 as Solaris 8 appear to support ifindex retrieval but don't.
428
hasso1d806282004-12-22 09:43:20 +00004292004-12-22 Hasso Tepper <hasso at quagga.net>
430
431 * ospf_dump.c: Show debug configuration in vtysh.
hassoc6b87812004-12-22 13:09:59 +0000432 * ospf_vty.c: Fix "show ip ospf" output. Router can't be elected in
433 any case if it's configured as "translate-never".
hassofe71a972004-12-22 16:16:02 +0000434 * ospf_lsdb.[ch]: New function to calculate sum of checksums.
435 * ospf_vty.c: Bugfix to show really number of AS external LSAs, not
436 number of all LSAs with AS scope, this includes opaque as LSAs as
437 well, show this number separately. Show numbers and sums of
438 checksums for each type of LSAs.
439 * ospf_lsa.c: Calculate checksum before putting LSA into database.
hasso1d806282004-12-22 09:43:20 +0000440
ajsbc18d612004-12-15 15:07:19 +00004412004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
442
443 * ospf_interface.h: Declare new function ospf_default_iftype.
444 * ospf_interface.c: (ospf_default_iftype) New function to centralize
445 this logic in one place.
446 * ospf_zebra.c: (ospf_interface_add) Use new function
447 ospf_default_iftype.
448 * ospf_vty.c: (no_ip_ospf_network,config_write_interface) Fix logic
449 by using new function ospf_default_iftype.
450
ajs3aa8d5f2004-12-11 18:00:06 +00004512004-12-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
452
453 * ospf_packet.c: (ospf_db_desc) Should be static, not global.
454 (ospf_hello,ospf_db_desc,ospf_ls_upd,ospf_ls_ack) Improve warning
455 messages to include identifying information (e.g. router id).
456 * ospf_nsm.c: (nsm_change_state) Improve info message to include
457 router id and state names.
458
gdt91f3e522004-12-09 14:51:03 +00004592004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
460
gdt3fb9de72004-12-09 16:30:04 +0000461 * ospf_apiserver.c (ospf_apiserver_term): Obtain struct
462 ospf_apiserver * from listnode. Remove unused variables. Follows
463 suggestion from Jay Fenlason.
gdt91f3e522004-12-09 14:51:03 +0000464
ajs9b0e25c2004-12-08 19:06:51 +00004652004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
466
467 * *.c: Change level of debug messages to LOG_DEBUG.
468
ajs274a4a42004-12-07 15:39:31 +00004692004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
470
471 * ospf_main.c: (main) The 2nd argument to openzlog has been removed.
472
ajs887c44a2004-12-03 16:36:46 +00004732004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
474
ajs1210fa62004-12-03 16:43:24 +0000475 * ospf_packet.c: (ospf_db_desc) Reduce priority on a debug message
476 from LOG_NOTICE to LOG_DEBUG.
477
4782004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
479
ajs887c44a2004-12-03 16:36:46 +0000480 * ospf_main.c: (sigint) Use zlog_notice for termination message.
481 (main) Issue a startup announcement using zlog_notice.
482
ajsbec595a2004-11-30 22:38:43 +00004832004-11-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
484
485 * ospf_packet.c: (ospf_db_desc_proc) Fix spelling of packet in warning
486 message and in comment.
487 (ospf_db_desc) Warning message that a packet is being discarded
488 should give the router id of the packet source. Fix spelling
489 of packet in two warning messages.
490 (ospf_ls_req) Warning message that a link state request is being
491 discarded should give the router id of the neighbor that sent it.
492
ajs5b85fac2004-11-26 19:36:42 +00004932004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
494
495 * ospf_main.c: Remove #include "debug.h" (was not being used, and
496 lib/debug.h has now been deleted).
497
hassoc0652302004-11-25 19:33:48 +00004982004-11-25 Hasso Tepper <hasso at quagga.net>
499
500 * ospf_main.c: Make group to run as configurable.
501
gdt69e13252004-11-15 18:51:15 +00005022004-11-15 Greg Troxel <gdt@fnord.ir.bbn.com>
503
504 * ospf_packet.c (ospf_recv_packet): Assume CMSG_SPACE is present
505 and works (lib/zebra.h provides if OS doesn't).
506
paul788dab12004-11-15 11:48:37 +00005072004-11-15 Paul Jakma <paul@dishone.st>
508
509 * ospf_{apiserver,te}.c: ospf_lsa_free's should be ospf_lsa_unlock.
510
paul05e85fa2004-11-12 10:52:19 +00005112004-11-12 Paul Jakma <paul@dishone.st>
512
513 * ospf_ia.c: (process_summary_lsa) Only an ABR has any reason to
514 ignore stub area summary default. Even so it seems a strange
515 check, add a comment to that effect.
516
paulf3ae74c2004-11-04 20:35:31 +00005172004-11-04 Paul Jakma <paul@dishone.st>
518
519 * ospfd.c: (ospf_network_match_iface) revert to previous network
520 statement match behaviour.
521
paul62d8e962004-11-02 20:26:45 +00005222004-11-02 Paul Jakma <paul@dishone.st>
523
524 * ospf_packet.c: (ospf_write_frags) remove iov arg, msg already points
525 to it. Add convenience pointer to msg->msg_iov[1], and use this,
526 fixing the unfortunate borkenness introduced in moving of this code
527 to a function.
528 (ospf_write) remove iovp and fix up call to previous.
529 (ospf_ls_upd_packet_new) cast size to long int - unfortunately
530 glibc's size_t format modifier is not portable.
531
paul37ccfa32004-10-31 11:24:51 +00005322004-10-31 Paul Jakma <paul@dishone.st>
533
534 * ospf_packet.c: (ospf_write_frags) Add debug output
535 (ospf_write) set type early, so we can pass it to
536 ospf_write_frags.
537 (ospf_ls_upd_packet_new) print size in debug output when too large
538 packet is encountered.
paul64511f32004-10-31 18:01:13 +0000539 * ospf_zebra.c: (ospf_distribute_list_update_timer) Ugly misuse of
540 THREAD_ARG to store an integer, but it should at least use same
541 same type to retrieve the value. Assert value is sane.
paul37ccfa32004-10-31 11:24:51 +0000542
paulac191232004-10-22 12:05:17 +00005432004-10-22 Paul Jakma <paul@dishone.st>
544
545 * ospf_network.c: (ospf_sock_init) call neutral setsock_ifindex()
546 function.
547 * ospf_packet.c: (ospf_read) manually look up ifindex
paul4ccb2c42004-10-22 22:52:33 +0000548 if system could not have returned one, eg openbsd, thanks to Rivo
549 Nurges for highlighting problem and fix.
paul06f953f2004-10-22 17:00:38 +0000550 Change setsockopt_pktinfo to setsockopt_ifindex.
paulac191232004-10-22 12:05:17 +0000551
hasso3fb9cd62004-10-19 19:44:43 +00005522004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
553
554 * ospf_snmp.c: (ospf_snmp_if_update) Fix logic to handle PtP links
555 with dedicated subnets properly.
556 * ospf_lsa.c: (lsa_link_ptop_set) ditto.
557 * ospfd.c: (ospf_network_match_iface) ditto.
558 (ospf_network_run) ditto.
559 * ospf_interface.c: (ospf_if_is_configured) ditto.
560 (ospf_if_lookup_by_prefix) ditto.
561 (ospf_if_lookup_recv_if) ditto.
562 * ospf_vty.c: (show_ip_ospf_interface_sub) Display the peer or
563 broadcast address if present.
564
hassod68614d2004-10-13 09:32:48 +00005652004-10-13 Hasso Tepper <hasso at quagga.net>
566
567 * ospf_main.c: Unbreak compilation with ospfapi disabled.
hassoc75105a2004-10-13 10:33:26 +0000568 * ospf_snmp.c: Remove defaults used to initialize smux connection to
569 snmpd. Connection is initialized only if smux peer is configured.
hassod68614d2004-10-13 09:32:48 +0000570
hassof4d58ce2004-10-12 06:13:54 +00005712004-10-12 Hasso Tepper <hasso at quagga.net>
572
573 * ospf_main.c, ospf_opaque.c: Unbreak ospfclient compilation - move
574 static variable from ospf_main.c into ospf_opaque.c.
575
hassoc3abdb72004-10-11 16:27:03 +00005762004-10-11 Hasso Tepper <hasso at quagga.net>
577
578 * ospf_main.c, ospf_opaque.c: Disable ospfapi init by default. New
579 command line switch to enable it.
580
paul6b333612004-10-11 10:11:25 +00005812004-10-11 Paul Jakma <paul@dishone.st>
582
583 * ospf_dump.c: (ospf_ip_header_dump) Assume header is in host order
584 remove ntohs that should have dissappeared. Take struct ip
585 as argument, caller has to know there's an IP header at start of
586 stream anyway.
587 * ospf_dump.h: update declaration of ospf_ip_header_dump.
588 * ospf_packet.c: (ospf_write) correct call to
589 sockopt_iphdrincl_swab_htosys which was munging the header.
590 (ospf_recv_packet) ip_len is needed for old OpenBSD fixup.
591 (ospf_read) sockopt_iphdrincl_swab_systoh ip header as soon as
592 we have it.
paul6c835672004-10-11 11:00:30 +0000593 * (global) Const char update and signed/unsigned fixes.
594 * (various headers) size defines should be unsigned.
595 * ospf_interface.h: remove duplicated defines, include the
596 authoritative header - though, these defines should probably
597 be moved to a dedicated header, or ospfd.h.
598 * ospf_lsa.h: (struct lsa) ls_seqnum should be unsigned.
599 * ospf_packet.c: (ospf_write) cast result of shift to unsigned.
paul6b333612004-10-11 10:11:25 +0000600
hassoeb1ce602004-10-08 08:17:22 +00006012004-10-08 Hasso Tepper <hasso at quagga.net>
602
603 * *.[c|h]: Fix compiler warnings: make some strings const, signed ->
604 unsigned, remove unused variables etc.
605
gdt54ade992004-10-07 19:38:20 +00006062004-10-07 Greg Troxel <gdt@claude.ir.bbn.com>
607
608 * ospf_apiserver.c (ospf_apiserver_unregister_opaque_type): Don't
609 use of variable names 'node' and 'nextnode' to avoid possible
610 conflict with list macros. Move variable declaration inside for
611 loop after a statement to top of function.
612
paulaa20c6f2004-10-07 14:19:36 +00006132004-10-07 Paul Jakma <paul@dishone.st>
614
615 * ospf_snmp.c: Missed list typedef update
616 * ospf_dump.c: Include sockopt.h for header swab functions.
617
paul18b12c32004-10-05 14:38:29 +00006182004-10-05 Paul Jakma <paul@dishone.st>
619
620 * ospf_packet.c: replace ospf_swap_iph_to... with
621 sockopt_iphdrincl_swab_...
622
hasso18a6dce2004-10-03 18:18:34 +00006232004-10-03 James R. Leu <jleu at mindspring.com>
624
625 * ospf_zebra.c: Read router id related messages from zebra daemon.
626 Schedule router-id update thread if it's changed.
627 * ospfd.c: Remove own router-id selection function. Use router id from
628 zebra daemon if it isn't manually overriden in configuration.
629
paul68defd62004-09-27 07:27:13 +00006302004-09-27 Paul Jakma <paul@dishone.st>
631
paul6a99f832004-09-27 12:56:30 +0000632 * ospf_dump.c: (ospf_ip_header_dump) Use HAVE_IP_HDRINCL_BSD_ORDER
633 Apply to offset too. Print ip_cksum, lets not worry about
634 possible 2.0.37 compile problems.
635 * ospf_packet.c: (ospf_swap_iph_to{n,h}) Use
636 HAVE_IP_HDRINCL_BSD_ORDER.
637 (ospf_recv_packet) ditto.
638 (ospf_write) Fixup iov argument to ospf_write_frags.
639 (struct msghdr).msg_name is caddr_t on most platforms.
paul68defd62004-09-27 07:27:13 +0000640 (ospf_recv_packet) ditto. And msg_flags is not always there
641 memset struct then set fields we care about rather than
642 initialise all fields individually.
643
hassoc9e52be2004-09-26 16:09:34 +00006442004-09-26 Hasso Tepper <hasso at quagga.net>
645
646 * ospf_abr.c, ospf_dump.c, ospf_lsa.c, ospf_packet.c, ospf_vty.c,
647 ospf_zebra.c: Fix compiler warnings.
648
paul87d6f872004-09-24 08:01:38 +00006492004-09-24 Paul Jakma <paul@dishone.st>
650
651 * ospf_apiserver.{c,h}: lists typedef removal cleanup.
652 update some list loops to LIST_LOOP. some miscellaneous indent
653 fixups.
654 (ospf_apiserver_unregister_opaque_type) fix listnode_delete of
655 referenced node in loop.
paul1603c062004-09-24 08:23:24 +0000656 (ospf_apiserver_term) loops calling ospf_apiserver_free, which
657 deletes referenced nodes from apiserver_list, fixed.
paul87d6f872004-09-24 08:01:38 +0000658 * ospf_interface.h: lists typedef removal cleanup.
659 * ospf_opaque.{c,h}: lists typedef removal cleanup. update some list
660 loops to LIST_LOOP. miscellaneous style and indent fixups.
661 * ospf_te.{c,h}: ditto
662 * ospf_packet.c: lists typedef removal cleanup.
paula2570682004-09-24 08:09:57 +0000663 (ospf_write) ifdef fragmentation support. move actual
664 fragmentation out to a new, similarly ifdefed, function.
665 (ospf_write_frags) fragmented write support, moved from previous.
paul87d6f872004-09-24 08:01:38 +0000666
hasso52dc7ee2004-09-23 19:18:23 +00006672004-09-23 Hasso Tepper <hasso at quagga.net>
668
669 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
670
paul68b73392004-09-12 14:21:37 +00006712004-09-12 Paul Jakma <paul@dishone.st>
672
673 * ospf_packet.c: Fix bugzilla #107
674 (ospf_packet_max) get rid of the magic 88 constant
675 (ospf_swab_iph_ton) new function. set ip header to network order,
676 taking BSDisms into account.
677 (ospf_swab_iph_toh) the inverse.
678 (ospf_write) Add support for IP fragmentation, will only work on
679 linux though, other kernels make it impossible. get rid of the
680 magic 4 constant.
681 (ospf_make_ls_upd) Bound check to end of stream, not to
682 interface mtu.
683 (ospf_ls_upd_packet_new) New function, allocate upd packet
684 taking oversized LSAs into account.
685 (ospf_ls_upd_queue_send) use ospf_ls_upd_packet_new to allocate,
686 rather than statically allocating mtu sized packet buffer, which
687 actually was wrong - it didnt take ip header into account, which
688 should not be included in packet buffer.
689 (ospf_ls_upd_send_queue_event) minor tweaks and remove
690 TODO comment.
691
gdt630e4802004-08-31 17:28:41 +00006922004-08-31 David Wiggins <dwiggins@bbn.com>
693
694 * ospf_spf.c (ospf_spf_calculate): Many more comments and debug
695 print statements. New function ospf_vertex_dump used in debugging.
696
6972004-08-31 David Wiggins <dwiggins@bbn.com>
698
699 * ospf_spf.h (struct vertex): Comments for flags and structure members.
700
7012004-08-31 David Wiggins <dwiggins@bbn.com>
702
703 * ospf_route.c: When finding an alternate route, log cost as well.
704
7052004-08-31 David Wiggins <dwiggins@bbn.com>
706
707 * ospf_interface.c (ospf_lookup_if_params): Initialize af in
708 struct prefix allocated on stack.
709
7102004-08-31 David Wiggins <dwiggins@bbn.com>
711
712 * ospf_packet.c (ospf_ls_ack_send_delayed): In p2mp mode, send
713 acks to AllSPFRouters, rather than All-DR.
714
hasso7b901432004-08-31 13:37:42 +00007152004-08-27 Hasso Tepper <hasso at quagga.net>
716
717 * ospf_vty.c: Don't print ospf network type under interface only
718 if interface is in broadcast mode and interface type really is
719 broadcast. Fixes Bugzilla #108.
720
gdtd7d93992004-08-27 12:03:42 +00007212004-08-27 David Wiggins <dwiggins@bbn.com>
722
723 * ospf_spf.c (ospf_nexthop_calculation): Initialize address family
724 in on-stack struct prefix_ipv4. Fixes point-to-multipoint SPF
725 calculation.
726
gdtd0deca62004-08-26 13:14:07 +00007272004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
728
729 * ospf_packet.c (ospf_recv_packet): adjust size declaration of
gdtd7d93992004-08-27 12:03:42 +0000730 buffer used to get interface index so that it compiles on other
731 than Linux and includes the required alignment space. Probably
732 this was only working on sparc/sparc64 because most of
733 sockaddr_dl was not being written.
gdtd0deca62004-08-26 13:14:07 +0000734
paul863082d2004-08-19 04:43:43 +00007352004-08-19 Paul Jakma <paul@dishone.st>
736
737 * ospf_packet.c: update to match sockopt renames.
738
paul75ee0b82004-08-05 09:10:31 +00007392004-08-04 Paul Jakma <paul@dishone.st>
740
741 * ospf_spf.c: (ospf_spf_consider_nexthop) Add comment about issue.
742 Compare only against list head - all nexthops must be same cost
743 anyway, fixes a reference-listnode-after-delete bug noted by
744 Kir Kostuchenko.
745 (ospf_nexthop_calculation) Use ospf_spf_consider_nexthop for all
746 candidates attached to root.
747
paul36c64ef2004-07-27 11:19:11 +00007482004-07-27 Paul Jakma <paul@dishone.st>
749
paul48fe13b2004-07-27 17:40:44 +0000750 * ospf_packet.c: (ospf_ls_upd_send_queue_event) fix thinko from
751 last fix for ospfd wedging due to oversize LSAs: dont list loop on
752 ospf_ls_upd_queue_send() - guaranteed segfault.
753
7542004-07-27 Paul Jakma <paul@dishone.st>
755
paul36c64ef2004-07-27 11:19:11 +0000756 * ospf_opaque.c: (ospf_opaque_lsa_flush_schedule) do not NULL out
757 the LSA as then free_opaque_info_per_id() can never unlock (and
758 free) the LSA. Reported by Gunnar Stigen.
759
paul2dd8bb42004-07-23 15:13:48 +00007602004-07-23 Paul Jakma <paul@dishone.st>
761
762 * ospf_network.c: Replace PKTINFO/RECVIF with call to
763 setsockopt_pktinfo
764 * ospf_packet.c: Use getsockopt_pktinfo_ifindex and
765 SOPT_SIZE_CMSG_PKTINFO_IPV4.
766
paul59ea14c2004-07-14 20:50:36 +00007672004-07-14 Paul Jakma <paul@dishone.st>
768
769 * ospf_packet.c: (ospf_ls_upd_send_queue_event) Partial fix for
770 problem reported by Peter Frost amongst others, where function
771 will spin indefinitely if update list contains LSAs greater than
772 MTU-headers or other condition leading to update list never being
773 cleared. Problem of what to do with these LSAs remains.
774 (ospf_make_ls_upd) add comment about large LSA problem,
775 indentation cleanup.
776
gdtb2c1b282004-07-01 12:35:36 +00007772004-07-01 Greg Troxel <gdt@fnord.ir.bbn.com>
778
779 * Makefile.am (lib_LTLIBRARIES): make libospf shared
780
gdt87efd642004-06-30 17:36:11 +00007812004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
782
783 * Makefile.am: Add shlib support.
784
hassobeebba72004-06-20 21:00:27 +00007852004-06-10 Hasso Tepper <hasso@estpak.ee>
786
787 * *: Removed ifdefs HAVE_NSSA.
788
paul553ff112004-06-06 09:41:00 +00007892004-06-06 Paul Jakma <paul@dishone.st>
790
791 * ospf_dump.c,ospf_lsa.c: Fix typos of merge of previous.
792 ospf_flood.c: (ospf_process_self_originated_lsa) fix zlog format
793
paul0c2be262004-05-31 14:16:54 +00007942004-05-31 Sagun Shakya <sagun.shakya@sun.com>
795
796 * ospf_dump.c: (ospf_lsa_header_dump) LOOKUP can return null if
797 index is out of range.
798 ospf_flood.c: endianness fix
799 ospf_lsa.c: Missing ntohl's on (struct lsa *)->data->ls_seqnum
800 in various places.
801
hassodd669bb2004-05-10 07:43:59 +00008022004-05-10 Hasso Tepper <hasso@estpak.ee>
803
804 * ospf_zebra.c, ospfd.c: Move ospf_prefix_list_update() function
805 to ospf_zebra.c from ospfd.c and add redistribution updates if
806 route-map is used in redistribution.
807 * ospf_main.c: Remove now useless call to ospf_init().
808
paul0a589352004-05-08 11:48:26 +00008092004-05-08 Paul Jakma <paul@dishone.st>
810
811 * ospf_zebra.c: Sync with lib/zclient changes
812
pauld3f0d622004-05-05 15:27:15 +00008132004-05-05 Paul Jakma <paul@dishone.st>
814
paul5bd41892004-05-05 17:29:24 +0000815 * ospf_network.c: (ospf_sock_init) Check whether IP_HDRINCL is
816 defined. Warn at compile and runtime. Use
817 IPTOS_PREC_INTERNETCONTROL otherwise.
pauld3f0d622004-05-05 15:27:15 +0000818 * ospf_packet.c: (ospf_associate_packet_vl) cleanup, move
819 some of the checks up to ospf_read, return either a
820 virtual link oi, or NULL.
821 (ospf_read) Cleanup, make it responsible for checks. Remove
822 the nbr lookup - moved to ospf_neighbor. Adjust all nbr
823 lookups to use new wrappers exported by ospf_neighbor.
824 * ospf_neighbor.h: Add ospf_neigbour_get and ospf_nbr_lookup.
825 * ospf_neighbor.c: (ospf_neigbour_get) Index ospf_interface
826 neighbour table by router-id for virtual-link ospf_interfaces,
827 not by peer_addr (which breaks for asymmetric vlinks)
828 (ospf_nbr_lookup) add a wrapper for nbr lookups to deal with
829 above.
paulcd59da62004-05-05 17:26:55 +0000830 * ospf_interface.c: (ospf_vl_set_params) Catch changes of interface
831 address for either end of a virtual-link, and hence potential cost
832 changes.
833
hassoa0a39762004-04-23 08:51:10 +00008342004-04-22 Hasso Tepper <hasso@estpak.ee>
835
836 * ospf_zebra.c: Don't ignore reject/bh routes, it's the only way
837 to "summarize" routes in ASBR at the moment.
838
hasso8585d4e2004-04-20 17:25:12 +00008392004-04-20 Hasso Tepper <hasso@estpak.ee>
840
841 * ospfd.c: Unset NP flag if area is going to be normal or stub.
842 Fixes UNH OSPF_NSSA.1.2a comment.
843 * ospf_abr.c: Originate default into stub/nssa area even if
844 summaries are disabled.
845 * ospf_zebra.c: Don't attempt to redistribute 127.0.0.0/8.
846
hassoc266ac72004-04-19 17:31:00 +00008472004-04-19 Hasso Tepper <hasso@estpak.ee>
848
849 * ospf_vty.c: Don't warn that export- and import-list can't be
850 configured to backbone area if they are applied and are working
851 fine.
852
hasso128d31d2004-04-04 12:52:33 +00008532004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
854
855 * ospf_packet.c: Don't drop packets in Solaris x86.
856 [quagga-dev 1005].
857
hasso0d85b992004-03-18 19:18:33 +00008582004-03-18 Amir Guindehi <amir@datacore.ch>
859
860 * ospf_opaque.c: Attempt to correct the incorrect behavior of
861 Quagga's ospfd in the special situation that a node's opaque
862 capability has changed as "ON -> OFF -> ON". [quagga-dev 843].
863
paul7f352b82004-02-19 19:37:47 +00008642004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
865
866 * ospf_abr.c: (ospf_abr_update_aggregate) UNH 3.12b,c, address range
867 should be configured with the highest cost path within the range,
868 not lowest.
869
paul940b01a2004-02-17 20:07:30 +00008702004-02-17 Paul Jakma <paul@dishone.st>
871
872 * ospf_zebra.c: (ospf_interface_delete) Do not delete the interface
873 params, nor the interface structure, if an interface delete
874 message is received from zebra.
875 * ospf_interface.c: (ospf_if_delete_hook) Delete the interface
876 params and interface, ie that which was previously removed in
877 (ospf_interface_delete) above.
878
hasso2db3d052004-02-11 21:52:13 +00008792004-02-11 Hasso Tepper <hasso@estpak.ee>
880 * ospf_interface.c, ospf_zebra.c: Don't attempt to read path->oi->ifp
881 if oi doesn't exist any more.
882
hassocb05eb22004-02-11 21:10:19 +00008832004-02-11 Vadim Suraev <vadim.suraev@terayon.com>
884 * ospf_packet.c (ospf_ls_upd): Router should flush received network
885 LSA if it was originated with older router-id ([zebra 14710] #6).
886
8872003-12-08 Mattias Amnefelt <mattiasa@kth.se>
paul239aecc2003-12-08 10:34:54 +0000888
889 * ospf_packet.c: (ospf_recv_packet) OpenBSD now leaves iph.ip_len
890 network byte order.
891
gdt8f40e892003-12-05 14:01:43 +00008922003-12-05 Greg Troxel <gdt@poblano.ir.bbn.com>
893
894 * ospfd.c (ospf_network_match_iface): Rewrite code for clarity
895 while trying not to change semantics. Add ifdefed-out code to
896 avoid matching ppp interfaces whose destination address does not
897 also match the prefix under consideration, to help out people with
898 problems due to as-yet-unfixed bugs with p2p interfaces coming and
899 going.
900
paul736d3442003-07-24 23:22:57 +00009012003-07-25 kamatchi soundaram <kamatchi@tdd.sj.nec.com>
902
903 * ospf_packet.c (ospf_ls_upd_send_queue_event): get next route
904 node in body of the loop to avoid chance that route node
905 is unlocked and deleted before the next iteration tries to
906 get next route node.
907
paul0a825c72003-05-24 13:48:16 +00009082003-05-24 Kenji Yabuuchi
909
910 * ospf_interface.c(ospf_if_lookup_recv_if): Use the most specific
911 match for interface lookup.
912
paul551a8972003-05-18 15:22:55 +00009132003-05-18 Hasso Tepper <hasso@estpak.ee>
paul445f1432003-05-16 19:00:31 +0000914
paul551a8972003-05-18 15:22:55 +0000915 * ospf_vty.c: Show NSSA LSA route info in "show ip ospf database"
916 output
paul445f1432003-05-16 19:00:31 +0000917
pauld7480322003-05-16 17:31:51 +00009182003-05-16 Hasso Tepper <hasso@estpak.ee>
919
920 * ospf_lsa.c: Fix handling of NSSA
921
paul551a8972003-05-18 15:22:55 +00009222003-04-23 Hasso Tepper <hasso@estpak.ee>
923
924 * ospf_vty.c: fix "router xxx" node commands in vtysh
925
paul445f1432003-05-16 19:00:31 +00009262003-04-19 Hasso Tepper <hasso@estpak.ee>
927
928 * {ospf_abr,ospfd}.c: area id's DECIMAL -> ADDRESS
929 * ospf_routemap.c: sync daemon's route-map commands to have same
930 syntax.
931
9322003-04-19 Sergey Vyshnevetskiy <serg@vostok.net>
933
934 * ospf_packet.c: Add missing param to zlog
935 * ospf_flood.c: remove unused vars
936
9372003-04-17 Denis Ovsienko <zebra@pilot.org.ua>
938
939 * ospf_interface.c: fix incorrect memset
940
paul28a13842003-05-16 20:30:37 +00009412003-04-10 Amir Guindehi <amir@datacore.ch>
paul445f1432003-05-16 19:00:31 +0000942
943 * ospf_lsa.[ch]: opaque LSA fix, use ospf_lookup.
944
9452003-04-03 David Watson <dwatson@eecs.umich.edu>
946
947 * ospf_lsa.c: byte order fix
948
paul07661cb2003-03-18 00:03:05 +00009492002-03-17 Amir Guindehi <amir@datacore.ch>
950
951 * ospf_apiserver.[ch]: Merge Ralph Keller's OSPFAPI support.
952 * ospf_api.[ch]: Merge Ralph Keller's OSPFAPI support.
953 * ospfclient: OSPFAPI demonstration client.
954
9552003-01-23 Masahiko Endo <endo@suri.co.jp>
956
957 * ospf_ism.c: NSM event schedule bug fix.
958
9592002-10-30 Greg Troxel <gdt@ir.bbn.com>
960
961 * ospf_packet.c (ospf_make_md5_digest): MD5 length fix.
962
paul718e3742002-12-13 20:15:29 +00009632002-10-23 endo@suri.co.jp (Masahiko Endo)
964
965 * ospf_opaque.c: Update Opaque LSA patch.
966
9672002-10-23 Ralph Keller <keller@tik.ee.ethz.ch>
968
969 * ospf_vty.c (show_ip_ospf_database): Fix CLI parse.
970
9712002-10-23 Juris Kalnins <juris@mt.lv>
972
973 * ospf_interface.c (ospf_if_stream_unset): When write queue
974 becomes empty stop write timer.
975
9762002-10-10 Greg Troxel <gdt@ir.bbn.com>
977
978 * ospf_packet.c (ospf_check_md5_digest): Change >= to > to make it
979 conform to RFC.
980
9812002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
982
983 * zebra-0.93 released.
984
9852002-06-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
986
987 * ospf_spf.c (ospf_nexthop_calculation): Add NULL set to oi and
988 check of l2. Reported by: Daniel Drown <dan-zebra@drown.org>
989 (ospf_lsa_has_link): LSA Length calculation fix. Reported by:
990 Paul Jakma <paulj@alphyra.ie>.
991
992 * ospfd.c (ospf_if_update): Fix nextnode reference bug. Reported
993 by: juris@mt.lv.
994
9952002-01-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
996
997 * ospfd.c: Merge [zebra 11445] Masahiko ENDO's Opaque-LSA support.
998
9992001-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1000
1001 * ospf_interface.c (ospf_add_to_if): Use /32 address to register
1002 OSPF interface information.
1003 (ospf_delete_from_if): Likewise.
1004
1005 * ospf_zebra.c (ospf_interface_address_delete): Likewise.
1006
10072001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1008
1009 * ospf_zebra.c (ospf_redistribute_unset): When redistribute type
1010 is OSPF, do not unset redistribute flag.
1011
10122001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1013
1014 * zebra-0.92a released.
1015
10162001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1017
1018 * zebra-0.92 released.
1019
10202001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1021
1022 * ospfd.c (ospf_config_write): auto-cost reference-bandwidth
1023 configuration display.
1024
10252001-07-24 David Watson <dwatson@eecs.umich.edu>
1026
1027 * ospf_spf.c (ospf_spf_next): Modify ospf_vertex_add_parent to
1028 check for an existing link before connecting the parent and child.
1029 ospf_nexthop_calculation is also modified to check for duplicate
1030 entries when copying from the parent. Finally, ospf_spf_next
1031 removes duplicates when it merges two equal cost candidates.
1032
10332001-07-23 itojun@iijlab.net
1034
1035 * ospfd.c (show_ip_ospf_neighbor): Check ospf_top before use it
1036 [zebra 8549].
1037
10382001-07-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1039
1040 * ospf_packet.c (ospf_write): Remove defined(__OpenBSD__) to make
1041 it work on OpenBSD.
1042
10432001-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1044
1045 * ospf_zebra.c (config_write_ospf_default_metric): Display
1046 default-metric configuration.
1047
10482001-06-18 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1049
1050 * ospf_ia.h (OSPF_EXAMINE_SUMMARIES_ALL): Remove old macros.
1051
10522001-05-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1053
1054 * ospf_snmp.c (ospfIfEntry): Fix interface lookup bug to avoid
1055 crush.
1056 (ospfIfMetricEntry): Likewise.
1057
10582001-03-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1059
1060 * ospf_packet.c (ospf_read): Fix typo. Reported by: "Jen B
1061 Lin'Kova" <jen@stack.net>.
1062
10632001-03-15 Gleb Natapov <gleb@nbase.co.il>
1064
1065 * ospf_interface.c (ip_ospf_network): Set interface parameter.
1066 (interface_config_write): Add check for OSPF_IFTYPE_LOOPBACK.
1067
1068 * ospf_zebra.c (ospf_interface_add): Set interface parameter.
1069
10702001-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1071
1072 * ospf_packet.c (ospf_recv_packet): Solaris also need to add
1073 (iph.ip_hl << 2) to iph.ip_len.
1074
10752001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1076
1077 * ospfd.h (OSPF_LS_REFRESH_TIME): Fix OSPF_LS_REFRESH_TIME value.
1078 Suggested by: David Watson <dwatson@eecs.umich.edu>.
1079
1080 * ospf_zebra.c (zebra_init): Remove zebra node.
1081
1082 * ospfd.c (ospf_area_range_set): Function name is changed from
1083 ospf_ara_range_cmd.
1084 (ospf_area_range_unset): New function which separated from DEFUN.
1085 New commands are added:
1086 "no area A.B.C.D range A.B.C.D/M advertise"
1087 "no area <0-4294967295> range A.B.C.D/M advertise"
1088 "no area A.B.C.D range A.B.C.D/M not-advertise"
1089 "no area <0-4294967295> range A.B.C.D/M not-advertise"
1090
1091 * ospf_lsa.c (ospf_lsa_more_recent): Fix previous change.
1092
10932001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
1094
1095 * ospf_network.c (ospf_if_add_allspfrouters): Use
1096 setsockopt_multicast_ipv4.
1097 (ospf_if_drop_allspfrouters): Likewise.
1098
1099 * ospf_lsa.c (ospf_router_lsa_install): Add rt_recalc flag.
1100 (ospf_network_lsa_install): Likewise.
1101 (ospf_summary_lsa_install): Likewise.
1102 (ospf_summary_asbr_lsa_install): Likewise.
1103 (ospf_external_lsa_install): Likewise.
1104 (ospf_lsa_install): Call ospf_lsa_different to check this LSA is
1105 new one or not.
1106
11072001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1108
1109 * ospf_zebra.c (ospf_interface_delete): Do not free interface
1110 structure when ospfd receive interface delete message to support
1111 pseudo interface.
1112
11132001-02-01 Dick Glasspool <dick@ipinfusion.com>
1114
1115 * ospfd.c (area_range_notadvertise): Change area range "suppress"
1116 command to "not-advertise".
1117
1118 * ospfd.h (OSPF_LS_REFRESH_TIME): Change OSPF_LS_REFRESH_TIME from
1119 1800 to 60.
1120
1121 * ospf_abr.c (ospf_abr_update_aggregate): When update_aggregate is
1122 updating the area-range, the lowest cost is now saved.
1123
1124 * ospf_lsa.c (ospf_lsa_more_recent): Routing to compare sequence
1125 numbers rather than creating overflow during calculation.
1126
11272001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1128
1129 * zebra-0.91 is released.
1130
11312001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1132
1133 * ospf_packet.c (ospf_db_desc_proc): Do not continue process when
1134 NSM_SeqNumberMismatch is scheduled.
1135 (ospf_ls_req): Free ls_upd when return from this function.
1136 (ospf_ls_upd_timer): When update list is empty do not call
1137 ospf_ls_upd_send(). Suggested by: endo@suri.co.jp (Masahiko
1138 Endo).
1139
11402001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1141
1142 * ospf_lsa.c (ospf_maxage_flood): Flood LSA when it reaches
1143 MaxAge. RFC2328 Section 14.
1144 (ospf_maxage_lsa_remover): Call above function during removing
1145 MaxAge LSA.
1146
11472001-01-26 Dick Glasspool <dick@ipinfusion.com>
1148
1149 * ospf_flood.c (ospf_flood_through_as): Function is updated for
1150 NSSA Translations now done at ospf_abr.c with no change in P-bit.
1151
1152 * ospf_lsa.c (ospf_get_nssa_ip): Get 1st IP connection for Forward
1153 Addr.
1154 (ospf_install_flood_nssa): Leave Type-7 LSA at Lock Count = 2.
1155
1156 * ospf_ase.c (ospf_ase_calculate_route): Add debug codes.
1157
1158 * ospf_abr.c (ospf_abr_translate_nssa): Recalculate LSA checksum.
1159
1160 * ospf_packet.h (OSPF_SEND_PACKET_LOOP): Added for test packet.
1161
1162 * ospf_dump.c (ospf_lsa_type_msg): Add OSPF_GROUP_MEMBER_LSA and
1163 OSPF_AS_NSSA_LSA.
1164
1165 * ospfd.c (data_injection): Function to inject LSA. This is
1166 debugging command.
1167
11682001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1169
1170 * ospf_route.c (ospf_route_match_same): Remove function.
1171 (ospf_route_match_same_new): Renamed to ospf_route_match_same.
1172
1173 * ospf_zebra.c (ospf_interface_address_delete): Add check for
1174 oi->address. Suggested by Matthew Grant
1175 <grantma@anathoth.gen.nz>.
1176 (ospf_zebra_add): Remove function.
1177 (ospf_zebra_add_multipath): Rename to ospf_zebra_add.
1178
1179 * ospf_interface.c: Remove HAVE_IF_PSEUDO part.
1180
1181 * ospf_zebra.c: Likewise.
1182
11832001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1184
1185 * ospf_ase.c: Remove OLD_RIB part.
1186
1187 * ospf_route.c: Likewise.
1188
1189 * zebra-0.90 is released.
1190
1191 * ospf_packet.c (ospf_recv_packet): Use ip_len adjestment code to
1192 NetBSD.
1193
11942001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1195
1196 * ospf_route.c (ospf_route_delete): Use
1197 ospf_zebra_delete_multipath.
1198
11992001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1200
1201 * ospf_interface.c (ospf_if_cleanup): Function name is renamed
1202 from ospf_if_free(). Rewrite whole procudure to support primary
1203 address deletion.
1204
1205 * ospf_zebra.c (ospf_interface_address_delete): Add primary
1206 address deletion process.
1207
12082001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1209
1210 * ospf_packet.c (ospf_recv_packet): OpenBSD has same ip_len
1211 treatment like FreeBSD.
1212
12132001-01-09 endo@suri.co.jp (Masahiko Endo)
1214
1215 * ospf_packet.c (ospf_recv_packet): FreeBSD kernel network code
1216 strips IP header size from receiving IP Packet. So we adjust
1217 ip_len to whole IP packet size by adding IP header size.
1218
12192001-01-08 endo@suri.co.jp (Masahiko Endo)
1220
1221 * ospf_network.c (ospf_serv_sock): When socket() is failed return
1222 immediately.
1223 (ospf_serv_sock): Close socket when it is not used.
1224
1225 * ospf_packet.c (ospf_write): Set sin_len when HAVE_SIN_LEN is
1226 defined.
1227 (ospf_write): When bind is fined, close sock.
1228
12292001-01-07 Gleb Natapov <gleb@nbase.co.il>
1230
1231 * ospf_zebra.c (ospf_interface_state_up): Fixes coredump that
1232 appears when you try to configure bandwidth on the ppp interface
1233 that is not yet configured in ospfd.
1234
12352001-01-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1236
1237 * ospf_route.c (show_ip_ospf_route_external): "show ip ospf route"
1238 will print nexthops for AS-external routes.
1239
1240 * ospf_ase.c (ospf_ase_route_match_same): New function to compare
1241 ASE route under multipath environment.
1242 (ospf_ase_compare_tables): Likewise.
1243
12442001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1245
1246 * ospfd.h (OSPF_VTYSH_PATH): Change "/tmp/ospfd" to "/tmp/.ospfd".
1247
12482000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1249
1250 * ospf_route.c (ospf_route_install): Install multipath information
1251 to zebra daemon.
1252
1253 * ospf_zebra.c (ospf_zebra_add_multipath): Function for passing
1254 multipath information to zebra daemon.
1255
12562000-12-25 Dick Glasspool <dick@ipinfusion.com>
1257
1258 * ospf_packet.c (ospf_write): Call ospf_packet_delete when sendto
1259 fail.
1260 (DISCARD_LSA): Add argument N for logging point of DISCARD_LSA is
1261 called.
1262
1263 * ospf_lsa.c (ospf_external_lsa_refresh): NSSA install_flood will
1264 leave Type-7 LSA at Lock Count = 2.
1265
1266 * ospf_flood.c (ospf_flood_through): Flood_though_as updated for
1267 NSSA no P-bit off during Area flooding, but P-bit is turned off
1268 for mulitple NSSA AS flooding.
1269
1270 * ospf_ase.c (ospf_ase_calculate_timer): Added calculations for
1271 Type-7 LSDB.
1272
1273 * ospf_abr.c (ospf_abr_translate_nssa): Removed one unlock call.
1274 (ospf_abr_announce_nssa_defaults): Corrected Debug from EVENT to
1275 NSSA.
1276
12772000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1278
1279 * ospf_zebra.c (ospf_zebra_read_ipv4): Checking the age of the
1280 found LSA and if the LSA is MAXAGE we should call refresh instead
1281 of originate.
1282
12832000-12-18 Dick Glasspool <dick@ipinfusion.com>
1284
1285 * ospf_abr.c: Removed redundant "...flood" in
1286 announce_network_to_area(). Repaired nssa Unlock by using
1287 discard.
1288
1289 * ospf_packet.c: Removed old NSSA translate during mk_ls_update.
1290
1291 * ospfd.c: Free up all data bases including NSSA.
1292
1293 * ospf_lsa.c: Now allow removal of XLATE LSA's Check in
1294 discard_callback. Added routine to get ip addr from within the
1295 ifp.
1296
1297 * ospf_flood.c: Now set Forward Address for outgoing Type-7.
1298
1299 * ospf_lsa.h: Added prototype for the below. struct in_addr
1300 ospf_get_ip_from_ifp (struct interface *ifp).
1301
13022000-12-14 Gleb Natapov <gleb@nbase.co.il>
1303
1304 * ospf_packet.c (ospf_recv_packet): New OSPF pakcet read method.
1305 Now maximum packet length may be 65535 bytes (maximum IP packet
1306 length).
1307
1308 * ospf_interface.c (ospf_if_stream_set): Don't make input buffer.
1309
1310 * ospfd.c (config_write_network_area): Remove unnecessary area
1311 lookup code.
1312
13132000-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1314
1315 * ospf_packet.c (ospf_read): Accept packet bigger than MTU value.
1316
13172000-12-13 Gleb Natapov <gleb@nbase.co.il>
1318
1319 * ospfd.c (config_write_network_area): Fix bug in
1320 config_write_network_area function.
1321
13222000-12-12 Gleb Natapov <gleb@nbase.co.il>
1323
1324 * ospf_abr.c (ospf_abr_announce_network_to_area): Make Summary
1325 LSA's origination and refreshment as same as other type of LSA.
1326
1327 * ospf_lsa.c (ospf_summary_lsa_refresh): Return struct ospf_lsa *.
1328
1329 * ospf_lsa.c (ospf_summary_asbr_lsa_refresh): Likewise.
1330
13312000-12-08 Dick Glasspool <dick@ipinfusion.com>
1332
1333 The bulk of NSSA changes are contained herein; This version will
1334 require manual setting of "always" for NSSA Translator, and will
1335 not perform aggregation yet.
1336
1337 * ospf_dump.c: "debug ospf nssa" is added.
1338
1339 * ospf_dump.h: Likewise.
1340
1341 * ospf_packet.c (ospf_hello): Display router ID on Bad NSSA Hello.
1342
1343 * ospfd.c: Discard_LSA to stay away from LOCAL_XLT Process NSSA
1344 'never, candidate, always'. Change "suppress" to "not-advertise".
1345
1346 * ospfd.h: Add TranslatorRole to struct ospf_area. Add anyNSSA to
1347 struct ospf.
1348
1349 * ospf_ase.c (ospf_ase_calculate_route): External to stay away
1350 from LOCAL_XLT
1351
1352 * ospf_nsm.c (ospf_db_summary_add): External to stay away from
1353 LOCAL_XLT
1354
1355 * ospf_abr.c: Major logic added for abr_nssa_task(). If ABR, and
1356 NSSA translator, then do it. Approve the global list, and flush
1357 any unapproved.
1358
1359 * ospf_lsa.h: New LSA flag OSPF_LSA_LOCAL_XLT to indicate that the
1360 Type-5 resulted from a Local Type-7 translation; not used for
1361 flooding, but used for flushing.
1362
1363 * ospf_flood.c: New NSSA flooding.
1364
13652000-12-08 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1366
1367 * ospfd.c (ospf_find_vl_data): New function for looking up virtual
1368 link data.
1369 (ospf_vl_set_security): Virtual link configuration with
1370 authentication.
1371 (ospf_vl_set_timers): Set timers for virtual link.
1372
1373 * New commands are added.
1374 "area A.B.C.D virtual-link A.B.C.D"
1375 "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>"
1376 "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"
1377 "area A.B.C.D virtual-link A.B.C.D authentication-key AUTH_KEY"
1378 "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"
1379 "area A.B.C.D virtual-link A.B.C.D message-digest-key <1-255> md5 KEY"
1380
1381 * ospf_packet.c (ospf_check_md5_digest): Add neighbor's
1382 cryptographic sequence number treatment.
1383 (ospf_check_auth): OSPF input buffer is added to argument.
1384 (ospf_read): Save neighbor's cryptographic sequence number.
1385
1386 * ospf_nsm.c (nsm_change_status): Clear cryptographic sequence
1387 number when neighbor status is changed to NSM down.
1388
1389 * ospf_neighbor.c (ospf_nbr_new): Set zero to crypt_seqnum.
1390
1391 * ospf_neighbor.h (struct ospf_neighbor): Add cryptographic
1392 sequence number to neighbor structure.
1393
13942000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1395
1396 * ospf_snmp.c (ospfIfLookup): OSPF MIB updates.
1397 (ospfExtLsdbEntry): Add OspfExtLsdbTable treatment.
1398
13992000-11-28 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1400
1401 * ospfd.c (ospf_interface_down): Clear a ls_upd_queue queue of the
1402 interface.
1403 (ospf_ls_upd_queue_empty): New function to empty ls update queue
1404 of the OSPF interface.
1405 (no_router_ospf): 'no router ospf' unregister redistribution
1406 requests from zebra.
1407
14082000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1409
1410 * ospf_ism.c (ism_change_status): Increment status change number.
1411
1412 * ospf_interface.h (struct ospf_interface): Add new member for
1413 status change statistics.
1414
1415 * Makefile.am: Update dependencies.
1416
1417 * ospf_zebra.c (ospf_interface_add): OSPF SNMP interface update.
1418 (ospf_interface_delete): OSPF SNMP interface delete.
1419
1420 * ospf_snmp.h: New file is added.
1421
14222000-11-23 Dick Glasspool <dick@ipinfusion.com>
1423
1424 * ospfd.h: Add new ospf_area structure member for
1425 NSSATranslatorRole and NSSATranslator state.
1426
1427 * ospfd.c: Provided for eventual commands to specify NSSA
1428 elections for "translator- ALWAYS/NEVER/CANDIDATE". Provided for
1429 decimal integer version of area-suppress.
1430
1431 * ospf_flood.c: Flood Type-7's only into NSSA (not AS).
1432
1433 * ospf_lsa.c: Undo some previous changes for NSSA. If NSSA
1434 translator, advertise Nt bit.
1435
1436 * ospf_route.c: 1st version of "sh ip os border-routers".
1437
14382000-11-23 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1439
1440 * ospfd.c (area_vlink): Virtual link can not configured in stub
1441 area.
1442
14432000-11-23 Gleb Natapov <gleb@nbase.co.il>
1444
1445 * ospf_packet.c (ospf_db_desc): In states Loading and Full the
1446 slave must resend its last Database Description packet in response
1447 to duplicate Database Description packets received from the
1448 master. For this reason the slave must wait RouterDeadInterval
1449 seconds before freeing the last Database Description packet.
1450 Reception of a Database Description packet from the master after
1451 this interval will generate a SeqNumberMismatch neighbor
1452 event. RFC2328 Section 10.8
1453 (ospf_make_db_desc): DD Master flag treatment.
1454
1455 * ospf_nsm.c (nsm_twoway_received): Move DD related procedure to
1456 nsm_change_status().
1457 (nsm_bad_ls_req): Likewise.
1458 (nsm_adj_ok): Likewise.
1459 (nsm_seq_number_mismatch): Likewise.
1460 (nsm_oneway_received): Likewise.
1461
1462 * ospf_neighbor.h (struct ospf_neighbor): New structure member
1463 last_send_ts for timestemp when last Database Description packet
1464 was sent.
1465
1466 * ospf_nsm.c (ospf_db_desc_timer): Make it sure nbr->last_send is
1467 there. Call ospf_db_desc_resend() in any case.
1468
14692000-11-16 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1470
1471 * ospf_lsa.c (lsa_link_broadcast_set): When there is no DR on
1472 network (suppose you have only one router with interface priority
1473 0). It's router LSA does not contain the link information about
1474 this network.
1475
1476 * ospf_nsm.c (nsm_timer_set): When you change a priority of
1477 interface from/to 0 ISM_NeighborChange event should be scheduled
1478 in order to elect new DR/BDR on the network.
1479
1480 * ospf_interface.c (ip_ospf_priority): Likewise.
1481
1482 * ospf_flood.c (ospf_ls_retransmit_add): When we add some LSA into
1483 retransmit list we need to check whether the present old LSA in
1484 retransmit list is not more recent than the new
1485 one.
1486
14872000-11-09 Dick Glasspool <dick@ipinfusion.com>
1488
1489 * ospf_packet.c: Allows for NSSA Type-7 LSA's throughout the NSSA
1490 area. Any that exit the NSSA area are translated to type-5 LSA's.
1491 The instantiated image is restored after translation.
1492 (ospf_ls_upd_send_list): Renamed to ospf_ls_upd_queu_send().
1493 (ospf_ls_upd_send): Old function which enclosed by #ifdef 0 is
1494 removed.
1495 (ospf_ls_ack_send): Likewise.
1496
1497 * ospf_flood.c: NSSA-LSA's without P-bit will be restricted to
1498 local area. Otherwise they are allowed out the area to be
1499 translated by ospf_packet.c.
1500
1501 * ospf_lsa.c: Undo some previous changes for NSSA.
1502
1503 * ospf_lsdb.h: New access for type 7.
1504
15052000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1506
1507 * ospf_route.c (ospf_path_exist): New function to check nexthop
1508 and interface are in current OSPF path or not.
1509 (ospf_route_copy_nexthops_from_vertex): Add nexthop to OSPF path
1510 when it is not there. Reported by Michael Rozhavsky
1511 <mrozhavsky@opticalaccess.com>
1512
15132000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1514
1515 * ospf_dump.c (config_write_debug): Add seventh string "detail" is
1516 added for flag is OSPF_DEBUG_SEND | OSPF_DEBUG_RECV |
1517 OSPF_DEBUG_DETAIL.
1518
15192000-11-06 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1520
1521 * ospf_lsa.c (router_lsa_flags): ASBR can't exit in stub area.
1522
15232000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1524
1525 * ospf_lsa.c (ospf_router_lsa_originate): Reduce unconditional
1526 logging.
1527
15282000-11-06 Dick Glasspool <dick@ipinfusion.com>
1529
1530 * ospfd.h: Add ait_ntoa function prototype.
1531
1532 * ospfd.c (ait_ntoa): New function for displaying area ID and
1533 Stub/NSSA status.
1534 (show_ip_ospf_interface_sub): Use ait_ntoa.
1535 (show_ip_ospf_nbr_static_detail_sub): Likewise.
1536 (show_ip_ospf_neighbor_detail_sub): Likewise.
1537
1538 * ospf_route.c (ospf_intra_route_add): Set external routing type
1539 to ospf route.
1540 (ospf_intra_add_router): Likewise.
1541 (ospf_intra_add_transit): Likewise.
1542 (ospf_intra_add_stub): Likewise.
1543 (ospf_add_discard_route): Likewise.
1544 (show_ip_ospf_route_network): Use ait_ntoa.
1545 (show_ip_ospf_route_network): Likewise.
1546 (show_ip_ospf_route_router): Likewise.
1547
1548 * ospf_lsa.c (show_lsa_detail): Use ait_ntoa.
1549 (show_lsa_detail_adv_router): Likewise.
1550 (show_ip_ospf_database_summary): Likewise.
1551
1552 * ospf_route.h (struct route_standard): Add new member
1553 external_routing.
1554
1555 * ospf_ia.c (process_summary_lsa): Set external routing tyep to ospf
1556 route.
1557 (ospf_update_network_route): Likewise.
1558 (ospf_update_router_route): Likewise.
1559
15602000-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1561
1562 * ospf_flood.c (ospf_process_self_originated_lsa): Enclose
1563 OSPF_AS_NSSA_LSA treatment with #ifdef HAVE_NSSA.
1564
15652000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1566
1567 * Unconditional logging is enclosed with if (IS_DEBUG_OSPF_EVENT).
1568 Please specify "debug ospf event" for enable logging.
1569
1570 * ospf_ism.c: Do not extern debug flag varible. It is done by
1571 ospf_debug.h
1572 * ospf_asbr.c: Likewise.
1573 * ospf_lsa.c: Likewise.
1574 * ospf_nsm.c: Likewise.
1575 * ospf_zebra.c: Likewise.
1576
1577 * ospf_dump.c (debug_ospf_event): New command "debug ospf event"
1578 is added.
1579
1580 * ospfd.c (router_ospf): Change logging from vty_out() to
1581 zlog_info().
1582 (ospf_area_stub_cmd): Likewise.
1583
1584 * ospf_dump.h: Extern term_debug flags.
1585 (OSPF_DEBUG_EVENT): Add new flag.
1586 (IS_DEBUG_OSPF_EVENT): Add new macro.
1587
15882000-11-03 Dick Glasspool <dick@ipinfusion.com>
1589
1590 * ospf_flood.c (ospf_process_self_originated_lsa):
1591 OSPF_AS_NSSA_LSA is treated as same as OSPF_AS_EXTERNAL_LSA.
1592 (ospf_flood): Type-5's have no change. Type-7's can be received,
1593 and will Flood the AS as Type-5's They will also flood the local
1594 NSSA Area as Type-7's. The LSDB will be updated as Type-5's, and
1595 during re-fresh will be converted back to Type-7's (if within an
1596 NSSA).
1597 (ospf_flood_through): Incoming Type-7's were allowed here if our
1598 neighbor was an NSSA. So Flood our area with the Type-7 and also
1599 if we are an ABR, flood thru AS as Type-5.
1600
1601 * ospf_lsa.c (ospf_external_lsa_refresh): Flood NSSA both NSSA
1602 area and other area.
1603
1604 * ospf_packet.c (ospf_db_desc_proc): When AS External LSA is
1605 exists in DD packet, make it sure that this area is not stub.
1606 (ospf_ls_upd_list_lsa): When LSA type is NSSA then set lsa's area
1607 to NULL.
1608 (ospf_ls_upd): If the LSA is AS External LSA and the area is stub
1609 then discard the lsa. If the LSA is NSSA LSA and the area is not
1610 NSSA then discard the lsa.
1611
16122000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1613
1614 * ospfd.c (ospf_interface_run): Fix bug of Hello packet's option
1615 is not properly set when interface comes up.
1616
16172000-11-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1618
1619 * ospfd.h (OSPF_OPTION_O): Add new hello header option.
1620
16212000-11-01 Dick Glasspool <dick@ipinfusion.com>
1622
1623 * ospf_lsa.h: Define OSPF_MAX_LSA to 8 when HAVE_NSSA is enabled.
1624 (OSPF_GROUP_MEMBER_LSA): Define OSPF_GROUP_MEMBER_LSA.
1625
1626 * ospf_lsa.c (show_database_desc): Add "Group Membership LSA"
1627 string.
1628
16292000-10-31 Dick Glasspool <dick@ipinfusion.com>
1630
1631 * ospf_lsa.h (OSPF_AS_NSSA_LSA): Define OSPF_AS_NSSA_LSA.
1632
1633 * ospf_lsa.c (show_ip_ospf_database): NSSA database display
1634 function is added. ALIASES which have "show ip ospf database
1635 nssa-external" is added.
1636 (show_ip_ospf_border_routers): New command "show ip ospf
1637 border-routers" is added.
1638
16392000-10-30 Dick Glasspool <dick@ipinfusion.com>
1640
1641 * ospfd.c (router_ospf): NSSA Enabled message is added for
1642 testing.
1643 (ospf_area_type_set): Are type set for NSSA area.
1644 (ospf_area_stub_cmd): Special translation of no_summary into NSSA
1645 and summary information. If NSSA is enabled pass the information
1646 to ospf_area_type_set().
1647 (area_nssa): New commands are added:
1648 "area A.B.C.D nssa"
1649 "area <0-4294967295> nssa"
1650 "area A.B.C.D nssa no-summary"
1651 "area <0-4294967295> nssa no-summary"
1652 (ospf_no_area_stub_cmd): Special translation of no_summary into
1653 NSSA and summary information. If external_routing is
1654 OSPF_AREA_NSSA unset area with ospf_area_type_set (area,
1655 OSPF_AREA_DEFAULT).
1656 (show_ip_ospf_area): Display NSSA status.
1657 (config_write_ospf_area): Show NSSA configuration.
1658
1659 * ospf_packet.c (ospf_hello): For NSSA support, ensure that NP is
1660 on and E is off.
1661
16622000-10-26 Gleb Natapov <gleb@nbase.co.il>
1663
1664 * ospf_lsa.c (ospf_network_lsa_body_set): The network-LSA lists
1665 those routers that are fully adjacent to the Designated Router;
1666 each fully adjacent router is identified by its OSPF Router ID.
1667 The Designated Router includes itself in this list. RFC2328,
1668 Section 12.4.2.
1669
16702000-10-23 Jochen Friedrich <jochen@scram.de>
1671
1672 * ospf_snmp.c: ospf_oid and ospfd_oid are used in smux_open after
1673 it is registered. So those variables must be static.
1674
16752000-10-18 K N Sridhar <sridhar@euler.ece.iisc.ernet.in>
1676
1677 * ospfd.c: Add area_default_cost_decimal_cmd and
1678 no_area_default_cost_decimal_cmd alias.
1679
16802000-10-05 Gleb Natapov <gleb@nbase.co.il>
1681
1682 * ospfd.c (ospf_network_new): Fix setting area format.
1683 (no_router_ospf): Check area existance when calling
1684 ospf_interface_down().
1685
1686 * ospf_flood.c (ospf_external_info_check): Fix bug of refreshing
1687 default route.
1688
16892000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1690
1691 * zebra-0.89 is released.
1692
16932000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1694
1695 * ospf_snmp.c (ospfHostEntry): OSPF Host MIB is implemented.
1696
1697 * ospfd.c (ospf_nbr_static_cmp): OSPF neighbor is sorted by it's
1698 address.
1699
17002000-09-28 Michael Rozhavsky <mike@nbase.co.il>
1701
1702 * ospf_interface.c (ospf_if_free): Fix deleting self neighbor twice.
1703
17042000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1705
1706 * ospf_packet.c (ospf_read): Solaris on x86 has ip_len with host
1707 byte order.
1708
17092000-09-25 Toshiaki Takada <takada@zebra.org>
1710
1711 * ospfd.c (ospf_compatible_rfc1583), (no_ospf_compatible_rfc1583):
1712 Add CISCO compatible command.
1713
17142000-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1715
1716 * ospf_abr.c (ospf_area_range_lookup): New function is added for
1717 area range lookup in OSPF-MIB.
1718 (ospf_area_range_lookup_next): Likewise.
1719
17202000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1721
1722 * ospfd.c (no_router_ospf): Delete virtual link before deleting
1723 area structure.
1724
1725 * ospf_lsa.c (ospf_external_lsa_refresh_type): Check
1726 EXTERNAL_INFO(type).
1727
1728 * ospfd.c (no_router_ospf): Call ospf_vl_delete() instead of
1729 ospf_vl_data_free().
1730
1731 * ospf_interface.c (ospf_vl_shutdown): Execute ISM_InterfaceDown
1732 when ospf_vl_shutdown is called.
1733 (ospf_vl_delete): Call ospf_vl_shutdown() to delete virtual link
1734 interface's thread.
1735
17362000-09-21 Gleb Natapov <gleb@nbase.co.il>
1737
1738 * ospf_lsa.c: New implementation of OSPF refresh.
1739
17402000-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1741
1742 * ospf_snmp.c (ospfLsdbLookup): Add LSDB MIB implementation.
1743
17442000-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1745
1746 * ospf_snmp.c (ospfStubAreaEntry): Add OSPF stub area MIB.
1747
17482000-09-18 Gleb Natapov <gleb@nbase.co.il>
1749
1750 * ospf_route.h (route_standard): Change member from `struct area'
1751 to area_id.
1752
1753 * ospf_abr.c (ospf_abr_announce_network), (ospf_abr_should_announce),
1754 (ospf_abr_process_network_rt), (ospf_abr_announce_rtr),
1755 (ospf_abr_process_router_rt):
1756 * ospf_ase.c (ospf_find_asbr_route),
1757 (ospf_find_asbr_router_through_area),
1758 * ospf_ia.c (ospf_find_abr_route), (ospf_ia_router_route),
1759 (process_summary_lsa), (ospf_update_network_route),
1760 (ospf_update_router_route):
1761 * ospf_route.c (ospf_intra_route_add), (ospf_intra_add_router),
1762 (ospf_intra_add_transit), (ospf_intra_add_stub),
1763 (ospf_route_table_dump), (show_ip_ospf_route_network),
1764 (show_ip_ospf_route_router), (ospf_asbr_route_cmp),
1765 (ospf_prune_unreachable_routers):
1766 * ospf_spf.c (ospf_rtrs_print):
1767 * ospfd.c (ospf_rtrs_free): Fix the struct change above.
1768
17692000-09-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1770
1771 * ospf_network.c (ospf_serv_sock_init): Enclose SO_BINDTODEVICE
1772 with ifdef.
1773
17742000-09-13 Gleb Natapov <gleb@nbase.co.il>
1775
1776 * ospf_ism.c (ospf_elect_dr), (ospf_elect_bdr): Fix DR election.
1777
1778 * ospf_network.c (ospf_serv_sock_init): Add socket option
1779 SO_BINDTODEVICE on read socket.
1780
1781 * ospf_packet.c (ospf_hello): Ignore Hello packet if E-bit does
1782 not match.
1783
1784 * ospfd.c (ospf_area_check_free), (ospf_area_get),
1785 (ospf_area_add_if): New function added.
1786
17872000-09-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1788
1789 * ospf_route.c (ospf_intra_add_router): Update ABR and ASBR router
1790 count.
1791
1792 * ospf_spf.c (ospf_spf_init): Rest ABR and ASBR router count
1793 starting SPF calculation.
1794
1795 * ospfd.h (struct ospf_area): Add ABR and ASBR router count.
1796
17972000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1798
1799 * ospfd.c (ospf_area_id_cmp): New area structure is sorted by area
1800 ID.
1801
1802 * ospf_lsa.c (ospf_router_lsa_originate): For OSPF MIB update
1803 lsa_originate_count.
1804 (ospf_network_lsa_originate): Likewise.
1805 (ospf_summary_lsa_originate): Likewise.
1806 (ospf_summary_asbr_lsa_originate): Likewise.
1807 (ospf_external_lsa_originate): Likewise.
1808
18092000-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1810
1811 * ospf_snmp.c (ospf_variables): ospfRouterID's type RouterID
1812 syntax is IpAddress.
1813 (ospf_admin_stat): New function for OSPF administrative status
1814 check.
1815
18162000-09-10 Jochen Friedrich <jochen@scram.de>
1817
1818 * ospf_snmp.c: Implement OSPF MIB skeleton.
1819
18202000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1821
1822 * ospf_snmp.c: New file is added.
1823
18242000-09-07 David Lipovkov <davidl@nbase.co.il>
1825
1826 * ospf_zebra.c (ospf_interface_delete): Add pseudo interface
1827 treatment.
1828
1829 * ospf_interface.c (interface_config_write): Likewise.
1830
18312000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1832
1833 * zebra-0.88 is released.
1834
18352000-08-17 Michael Rozhavsky <mike@nbase.co.il>
1836
1837 * ospfd.c (ospf_area_free): Remove virtual link configuration only
1838 when Area is removed.
1839
18402000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1841
1842 * ospfd.c (network_area): Revert check for EXTERNAL_INFO
1843 (ZEBRA_ROUTE_CONNECT).
1844 (no_network_area): Likewise.
1845
18462000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1847
1848 * ospfd.h (struct ospf): Add distance_table and
1849 distance_{all,intra,inter,external}.
1850
1851 * ospf_zebra.c: Add OSPF distance related functions.
1852
18532000-08-15 Gleb Natapov <gleb@nbase.co.il>
1854
1855 * ospf_asbr.c (ospf_external_info_find_lsa): New function added.
1856
1857 * ospf_lsa.c (ospf_default_external_info),
1858 (ospf_default_originate_timer), (ospf_external_lsa_refresh_default):
1859 New function added.
1860
1861 * ospf_zebra.c
1862 (ospf_default_information_originate_metric_type_routemap),
1863 (ospf_default_information_originate_always_metric_type_routemap):
1864 Change name and add route-map function.
1865 (ospf_default_information_originate_metric_routemap),
1866 (ospf_default_information_originate_routemap),
1867 (ospf_default_information_originate_type_metric_routemap):
1868 New DEFUN added.
1869
18702000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1871
1872 * ospf_zebra.c (zebra_interface_if_set_value): Change ifindex
1873 restore size from two octet to four.
1874
18752000-08-14 Michael Rozhavsky <mike@nbase.co.il>
1876
1877 * ospf_ase.c (ospf_ase_incremental_update): Implement incremental
1878 AS-external-LSA in 16.6 of RFC2328.
1879
18802000-08-14 Matthew Grant <grantma@anathoth.gen.nz>
1881
1882 * ospf_interface.c (ospf_if_get_output_cost): Change cost
1883 calculation algorithm.
1884
1885 * ospf_packet (ospf_ls_upd): Fix problem of LSA retransmitting.
1886
18872000-08-11 Michael Rozhavsky <mike@nbase.co.il>
1888
1889 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix maxage remover for
1890 AS-external-LSAs.
1891
18922000-08-10 Toshiaki Takada <takada@zebra.org>
1893
1894 * ospfd.c (auto_cost_reference_bandwidth): New DEFUN added.
1895 `auto-cost reference-bandwidth' OSPF router command added.
1896
18972000-08-08 Gleb Natapov <gleb@nbase.co.il>
1898
1899 * ospf_routemap.c (ospf_route_map_update): New function added.
1900 Add route-map event hook.
1901
19022000-08-08 Toshiaki Takada <takada@zebra.org>
1903
1904 * ospf_zebra.c (ospf_distribute_check_connected): If redistribute
1905 prefix is connected route on OSPF enabled interface, suppress to
1906 announce it.
1907
19082000-08-08 Matthew Grant <grantma@anathoth.gen.nz>
1909
1910 * ospf_interface.c (ospf_if_get_output_cost):
1911 New function added. Handle bandwidth parameter for cost
1912 calculation.
1913
19142000-08-08 Michael Rozhavsky <mike@nbase.co.il>
1915
1916 * ospf_interface.c (interface_config_write): Show interface
1917 configuration regardless interface is down.
1918
1919 * ospf_ase.c (ospf_ase_caocluate_route): Whole rewritten external
1920 route calculate function.
1921
19222000-08-08 Gleb Natapov <gleb@nbase.co.il>
1923
1924 * ospf_routemap.c: New file added.
1925
1926 * ospf_asbr.c (ospf_reset_route_map_set_values),
1927 (ospf_route_map_set_compare): New function added.
1928
1929 * ospf_lsa.c (ospf_external_lsa_body_set): Set routemap metric
1930 with AS-external-LSA.
1931
19322000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1933
1934 * ospf_ase.c (ospf_ase_calculate_route_add): Pass new->cost to
1935 ospf_zebra_add as metric.
1936 (ospf_ase_calculate_route_add): Likewise.
1937
1938 * ospf_route.c (ospf_route_install): Pass or->cost to
1939 ospf_zebra_add as metric.
1940
1941 * ospf_zebra.c (ospf_zebra_add): Add metric arguemnt.
1942 (ospf_zebra_delete): Likewise.
1943
19442000-08-03 Matthew Grant <grantma@anathoth.gen.nz>
1945
1946 * ospf_flood.c (ospf_flood_delayed_lsa_ack): New function added.
1947 Dispatch delayed-ACK with flooding AS-external-LSA across virtual
1948 link.
1949
19502000-07-31 Matthew Grant <grantma@anathoth.gen.nz>
1951
1952 * ospfd.c (show_ip_ospf_area): Fix lack of VTY_NEWLINE when
1953 `show ip ospf'.
1954
1955 * ospf_interface.c (ospf_if_free): Fix bug of crash with
1956 Point-to-Point interface.
1957
19582000-07-27 Michael Rozhavsky <mike@nbase.co.il>
1959
1960 * ospf_flood.c (ospf_process_self_originated_lsa):
1961 Make sure to clear LSA->param (redistributed external information)
1962 before refreshment.
1963
19642000-07-27 Gleb Natapov <gleb@nbase.co.il>
1965
1966 * ospfd.c (refresh_group_limit), (refresh_per_slice),
1967 (refresh_age_diff): New defun added. Refresher related parameter
1968 can be configurable.
1969
19702000-07-27 Akihiro Mizutani <mizutani@dml.com>
1971
1972 * ospf_interface.c (interface_config_write): Print `description'
1973 config directive to work.
1974
19752000-07-24 Akihiro Mizutani <mizutani@dml.com>
1976
1977 * ospf_interface.c (ospf_if_init): Use install_default for
1978 INTERFACE_NODE.
1979
19802000-07-24 Gleb Natapov <gleb@nbase.co.il>
1981
1982 * ospf_packet.c (ospf_ls_upd_send_list), (ospf_ls_upd_send_event),
1983 (ospf_ls_ack_send_list), (ospf_ls_ack_send_event): New function added.
1984 This make sending always as many LS update/Ack combined in one ospf
1985 packet.
1986
19872000-07-24 Gleb Natapov <gleb@nbase.co.il>
1988
1989 * ospf_packet.c (ospf_ls_upd_list_lsa): Set NULL to lsa->area if
1990 LSA is AS-external-LSA.
1991
1992 * ospf_nsm.c (nsm_reset_nbr): Do not cancel Inactivity timer.
1993
19942000-07-21 Toshiaki Takada <takada@zebra.org>
1995
1996 * ospf_zebra.c (ospf_default_originate_timer): Set timer for
1997 `default-information originate'. Fix some default originate
1998 related functions.
1999
20002000-07-12 Toshiaki Takada <takada@zebra.org>
2001
2002 * ospf_lsa.c (stream_put_ospf_metric): New function added.
2003
20042000-07-12 Toshiaki Takada <takada@zebra.org>
2005
2006 * ospf_lsa.c (show_ip_ospf_database_router),
2007 (show_ip_ospf_database_network), (show_ip_ospf_database_summary),
2008 (show_ip_ospf_database_summary_asbr), (show_ip_ospf_database_externel),
2009 (show_router_lsa), (show_any_lsa), (show_router_lsa_self),
2010 (show_any_lsa_self): Functions removed.
2011
2012 (show_lsa_prefix_set), (show_lsa_detail_proc), (show_lsa_detail),
2013 (show_lsa_detail_adv_router_proc), (show_lsa_detail_adv_router):
2014 New functions added. Replace above functions.
2015
2016 (show_ip_ospf_database_all), (show_ip_ospf_database_self_originated):
2017 Functions removed.
2018 (show_ip_ospf_database_summary): New functions added. Replace
2019 above functions.
2020
2021 (show_ip_ospf_database_cmd): DEFUN rearranged.
2022 (show_ip_ospf_database_type_id_cmd),
2023 (show_ip_ospf_database_type_id_adv_router_cmd),
2024 (show_ip_ospf_database_type_is_self_cmd): New ALIASes added.
2025 (show_ip_ospf_database_type_adv_rotuer_cmd): New DEFUN added.
2026 (show_ip_ospf_database_type_self_cmd): New ALIAS added.
2027
20282000-07-11 Toshiaki Takada <takada@zebra.org>
2029
2030 * ospf_asbr.c (ospf_external_info_new),
2031 (ospf_external_info_free): New functions added.
2032
2033 * ospf_lsa.h (ospf_lsa): Add new member `void *param' to set
2034 origination parameter for external-LSA.
2035 Remove member `redistribute'.
2036
2037 * ospf_zebra.c (ospf_redistirbute_set): When `redistribute'
2038 command executed, metric and metric-type values are overridden.
2039 If one of those is changed refresh AS-external-LSAs for appropriate
2040 type.
2041
20422000-07-11 Michael Rozhavsky <mike@nbase.co.il>
2043
2044 * ospf_lsa.c (ospf_summary_lsa_refresh),
2045 (ospf_summary_asbr_lsa_refresh): Make sure to refresh summary-LSAs.
2046
2047 * ospf_abr.c (set_metric): New function added.
2048
20492000-07-07 Toshiaki Takada <takada@zebra.org>
2050
2051 * ospf_zebra.c (ospf_default_information_originate_metric_type),
2052 (ospf_default_information_originate_type_metric): New defun added.
2053 Metic and Metric type can be set to default route.
2054 (ospf_default_information_originate_always_metric_type):
2055 (ospf_default_information_originate_always_type_metric):
2056 New defun added. Metric and Metric type can be set to default
2057 always route.
2058
2059 * ospf_zebra.c (ospf_default_metric), (no_ospf_default_metric):
2060 New defun added.
2061
20622000-07-06 Gleb Natapov <gleb@nbase.co.il>
2063
2064 * ospf_flood.c (ospf_flood_through_area): Fix bug of considering
2065 on the same interface the LSA was received from.
2066
20672000-07-06 Michael Rozhavsky <mike@nbase.co.il>
2068
2069 * ospfd.c (ospf_config_write): Fix bug of printing `area stub'
2070 command with `write mem'.
2071
2072 * ospfd.c (no_router_ospf): Remove installed routes from zebra.
2073
2074 * ospf_zebra.c (ospf_interface_delete): Fix function to handle
2075 zebra interface delete event.
2076
20772000-07-06 Toshiaki Takada <takada@zebra.org>
2078
2079 * ospf_zebra.c (ospf_default_information_originate),
2080 (ospf_default_information_originate_always): New DEFUN added.
2081
20822000-07-05 Michael Rozhavsky <mike@nbase.co.il>
2083
2084 * ospf_route.c (ospf_terminate): Make sure to remove external route
2085 when SIGINT received.
2086
20872000-07-03 Gleb Natapov <gleb@nbase.co.il>
2088
2089 * ospf_flood.c, ospf_ism.c, ospf_lsa,c, ospfd.c: Make sure to free
2090 many structure with `no router ospf'.
2091
20922000-06-30 Gleb Natapov <gleb@nbase.co.il>
2093
2094 * ospf_neighbor.c (ospf_nbr_new),
2095 ospf_nsm.c (nsm_timer_set): Start LS update timer only
2096 when neighbor enters Exchange state.
2097
20982000-06-29 Gleb Natapov <gleb@nbase.co.il>
2099
2100 * ospf_nsm.c (nsm_timer_set), (nsm_exchange_done),
2101 ospf_packet.c (ospf_db_desc_proc):
2102 Do not cancel DD retransmit timer when Master.
2103
21042000-06-29 Gleb Natapov <gleb@nbase.co.il>
2105
2106 * ospf_abr.c (ospf_abr_announce_network_to_area),
2107 (ospf_abr_announce_rtr_to_area)
2108 ospf_ase.c (ospf_ase_rtrs_register_lsa),
2109 ospf_flood.c (ospf_process_self_originated_lsa),
2110 (ospf_flood_through_area), (ospf_ls_request_delete),
2111 ospf_interface.c (ospf_if_free),
2112 ospf_ism.c (ism_change_status),
2113 ospf_lsa.c (ospf_router_lsa_update_timer),
2114 (ospf_router_lsa_install), (ospf_network_lsa_install),
2115 (ospf_lsa_maxage_delete), (ospf_lsa_action),
2116 (ospf_schedule_lsa_flood_area),
2117 ospf_nsm.c (nsm_change_status),
2118 ospf_packet.c (ospf_make_ls_req_func), (ospf_make_ls_ack):
2119 Use ospf_lsa_{lock,unlock} for all looking-up of LSA.
2120
2121 * ospf_flood.c (ospf_ls_request_free): Function deleted.
2122
2123 * ospf_lsa.c (ospf_discard_from_db): New function added.
2124
21252000-06-26 Toshiaki Takada <takada@zebra.org>
2126
2127 * ospfd.h (ospf): struct member `external_lsa' name changed to
2128 `lsdb'.
2129
21302000-06-26 Toshiaki Takada <takada@zebra.org>
2131
2132 * ospf_lsa.c (ospf_lsa_install), (ospf_router_lsa_install),
2133 (ospf_network_lsa_install), (ospf_summary_lsa_install),
2134 (ospf_summary_asbr_lsa_install), (ospf_external_lsa_install):
2135 Functions re-arranged.
2136
2137 * ospf_lsa.c (IS_LSA_MAXAGE), (IS_LSA_SELF): Macro added.
2138
21392000-06-20 Michael Rozhavsky <mike@nbase.co.il>
2140
2141 * ospf_packet.c (ospf_ls_req), (ospf_ls_upd), (ospf_ls_ack): Add
2142 verification of LS type.
2143
21442000-06-20 Gleb Natapov <gleb@nbase.co.il>
2145
2146 * ospf_ase.c (ospf_ase_calculate_timer): Add more sanity check
2147 whether rn->info is NULL.
2148
21492000-06-20 Toshiaki Takada <takada@zebra.org>
2150
2151 * ospfd.c (show_ip_ospf_interface_sub): Show Router-ID of both
2152 DR and Backup correctly with `show ip ospf interface' command.
2153
21542000-06-20 Toshiaki Takada <takada@zebra.org>
2155
2156 * ospf_lsa.c (ospf_lsa_lock), (ospf_lsa_unlock),
2157 (ospf_lsa_discard): These functions are used for avoiding
2158 unexpected reference to freed LSAs.
2159
21602000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2161
2162 * ospf_packet.c (ospf_ls_upd): Initialize lsa by NULL to avoid
2163 warning.
2164
21652000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2166
2167 * ospf_ase.h (ospf_ase_rtrs_register_lsa): Add prototype.
2168
21692000-06-12 Toshiaki Takada <takada@zebra.org>
2170
2171 * ospf_lsa.c (ospf_external_lsa_install): Make sure to register
2172 LSA to rtrs_external when replacing AS-external-LSAs in LSDB.
2173 Fix core dump.
2174
21752000-06-10 Toshiaki Takada <takada@zebra.org>
2176
2177 * ospf_lsdb.c (id_to_prefix), (ospf_lsdb_hash_key),
2178 (ospf_lsdb_hash_cmp), (ospf_lsdb_new), (ospf_lsdb_iterator),
2179 (lsdb_free), (ospf_lsdb_free), (ospf_lsdb_add), (ospf_lsdb_delete),
2180 (find_lsa), (ospf_lsdb_lookup), (find_by_id),
2181 (ospf_lsdb_lookup_by_id), (ospf_lsdb_lookup_by_header): Functinos
2182 removed for migration to new_lsdb.
2183
2184 * ospf_lsa.c (ospf_summary_lsa_install),
2185 (ospf_summary_asbr_lsa_install), (ospf_maxage_lsa_remover),
2186 (ospf_lsa_maxage_walker), (ospf_lsa_lookup),
2187 (ospf_lsa_lookup_by_id): Use new_lsdb instead of ospf_lsdb.
2188 (count_lsa), (ospf_lsa_count_table), (ospf_lsa_count),
2189 (ospf_get_free_id_for_prefix): Funcitions removed.
2190
21912000-06-09 Gleb Natapov <gleb@nbase.co.il>
2192
2193 * ospf_ism.c (ism_interface_down): Prevent some unneeded DR changes.
2194
2195 * ospf_packet.c (ospf_db_desc_proc): Fix memory leak.
2196 (ospf_hello): Always copy router-ID when hello is received.
2197
21982000-06-08 Gleb Natapov <gleb@nbase.co.il>
2199
2200 * ospf_lsa.h (struct ospf_lsa): Add member of pointer to struct
2201 ospf_area.
2202
22032000-06-08 Michael Rozhavsky <mike@nbase.co.il>
2204
2205 * ospf_ase.c (ospf_asbr_route_same): New function added.
2206 This function makes sure external route calculation more
2207 precisely.
2208
22092000-06-07 Michael Rozhavsky <mike@nbase.co.il>
2210
2211 * ospf_ism.c (ism_change_status): Use ospf_lsa_flush_area for
2212 network-LSA deletion instead of using ospf_lsdb_delete.
2213 Also cancel network-LSA origination timer.
2214
22152000-06-07 Levi Harper <lharper@kennedytech.com>
2216
2217 * ospf_interface.c (ospf_if_down): Close read fd when an interface
2218 goes down.
2219
22202000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2221
2222 * ospf_asbr.c (ospf_external_info_lookup): Add explicit brace for
2223 avoid ambiguous else.
2224
2225 * ospf_flood.c (ospf_external_info_check): Likewise.
2226
22272000-06-05 Toshiaki Takada <takada@zebra.org>
2228
2229 * ospf_nsm.c (nsm_adj_ok): Fix bug of DR election.
2230
22312000-06-04 Toshiaki Takada <takada@zebra.org>
2232
2233 * ospf_zebra.c (ospf_default_information_originate),
2234 (no_ospf_default_information_originate): New DEFUN added.
2235
22362000-06-03 Toshiaki Takada <takada@zebra.org>
2237
2238 * ospf_lsa.h, ospf_asbr.h (external_info): Struct moved from
2239 ospf_lsa.h to ospf_asbr.h.
2240
2241 * ospf_lsa.c, ospf_asbr.c (ospf_external_info_add),
2242 (ospf_external_info_delete): Function moved from ospf_lsa.c
2243 to ospf_asbr.c.
2244
22452000-06-03 Toshiaki Takada <takada@zebra.org>
2246
2247 * ospf_flood.c (ospf_external_info_check): New function added.
2248 (ospf_process_self_orignated_lsa): Make sure to flush
2249 self-originated AS-external-LSA, when router reboot and no longer
2250 originate those AS-external-LSA.
2251
22522000-06-02 Toshiaki Takada <takada@zebra.org>
2253
2254 * ospf_network.c (ospf_serv_sock): Remove SO_DONTROUTE
2255 socket option.
2256
2257 * ospf_packet.c (ospf_write): Set MSG_DONTROUTE flag for
2258 unicast destination packets.
2259
22602000-06-02 Toshiaki Takada <takada@zebra.org>
2261
2262 * ospf_lsdb.c (new_lsdb_delete): Delete entry from LSDB only when
2263 specified LSA matches.
2264
22652000-06-02 Gleb Natapov <gleb@nbase.co.il>
2266
2267 * ospf_network.c (ospf_serv_sock): Set SO_DONTROUTE
2268 socket option.
2269
22702000-06-01 Akihiro Mizutani <mizutani@dml.com>
2271
2272 * ospf_dump.c: Replace string `Debugging functions\n' with DEBUG_STR.
2273 Replace string `OSPF information\n' with OSPF_STR.
2274
22752000-06-01 Toshiaki Takada <takada@zebra.org>
2276
2277 * ospf_lsdb.[ch]: Use new_lsdb struct for network-LSA instead of
2278 ospf_lsdb.
2279
22802000-06-01 Toshiaki Takada <takada@zebra.org>
2281
2282 * ospf_dump.c (config_debug_ospf_packet), (config_debug_ospf_event),
2283 (config_debug_ospf_ism), (config_debug_ospf_nsm),
2284 (config_debug_ospf_lsa), (config_debug_ospf_zebra),
2285 (term_debug_ospf_packet), (term_debug_ospf_event),
2286 (term_debug_ospf_ism), (term_debug_ospf_nsm),
2287 (term_debug_ospf_lsa), (term_debug_ospf_zebra): Repalce debug_ospf_*
2288 variable to use for debug option flags.
2289
2290 (debug_ospf_packet), (debug_ospf_ism), (debug_ospf_nsm),
2291 (debug_ospf_lsa), (debug_ospf_zebra): Set {config,term}_debug_*
2292 flags when vty->node is CONFIG_NODE, otherwise set only term_debug_*
2293 flags.
2294
2295 * ospf_dump.h (CONF_DEBUG_PACKET_ON), (CONF_DEBUG_PACKET_OFF),
2296 (TERM_DEBUG_PACKET_ON), (TERM_DEBUG_PACKET_OFF),
2297 (CONF_DEBUG_ON), (CONF_DEBUG_OFF), (IS_CONF_DEBUG_OSPF_PACKET),
2298 (IS_CONF_DEBUG_OSPF): New Macro added.
2299
23002000-05-31 Toshiaki Takada <takada@zebra.org>
2301
2302 * ospfd.c (clear_ip_ospf_neighbor): New DEFUN added.
2303 Currently this command is used for only debugging.
2304
2305 * ospf_nsm.c (nsm_change_status): Make sure thread cancellation
2306 for network-LSA when DR has no full neighbors.
2307
2308 * ospf_nsm.c (ospf_db_summary_clear): New function added.
2309
23102000-05-30 Toshiaki Takada <takada@zebra.org>
2311
2312 * ospf_lsdb.c (new_lsdb_insert): LSAs are always freed by
2313 maxage_lsa_remover when LSA is replaced.
2314
23152000-05-25 Gleb Natapov <gleb@nbase.co.il>
2316
2317 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all): Add argument
2318 `struct ospf_area' to remove LSA from Link State retransmission list
2319 of neighbor from only one Area.
2320
23212000-05-24 Michael Rozhavsky <mike@nbase.co.il>
2322
2323 * ospf_lsdb.c (ospf_lsdb_add): Preserve flags field when
2324 overriting old LSA with new LSA.
2325
23262000-05-24 Gleb Natapov <gleb@nbase.co.il>
2327
2328 * ospf_lsa.c (ospf_router_lsa_body_set): Fix bug of router-LSA
2329 size calculation.
2330
23312000-05-22 Michael Rozhavsky <mike@nbase.co.il>
2332
2333 * ospf_route.c (ospf_intra_add_stub):
2334 * ospf_spf.h (struct vertex): Use u_int32_t for distance (cost)
2335 value instead of u_int16_t.
2336
23372000-05-22 Axel Gerlach <agerlach@datus.datus.com>
2338
2339 * ospf_ia.c (ospf_ia_network_route): Fix bug of Inter-area route
2340 equal cost path calculation.
2341
23422000-05-21 Toshiaki Takada <takada@zebra.org>
2343
2344 * ospf_ase.c (ospf_ase_calculate_route_delete): New function added.
2345 Make sure, when rotuer route is deleted, related external routes
2346 are also deleted.
2347
23482000-05-20 Toshiaki Takada <takada@zebra.org>
2349
2350 * ospfd.c (ospf_interface_down): Make sure interface flag is disable
2351 and set fd to -1.
2352
23532000-05-16 Toshiaki Takada <takada@zebra.org>
2354
2355 * ospf_asbr.c (ospf_asbr_should_announce), (ospf_asbr_route_remove):
2356 Functions removed.
2357
2358 * ospfd.h (EXTERNAL_INFO): Macro added.
2359 Substitute `ospf_top->external_info[type]' with it.
2360
23612000-05-16 Toshiaki Takada <takada@zebra.org>
2362
2363 * ospf_lsa.c (ospf_rtrs_external_remove): New function added.
2364
23652000-05-14 Gleb Natapov <gleb@nbase.co.il>
2366
2367 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all)
2368 * ospf_lsdb.c (new_lsdb_insert)
2369 * ospf_packet.c (ospf_ls_ack): Fix database synchonization problem.
2370
23712000-05-14 Gleb Natapov <gleb@nbase.co.il>
2372
2373 * ospf_lsa.h (tv_adjust), (tv_ceil), (tv_floor), (int2tv),
2374 (tv_add), (tv_sub), (tv_cmp): Prototype definition added.
2375
2376 * ospf_nsm.h (ospf_db_summary_delete_all): Prototype definition added.
2377
23782000-05-13 Toshiaki Takada <takada@zebra.org>
2379
2380 * ospf_lsa.[ch] (ospf_lsa): struct timestamp type is changed from
2381 time_t to struct timeval.
2382 (tv_adjust), (tv_ceil), (tv_floor), (int2tv), (tv_add),
2383 (tv_sub), (tv_cmp): timeval utillity functions added.
2384
23852000-05-12 Toshiaki Takada <takada@zebra.org>
2386
2387 * ospf_lsa.[ch] (ospf_schedule_update_router_lsas): Delete function.
2388 Change to use macro OSPF_LSA_UPDATE_TIMER instead of using
2389 this function.
2390 router-LSA refresh timer related stuff is re-organized.
2391
23922000-05-10 Gleb Natapov <gleb@nbase.co.il>
2393
2394 * ospf_interface.c (ospf_vl_set_params):
2395 * ospf_packet.c (ospf_check_network_mask):
2396 * ospf_spf.[ch] (ospf_spf_next):
2397 Remove field address from `struct vertex', and search for peer
2398 address of virtual link in function `ospf_vl_set_params' instead.
2399
24002000-05-10 Gleb Natapov <gleb@nbase.co.il>
2401
2402 * ospf_packet.c (ospf_ls_upd): Fix some memory leak related LSA.
2403
24042000-05-08 Thomas Molkenbur <tmo@datus.com>
2405
2406 * ospf_packet.c (ospf_packet_dup): Replace ospf_steram_copy()
2407 with ospf_stream_dup() to fix memory leak.
2408
24092000-05-08 Michael Rozhavsky <mike@nbase.co.il>
2410
2411 * ospf_flood.c (ospf_flood_through_area): Fix the problem of
2412 LSA update without DROther.
2413
24142000-05-04 Gleb Natapov <gleb@nbase.co.il>
2415
2416 * ospf_spf.c (ospf_vertex_free): Fix memory leak of SPF calculation.
2417
24182000-05-03 Toshiaki Takada <takada@zebra.org>
2419
2420 * ospf_neighbor.c (ospf_db_summary_add): Use new_lsdb struct
2421 instead linked-list.
2422 (ospf_db_summary_count), (ospf_db_summary_isempty):
2423 New function added.
2424
2425 * ospf_lsa.c (ospf_rotuer_lsa): Re-arrange and divide functions.
2426
24272000-05-02 Gleb Natapov <gleb@nbase.co.il>
2428
2429 * ospf_lsdb.c (new_lsdb_cleanup): Fix memory leak. When LSDB are
2430 not needed any more, then free them.
2431
24322000-05-02 Toshiaki Takada <takada@zebra.org>
2433
2434 * ospfd.c (timers_spf), (no_timers_spf): New defun added.
2435 SPF calculation timers related stuff is rearranged.
2436
2437 * ospf_spf.c (ospf_spf_calculate_timer_add): Function removed.
2438 SPF timer is scheduled by SPF calculation delay and holdtime
2439 configuration variable.
2440
2441 * ospf_lsa.c (ospf_external_lsa_nexthop_get): Set AS-external-LSA's
2442 forwarding address when nexthop learned by other protocols is
2443 in the OSPF domain.
2444
2445 * ospf_zebra.c (ospf_redistribute_source_metric_type),
2446 (ospf_redistribute_source_type_metric): Re-arrange DEFUNs and
2447 ALIASes.
2448
24492000-05-01 Toshiaki Takada <takada@zebra.org>
2450
2451 * ospf_flood.c (ospf_ls_retransmit_count),
2452 (ospf_ls_retransmit_isempty): New function added.
2453
2454 (ospf_ls_retransmit_add), (ospf_ls_retransmit_delete),
2455 (ospf_ls_retransmit_clear), (ospf_ls_retransmit_lookup),
2456 (ospf_ls_retransmit_delete_all), (ospf_ls_retransmit_delete_nbr_all),
2457 (ospf_ls_retransmit_add_nbr_all): Replace these functions to use
2458 new_lsdb.
2459
24602000-04-29 Toshiaki Takada <takada@zebra.org>
2461
2462 * ospfd.c (no_network_area): Add check Area-ID whether specified
2463 Area-ID with prefix matches config.
2464
24652000-04-27 Toshiaki Takada <takada@zebra.org>
2466
2467 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix problem of
2468 remaining withdrawn routes on zebra.
2469
24702000-04-25 Michael Rozhavsky <mike@nbase.co.il>
2471
2472 * ospf_nsm.c (nsm_kill_nbr), (nsm_ll_down), (nsm_change_status),
2473 (ospf_nsm_event): Fix network-LSA re-origination problem.
2474
24752000-04-24 Toshiaki Takada <takada@zebra.org>
2476
2477 * ospf_nsm.c (ospf_db_desc_timer): Fix bug of segmentation fault
2478 with DD retransmission.
2479
2480 * ospf_nsm.c (nsm_kill_nbr): Fix bug of re-origination when
2481 a neighbor disappears.
2482
24832000-04-23 Michael Rozhavsky <mike@nbase.co.il>
2484
2485 * ospf_abr.c (ospf_abr_announce_network_to_area): Fix bug of
2486 summary-LSAs reorigination. Correctly copy OSPF_LSA_APPROVED
2487 flag to new LSA. when summary-LSA is reoriginatd.
2488
2489 * ospf_flood.c (ospf_flood_through_area): Fix bug of flooding
2490 procedure. Change the condition of interface selection.
2491
24922000-04-21 Toshiaki Takada <takada@zebra.org>
2493
2494 * ospf_lsa.c (ospf_refresher_register_lsa): Fix bug of refresh never
2495 occurs.
2496
2497 * ospfd.c (show_ip_ospf_neighbor_id): New defun added.
2498 `show ip ospf neighbor' related commands are re-arranged.
2499
25002000-04-20 Toshiaki Takada <takada@zebra.org>
2501
2502 * ospf_dump.c (debug_ospf_zebra): New defun added.
2503 Suppress zebra related debug information.
2504
25052000-04-19 Toshiaki Takada <takada@zebra.org>
2506
2507 * ospf_zebra.c (ospf_distribute_list_update_timer),
2508 (ospf_distribute_list_update), (ospf_filter_update):
2509 New function added. Re-organize `distribute-list' router ospf
2510 command.
2511
25122000-04-13 Michael Rozhavsky <mike@nbase.co.il>
2513
2514 * ospf_packet.c (ospf_make_ls_upd): Add check for MAX_AGE.
2515
25162000-04-14 Michael Rozhavsky <mike@nbase.co.il>
2517
2518 * ospf_packet.c (ospf_make_ls_upd): Increment LS age by configured
2519 interface transmit_delay.
2520
25212000-04-14 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2522
2523 * ospf_interface.c (ip_ospf_cost), (no_ip_ospf_cost):
2524 Add to schedule router_lsa origination when the interface cost changes.
2525
25262000-04-12 Toshiaki Takada <takada@zebra.org>
2527
2528 * ospf_lsa.c (ospf_refresher_register_lsa),
2529 (ospf_refresher_unregister_lsa): Fix bug of core dumped.
2530
2531 * ospfd.c (no_router_ospf): Fix bug of core dumped.
2532
25332000-03-29 Toshiaki Takada <takada@zebra.org>
2534
2535 * ospf_nsm.c (nsm_oneway_received): Fix bug of MS flag unset.
2536
25372000-03-29 Michael Rozhavsky <mike@nbase.co.il>
2538
2539 * ospf_lsa.c (ospf_network_lsa):
2540 * ospf_nsm.c (ospf_nsm_event): Fix bug of Network-LSA originated
2541 in stub network.
2542
25432000-03-28 Toshiaki Takada <takada@zebra.org>
2544
2545 * ospf_nsm.c (nsm_bad_ls_req), (nsm_seq_number_mismatch),
2546 (nsm_oneway_received): Fix bug of NSM state flapping between
2547 ExStart and Exchange.
2548
25492000-03-28 Toshiaki Takada <takada@zebra.org>
2550
2551 * ospf_packet.h (strcut ospf_header): Fix the size of ospf_header,
2552 change u_int8_t to u_char.
2553
25542000-03-27 Toshiaki Takada <takada@zebra.org>
2555
2556 * ospf_lsa.c (ospf_lsa_checksum): Take care of BIGENDIAN architecture.
2557
25582000-03-27 Toshiaki Takada <takada@zebra.org>
2559
2560 * ospfd.c (ospf_interface_run): Make sure Address family matches.
2561
25622000-03-26 Love <lha@s3.kth.se>
2563
2564 * ospf_packet.c (ospf_write): Chack result of sendto().
2565
25662000-03-26 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2567
2568 * ospf_nsm.c (nsm_oneway_received): Fix bug of 1-WayReceived in NSM.
2569
25702000-03-23 Libor Pechacek <farco@clnet.cz>
2571
2572 * ospf_lsa.c (ospf_network_lsa)
2573 * ospf_lsdb.c (new_lsdb_insert): Fix bug of accessing to
2574 unallocated memory.
2575
25762000-03-23 Toshiaki Takada <takada@zebra.org>
2577
2578 * ospfd.c (ospf_config_write): Fix bug of duplicate line for
2579 `area A.B.C.D authentication'.
2580
25812000-03-22 Toshiaki Takada <takada@zebra.org>
2582
2583 * ospf_debug.c (debug_ospf_lsa), (no_debug_ospf_lsa): Defun added.
2584 Suppress all zlog related to LSAs with this config option.
2585
25862000-03-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2587
2588 * ospf_nsm.c (ospf_nsm_event): Add check for NSM_InactivityTimer.
2589
25902000-03-21 Toshiaki Takada <takada@zebra.org>
2591
2592 * ospf_packet.c (ospf_ls_upd_timer), (ospf_ls_req):
2593 Fix bug of memory leak about linklist.
2594
2595 * ospf_flood.c (ospf_flood_through_area): Likewise.
2596
25972000-03-18 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2598
2599 * ospf_flood.c (ospf_ls_retransmit_lookup): Add checksum comparison
2600 to identify LSA uniquely. This fix routes lost.
2601
26022000-03-18 Toshiaki Takada <takada@zebra.org>
2603
2604 * ospf_ase.c (ospf_find_asbr_route): Add sanity check with router
2605 routing table.
2606
26072000-03-17 Alex Zinin <zinin@amt.ru>
2608
2609 * ospf_spf.[ch]: Bug fix.
2610 The 2nd stage of Dijkstra could consider one vertex
2611 more than once if there is more than one link
2612 between the routers, thus adding extra CPU overhead
2613 and extra next-hops.
2614 Fixed.
2615
26162000-03-15 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2617
2618 * ospf_nsm.c (nsm_inactivity_timer): Changed to call nsm_kill_nbr().
2619
26202000-03-14 Toshiaki Takada <takada@zebra.org>
2621
2622 * ospf_route.c (ospf_route_copy_nexthops): Fix bug of memory leak of
2623 ospf_path. Actually ignore merging ospf_route with completely same
2624 paths.
2625
26262000-03-12 Toshiaki Takada <takada@zebra.org>
2627
2628 * ospf_lsa.c (show_as_external_lsa_detail): fix bug of
2629 external route tag byte order.
2630
26312000-03-11 Toshiaki Takada <takada@zebra.org>
2632
2633 * ospf_lsdb.c (ospf_lsdb_insert): New function added.
2634
26352000-03-09 Toshiaki Takada <takada@zebra.org>
2636
2637 * ospf_lsa.c (ospf_external_lsa_install),
2638 (ospf_lsa_lookup), (show_ip_ospf_database_all),
2639 (show_ip_ospf_database_self_originate): Use struct new_lsdb for
2640 LSDB of AS-external-LSAs instead of ospf_lsdb.
2641
2642 * ospf_lsa.c (ospf_lsa_unique_id): New function added.
2643 Use for assigning Unique Link State ID instead of
2644 ospf_get_free_id_for_prefix().
2645
26462000-03-09 Toshiaki Takada <takada@zebra.org>
2647
2648 * ospf_ase.c (ospf_ase_calculate_timer): Fix bug of segmentation
2649 fault reported by George Bonser <george@siteROCK.com>.
2650
26512000-03-07 Libor Pechacek <farco@clnet.cz>
2652
2653 * ospfd.c (ospf_interface_down): Fix bug of segmentation fault.
2654
26552000-03-06 Toshiaki Takada <takada@zebra.org>
2656
2657 * ospf_route.c (ospf_route_cmp): Change meaning of return values.
2658
26592000-03-02 Alex Zinin <zinin@amt.ru>
2660 * ospfd.h, ospf_ia.h
2661 New Shortcut ABR code. Now area's flag can be configured
2662 with Default, Enable, and Disable values.
2663 More info will be in the new ver of I-D soon (see IETF web).
2664
26652000-02-25 Toshiaki Takada <takada@zebra.org>
2666
2667 * ospf_lsa.c (ospf_lsa_header_set), (ospf_external_lsa_body_set),
2668 (osfp_external_lsa_originate), (ospf_external_lsa_queue),
2669 (ospf_external_lsa_originate_from_queue): New function added.
2670 (ospf_external_lsa): Function removed.
2671
2672 * ospf_zebra.c (ospf_zebra_read_ipv4): Originate AS-external-LSA
2673 when listen a route from Zebra, instead creating external route.
2674
2675 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
2676 (ospf_asbr_route_add_queue_lsa),
2677 (ospf_asbr_route_install_lsa), (ospf_asbr_route_add):
2678 Functions removed.
2679
2680 * ospf_ase.c (process_ase_lsa): Function will not be used.
2681 (ospf_ase_calculate), (ospf_ase_calculate_route_add),
2682 (ospf_ase_calculate_new_route), (ospf_ase_caluculate_asbr_route):
2683 process_ase_lsa () is separated to these functions.
2684
2685 OSPF AS-external-LSA origination is whole re-organized.
2686
26872000-02-18 Toshiaki Takada <takada@zebra.org>
2688
2689 * ospf_packet.c (ospf_ls_upd): Fix bug of OSPF LSA memory leak.
2690
2691 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
2692 (ospf_asbr_route_add_queue_lsa): Fix bug of OSPF external route
2693 memory leak.
2694
26952000-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2696
2697 * ospf_asbr.c (ospf_asbr_route_install_lsa): Re-calculate LSA
2698 checksum after change Advertised Router field.
2699
27002000-02-09 Toshiaki Takada <takada@zebra.org>
2701
2702 * ospf_asbr.c (ospf_external_route_lookup): Add new function.
2703
27042000-02-08 Toshiaki Takada <takada@zebra.org>
2705
2706 * ospfd.c (ospf_router_id_get), (ospf_router_id_update),
2707 (ospf_router_id_update_timer): Router ID decision algorithm is changed.
2708 Router ID is chosen from all of eligible interface addresses even if
2709 it is not enable to OSPF.
2710
27112000-02-08 Toshiaki Takada <takada@zebra.org>
2712
2713 * ospf_asbr.c (ospf_asbr_route_add): Function divided to
2714 ospf_asbr_route_add_flood_lsa, ospf_asbr_route_add_queue_lsa and
2715 ospf_asbr_route_install_lsa. If Router-ID is not set, then LSA is
2716 waited to install to LSDB.
2717 `0.0.0.0 adv_router' AS-external-LSA origination bug was fixed.
2718
27192000-02-01 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2720
2721 * ospf_flood.c (ospf_ls_retransmit_lookup): Compare LS seqnum
2722 in the ACK before deleting.
2723
2724 * ospf_packet.c (ospf_hello): Reset the flags after a shutdown
2725 and no shutdown of the interface.
2726
27272000-01-31 Toshiaki Takada <takada@zebra.org>
2728
2729 * ospf_packet.c (ospf_ls_req): Send multiple Link State Update
2730 packets respond to a Link State Request packet.
2731
2732 * ospfd.c (show_ip_ospf_neighbor_detail_sub): Show thread state.
2733
2734 * ospf_interface.c (ospf_vl_new): Crash when backbone area
2735 is not configured and set virtual-link to no-backbone area,
2736 bug fixed.
2737
27382000-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2739
2740 * ospf_neighbor.h (struct ospf_neighbor): Add pointer to last send
2741 LS Request LSA.
2742
2743 * ospf_packet.c (ospf_ls_upd): Comment out LS request list
2744 treatment. That should be done in OSPF flooding procedure.
2745
2746 * ospf_flood.c (ospf_flood_through_area): Enclose
2747 ospf_check_nbr_loding inside if-else close.
2748
27492000-01-31 Toshiaki Takada <takada@zebra.org>
2750
2751 * ospf_packet.c (ospf_make_ls_upd): Fix bug of #LSAs counting.
2752
27532000-01-29 Toshiaki Takada <takada@zebra.org>
2754
2755 * ospf_packet.c (ospf_make_md5_digest): Fix bug of md5 authentication.
2756
27572000-01-28 Toshiaki Takada <takada@zebra.org>
2758
2759 * ospfd.c (show_ip_ospf): Show Number of ASE-LSAs.
2760
27612000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2762
2763 * ospf_packet.c (ospf_make_db_desc): Don't use rm_list for
2764 removing LSA from nbr->db_summary.
2765
27662000-01-27 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2767
2768 * ospf_packet.c (ospf_ls_upd_send): Set AllSPFRouters to
2769 destination when the link is point-to-point.
2770 (ospf_ls_ack_send_delayed): Likewise.
2771
27722000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2773
2774 * ospf_flood.c (ospf_ls_request_delete_all): Fix bug of next
2775 pointer lookup after the node is freed.
2776
27772000-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2778
2779 * ospf_asbr.c (ospf_asbr_route_add): Instead of scanning all AS
2780 external route, use ospf_top->external_self.
2781
27822000-01-27 Toshiaki Takada <takada@zebra.org>
2783
2784 * ospf_lsa.c (ospf_forward_address_get): New function added.
2785
2786 * ospf_asbr.c (ospf_asbr_check_lsas): Originate AS-external-LSA
2787 only when it should be replaced.
2788
27892000-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2790
2791 * ospf_flood.c (ospf_ls_retransmit_clear): Delete list node.
2792
2793 * ospf_lsa.c (ospf_lsa_free): Reduce logging message using
2794 ospf_zlog value.
2795
2796 * ospf_ism.c (ism_change_status): Fix bug of DR -> non DR status
2797 change. Self originated LSA is freed but not deleted from lsdb.
2798
27992000-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2800
2801 * ospf_ism.c (ism_interface_down): Don't use router_id for
2802 detecting self neighbor structure. Instead of that compare
2803 pointer itself.
2804
2805 * ospf_neighbor.c (ospf_nbr_free): Cancel all timer when neighbor
2806 is deleted.
2807 (ospf_nbr_free): Free last send packet.
2808
2809 * ospf_neighbor.h (struct ospf_neighbor): Remove host strucutre.
2810 Instead of that src is introduced.
2811
2812 * ospf_nsm.h: Enclose macro defenition with do {} while (0).
2813
28142000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2815
2816 * ospfd.c: Change part of passive interface implementation. For
2817 passive interface just disabling sending/receiving Hello on the
2818 interface.
2819
28202000-01-16 Kai Bankett <kai.bankett@vew-telnet.net>
2821
2822 * ospf_interface.h (OSPF_IF_PASSIVE): Add passive flag.
2823 * ospf_interface.c (ospf_if_lookup_by_name): Add new function.
2824 * ospf_lsa.c (ospf_router_lsa): Skip passive interface.
2825 * ospfd.c (passive_interface): New command passive-interface is
2826 added.
2827 (ospf_config_write): Print passive interface.
2828
28292000-01-15 Toshiaki Takada <takada@zebra.org>
2830
2831 * ospf_interface.h (crypt_key): New struct added to store
2832 multiple cryptographic autheitication keys.
2833 (ospf_interface): struct changed.
2834
2835 * ospf_interface.c: ospf_crypt_key_new, ospf_crypt_key_add,
2836 ospf_crypt_key_lookup, ospf_crypt_key_delete: new functions added.
2837
2838 * ospf_packet.c (ip_ospf_message_digest_key): Changed to store
2839 multiple cryptographic authentication keys.
2840
28412000-01-14 Toshiaki Takada <takada@zebra.org>
2842
2843 * ospf_interface.c: DEFUN (if_ospf_*) commands changed name to
2844 ip_ospf_* ().
2845 Old notation `ospf *' still remains backward compatibility.
2846
28471999-12-29 Alex Zinin <zinin@amt.ru>
2848 * ospf_lsa.c: ospf_lsa_more_recent() bug fix
2849 * ospf_nsm.c, ospf_packet.c: remove nbr data struct when
2850 int goes down, also check DD flags correctly (bug fix)
2851
28521999-12-28 Alex Zinin <zinin@amt.ru>
2853 * "redistribute <source> metric-type (1|2) metric <XXX>" added
2854
28551999-12-23 Alex Zinin <zinin@amt.ru>
2856 * added RFC1583Compatibility flag
2857 * added dynamic interface up/down functionality
2858
28591999-11-19 Toshiaki Takada <takada@zebra.org>
2860
2861 * ospf_neighbor.h (struct ospf_neighbor): Add member state_change
2862 for NSM state change statistics.
2863
28641999-11-19 Toshiaki Takada <takada@zebra.org>
2865
2866 * ospfd.c (show_ip_ospf_neighbor_detail),
2867 (show_ip_ospf_neighbor_int_detail): DEFUN Added.
2868
28691999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2870
2871 * ospf_asbr.c (ospf_asbr_check_lsas): Add check of
2872 lsa->refresh_list.
2873
28741999-11-11 Toshiaki Takada <takada@zebra.org>
2875
2876 * ospf_ia.[ch] (OSPF_EXAMINE_SUMMARIES_ALL): Macro added.
2877 This macro is expanded to ospf_examine_summaries ()
2878 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2879 (OSPF_EXAMINE_TRANSIT_SUMMARIES_ALL): Macro added.
2880 This macro is expanded to ospf_examine_transit_summaries ()
2881 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2882
28831999-11-11 Toshiaki Takada <takada@zebra.org>
2884
2885 * ospf_lsa.[ch] (ospf_find_self_summary_lsa_by_prefix): Changed to
2886 macro OSPF_SUMMARY_LSA_SELF_FIND_BY_PREFIX.
2887 (ospf_find_self_summary_asbr_lsa_by_prefix): Changed to
2888 macro OSPF_SUMMARY_ASBR_LSA_SELF_FIND_BY_PREFIX.
2889 (ospf_find_self_external_lsa_by_prefix): Changed to
2890 macro OSPF_EXTERNAL_LSA_SELF_FIND_BY_PREFIX.
2891
28921999-11-11 Toshiaki Takada <takada@zebra.org>
2893
2894 * ospfd.c (ospf_abr_type): ospf_abr_type_cisco, ospf_abr_type_ibm,
2895 ospf_abr_type_shortcut and ospf_abr_type_standard DEFUNs are
2896 combined.
2897 * ospfd.c (no_ospf_abr_type): no_ospf_abr_type_cisco,
2898 no_ospf_abr_type_ibm and no_ospf_abr_type_shortcut DEFUNS are
2899 combined.
2900
29011999-11-10 Toshiaki Takada <takada@zebra.org>
2902
2903 * ospf_route.c (ospf_lookup_int_by_prefix): Move function to
2904 ospf_interface.c and change name to ospf_if_lookup_by_prefix ().
2905
29061999-11-01 Alex Zinin <zinin@amt.ru>
2907 * ospf_packet.c
2908 some correction to LSU processing
2909
2910 * ospf_lsa.c ospfd.h
2911 randomize initial LSA refreshment interval
2912 and limit the size of LSA-group to 10
2913 to let randomization work more effectively.
2914
29151999-10-31 Alex Zinin <zinin@amt.ru>
2916 * ospf_interface.c
2917 cancel t_network_lsa_self
2918 when freeing int structure
2919
2920 * ospf_abr.c ospf_asbr.c ospf_flood.c ospf_lsa.c
2921 ospf_lsa.h ospf_lsdb.h ospfd.c ospfd.h
2922
2923 Summary and ASE LSA refreshment functions
2924 added---LSA refreshment is paced to 70 LSAs
2925 per sec to avoid link overflow. Refreshment events
2926 are further randomized within a 10 sec interval
2927 to avoid syncing.
2928
2929 Also the sigfault of memcmp() in ospf_lsa_is_different()
2930 is fixed.
2931
29321999-10-30 Alex Zinin <zinin@amt.ru>
2933 * ospf_nsm.c
2934 Fix the bug where MAX_AGE LSAs
2935 are included into the DB summary.
2936
2937 * ospf_interface.c
2938 allocate 2*MTU input buffer instead of just MTU
2939 for the cases when the other router mistakenly
2940 sends larger packets thus causing fragmentation, etc.
2941
2942 * ospf_nsm.c
2943 in nsm_reset_nbr() lists should be freed
2944 not when they are empty.
2945
29461999-10-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2947
2948 * ospf_zebra.c (ospf_acl_hook): Move OSPF_IS_ASBR and OSPF_IS_ABR
2949 check inside of if (ospf_top).
2950
29511999-10-29 Alex Zinin <zinin@amt.ru>
2952 * ospf_lsa.c ospf_lsdb.c :
2953 add assertion in lsa and lsa->data alloc functions,
2954 as well as in lsdb_add for new->data
2955
2956 * ospf_lsdb.c: free hash table correctly
2957
29581999-10-28 John Capo <jc@irbs.com>
2959
2960 * ospf_packet.h (OSPF_PACKET_MAX): Correct MAX packet length
2961 calculation
2962
29631999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2964
2965 * OSPF-TRAP-MIB.txt: New file added. Edited version of RFC1850.
2966
2967 * OSPF-MIB.txt: New file added. Edited version of RFC1850.
2968
29691999-10-27 Alex Zinin <zinin@amt.ru>
2970 * ospfd, ospf_zebra, ospf_abr
2971 "area import-list" command is added.
2972 This command allows to filter the inter-area routes
2973 injected into an area. Access list hook function
2974 extended to invalidate area exp/imp lists.
2975
29761999-10-25 Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
2977
2978 * ospfd.c (ospf_interface_run): Enable to detect P2P network
2979 on an OSPF interface.
2980
29811999-10-19 Jordan Mendelson <jordy@wserv.com>
2982
2983 * ospf_lsdb.c (ospf_lsdb_add): Fix bug of crash
2984 in ospf_ls_retransmit_lookup ().
2985
29861999-10-19 Vladimir B. Grebenschikov <vova@express.ru>
2987
2988 * ospf_route.c: Workaround about installation of OSPF routes into
2989 the zebra daemon. Add checking of existance routes. Free
2990 ospf_top->old_table if it exists.
2991
29921999-10-15 Jordan Mendelson <jordy@wserv.com>
2993
2994 * Add support for MD5 authentication.
2995
29961999-10-12 Alex Zinin <zinin@amt.ru>
2997 * ospfd.c, ospfd.h, ospf_abr.c:
2998 a new command "area export-list" was added, it allows
2999 the admin. to control which intra-area routes are
3000 announced to other areas by the ABR
3001
30021999-10-12 Alex Zinin <zinin@amt.ru>
3003 * ospf_asbr.c (ospf_asbr_check_lsas): Fix bug of coredump
3004 when "no redistribute" is used after a distribute list
3005 denying some networks was used
3006
30071999-10-05 Toshiaki Takada <takada@zebra.org>
3008
3009 * ospf_route.c (ospf_path_dup): New function added.
3010
30111999-10-05 Toshiaki Takada <takada@zebra.org>
3012
3013 * ospf_interface.[ch]: Some of VL related funciton name changed.
3014
30151999-09-27 Alex Zinin <zinin@amt.ru>
3016
3017 * ospf_zebra.c: Distribute-list functionality added
3018
30191999-09-27 Toshiaki Takada <takada@zebra.org>
3020
3021 * ospfd.c (show_ip_ospf): Fix bug of segmentation fault when no ospf
3022 instance exists.
3023
30241999-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3025
3026 * ospfd.c (ospf_interface_down): Fix bug of misusing nextnode()
3027 instead of node->next. Reported by Hiroki Ishibashi
3028 <ishibasi@dcd.abk.nec.co.jp>.
3029
3030 * ospf_route.c (show_ip_ospf_route): Add check for ospf is enabled
3031 or not.
3032
30331999-09-23 Alex Zinin <zinin@amt.ru>
3034
3035 * stub area support added
3036
30371999-09-23 Alex Zinin <zinin@amt.ru>
3038
3039 * fwd_addr in ASE-LSAs is now set correctly
3040 * ASE routing changed to check the fwd_addr
3041 and skip the route if the addr points to one
3042 of our interfaces to avoid loops.
3043
30441999-09-22 Alex Zinin <zinin@amt.ru>
3045
3046 * ospf_interface:
3047 ospf_vls_in_area() added, it returns
3048 the number of VLs configured through the area
3049
3050 * ospf_interface.c ospf_lsa.c ospf_lsdb.c ospfd.c
3051 honor correct mem alloc
3052
30531999-09-22 Alex Zinin <zinin@amt.ru>
3054
3055 * memory.[ch]:
3056 Some OSPF mem types added,
3057 plus more info in "show mem"
3058
30591999-09-21 Alex Zinin <zinin@amt.ru>
3060
3061 * ospfd.c:
3062 "area range substitute" added.
3063 It can be used on NAT-enabled (IP-masquarade)
3064 routers to announce private networks
3065 from an area as public ones into the outside
3066 world (not in the RFC, btw :)
3067
30681999-09-21 Alex Zinin <zinin@amt.ru>
3069
3070 * ospfd.c:
3071 "area range suppress" added.
3072 This command allows to instruct the router
3073 to be silent about specific ranges, i.e.,
3074 it is a method of route filtering on area
3075 borders
3076
30771999-09-21 Alex Zinin <zinin@amt.ru>
3078
3079 * ospfd.c VLs removed when "no network area" executed
3080
30811999-09-20 Alex Zinin <zinin@amt.ru>
3082
3083 * ospf_ase.c bug fix for not-zero fwd_addr
3084 and directly connected routes.
3085
30861999-09-20 Yon Uriarte <yon@plannet.de>
3087
3088 * ospf_packet.c (ospf_make_ls_req): Introduce delta value for
3089 checking the length of OSPF packet exceeds MTU or not.
3090
3091 * ospf_lsa.c (ospf_lsa_different): Apply ntohs for checking
3092 l1->data->length.
3093
30941999-09-18 Alex Zinin <zinin@amt.ru>
3095
3096 * ospf_lsa.c bug fix for ospf_network_lsa() to
3097 include itself into the RID list
3098
30991999-09-10 Alex Zinin <zinin@amt.ru>
3100
3101 * Alternative ABR behaviors IBM/Cisco/Shortcut
3102 implemented
3103
31041999-09-10 Alex Zinin <zinin@amt.ru>
3105
3106 * router and network-LSA origination
3107 changed to honor MinLSInterval
3108
31091999-09-08 Alex Zinin <zinin@amt.ru>
3110
3111 * modified ABR behavior to honor VLs and transit
3112 areas
3113
31141999-09-07 Alex Zinin <zinin@amt.ru>
3115
3116 * completed VL functionality
3117
31181999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
3119
3120 * ospf_asbr.c: New file.
3121 ospf_asbr.h: New file.
3122
3123 * ospf_zebra.c (ospf_redistribute_connected): Add redistribute
3124 related stuff.
3125
31261999-09-05 Kunihiro Ishiguro <kunihiro@zebra.org>
3127
3128 * ospfd.h (OSPF_FLAG_VIRTUAL_LINK): Change OSPF_FLAG_VEND to
3129 OSPF_FLAG_VIRTUAL_LINK for comprehensiveness.
3130
31311999-09-03 Kunihiro Ishiguro <kunihiro@zebra.org>
3132
3133 * ospf_spf.c (ospf_spf_register): Change name from
3134 ospf_spf_route_add() to ospf_spf_register().
3135 Include "ospfd/ospf_abr.h" for ospf_abr_task() prototype.
3136
31371999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
3138
3139 * ospf_lsa.c (ospf_external_lsa_install): Change to update
3140 lsa->data rather than install new one, when same id lsa is already
3141 installed.
3142
31431999-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
3144
3145 * ospf_lsa.c (ospf_router_lsa_install): Return lsa value.
3146 (ospf_network_lsa_install): Likewise.
3147 (ospf_summary_lsa_install): Likewise.
3148 (ospf_summary_asbr_lsa_install): Likewise.
3149 (ospf_external_lsa_install): Likewise.
3150
3151 * ospf_spf.c (ospf_spf_calculate): Comment out debug function
3152 ospf_rtrs_print().
3153
31541999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
3155
3156 * ospf_spf.c (ospf_rtrs_free): Add ospf_spf_calculate() for
3157 freeing rtrs.
3158
31591999-08-31 Toshiaki Takada <takada@zebra.org>
3160
3161 * ospf_lsa.c (show_ip_ospf_database_summary),
3162 (show_ip_ospf_database_summary_asbr),
3163 (show_ip_ospf_database_external): New function added.
3164 `show ip ospf database summary',
3165 `show ip ospf database asbr-summary'
3166 `show ip ospf database external' command can be used.
3167
3168 * ospf_lsa.c (ospf_lsa_count_table): New function added.
3169 (show_ip_ospf_database_all): show nothing if a type of LSA
3170 does not exist.
3171
31721999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
3173
3174 * ospf_lsa.c (ospf_maxage_lsa_remover): Preserve next pointer when
3175 the node is deleted.
3176
31771999-08-31 Toshiaki Takada <takada@zebra.org>
3178
3179 * ospf_flood.c (ospf_ls_retransmit_lookup): change to return
3180 struct ospf_lsa *.
3181 (ospf_ls_request_new), (ospf_ls_request_free),
3182 (ospf_ls_request_add), (ospf_ls_request_delete),
3183 (ospf_ls_request_delete_all), (ospf_ls_request_lookup):
3184 New function added.
3185
3186 * ospf_packet.c (ospf_ls_upd_send_lsa): New function added.
3187
3188 * ospf_lsa.h (LS_AGE): Slightly change macro definition.
3189
3190 * ospf_lsa.c (ospf_lsa_more_recent), (ospf_lsa_diffrent):
3191 Use LS_AGE macro.
3192
31931999-08-30 Alex Zinin <zinin@amt.ru>
3194
3195 * ospfd.c
3196 fix a bug with area range config write
3197 added "show ip ospf" command, it will be enhanced later on
3198
31991999-08-30 Alex Zinin <zinin@amt.ru>
3200
3201 * ospf_lsa.c
3202 updated ospf_router_lsa() to honor flags (B-bit)
3203
32041999-08-30 Alex Zinin <zinin@amt.ru>
3205
3206 * ospf_abr.c
3207 wrote major functions implementing ABR activity
3208
32091999-08-30 Alex Zinin <zinin@amt.ru>
3210
3211 * ospf_ia.c ospf_route.c ospf_route.h
3212 fixed the bug with ospf_route.origin field.
3213 Now it holds pointer to lsa_header
3214
32151999-08-30 Alex Zinin <zinin@amt.ru>
3216
3217 * ospf_flood.c ospf_flood.h:
3218 transformed ospf_flood_if_select into ospf_flood_through_area()
3219 added new ospf_flood_if_select() and ospf_flood_through_as()
3220
32211999-08-30 Toshiaki Takada <takada@zebra.org>
3222
3223 * ospf_flood.[ch]: New file added.
3224
3225 * ospf_packet.c (ospf_lsa_flooding),
3226 (ospf_lsa_flooding_select_if): functions move to ospf_flood.c
3227
3228 * ospf_neighbor.c (ospf_put_lsa_on_retransm_list),
3229 (ospf_remove_lsa_from_retransm_list),
3230 (ospf_nbr_remove_all_lsas_from_retransm_list),
3231 (ospf_lsa_remove_from_ls_retransmit):
3232 (ospf_lsa_retransmit): functions move to
3233 ospf_flood.c, and change function's name:
3234
3235 ospf_put_lsa_on_retransm_list ()
3236 -> ospf_ls_retransmit_add ()
3237 ospf_remove_lsa_from_retransm_list ()
3238 -> ospf_ls_retransmit_delete ()
3239 ospf_nbr_remove_all_lsas_from_retransm_list ()
3240 -> ospf_ls_retransmit_clear ()
3241 ospf_lsa_remove_from_ls_retransmit ()
3242 -> ospf_ls_retransmit_delete_nbr_all ()
3243 ospf_lsa_retransmit ()
3244 -> ospf_ls_retransmit_add_nbr_all ()
3245
3246 * ospf_lsa.c (ospf_lsa_lookup_from_list): function move to
3247 ospf_flood.c, and change name to ospf_ls_retransmit_lookup ().
3248
32491999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3250
3251 * ospf_neighbor.c (ospf_nbr_lookup_by_addr): Use
3252 route_node_lookup() instead of route_node_get().
3253
3254 * ospf_packet.c (ospf_ls_upd): Temporary comment out (6) check.
3255
32561999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3257
3258 * ospf_route.c (ospf_lookup_int_by_prefix): Add check of
3259 oi->address.
3260
32611999-08-29 Alex Zinin <zinin@amt.ru>
3262 * ospf_lsa.c
3263 MaxAge LSA deletion functions added.
3264
32651999-08-29 Alex Zinin <zinin@amt.ru>
3266 * ospf_neighbor.c
3267 ospf_nbr_lookup_by_addr(): added route_unlock_node()
3268 when function returns NULL if (rn->info == NULL)
3269
32701999-08-29 Alex Zinin <zinin@amt.ru>
3271 * ospfd.c
3272 added a hack for area range deletion
3273
32741999-08-29 Alex Zinin <zinin@amt.ru>
3275 * ospf_lsa.h
3276 included lsdb field into struct ospf_lsa, to find
3277 LSDB easier when removing MaxAge LSAs.
3278
32791999-08-29 Alex Zinin <zinin@amt.ru>
3280 * ospf_lsa.c ospf_neighbor.c ospf_nsm.c
3281 ospf_packet.c changed to honor new retransmit list
3282 management functions
3283
32841999-08-29 Alex Zinin <zinin@amt.ru>
3285 * ospf_neighbor.c , .h added new retransmit list functions.
3286
32871999-08-29 Alex Zinin <zinin@amt.ru>
3288 * Makefile.in
3289 added ospf_ase, ospf_abr, ospf_ia
3290
32911999-08-29 Alex Zinin <zinin@amt.ru>
3292 * ospf_spf.c:
3293 - changed ospf_next_hop_calculation() to include interface
3294 and nexthop addr for directly connected routers---more informative
3295 and solves problem with route installation into the kernel
3296 - changed ospf_nexthop_out_if_addr() to support routers, not only
3297 transit networks
3298 - added ospf_process_stubs();
3299
33001999-08-29 Alex Zinin <zinin@amt.ru>
3301 * ospf_lsa.c:
3302 - changed ospf_router_lsa() to provide correct links
3303 for p-t-p interfaces;
3304 - changed ospf_summary_lsa_install() to support table
3305 of self-originated summary-LSAs;
3306 - added ospf_summary_asbr_lsa_install() and ospf_external_lsa_install()
3307 - changed ospf_lsa_install() accordingly
3308 - changed show_ip_ospf_database_router_links() to support p-t-p
3309
33101999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3311
3312 * ospf_packet.c (ospf_make_db_desc): Only master can clear more
3313 flag.
3314
33151999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3316
3317 * ospf_packet.c (ospf_read): Add check of IP src address.
3318
33191999-08-28 Alex Zinin <zinin@amt.ru>
3320 * ospf_neighbor.h
3321 added ospf_nbr_lookup_by_routerid()
3322
33231999-08-28 Alex Zinin <zinin@amt.ru>
3324 * ospfd.h
3325 added ABR/ASBR flag definitions and fields;
3326 added iflist field to area structure;
3327 summary_lsa_self and summary_lsa_asbr_self are changed
3328 to be route tables;
3329 added ranges field---configured area ranges;
3330 A separate Routers RT added;
3331 area range config commands and config write added
3332
3333
33341999-08-28 Alex Zinin <zinin@amt.ru>
3335 * ospf_route.c :
3336 ospf_route_free()--added code to free the list of paths;
3337 The following functions added:
3338 ospf_intra_add_router();
3339 ospf_intra_add_transit();
3340 ospf_intra_add_stub();
3341 the last function uses new ospf_int_lookup_by_prefix();
3342 show_ip_ospf_route_cmd()--changed to support new RT structure;
3343 added ospf_cmp_routes()--general route comparision function;
3344 added ospf_route_copy_nexthops() and ospf_route_copy_nexthops_from_vertex()
3345 they are used in ASE and IA routing;
3346 added ospf_subst_route() and ospf_add_route();
3347
33481999-08-28 Alex Zinin <zinin@amt.ru>
3349 * ospf_route.h :
3350 changed struct ospf_path to include output interface,
3351 changed struct ospf_route to support IA and ASE routing.
3352 added prototypes of the function used in IA and ASE modules.
3353
33541999-08-28 Alex Zinin <zinin@amt.ru>
3355 * ospf_lsa.h ospf_lsa.c :
3356 added ospf_my_lsa(), an interface independent version of
3357 ospf_lsa_is_self_originated(), it will be used in ASE and IA-routing.
3358
33591999-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3360
3361 * ospf_interface.c (interface_config_write): Add check for
3362 oi->nbr_self.
3363
33641999-08-25 Toshiaki Takada <takada@zebra.org>
3365
3366 * ospf_lsa.c (ospf_lsa_dup): New function added.
3367
3368 * ospf_packet.c (ospf_write), (ospf_read): Print send/recv
3369 interface in debug message.
3370
33711999-08-25 Toshiaki Takada <takada@zebra.org>
3372
3373 * ospf_packet.c (ospf_ls_ack_send): The name is changed from
3374 `ospf_ls_ack_send'.
3375 (ospf_ls_ack_send_delayed) (ospf_ls_ack_timer): New function added.
3376 Delayed Link State Acknowledgment is scheduled by timer.
3377
33781999-08-25 Alex Zinin <zinin@amt.ru>
3379
3380 * ospf_lsa.c (ospf_router_lsa): Incorrectly included link to
3381 a stub network instead of link to a transit network into
3382 originated router-LSA, bug fixed.
3383
33841999-08-24 Toshiaki Takada <takada@zebra.org>
3385
3386 * ospfd.c (ospf_update_router_id): New function added.
3387
3388 * ospf_network.c (ospf_write): Create new socket per transmission.
3389 And select outgoing interface whether dst is unicast or multicast.
3390
3391 * ospf_packet.c: LSA flooding will work.
3392
33931999-08-24 VOP <vop@unity.net>
3394
3395 * ospf_route.c: Include "sockunion.h"
3396
33971999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
3398
3399 * ospf_network.c (ospf_serv_sock_init): Enclose
3400 IPTOS_PREC_INTERNETCONTROL setting with #ifdef for OS which does
3401 not have the definition.
3402
34031999-08-23 Toshiaki Takada <takada@zebra.org>
3404
3405 * ospf_packet.c: Fix bug of DD processing.
3406
34071999-08-18 Toshiaki Takada <takada@zebra.org>
3408
3409 * ospf_lsa.c (show_ip_ospf_database): Show actual `LS age'.
3410
34111999-08-17 Toshiaki Takada <takada@zebra.org>
3412
3413 * ospf_lsa.h (OSPF_MAX_LSA): The value of OSPF_MAX_LSA is
3414 corrected. The bug of `mes_lookup' is fixed.
3415 This had been reported by Poul-Henning Kamp <phk@freebsd.org>.
3416
3417 * ospf_lsa.c (ospf_router_lsa_install): The name is changed from
3418 `ospf_add_router_lsa'.
3419 (ospf_network_lsa_install): The name is changed from
3420 `ospf_add_network_lsa'.
3421
3422 * ospf_interface.h (ospf_interface): Add member `nbr_self'.
3423
3424 * ospf_interface.c (ospf_if_is_enable): New function added.
3425
34261999-08-16 Toshiaki Takada <takada@zebra.org>
3427
3428 * ospf_lsa.h (struct lsa_header): The name is changed from
3429 `struct ospf_lsa'.
3430 (struct ospf_lsa): New struct added to control each LSA's aging
3431 and timers.
3432
3433 * ospf_lsa.c (ospf_lsa_data_free): The name is change from
3434 `ospf_lsa_free'.
3435 (ospf_lsa_data_new), (ospf_lsa_new), (ospf_lsa_free),
3436 (ospf_lsa_different), (ospf_lsa_install): New function added.
3437
3438 * ospf_packet.c (ospf_ls_upd_list_lsa): New function added.
3439
34401999-08-12 Toshiaki Takada <takada@zebra.org>
3441
3442 * ospf_nsm.c (nsm_reset_nbr): New function added.
3443 KillNbr and LLDown neighbor event call this function.
3444
34451999-08-10 Toshiaki Takada <takada@zebra.org>
3446
3447 * ospf_packet.c (ospf_ls_retransmit)
3448 (ospf_ls_upd_timer): New function added.
3449 Set retransmission timer for Link State Update.
3450
34511999-07-29 Toshiaki Takada <takada@zebra.org>
3452
3453 * ospf_ism.c (ospf_dr_election): Fix bug of DR election.
3454
34551999-07-28 Toshiaki Takada <takada@zebra.org>
3456
3457 * ospf_network.c (ospf_serv_sock_init): Set IP precedence field
3458 with IPTOS_PREC_INTERNET_CONTROL.
3459
3460 * ospf_nsm.c (nsm_change_status): Schedule NeighborChange event
3461 if NSM status change.
3462
3463 * ospf_packet.c (ospf_make_hello): Never include a neighbor in
3464 Hello packet, when the neighbor goes down.
3465
34661999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
3467
3468 * Makefile.am (noinst_HEADERS): Add ospf_route.h.
3469
3470 * ospf_route.c (show_ip_ospf_route): Add `show ip ospf route'
3471 command.
3472
34731999-07-25 Toshiaki Takada <takada@zebra.org>
3474
3475 * ospf_lsa.c (ospf_router_lsa): Fix bug of LS sequence number
3476 assignement.
3477
34781999-07-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3479
3480 * ospf_route.c (ospf_route_table_free): New function added.
3481
3482 * ospf_spf.c (ospf_spf_next): Free vertex w when cw's and w's
3483 distance is same.
3484
3485 * ospfd.h (struct ospf): Add old_table.
3486
3487 * ospf_main.c (sighup): Call of log_rotate () removed.
3488
3489 * ospf_lsa.c (ospf_lsa_is_self_originated): Fix bug of checking
3490 area->lsa as self LSA. This should be area->lsa_self.
3491
34921999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
3493
3494 * ospf_zebra.c (ospf_zebra_add): ospf_zebra_add
3495 (),ospf_zebra_delete () added.
3496
3497 * ospf_spf.c (ospf_spf_calculate): Call ospf_intra_route_add ().
3498
34991999-07-24 Toshiaki Takada <takada@zebra.org>
3500
3501 * ospf_lsa.c: Change LS sequence number treatment.
3502 (ospf_lsa_is_self_originated): New function added.
3503 (show_ip_ospf_database_self_originated): New DEFUN added.
3504
35051999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3506
3507 * ospf_interface.c (ospf_if_lookup_by_addr): Add loopback check.
3508
35091999-07-22 Toshiaki Takada <takada@zebra.org>
3510
3511 * ospf_spf.c (ospf_nexthop_new), (ospf_nexthop_free),
3512 (ospf_nexthop_dup): function added.
3513 (ospf_nexthop_calculation): function changed.
3514
3515 * ospf_interface.c (ospf_if_lookup_by_addr): function added.
3516
35171999-07-21 Toshiaki Takada <takada@zebra.org>
3518
3519 * ospf_spf.c (ospf_spf_closest_vertex): function removed.
3520
35211999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
3522
3523 * ospf_spf.c (ospf_spf_next): Apply ntohs for fetching metric.
3524
35251999-07-21 Toshiaki Takada <takada@zebra.org>
3526
3527 * ospf_neighbor.c (ospf_nbr_lookup_by_router_id): fundtion removed.
3528
3529 * ospf_lsa.c (show_ip_ospf_database_router): describe each
3530 connected link.
3531
35321999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
3533
3534 * ospf_spf.c (ospf_spf_next): V is router LSA or network LSA so
3535 change behavior according to LSA type.
3536 (ospf_lsa_has_link): Link check function is added.
3537
35381999-07-20 Kunihiro Ishiguro <kunihiro@zebra.org>
3539
3540 * ospf_spf.c (ospf_spf_calculate_schedule): Add new function for
3541 SPF calcultion schedule addtition.
3542 (ospf_spf_calculate_timer_add): Rough 30 sec interval SPF calc
3543 timer is added.
3544 (ospf_spf_next_router): Delete ospf_spf_next_network ().
3545
3546 * ospf_lsa.c (show_ip_ospf_database_all): Network-LSA display
3547 header typo correction. Display of router LSA's #link added.
3548
35491999-07-19 Toshiaki Takada <takada@zebra.org>
3550
3551 * ospf_packet.c (ospf_check_network_mask): Added new function for
3552 receiving Raw IP packet on an appropriate interface.
3553
35541999-07-16 Toshiaki Takada <takada@zebra.org>
3555
3556 * ospfd.c (ospf_router_id): new DEFUN added.
3557
35581999-07-15 Toshiaki Takada <takada@zebra.org>
3559
3560 * ospf_spf.c (ospf_spf_init), (ospf_spf_free),
3561 (ospf_spf_has_vertex), (ospf_vertex_lookup),
3562 (ospf_spf_next_router), (ospf_spf_next_network),
3563 (ospf_spf_closest_vertex), (ospf_spf_calculate):
3564 function added.
3565
35661999-07-13 Toshiaki Takada <takada@zebra.org>
3567
3568 * ospf_ism.c: fix bug of DR Election.
3569
3570 * ospf_nsm.c: fix bug of adjacency forming.
3571
35721999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
3573
3574 * ospfd.c (ospf_init): Change to use install_default.
3575
35761999-07-01 Rick Payne <rickp@rossfell.co.uk>
3577
3578 * ospf_zebra.c (zebra_init): Install standard commands to
3579 ZEBRA_NODE.
3580
35811999-06-30 Toshiaki Takada <takada@zebra.org>
3582
3583 * ospf_dump.c: Whole debug command is improved.
3584 (ISM|NSM) (events|status|timers) debug option added.
3585 (show_debugging_ospf): new DEFUN added.
3586
35871999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3588
3589 * ospf_lsa.c (ospf_lsa_lookup_from_list): Change !IPV4_ADDR_CMP to
3590 IPV4_ADDR_SAME.
3591
35921999-06-29 Toshiaki Takada <takada@zebra.org>
3593
3594 * ospf_dump.c (ospf_summary_lsa_dump): Add summary-LSA dump routine.
3595 (ospf_as_external_lsa_dump): Add AS-external-LSA dump routine.
3596
3597 * ospf_nsm.c (nsm_twoway_received): fix condtion of adjacnet.
3598
3599 * ospf_ism.c (ospf_dr_election): fix DR Election.
3600
3601 * ospf_dump.c (ospf_nbr_state_message): fix `show ip ospf neighbor'
3602 command's state.
3603
36041999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3605
3606 * ospf_dump.c (ospf_router_lsa_dump): Add router-LSA dump routine.
3607
36081999-06-28 Toshiaki Takada <takada@zebra.org>
3609
3610 * ospf_lsa.c (show_ip_ospf_database_network): fix bug of
3611 `show ip ospf database network' command output.
3612
3613 * ospf_nsm.c (nsm_inactivity_timer): Clear list of Link State
3614 Retransmission, Database Summary and Link State Request.
3615
3616 * ospf_packet.c (ospf_ls_req_timer): New function added.
3617 Set Link State Request retransmission timer.
3618
36191999-06-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3620
3621 * ospf_main.c (main): Change default output from ZLOG_SYSLOG to
3622 ZLOG_STDOUT.
3623
3624 * ospfd.c (ospf_init): Register show_ip_ospf_interface_cmd and
3625 show_ip_ospf_neighbor_cmd to VIEW_NODE.
3626
3627 * ospf_lsa.c (ospf_lsa_init): Register show_ip_ospf_database_cmd
3628 and show_ip_ospf_database_type_cmd to VIEW_NODE.
3629
36301999-06-25 Toshiaki Takada <takada@zebra.org>
3631
3632 * ospf_packet.c: fix bug of DD making.
3633 fix bug of LS-Update reading.
3634
36351999-06-23 Toshiaki Takada <takada@zebra.org>
3636
3637 * ospf_packet.c: All type of packets are changed to use
3638 fifo queue structure.
3639 (ospf_fill_header) function added.
3640
36411999-06-22 Toshiaki Takada <takada@zebra.org>
3642
3643 * ospf_packet.c (ospf_packet_new): New function added to handle
3644 sending ospf packet by fifo queue structure.
3645 (ospf_packet_free), (ospf_fifo_new), (ospf_fifo_push),
3646 (ospf_fifo_pop), (ospf_fifo_head), (ospf_fifo_flush),
3647 (ospf_fifo_free): Likewise.
3648
36491999-06-21 Toshiaki Takada <takada@zebra.org>
3650
3651 * ospf_nsm.c (ospf_db_desc_timer): function added.
3652 (nsm_timer_set) function added.
3653 * ospf_dump.c (ospf_option_dump): function added.
3654 * ospf_packet.c (ospf_ls_req) (ospf_make_ls_req): function added.
3655
36561999-06-20 Toshiaki Takada <takada@zebra.org>
3657
3658 * ospf_lsa.c (ospf_lsa_more_recent): function added.
3659 * ospf_neighbor.h (struct ospf_neighbor): Change member ms_flag
3660 to dd_flags.
3661
36621999-06-19 Toshiaki Takada <takada@zebra.org>
3663
3664 * ospf_lsa.c: DEFUN (show_ip_ospf_database) Added.
3665 * ospf_interface.c (if_ospf_cost), (if_ospf_dead_interval),
3666 (if_ospf_hello_interval), (if_ospf_priority),
3667 (if_ospf_retransmit_interval), (if_ospf_transmit_delay)
3668 argument changed from NUMBER to <range>.
3669 DEFUN (if_ospf_network_broadcast),
3670 DEFUN (if_ospf_network_non_broadcast),
3671 DEFUN (if_ospf_network_point_to_multipoint),
3672 DEFUN (if_ospf_network_point_to_point) functions are combined to
3673 DEFUN (if_ospf_network).
3674
36751999-06-18 Toshiaki Takada <takada@zebra.org>
3676
3677 * ospf_lsa.c: ospf_add_router_lsa (), ospf_add_network_lsa (),
3678 ospf_lsa_lookup (), ospf_lsa_count () Added.
3679
36801999-06-15 Toshiaki Takada <takada@zebra.org>
3681
3682 * DEFUN (ospf_debug_ism), DEFUN (ospf_debug_nsm),
3683 DEFUN (no_ospf_debug_ism), DEFUN (no_ospf_debug_nsm) Added.
3684 `debug ospf ism' command shows debug message.
3685 `debuf ospf nsm' command shows debug message.
3686
36871999-06-14 Toshiaki Takada <takada@zebra.org>
3688
3689 * ospf_lsa.c: ospf_network_lsa () Added.
3690 ospf_lsa_checksum () Added.
3691 * DEFUN (ospf_debug_packet), DEFUN (no_ospf_debug_packet) Added.
3692 `debug ospf packet' command shows debug message.
3693
36941999-06-13 Toshiaki Takada <takada@zebra.org>
3695
3696 * ospf_packet.h: Remove struct ospf_ls_req {}, ospf_ls_upd {},
3697 ospf_ls_ack {}.
3698
36991999-06-11 Toshiaki Takada <takada@zebra.org>
3700
3701 * ospf_dump.c: fix IP packet length treatment.
3702
37031999-06-10 Toshiaki Takada <takada@zebra.org>
3704
3705 * ospf_ism.h: Add OSPF_ISM_EVENT_EXECUTE() Macro Added.
3706 * ospf_nsm.h: Add OSPF_NSM_EVENT_EXECUTE() Macro Added.
3707
3708 * ospf_packet.c: ospf_db_desc (), ospf_db_desc_send () Added.
3709 ospf_make_hello (), ospf_make_db_desc () Added.
3710 ospf_db_desc_proc () Added.n
3711
3712 * Database Description packet can be processed.
3713
37141999-06-08 Toshiaki Takada <takada@zebra.org>
3715
3716 * ospf_lsa.c: New file.
3717
37181999-06-07 Toshiaki Takada <takada@zebra.org>
3719
3720 * ospf_neighbor.c: ospf_fully_adjacent_count () Added.
3721
37221999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
3723
3724 * ospf_spf.[ch]: New file.
3725
37261999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3727
3728 * ospf_zebra.c: Changed to use lib/zclient.c routines.
3729
3730 * ospf_zebra.h (zebra_start): Remove struct zebra.
3731
37321999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3733
3734 * ospfd.c (ospf_config_write): Add cast (unsigned long int) to
3735 ntohl for sprintf warning.
3736
37371999-05-19 Toshiaki Takada <takada@zebra.org>
3738
3739 * ospf_ism.c (ospf_dr_election): Join AllDRouters Multicast group
3740 if interface state changes to DR or BDR.
3741
37421999-05-14 Stephen R. van den Berg <srb@cuci.nl>
3743
3744 * ospf_main.c (signal_init): SIGTERM call sigint.
3745 (sigint): Logging more better message.
3746
37471999-05-12 Toshiaki Takada <takada@zebra.org>
3748
3749 * ospfd.c: Fix bug of `no router ospf' statement, it will work.
3750
37511999-05-11 Toshiaki Takada <takada@zebra.org>
3752
3753 * ospf_neighbor.c: ospf_nbr_free () Added.
3754
37551999-05-10 Toshiaki Takada <takada@zebra.org>
3756
3757 * ospfd.h: struct ospf_area { }, struct ospf_network { } Changed.
3758 * Fix bug of `no network' statement, it will work.
3759
37601999-05-07 Toshiaki Takada <takada@zebra.org>
3761
3762 * ospf_interface.c, ospf_zebra.c: Fix bug of last interface is not
3763 updated by ospf_if_update ().
3764
37651999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3766
3767 * Makefile.am (noinst_HEADERS): Add ospf_lsa.h for distribution.
3768
37691999-04-25 Toshiaki Takada <takada@zebra.org>
3770
3771 * ospf_interface.c: DEFUN (no_if_ospf_cost),
3772 DEFUN (no_if_ospf_dead_interval),
3773 DEFUN (no_if_ospf_hello_interval),
3774 DEFUN (no_if_ospf_priority),
3775 DEFUN (no_if_ospf_retransmit_interval),
3776 DEFUN (no_if_ospf_transmit_delay) Added.
3777
3778 interface_config_write () suppress showing interface
3779 default values.
3780
37811999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3782
3783 * ospf_dump.c (ospf_timer_dump): If thread is NULL return "inactive".
3784
3785 * ospfd.c (ospf_if_update): Fix bug of using ospf_area { } instead
3786 of ospf_network { }. So `router ospf' statement in ospfd.conf
3787 works again.
3788 (ospf_if_update): Call ospf_get_router_id for updating router ID.
3789
37901999-04-25 Toshiaki Takada <takada@zebra.org>
3791
3792 * ospf_interface.c: DEFUN (if_ospf_network) deleted.
3793 DEFUN (if_ospf_network_broadcast),
3794 DEFUN (if_ospf_network_non_broadcast),
3795 DEFUN (if_ospf_network_point_to_multipoint),
3796 DEFUN (if_ospf_network_point_to_point),
3797 DEFUN (no_if_ospf_network) Added.
3798
37991999-04-23 Toshiaki Takada <takada@zebra.org>
3800
3801 * ospfd.h: struct area { } changed to struct ospf_network { }.
3802 Add struct ospf_area { }.
3803 * ospfd.c: Add ospf_area_lookup_by_area_id (), ospf_network_new (),
3804 and ospf_network_free ().
3805 DEFUN (area_authentication), DEFUN (no_area_authentication) Added.
3806
38071999-04-22 Toshiaki Takada <takada@zebra.org>
3808
3809 * ospf_lsa.h: New file.
3810 * ospf_packet.h: LSA related struct definition are moved to
3811 ospf_lsa.h.
3812 * ospf_packet.c: ospf_verify_header () Added.
3813
38141999-04-21 Toshiaki Takada <takada@zebra.org>
3815
3816 * ospf_ism.c: ospf_elect_dr () and related function is changed.
3817 DR Election bug fixed.
3818 * ospf_dump.c: ospf_nbr_state_message (), ospf_timer_dump () Added.
3819 * ospfd.c: DEFUN (show_ip_ospf_neighbor) Added.
3820
38211999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
3822
3823 * ospf_main.c (main): access_list_init () is added for vty
3824 connection filtering.
3825
38261999-04-16 Toshiaki Takada <takada@zebra.org>
3827
3828 * ospfd.c: DEFUN (show_ip_ospf_interface) Added.
3829 * ospf_neighbor.c: ospf_nbr_count () Added.
3830
38311999-04-15 Toshiaki Takada <takada@zebra.org>
3832
3833 * ospfd.h: struct ospf { } Changed.
3834 * ospfd.c: ospf_lookup_by_process_id () Deleted.
3835 * ospf_ism.c: ospf_wait_timer () Added. WaitTimer will work.
3836
38371999-04-14 Toshiaki Takada <takada@zebra.org>
3838
3839 * ospf_ism.c: ospf_elect_dr () Added.
3840 * ospf_network.c: ospf_if_ipmulticast () Added.
3841
38421999-04-11 Toshiaki Takada <takada@zebra.org>
3843
3844 * ospf_interface.c: interface_config_write (),
3845 DEFUN (if_ip_ospf_cost),
3846 DEFUN (if_ip_ospf_dead_interval),
3847 DEFUN (if_ip_ospf_hello_interval),
3848 DEFUN (if_ip_ospf_priority),
3849 DEFUN (if_ip_ospf_retransmit_interval) and
3850 DEFUN (if_ip_ospf_transmit_delay) Added.
3851
38521999-04-08 Toshiaki Takada <takada@zebra.org>
3853
3854 * ospf_dump.c: ospf_packet_db_desc_dump () Added.
3855 * ospf_neighbor.c: ospf_nbr_bidirectional () Added.
3856 * ospf_nsm.c: nsm_twoway_received () Added.
3857
38581999-04-02 Toshiaki Takada <takada@zebra.org>
3859
3860 * ospf_neighbor.c: New file.
3861 * ospf_neighbor.h: New file.
3862 * ospf_nsm.c: New file.
3863 * ospf_nsm.h: New file.
3864 * ospf_packet.c: Add ospf_make_header (), ospf_hello () and
3865 ospf_hello_send (). Now OSPFd can receive Hello and send Hello.
3866
38671999-03-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3868
3869 * ospf_packet.c: Add ospf_recv_packet (). Now OSPF Hello can receive.
3870
38711999-03-19 Toshiaki Takada <takada@zebra.org>
3872
3873 * ospf_packet.c: New file.
3874 * ospf_packet.h: New file.
3875 * ospf_network.c: New file.
3876 * ospf_network.h: New file.
3877 * ospfd.h: move OSPF message structure has moved to ospf_packet.h.
3878
38791999-03-17 Kunihiro Ishiguro <kunihiro@zebra.org>
3880
3881 * ospf_zebra.c (ospf_zebra_get_interface): Fix for IPv6 interface
3882 address.
3883
3884 * Makefile.am (install-sysconfDATA): Overwrite install-sysconfDATA
3885 for install ospfd.conf.sample as owner read only file.
3886
3887 * ospf_main.c (usage): Change to use ZEBRA_BUG_ADDRESS.
3888
38891999-03-15 Toshiaki Takada <takada@zebra.org>
3890
3891 * ospf_ism.c: New file.
3892 * ospf_ism.h: New file.
3893 * ospf_dump.c: New file.
3894 * ospf_dump.h: New file.
3895
3896 * ospfd.h: Add (struct ospf), (struct config_network),
3897 (struct message) structure.
3898
3899 * ospf_interface.c: Add ospf_if_match_network ().
3900 * ospf_interface.h (struct ospf_interface): Change struct members.
3901
3902 * ospfd.c: ospf_lookup_by_process_id (), ospf_network_new (),
3903 DEFUN (network_area): Added.
3904
3905 * ospfd.conf.sample: Change sample configuration.
3906
39071999-03-05 Toshiaki Takada <takada@zebra.org>
3908
3909 * ospf_interface.c: New file.
3910 * ospf_interface.h: New file.
3911 * ospf_zebra.h: New file.
3912 * ospf_zebra.c: Add interface function for zebra daemon.
3913 * ospfd.c: New file.
3914
39151999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3916
3917 * Move IPv6 codes and files to ospf6d directory.
3918
39191999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
3920
3921 * syslog support added
3922
39231998-12-22 Toshiaki Takada <takada@zebra.org>
3924
3925 * ospfd.h: New file.
3926 * ospf_lsa.h: New file.
3927
39281998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
3929
3930 * Makefile.am: New file.
3931 * ospf_main.c: New file.
3932