blob: b546bbd118e938af66b70b33b10af4fe707bf513 [file] [log] [blame]
hasso54bedb52005-08-17 13:31:47 +000012005-08-17 Hasso Tepper <hasso at quagga.net>
2
3 * ospf_vty.c: Check carefully if interface exists before trying to
4 print info about it.
5
hasso01018ce2005-08-05 07:40:15 +000062005-08-05 Hasso Tepper <hasso at quagga.net>
7
8 * ospf_zebra.c: Don't assert/stop before type == ZEBRA_ROUTE_MAX if
9 dealing with routemaps. There is ospf->route_map[ZEBRA_ROUTE_MAX]
10 for default-information.
11
paulc8987752005-07-26 06:07:22 +0000122005-07-26 Paul Jakma <paul.jakma@sun.com>
13
14 * ospf_abr.c: (ospf_abr_announce_network_to_area) SET_FLAG
15 should be on lsa not old, which may be freed for one thing,
16 obviously.
17
pauld57834f2005-07-12 20:04:22 +0000182005-07-12 Paul Jakma <paul.jakma@sun.com>
19
20 * ospfd.h: add OSPF_ABR_DEFAULT for convenience, make
21 OSPF_ABR_CISCO be the default ABR type.
22 * ospfd.c: (ospf_new) initialise abr_type to OSPF_ABR_DEFAULT
23 * ospf_vty.c: (no_ospf_abr_type_cmd) add standard as a negatable
24 abr_type. default abr_type should be OSPF_ABR_DEFAULT.
25 (ospf_config_write) test whether default abr_type against
26 OSPF_ABR_DEFAULT, rather than any specific ABR_TYPE.
27
hasso8469bd72005-06-20 20:50:10 +0000282005-06-20 Hasso Tepper <hasso at quagga.net>
hassof4833e92005-06-20 20:42:26 +000029
30 * ospf_nsm.c: Make database exchange for NSSA database work.
31
paul7461d452005-06-13 13:57:16 +0000322005-06-13 Paul Jakma <paul.jakma@sun.com>
33
34 * ospf_spf.c: Try get more information on a SEGV under
35 ospf_spf_vertex_add_parent.
36 (ospf_vertex_free) NULL out the child and nexthop lists
37 (ospf_vertex_add_parent) nexthop and child can not be NULL
38 vertex_nexthop's parent->child list can not be NULL
39 (ospf_spf_next) w and cw are per-loop iteration variables, move
40 declarations into loop body.
41
hasso1ddd7292005-06-07 19:54:04 +0000422005-06-07 Hasso Tepper <hasso at quagga.net>
43
44 * ospf_apiserver.c: Fix obvious error in notifying clients about ISM
45 changes - oi->ifp->status doesn't give to us info about ISM,
46 oi->state does.
47
paul7e440862005-06-01 11:20:51 +0000482005-06-01 Akihiro Mizutani <mizutani@net-chef.net>
49
50 * ospf_ism.c (ospf_elect_bdr/ospf_elect_dr): Fix DR election bug.
51
paul500e4182005-05-26 17:11:13 +0000522005-05-26 Paul Jakma <paul.jakma@sun.com>
53
54 * ospf_abr.c: (ospf_abr_update_aggregate) Fix comment, cost bug itself
55 had been fixed long ago by Sowmini.
56
paula3387a42005-05-18 23:29:57 +0000572005-05-19 Paul Jakma <paul.jakma@sun.com>
58
59 * ospf_interface.c: (ospf_if_table_lookup) Fix a serious bug
60 a less serious one.
61 1: this function is supposed to lookup
62 entries in the oifs ospf_interface route_table and return either
63 an existing oi or NULL to indicate not found, its caller depends
64 on this, yet this function uses route_node_get which /always/
65 returns a route_node - one is created if none exists. Use
66 route_node_lookup instead. This should fix root cause of the
67 reports of the (ospf_add_to_if) assert being hit.
68 2: oi's are inserted into this table with prefixlength set to
69 /32 (indeed, it should be a hash table, not a route_table),
70 however prefixlength to lookup was not changed, if no valid entry
71 can be inserted other than /32, then nothng but /32 should be
72 looked up. This possibly only worked by fluke..
73 Fix confirmed by 2 reporters (one list, one IRC), definitely a
74 backport candidate once it has been incubated in HEAD for a while.
75 Thanks to Patrick Friedel and Ivan Warren for testing.
76
paul69310a62005-05-11 18:09:59 +0000772005-05-11 Paul Jakma <paul.jakma@sun.com>
78
79 * (general) Fix memory leaks in opaque AS-scope LSAs, reported and
80 with much debugging done by by scott collins <scollins@agile.tv>.
81 * ospf_lsa.c: (ospf_discard_from_db) dont call
82 ospf_ase_unregister_external_lsa for opaque-lsa's, opaques are
83 never registered with ase in the first place.
84 * ospf_packet.c: (general) Disabuse opaque related code of its
85 tendency to try gather up things into temporary lists.
86 (ospf_ls_upd) remove the temporary lists opaque uses, call
87 opaque functions inline, just like all other types.
88 (ospf_ls_ack) ditto.
89 (ospf_recv_packet) fixup sign warning.
90 * ospf_opaque.c: (general) fix the unneeded use of lists, and
91 untwist some of the logic.
92 (ospf_opaque_self_originated_lsa_received) take a single LSA
93 as argument, not a list of them. Remove the list loop. Logic
94 otherwise unchanged.
95 (ospf_opaque_ls_ack_received) Mostly ditto. But untwist the logic,
96 move the actions up into the switch block, remove the goto's and
97 sanitise the logic near the end a bit.
98 * ospf_opaque.h: Adjust definitions of aforementioned functions
99 in ospf_opaque.c to match.
100
paul42c98192005-05-07 02:22:51 +00001012005-05-07 Yar Tikhiy <yar@comp.chem.msu.su>
102
103 * ospf_network.c: Log ifindex on multicast membership leave/join
104 events.
105
paul4dadc292005-05-06 21:37:42 +00001062005-05-06 Paul Jakma <paul.jakma@sun.com>
107
108 * (general) extern and static qualifiers added.
109 unspecified arguments in definitions fixed, typically they should
110 be 'void'.
111 function casts added for callbacks.
112 Guards added to headers which lacked them.
113 Proper headers included rather than relying on incomplete
114 definitions.
115 gcc noreturn function attribute where appropriate.
116 * ospf_opaque.c: remove the private definition of ospf_lsa's
117 ospf_lsa_refresh_delay.
118 * ospf_lsa.h: export ospf_lsa_refresh_delay
119 * ospf_packet.c: (ospf_make_md5_digest) make *auth_key const,
120 correct thing to do - removes need for the casts later.
121 * ospf_vty.c: Use vty.h's VTY_GET_INTEGER rather than ospf_vty's
122 home-brewed versions, shuts up several warnings.
123 * ospf_vty.h: remove VTY_GET_UINT32. VTY_GET_IPV4_ADDRESS and
124 VTY_GET_IPV4_PREFIX moved to lib/vty.h.
125 * ospf_zebra.c: (ospf_distribute_list_update_timer) hacky
126 overloading of the THREAD_ARG pointer should at least use
127 uintptr_t.
128
paul9e67dc22005-04-15 12:10:17 +00001292005-04-15 Zhipeng Gong <zpgong@cdc.3upsystems.com>
130
131 * ospf_abr.c: (ospf_abr_announce_network_to_area) dont forget
132 to approve LSAs for the case where metric has changed, lsa gets
133 flushed otherwise. (backport candidate).
134
ajs634f9ea2005-04-11 15:51:40 +00001352005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
136
137 * ospf_zebra.c (ospf_zebra_add): Call zclient_send_message instead
138 of writen.
139
ajsd2fc8892005-04-02 18:38:43 +00001402005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
141
ajse4319de2005-04-02 23:23:55 +0000142 * ospf_interface.h: (ospf_if_lookup_by_name) Remove declaration of a
143 function that does not exist.
144
1452005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
146
ajs21fefa92005-04-02 23:16:41 +0000147 * ospf_zebra.c: (zebra_interface_if_lookup) Must use
148 if_lookup_by_name_len.
149
1502005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
151
ajsa3491982005-04-02 22:50:38 +0000152 * ospf_interface.c: (ospf_vl_new) Use strnlen to fix call to if_create.
153
1542005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
155
ajsd2fc8892005-04-02 18:38:43 +0000156 * ospf_vty.c: (show_ip_ospf_interface_sub) Show ifindex and interface
157 flags to help with debugging.
158 * ospf_zebra.c: (ospf_interface_delete) After deleting, set ifp->ifindex
159 to IFINDEX_INTERNAL.
160 (zebra_interface_if_lookup) Make function static. Tighten up code.
161
ajsaca72fd2005-03-31 15:18:21 +00001622005-03-31 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
163
164 * ospf_dump.c: (show_debugging_ospf) Show if ospf event debugging
165 is turned on.
166
ajsfd651fa2005-03-29 16:08:16 +00001672005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
168
ajsa608bbf2005-03-29 17:03:49 +0000169 * ospf_zebra.c: (ospf_interface_state_up) If the MTU of an operative
170 interface changes, print a debug message and call ospf_if_reset()
171 to simulate down/up on the interface.
172 * ospf_interface.h: Declare new function ospf_if_reset().
173 * ospf_interface.c: (ospf_if_reset) New function to call ospf_if_down
174 and ospf_if_up for all ospf interfaces attached to an interface.
175
1762005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
177
ajs5dcbdf82005-03-29 16:13:49 +0000178 * ospf_packet.c: (ospf_write_frags) Enhance error message to
179 show MTU. Also make function static.
180 (ospf_write) Enhance error message to show interface name and MTU.
181 Also make function static.
182
1832005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
184
185 * ospf_vty.c: (show_ip_ospf_interface_sub) Display interface MTU and
186 bandwidth; this is useful for debugging problems. Also, the function
187 should be static.
ajsfd651fa2005-03-29 16:08:16 +0000188
hasso1b639042005-03-27 13:32:25 +00001892005-03-27 Hasso Tepper <hasso at quagga.net>
190
191 * ospf_snmp.c: Don't crash in snmp query if ospf instance doesn't
192 exist at all.
193
hasso343f5cc2005-03-25 19:48:40 +00001942005-03-25 Hasso Tepper <hasso at quagga.net>
195
196 * ospfd.h: Include log.h, fixes compile with gcc-4.0.
197
ajs9dbc7972005-03-13 19:27:22 +00001982005-03-13 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
199
200 * ospf_lsa.c: (ospf_lsa_refresh_walker) If the system clock jumps
201 backward, then current time may be less than
202 ospf->lsa_refresher_started. This was causing invalid values
203 for ospf->lsa_refresh_queue.index resulting in infinite loops.
204 Problem fixed by casting the expression to unsigned before taking
205 the modulus.
206
ajs5c333492005-02-23 15:43:01 +00002072005-02-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
208
209 * ospfd.h: Add new field struct stream *ibuf to struct ospf.
210 * ospfd.c: (ospf_new) Check return code from ospf_sock_init.
211 Allocate ibuf using stream_new(OSPF_MAX_PACKET_SIZE+1).
212 (ospf_finish) Call stream_free(ospf->ibuf.
213 * ospf_packet.c: (ospf_read) Call stream_reset(ospf->ibuf) and then
214 pass it to ospf_recv_packet for use in receiving the packet
215 (instead of allocating a new stream for each packet received).
216 Eliminate all calls to stream_free(ibuf).
217 (ospf_recv_packet) The struct stream *ibuf is now passed in as
218 an argument. No need to use recvfrom to peek at the packet
219 header (to see how big it is), just use ospf->ibuf which is
220 always large enough (this eliminates a system call to recvfrom).
221 Therefore, no need to allocate a stream just for this packet,
222 and no need to free it when done.
223
hasso462f20d2005-02-23 11:29:02 +00002242005-02-23 Vincenzo Eramo <eramo at infocom.ing.uniroma1.it>
225
226 * ospf_lsa.h: New flag to the LSA structure for the SPF calculation.
227 * ospf_lsdb.h: Export ospf_lsdb_clean_stat() function.
228 * ospf_spf.h: Add link to the LSA stat structure into vertex.
229 * ospf_spf.c: New functions cmp() and update_stat() to manage
230 candidates. Remove ospf_spf_has_vertex(), ospf_vertex_lookup(),
231 ospf_install_candidate() and ospf_spf_register() functions not needed
232 any more. Update ospf_vertex_new(), ospf_spf_next() and
233 ospf_spf_calculate() functions to use pqueue instead of linked list.
234
hassoe40dcce2005-02-21 14:58:42 +00002352005-02-21 Hasso Tepper <hasso at quagga.net>
236
237 * ospf_ase.c: Don't show messages related to the ase calculations if
238 we are not debugging.
239
hasso306541b2005-02-19 17:58:40 +00002402005-02-19 Hasso Tepper <hasso at quagga.net>
241
242 * ospf_api.h: char isn't always signed, but it has to be it here.
243
paulfa81b712005-02-19 01:19:20 +00002442005-02-19 Paul Jakma <paul.jakma@sun.com>
245
246 * ospf_packet.c: (ospf_stream_copy) remove
247 (ospf_packet_dup) use stream_copy instead of ospf_stream_copy
248
ajs038163f2005-02-17 19:55:59 +00002492005-02-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
250
251 * ospf_packet.c: (ospf_recv_packet) If there is somehow a runt
252 packet in the queue, it must be discarded. Improve warning messages.
253 Fix scope to static.
254 (ospf_read) Fix bug: should reset the read thread in all cases
255 to make sure we continue to get incoming messages.
256
paul658b03a2005-02-15 10:10:55 +00002572005-02-15 Paul Jakma <paul.jakma@sun.com>
258
259 * ospf_packet.c: (ospf_recv_packet) Fix silly error wrt allocating
260 ibuf. Thanks Andrew.
261
paulbfdc44a2005-02-14 23:48:42 +00002622005-02-14 Paul Jakma <paul.jakma@sun.com>
263
264 * ospf_packet.c: (ospf_recv_packet) use stream_recvmsg.
265
hasso082253f2005-02-11 08:31:54 +00002662005-02-11 Hasso Tepper <hasso at quagga.net>
267
268 * ospf_lsdb.c: Fix sum of checksums calculation.
269
ajs083ee9d2005-02-09 15:35:50 +00002702005-02-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
271
272 * ospf_packet.c: (ospf_write) If sendmsg fails, give more info in the
273 error message.
274
ajsba6454e2005-02-08 15:37:30 +00002752005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
276
ajs8cfde372005-02-08 15:59:16 +0000277 * ospf_interface.h: Reduce structure padding by putting new u_char
278 field multicast_memberships in a better spot (grouped with
279 other u_char fields type and state).
280
2812005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
282
ajsba6454e2005-02-08 15:37:30 +0000283 * ospf_interface.h: Improve passive_interface comment. Add new
284 multicast_memberships bitmask to struct ospf_interface to track
285 active multicast subscriptions. Declare new function
286 ospf_if_set_multicast.
287 * ospf_interface.c: (ospf_if_set_multicast) New function to configure
288 multicast memberships properly based on the current
289 multicast_memberships status and the current values of the
290 ospf_interface state, type, and passive_interface status.
291 (ospf_if_up) Remove call to ospf_if_add_allspfrouters (this is
292 now handled by ism_change_state's call to ospf_if_set_multicast).
293 (ospf_if_down) Remove call to ospf_if_drop_allspfrouters (now
294 handled by ism_change_state).
295 * ospf_ism.c: (ospf_dr_election) Remove logic to join or leave
296 the DRouters multicast group (now handled by ism_change_state's call
297 to ospf_if_set_multicast).
298 (ism_change_state) Add call to ospf_if_set_multicast to change
299 multicast memberships as necessary to reflect the new interface state.
300 * ospf_packet.c: (ospf_hello) When a Hello packet is received on a
301 passive interface: 1. Increase the severity of the error message
302 from LOG_INFO to LOG_WARNING; 2. Add more information to the error
303 message (packet destination address and interface address);
304 and 3. If the packet was sent to ospf-all-routers, then try
305 to fix the multicast group memberships.
306 (ospf_read) When a packet is received on an interface whose state
307 is ISM_Down, enhance the warning message to show the packet
308 destination address, and try to update/fix the multicast group
309 memberships if the packet was sent to a multicast address.
310 When a packet is received for ospf-designated-routers, but the
311 current interface state is not DR or BDR, then increase the
312 severity level of the error message from LOG_INFO to LOG_WARNING,
313 and try to fix the multicast group memberships.
314 * ospf_vty.c: (ospf_passive_interface) Call ospf_if_set_multicast for
315 any ospf interface that may have changed from active to passive.
316 (no_ospf_passive_interface) Call ospf_if_set_multicast for
317 any ospf interface that may have changed from passive to active.
318 (show_ip_ospf_interface_sub) Show multicast group memberships.
319
paul3a9eb092005-02-08 11:29:41 +00003202005-02-08 Paul Jakma <paul@dishone.st>
321
322 * ospf_packet.c: (various) Remove unneeded stream_set_putp abuse.
323
ajs847947f2005-02-02 18:38:48 +00003242005-02-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
325
326 * ospf_packet.c: (ospf_read) Fix bug: must check for state ISM_Down,
327 not for event ISM_InterfaceDown. And improve the message by
328 adding the interface flags.
329
ajs0b7d97d2005-01-30 17:24:02 +00003302005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
331
332 * ospf_network.c: (ospf_sock_init) Save errno before calling
333 ospfd_privs.change.
334
ajsc3eab872005-01-29 15:52:07 +00003352005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
336
337 * ospf_packet.c: (ospf_packet_add) If oi->obuf is NULL, print
338 an error message and return.
339 (ospf_read) If the interface state is ISM_InterfaceDown, issue
340 a warning message and ignore the packet.
341
gdt86f1fd92005-01-10 14:20:43 +00003422005-01-10 Greg Troxel <gdt@fnord.ir.bbn.com>
343
344 * ospf_packet.h: Remove commented out definition of
345 OSPF_MAX_PACKET; neither it or the uncommented one are used any more.
346
347 * ospf_packet.c (ospf_make_ls_upd): Leave room for authentication
348 when deciding if an update will fit.
349 (ospf_packet_authspace): Factor out calculation of size required
350 for authentication.
351 (ospf_make_db_desc): Use ospf_max_packet, not OSPF_MAX_PACKET.
352 Don't confuse readers that there is a macro.
353
ajs3dc56b52004-12-30 15:11:19 +00003542004-12-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
355
356 * ospf_network.c: Improve all setsockopt error messages to give detailed
357 information on the arguments.
358
ajsb87f7722004-12-29 20:41:26 +00003592004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
360
ajs17eaa722004-12-29 21:04:48 +0000361 * ospf_packet.c: (ospf_db_desc) Reduce severity of "Negotiation done"
362 messages from LOG_WARNING to LOG_INFO, since this seems to be
363 normal.
364
3652004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
366
ajsb87f7722004-12-29 20:41:26 +0000367 * ospf_packet.c: (ospf_read) Always look up the interface if
368 ospf_recv_packet returns NULL ifp, since some platforms such
369 as Solaris 8 appear to support ifindex retrieval but don't.
370
hasso1d806282004-12-22 09:43:20 +00003712004-12-22 Hasso Tepper <hasso at quagga.net>
372
373 * ospf_dump.c: Show debug configuration in vtysh.
hassoc6b87812004-12-22 13:09:59 +0000374 * ospf_vty.c: Fix "show ip ospf" output. Router can't be elected in
375 any case if it's configured as "translate-never".
hassofe71a972004-12-22 16:16:02 +0000376 * ospf_lsdb.[ch]: New function to calculate sum of checksums.
377 * ospf_vty.c: Bugfix to show really number of AS external LSAs, not
378 number of all LSAs with AS scope, this includes opaque as LSAs as
379 well, show this number separately. Show numbers and sums of
380 checksums for each type of LSAs.
381 * ospf_lsa.c: Calculate checksum before putting LSA into database.
hasso1d806282004-12-22 09:43:20 +0000382
ajsbc18d612004-12-15 15:07:19 +00003832004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
384
385 * ospf_interface.h: Declare new function ospf_default_iftype.
386 * ospf_interface.c: (ospf_default_iftype) New function to centralize
387 this logic in one place.
388 * ospf_zebra.c: (ospf_interface_add) Use new function
389 ospf_default_iftype.
390 * ospf_vty.c: (no_ip_ospf_network,config_write_interface) Fix logic
391 by using new function ospf_default_iftype.
392
ajs3aa8d5f2004-12-11 18:00:06 +00003932004-12-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
394
395 * ospf_packet.c: (ospf_db_desc) Should be static, not global.
396 (ospf_hello,ospf_db_desc,ospf_ls_upd,ospf_ls_ack) Improve warning
397 messages to include identifying information (e.g. router id).
398 * ospf_nsm.c: (nsm_change_state) Improve info message to include
399 router id and state names.
400
gdt91f3e522004-12-09 14:51:03 +00004012004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
402
gdt3fb9de72004-12-09 16:30:04 +0000403 * ospf_apiserver.c (ospf_apiserver_term): Obtain struct
404 ospf_apiserver * from listnode. Remove unused variables. Follows
405 suggestion from Jay Fenlason.
gdt91f3e522004-12-09 14:51:03 +0000406
ajs9b0e25c2004-12-08 19:06:51 +00004072004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
408
409 * *.c: Change level of debug messages to LOG_DEBUG.
410
ajs274a4a42004-12-07 15:39:31 +00004112004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
412
413 * ospf_main.c: (main) The 2nd argument to openzlog has been removed.
414
ajs887c44a2004-12-03 16:36:46 +00004152004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
416
ajs1210fa62004-12-03 16:43:24 +0000417 * ospf_packet.c: (ospf_db_desc) Reduce priority on a debug message
418 from LOG_NOTICE to LOG_DEBUG.
419
4202004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
421
ajs887c44a2004-12-03 16:36:46 +0000422 * ospf_main.c: (sigint) Use zlog_notice for termination message.
423 (main) Issue a startup announcement using zlog_notice.
424
ajsbec595a2004-11-30 22:38:43 +00004252004-11-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
426
427 * ospf_packet.c: (ospf_db_desc_proc) Fix spelling of packet in warning
428 message and in comment.
429 (ospf_db_desc) Warning message that a packet is being discarded
430 should give the router id of the packet source. Fix spelling
431 of packet in two warning messages.
432 (ospf_ls_req) Warning message that a link state request is being
433 discarded should give the router id of the neighbor that sent it.
434
ajs5b85fac2004-11-26 19:36:42 +00004352004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
436
437 * ospf_main.c: Remove #include "debug.h" (was not being used, and
438 lib/debug.h has now been deleted).
439
hassoc0652302004-11-25 19:33:48 +00004402004-11-25 Hasso Tepper <hasso at quagga.net>
441
442 * ospf_main.c: Make group to run as configurable.
443
gdt69e13252004-11-15 18:51:15 +00004442004-11-15 Greg Troxel <gdt@fnord.ir.bbn.com>
445
446 * ospf_packet.c (ospf_recv_packet): Assume CMSG_SPACE is present
447 and works (lib/zebra.h provides if OS doesn't).
448
paul788dab12004-11-15 11:48:37 +00004492004-11-15 Paul Jakma <paul@dishone.st>
450
451 * ospf_{apiserver,te}.c: ospf_lsa_free's should be ospf_lsa_unlock.
452
paul05e85fa2004-11-12 10:52:19 +00004532004-11-12 Paul Jakma <paul@dishone.st>
454
455 * ospf_ia.c: (process_summary_lsa) Only an ABR has any reason to
456 ignore stub area summary default. Even so it seems a strange
457 check, add a comment to that effect.
458
paulf3ae74c2004-11-04 20:35:31 +00004592004-11-04 Paul Jakma <paul@dishone.st>
460
461 * ospfd.c: (ospf_network_match_iface) revert to previous network
462 statement match behaviour.
463
paul62d8e962004-11-02 20:26:45 +00004642004-11-02 Paul Jakma <paul@dishone.st>
465
466 * ospf_packet.c: (ospf_write_frags) remove iov arg, msg already points
467 to it. Add convenience pointer to msg->msg_iov[1], and use this,
468 fixing the unfortunate borkenness introduced in moving of this code
469 to a function.
470 (ospf_write) remove iovp and fix up call to previous.
471 (ospf_ls_upd_packet_new) cast size to long int - unfortunately
472 glibc's size_t format modifier is not portable.
473
paul37ccfa32004-10-31 11:24:51 +00004742004-10-31 Paul Jakma <paul@dishone.st>
475
476 * ospf_packet.c: (ospf_write_frags) Add debug output
477 (ospf_write) set type early, so we can pass it to
478 ospf_write_frags.
479 (ospf_ls_upd_packet_new) print size in debug output when too large
480 packet is encountered.
paul64511f32004-10-31 18:01:13 +0000481 * ospf_zebra.c: (ospf_distribute_list_update_timer) Ugly misuse of
482 THREAD_ARG to store an integer, but it should at least use same
483 same type to retrieve the value. Assert value is sane.
paul37ccfa32004-10-31 11:24:51 +0000484
paulac191232004-10-22 12:05:17 +00004852004-10-22 Paul Jakma <paul@dishone.st>
486
487 * ospf_network.c: (ospf_sock_init) call neutral setsock_ifindex()
488 function.
489 * ospf_packet.c: (ospf_read) manually look up ifindex
paul4ccb2c42004-10-22 22:52:33 +0000490 if system could not have returned one, eg openbsd, thanks to Rivo
491 Nurges for highlighting problem and fix.
paul06f953f2004-10-22 17:00:38 +0000492 Change setsockopt_pktinfo to setsockopt_ifindex.
paulac191232004-10-22 12:05:17 +0000493
hasso3fb9cd62004-10-19 19:44:43 +00004942004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
495
496 * ospf_snmp.c: (ospf_snmp_if_update) Fix logic to handle PtP links
497 with dedicated subnets properly.
498 * ospf_lsa.c: (lsa_link_ptop_set) ditto.
499 * ospfd.c: (ospf_network_match_iface) ditto.
500 (ospf_network_run) ditto.
501 * ospf_interface.c: (ospf_if_is_configured) ditto.
502 (ospf_if_lookup_by_prefix) ditto.
503 (ospf_if_lookup_recv_if) ditto.
504 * ospf_vty.c: (show_ip_ospf_interface_sub) Display the peer or
505 broadcast address if present.
506
hassod68614d2004-10-13 09:32:48 +00005072004-10-13 Hasso Tepper <hasso at quagga.net>
508
509 * ospf_main.c: Unbreak compilation with ospfapi disabled.
hassoc75105a2004-10-13 10:33:26 +0000510 * ospf_snmp.c: Remove defaults used to initialize smux connection to
511 snmpd. Connection is initialized only if smux peer is configured.
hassod68614d2004-10-13 09:32:48 +0000512
hassof4d58ce2004-10-12 06:13:54 +00005132004-10-12 Hasso Tepper <hasso at quagga.net>
514
515 * ospf_main.c, ospf_opaque.c: Unbreak ospfclient compilation - move
516 static variable from ospf_main.c into ospf_opaque.c.
517
hassoc3abdb72004-10-11 16:27:03 +00005182004-10-11 Hasso Tepper <hasso at quagga.net>
519
520 * ospf_main.c, ospf_opaque.c: Disable ospfapi init by default. New
521 command line switch to enable it.
522
paul6b333612004-10-11 10:11:25 +00005232004-10-11 Paul Jakma <paul@dishone.st>
524
525 * ospf_dump.c: (ospf_ip_header_dump) Assume header is in host order
526 remove ntohs that should have dissappeared. Take struct ip
527 as argument, caller has to know there's an IP header at start of
528 stream anyway.
529 * ospf_dump.h: update declaration of ospf_ip_header_dump.
530 * ospf_packet.c: (ospf_write) correct call to
531 sockopt_iphdrincl_swab_htosys which was munging the header.
532 (ospf_recv_packet) ip_len is needed for old OpenBSD fixup.
533 (ospf_read) sockopt_iphdrincl_swab_systoh ip header as soon as
534 we have it.
paul6c835672004-10-11 11:00:30 +0000535 * (global) Const char update and signed/unsigned fixes.
536 * (various headers) size defines should be unsigned.
537 * ospf_interface.h: remove duplicated defines, include the
538 authoritative header - though, these defines should probably
539 be moved to a dedicated header, or ospfd.h.
540 * ospf_lsa.h: (struct lsa) ls_seqnum should be unsigned.
541 * ospf_packet.c: (ospf_write) cast result of shift to unsigned.
paul6b333612004-10-11 10:11:25 +0000542
hassoeb1ce602004-10-08 08:17:22 +00005432004-10-08 Hasso Tepper <hasso at quagga.net>
544
545 * *.[c|h]: Fix compiler warnings: make some strings const, signed ->
546 unsigned, remove unused variables etc.
547
gdt54ade992004-10-07 19:38:20 +00005482004-10-07 Greg Troxel <gdt@claude.ir.bbn.com>
549
550 * ospf_apiserver.c (ospf_apiserver_unregister_opaque_type): Don't
551 use of variable names 'node' and 'nextnode' to avoid possible
552 conflict with list macros. Move variable declaration inside for
553 loop after a statement to top of function.
554
paulaa20c6f2004-10-07 14:19:36 +00005552004-10-07 Paul Jakma <paul@dishone.st>
556
557 * ospf_snmp.c: Missed list typedef update
558 * ospf_dump.c: Include sockopt.h for header swab functions.
559
paul18b12c32004-10-05 14:38:29 +00005602004-10-05 Paul Jakma <paul@dishone.st>
561
562 * ospf_packet.c: replace ospf_swap_iph_to... with
563 sockopt_iphdrincl_swab_...
564
hasso18a6dce2004-10-03 18:18:34 +00005652004-10-03 James R. Leu <jleu at mindspring.com>
566
567 * ospf_zebra.c: Read router id related messages from zebra daemon.
568 Schedule router-id update thread if it's changed.
569 * ospfd.c: Remove own router-id selection function. Use router id from
570 zebra daemon if it isn't manually overriden in configuration.
571
paul68defd62004-09-27 07:27:13 +00005722004-09-27 Paul Jakma <paul@dishone.st>
573
paul6a99f832004-09-27 12:56:30 +0000574 * ospf_dump.c: (ospf_ip_header_dump) Use HAVE_IP_HDRINCL_BSD_ORDER
575 Apply to offset too. Print ip_cksum, lets not worry about
576 possible 2.0.37 compile problems.
577 * ospf_packet.c: (ospf_swap_iph_to{n,h}) Use
578 HAVE_IP_HDRINCL_BSD_ORDER.
579 (ospf_recv_packet) ditto.
580 (ospf_write) Fixup iov argument to ospf_write_frags.
581 (struct msghdr).msg_name is caddr_t on most platforms.
paul68defd62004-09-27 07:27:13 +0000582 (ospf_recv_packet) ditto. And msg_flags is not always there
583 memset struct then set fields we care about rather than
584 initialise all fields individually.
585
hassoc9e52be2004-09-26 16:09:34 +00005862004-09-26 Hasso Tepper <hasso at quagga.net>
587
588 * ospf_abr.c, ospf_dump.c, ospf_lsa.c, ospf_packet.c, ospf_vty.c,
589 ospf_zebra.c: Fix compiler warnings.
590
paul87d6f872004-09-24 08:01:38 +00005912004-09-24 Paul Jakma <paul@dishone.st>
592
593 * ospf_apiserver.{c,h}: lists typedef removal cleanup.
594 update some list loops to LIST_LOOP. some miscellaneous indent
595 fixups.
596 (ospf_apiserver_unregister_opaque_type) fix listnode_delete of
597 referenced node in loop.
paul1603c062004-09-24 08:23:24 +0000598 (ospf_apiserver_term) loops calling ospf_apiserver_free, which
599 deletes referenced nodes from apiserver_list, fixed.
paul87d6f872004-09-24 08:01:38 +0000600 * ospf_interface.h: lists typedef removal cleanup.
601 * ospf_opaque.{c,h}: lists typedef removal cleanup. update some list
602 loops to LIST_LOOP. miscellaneous style and indent fixups.
603 * ospf_te.{c,h}: ditto
604 * ospf_packet.c: lists typedef removal cleanup.
paula2570682004-09-24 08:09:57 +0000605 (ospf_write) ifdef fragmentation support. move actual
606 fragmentation out to a new, similarly ifdefed, function.
607 (ospf_write_frags) fragmented write support, moved from previous.
paul87d6f872004-09-24 08:01:38 +0000608
hasso52dc7ee2004-09-23 19:18:23 +00006092004-09-23 Hasso Tepper <hasso at quagga.net>
610
611 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
612
paul68b73392004-09-12 14:21:37 +00006132004-09-12 Paul Jakma <paul@dishone.st>
614
615 * ospf_packet.c: Fix bugzilla #107
616 (ospf_packet_max) get rid of the magic 88 constant
617 (ospf_swab_iph_ton) new function. set ip header to network order,
618 taking BSDisms into account.
619 (ospf_swab_iph_toh) the inverse.
620 (ospf_write) Add support for IP fragmentation, will only work on
621 linux though, other kernels make it impossible. get rid of the
622 magic 4 constant.
623 (ospf_make_ls_upd) Bound check to end of stream, not to
624 interface mtu.
625 (ospf_ls_upd_packet_new) New function, allocate upd packet
626 taking oversized LSAs into account.
627 (ospf_ls_upd_queue_send) use ospf_ls_upd_packet_new to allocate,
628 rather than statically allocating mtu sized packet buffer, which
629 actually was wrong - it didnt take ip header into account, which
630 should not be included in packet buffer.
631 (ospf_ls_upd_send_queue_event) minor tweaks and remove
632 TODO comment.
633
gdt630e4802004-08-31 17:28:41 +00006342004-08-31 David Wiggins <dwiggins@bbn.com>
635
636 * ospf_spf.c (ospf_spf_calculate): Many more comments and debug
637 print statements. New function ospf_vertex_dump used in debugging.
638
6392004-08-31 David Wiggins <dwiggins@bbn.com>
640
641 * ospf_spf.h (struct vertex): Comments for flags and structure members.
642
6432004-08-31 David Wiggins <dwiggins@bbn.com>
644
645 * ospf_route.c: When finding an alternate route, log cost as well.
646
6472004-08-31 David Wiggins <dwiggins@bbn.com>
648
649 * ospf_interface.c (ospf_lookup_if_params): Initialize af in
650 struct prefix allocated on stack.
651
6522004-08-31 David Wiggins <dwiggins@bbn.com>
653
654 * ospf_packet.c (ospf_ls_ack_send_delayed): In p2mp mode, send
655 acks to AllSPFRouters, rather than All-DR.
656
hasso7b901432004-08-31 13:37:42 +00006572004-08-27 Hasso Tepper <hasso at quagga.net>
658
659 * ospf_vty.c: Don't print ospf network type under interface only
660 if interface is in broadcast mode and interface type really is
661 broadcast. Fixes Bugzilla #108.
662
gdtd7d93992004-08-27 12:03:42 +00006632004-08-27 David Wiggins <dwiggins@bbn.com>
664
665 * ospf_spf.c (ospf_nexthop_calculation): Initialize address family
666 in on-stack struct prefix_ipv4. Fixes point-to-multipoint SPF
667 calculation.
668
gdtd0deca62004-08-26 13:14:07 +00006692004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
670
671 * ospf_packet.c (ospf_recv_packet): adjust size declaration of
gdtd7d93992004-08-27 12:03:42 +0000672 buffer used to get interface index so that it compiles on other
673 than Linux and includes the required alignment space. Probably
674 this was only working on sparc/sparc64 because most of
675 sockaddr_dl was not being written.
gdtd0deca62004-08-26 13:14:07 +0000676
paul863082d2004-08-19 04:43:43 +00006772004-08-19 Paul Jakma <paul@dishone.st>
678
679 * ospf_packet.c: update to match sockopt renames.
680
paul75ee0b82004-08-05 09:10:31 +00006812004-08-04 Paul Jakma <paul@dishone.st>
682
683 * ospf_spf.c: (ospf_spf_consider_nexthop) Add comment about issue.
684 Compare only against list head - all nexthops must be same cost
685 anyway, fixes a reference-listnode-after-delete bug noted by
686 Kir Kostuchenko.
687 (ospf_nexthop_calculation) Use ospf_spf_consider_nexthop for all
688 candidates attached to root.
689
paul36c64ef2004-07-27 11:19:11 +00006902004-07-27 Paul Jakma <paul@dishone.st>
691
paul48fe13b2004-07-27 17:40:44 +0000692 * ospf_packet.c: (ospf_ls_upd_send_queue_event) fix thinko from
693 last fix for ospfd wedging due to oversize LSAs: dont list loop on
694 ospf_ls_upd_queue_send() - guaranteed segfault.
695
6962004-07-27 Paul Jakma <paul@dishone.st>
697
paul36c64ef2004-07-27 11:19:11 +0000698 * ospf_opaque.c: (ospf_opaque_lsa_flush_schedule) do not NULL out
699 the LSA as then free_opaque_info_per_id() can never unlock (and
700 free) the LSA. Reported by Gunnar Stigen.
701
paul2dd8bb42004-07-23 15:13:48 +00007022004-07-23 Paul Jakma <paul@dishone.st>
703
704 * ospf_network.c: Replace PKTINFO/RECVIF with call to
705 setsockopt_pktinfo
706 * ospf_packet.c: Use getsockopt_pktinfo_ifindex and
707 SOPT_SIZE_CMSG_PKTINFO_IPV4.
708
paul59ea14c2004-07-14 20:50:36 +00007092004-07-14 Paul Jakma <paul@dishone.st>
710
711 * ospf_packet.c: (ospf_ls_upd_send_queue_event) Partial fix for
712 problem reported by Peter Frost amongst others, where function
713 will spin indefinitely if update list contains LSAs greater than
714 MTU-headers or other condition leading to update list never being
715 cleared. Problem of what to do with these LSAs remains.
716 (ospf_make_ls_upd) add comment about large LSA problem,
717 indentation cleanup.
718
gdtb2c1b282004-07-01 12:35:36 +00007192004-07-01 Greg Troxel <gdt@fnord.ir.bbn.com>
720
721 * Makefile.am (lib_LTLIBRARIES): make libospf shared
722
gdt87efd642004-06-30 17:36:11 +00007232004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
724
725 * Makefile.am: Add shlib support.
726
hassobeebba72004-06-20 21:00:27 +00007272004-06-10 Hasso Tepper <hasso@estpak.ee>
728
729 * *: Removed ifdefs HAVE_NSSA.
730
paul553ff112004-06-06 09:41:00 +00007312004-06-06 Paul Jakma <paul@dishone.st>
732
733 * ospf_dump.c,ospf_lsa.c: Fix typos of merge of previous.
734 ospf_flood.c: (ospf_process_self_originated_lsa) fix zlog format
735
paul0c2be262004-05-31 14:16:54 +00007362004-05-31 Sagun Shakya <sagun.shakya@sun.com>
737
738 * ospf_dump.c: (ospf_lsa_header_dump) LOOKUP can return null if
739 index is out of range.
740 ospf_flood.c: endianness fix
741 ospf_lsa.c: Missing ntohl's on (struct lsa *)->data->ls_seqnum
742 in various places.
743
hassodd669bb2004-05-10 07:43:59 +00007442004-05-10 Hasso Tepper <hasso@estpak.ee>
745
746 * ospf_zebra.c, ospfd.c: Move ospf_prefix_list_update() function
747 to ospf_zebra.c from ospfd.c and add redistribution updates if
748 route-map is used in redistribution.
749 * ospf_main.c: Remove now useless call to ospf_init().
750
paul0a589352004-05-08 11:48:26 +00007512004-05-08 Paul Jakma <paul@dishone.st>
752
753 * ospf_zebra.c: Sync with lib/zclient changes
754
pauld3f0d622004-05-05 15:27:15 +00007552004-05-05 Paul Jakma <paul@dishone.st>
756
paul5bd41892004-05-05 17:29:24 +0000757 * ospf_network.c: (ospf_sock_init) Check whether IP_HDRINCL is
758 defined. Warn at compile and runtime. Use
759 IPTOS_PREC_INTERNETCONTROL otherwise.
pauld3f0d622004-05-05 15:27:15 +0000760 * ospf_packet.c: (ospf_associate_packet_vl) cleanup, move
761 some of the checks up to ospf_read, return either a
762 virtual link oi, or NULL.
763 (ospf_read) Cleanup, make it responsible for checks. Remove
764 the nbr lookup - moved to ospf_neighbor. Adjust all nbr
765 lookups to use new wrappers exported by ospf_neighbor.
766 * ospf_neighbor.h: Add ospf_neigbour_get and ospf_nbr_lookup.
767 * ospf_neighbor.c: (ospf_neigbour_get) Index ospf_interface
768 neighbour table by router-id for virtual-link ospf_interfaces,
769 not by peer_addr (which breaks for asymmetric vlinks)
770 (ospf_nbr_lookup) add a wrapper for nbr lookups to deal with
771 above.
paulcd59da62004-05-05 17:26:55 +0000772 * ospf_interface.c: (ospf_vl_set_params) Catch changes of interface
773 address for either end of a virtual-link, and hence potential cost
774 changes.
775
hassoa0a39762004-04-23 08:51:10 +00007762004-04-22 Hasso Tepper <hasso@estpak.ee>
777
778 * ospf_zebra.c: Don't ignore reject/bh routes, it's the only way
779 to "summarize" routes in ASBR at the moment.
780
hasso8585d4e2004-04-20 17:25:12 +00007812004-04-20 Hasso Tepper <hasso@estpak.ee>
782
783 * ospfd.c: Unset NP flag if area is going to be normal or stub.
784 Fixes UNH OSPF_NSSA.1.2a comment.
785 * ospf_abr.c: Originate default into stub/nssa area even if
786 summaries are disabled.
787 * ospf_zebra.c: Don't attempt to redistribute 127.0.0.0/8.
788
hassoc266ac72004-04-19 17:31:00 +00007892004-04-19 Hasso Tepper <hasso@estpak.ee>
790
791 * ospf_vty.c: Don't warn that export- and import-list can't be
792 configured to backbone area if they are applied and are working
793 fine.
794
hasso128d31d2004-04-04 12:52:33 +00007952004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
796
797 * ospf_packet.c: Don't drop packets in Solaris x86.
798 [quagga-dev 1005].
799
hasso0d85b992004-03-18 19:18:33 +00008002004-03-18 Amir Guindehi <amir@datacore.ch>
801
802 * ospf_opaque.c: Attempt to correct the incorrect behavior of
803 Quagga's ospfd in the special situation that a node's opaque
804 capability has changed as "ON -> OFF -> ON". [quagga-dev 843].
805
paul7f352b82004-02-19 19:37:47 +00008062004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
807
808 * ospf_abr.c: (ospf_abr_update_aggregate) UNH 3.12b,c, address range
809 should be configured with the highest cost path within the range,
810 not lowest.
811
paul940b01a2004-02-17 20:07:30 +00008122004-02-17 Paul Jakma <paul@dishone.st>
813
814 * ospf_zebra.c: (ospf_interface_delete) Do not delete the interface
815 params, nor the interface structure, if an interface delete
816 message is received from zebra.
817 * ospf_interface.c: (ospf_if_delete_hook) Delete the interface
818 params and interface, ie that which was previously removed in
819 (ospf_interface_delete) above.
820
hasso2db3d052004-02-11 21:52:13 +00008212004-02-11 Hasso Tepper <hasso@estpak.ee>
822 * ospf_interface.c, ospf_zebra.c: Don't attempt to read path->oi->ifp
823 if oi doesn't exist any more.
824
hassocb05eb22004-02-11 21:10:19 +00008252004-02-11 Vadim Suraev <vadim.suraev@terayon.com>
826 * ospf_packet.c (ospf_ls_upd): Router should flush received network
827 LSA if it was originated with older router-id ([zebra 14710] #6).
828
8292003-12-08 Mattias Amnefelt <mattiasa@kth.se>
paul239aecc2003-12-08 10:34:54 +0000830
831 * ospf_packet.c: (ospf_recv_packet) OpenBSD now leaves iph.ip_len
832 network byte order.
833
gdt8f40e892003-12-05 14:01:43 +00008342003-12-05 Greg Troxel <gdt@poblano.ir.bbn.com>
835
836 * ospfd.c (ospf_network_match_iface): Rewrite code for clarity
837 while trying not to change semantics. Add ifdefed-out code to
838 avoid matching ppp interfaces whose destination address does not
839 also match the prefix under consideration, to help out people with
840 problems due to as-yet-unfixed bugs with p2p interfaces coming and
841 going.
842
paul736d3442003-07-24 23:22:57 +00008432003-07-25 kamatchi soundaram <kamatchi@tdd.sj.nec.com>
844
845 * ospf_packet.c (ospf_ls_upd_send_queue_event): get next route
846 node in body of the loop to avoid chance that route node
847 is unlocked and deleted before the next iteration tries to
848 get next route node.
849
paul0a825c72003-05-24 13:48:16 +00008502003-05-24 Kenji Yabuuchi
851
852 * ospf_interface.c(ospf_if_lookup_recv_if): Use the most specific
853 match for interface lookup.
854
paul551a8972003-05-18 15:22:55 +00008552003-05-18 Hasso Tepper <hasso@estpak.ee>
paul445f1432003-05-16 19:00:31 +0000856
paul551a8972003-05-18 15:22:55 +0000857 * ospf_vty.c: Show NSSA LSA route info in "show ip ospf database"
858 output
paul445f1432003-05-16 19:00:31 +0000859
pauld7480322003-05-16 17:31:51 +00008602003-05-16 Hasso Tepper <hasso@estpak.ee>
861
862 * ospf_lsa.c: Fix handling of NSSA
863
paul551a8972003-05-18 15:22:55 +00008642003-04-23 Hasso Tepper <hasso@estpak.ee>
865
866 * ospf_vty.c: fix "router xxx" node commands in vtysh
867
paul445f1432003-05-16 19:00:31 +00008682003-04-19 Hasso Tepper <hasso@estpak.ee>
869
870 * {ospf_abr,ospfd}.c: area id's DECIMAL -> ADDRESS
871 * ospf_routemap.c: sync daemon's route-map commands to have same
872 syntax.
873
8742003-04-19 Sergey Vyshnevetskiy <serg@vostok.net>
875
876 * ospf_packet.c: Add missing param to zlog
877 * ospf_flood.c: remove unused vars
878
8792003-04-17 Denis Ovsienko <zebra@pilot.org.ua>
880
881 * ospf_interface.c: fix incorrect memset
882
paul28a13842003-05-16 20:30:37 +00008832003-04-10 Amir Guindehi <amir@datacore.ch>
paul445f1432003-05-16 19:00:31 +0000884
885 * ospf_lsa.[ch]: opaque LSA fix, use ospf_lookup.
886
8872003-04-03 David Watson <dwatson@eecs.umich.edu>
888
889 * ospf_lsa.c: byte order fix
890
paul07661cb2003-03-18 00:03:05 +00008912002-03-17 Amir Guindehi <amir@datacore.ch>
892
893 * ospf_apiserver.[ch]: Merge Ralph Keller's OSPFAPI support.
894 * ospf_api.[ch]: Merge Ralph Keller's OSPFAPI support.
895 * ospfclient: OSPFAPI demonstration client.
896
8972003-01-23 Masahiko Endo <endo@suri.co.jp>
898
899 * ospf_ism.c: NSM event schedule bug fix.
900
9012002-10-30 Greg Troxel <gdt@ir.bbn.com>
902
903 * ospf_packet.c (ospf_make_md5_digest): MD5 length fix.
904
paul718e3742002-12-13 20:15:29 +00009052002-10-23 endo@suri.co.jp (Masahiko Endo)
906
907 * ospf_opaque.c: Update Opaque LSA patch.
908
9092002-10-23 Ralph Keller <keller@tik.ee.ethz.ch>
910
911 * ospf_vty.c (show_ip_ospf_database): Fix CLI parse.
912
9132002-10-23 Juris Kalnins <juris@mt.lv>
914
915 * ospf_interface.c (ospf_if_stream_unset): When write queue
916 becomes empty stop write timer.
917
9182002-10-10 Greg Troxel <gdt@ir.bbn.com>
919
920 * ospf_packet.c (ospf_check_md5_digest): Change >= to > to make it
921 conform to RFC.
922
9232002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
924
925 * zebra-0.93 released.
926
9272002-06-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
928
929 * ospf_spf.c (ospf_nexthop_calculation): Add NULL set to oi and
930 check of l2. Reported by: Daniel Drown <dan-zebra@drown.org>
931 (ospf_lsa_has_link): LSA Length calculation fix. Reported by:
932 Paul Jakma <paulj@alphyra.ie>.
933
934 * ospfd.c (ospf_if_update): Fix nextnode reference bug. Reported
935 by: juris@mt.lv.
936
9372002-01-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
938
939 * ospfd.c: Merge [zebra 11445] Masahiko ENDO's Opaque-LSA support.
940
9412001-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
942
943 * ospf_interface.c (ospf_add_to_if): Use /32 address to register
944 OSPF interface information.
945 (ospf_delete_from_if): Likewise.
946
947 * ospf_zebra.c (ospf_interface_address_delete): Likewise.
948
9492001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
950
951 * ospf_zebra.c (ospf_redistribute_unset): When redistribute type
952 is OSPF, do not unset redistribute flag.
953
9542001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
955
956 * zebra-0.92a released.
957
9582001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
959
960 * zebra-0.92 released.
961
9622001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
963
964 * ospfd.c (ospf_config_write): auto-cost reference-bandwidth
965 configuration display.
966
9672001-07-24 David Watson <dwatson@eecs.umich.edu>
968
969 * ospf_spf.c (ospf_spf_next): Modify ospf_vertex_add_parent to
970 check for an existing link before connecting the parent and child.
971 ospf_nexthop_calculation is also modified to check for duplicate
972 entries when copying from the parent. Finally, ospf_spf_next
973 removes duplicates when it merges two equal cost candidates.
974
9752001-07-23 itojun@iijlab.net
976
977 * ospfd.c (show_ip_ospf_neighbor): Check ospf_top before use it
978 [zebra 8549].
979
9802001-07-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
981
982 * ospf_packet.c (ospf_write): Remove defined(__OpenBSD__) to make
983 it work on OpenBSD.
984
9852001-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
986
987 * ospf_zebra.c (config_write_ospf_default_metric): Display
988 default-metric configuration.
989
9902001-06-18 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
991
992 * ospf_ia.h (OSPF_EXAMINE_SUMMARIES_ALL): Remove old macros.
993
9942001-05-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
995
996 * ospf_snmp.c (ospfIfEntry): Fix interface lookup bug to avoid
997 crush.
998 (ospfIfMetricEntry): Likewise.
999
10002001-03-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1001
1002 * ospf_packet.c (ospf_read): Fix typo. Reported by: "Jen B
1003 Lin'Kova" <jen@stack.net>.
1004
10052001-03-15 Gleb Natapov <gleb@nbase.co.il>
1006
1007 * ospf_interface.c (ip_ospf_network): Set interface parameter.
1008 (interface_config_write): Add check for OSPF_IFTYPE_LOOPBACK.
1009
1010 * ospf_zebra.c (ospf_interface_add): Set interface parameter.
1011
10122001-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1013
1014 * ospf_packet.c (ospf_recv_packet): Solaris also need to add
1015 (iph.ip_hl << 2) to iph.ip_len.
1016
10172001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1018
1019 * ospfd.h (OSPF_LS_REFRESH_TIME): Fix OSPF_LS_REFRESH_TIME value.
1020 Suggested by: David Watson <dwatson@eecs.umich.edu>.
1021
1022 * ospf_zebra.c (zebra_init): Remove zebra node.
1023
1024 * ospfd.c (ospf_area_range_set): Function name is changed from
1025 ospf_ara_range_cmd.
1026 (ospf_area_range_unset): New function which separated from DEFUN.
1027 New commands are added:
1028 "no area A.B.C.D range A.B.C.D/M advertise"
1029 "no area <0-4294967295> range A.B.C.D/M advertise"
1030 "no area A.B.C.D range A.B.C.D/M not-advertise"
1031 "no area <0-4294967295> range A.B.C.D/M not-advertise"
1032
1033 * ospf_lsa.c (ospf_lsa_more_recent): Fix previous change.
1034
10352001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
1036
1037 * ospf_network.c (ospf_if_add_allspfrouters): Use
1038 setsockopt_multicast_ipv4.
1039 (ospf_if_drop_allspfrouters): Likewise.
1040
1041 * ospf_lsa.c (ospf_router_lsa_install): Add rt_recalc flag.
1042 (ospf_network_lsa_install): Likewise.
1043 (ospf_summary_lsa_install): Likewise.
1044 (ospf_summary_asbr_lsa_install): Likewise.
1045 (ospf_external_lsa_install): Likewise.
1046 (ospf_lsa_install): Call ospf_lsa_different to check this LSA is
1047 new one or not.
1048
10492001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1050
1051 * ospf_zebra.c (ospf_interface_delete): Do not free interface
1052 structure when ospfd receive interface delete message to support
1053 pseudo interface.
1054
10552001-02-01 Dick Glasspool <dick@ipinfusion.com>
1056
1057 * ospfd.c (area_range_notadvertise): Change area range "suppress"
1058 command to "not-advertise".
1059
1060 * ospfd.h (OSPF_LS_REFRESH_TIME): Change OSPF_LS_REFRESH_TIME from
1061 1800 to 60.
1062
1063 * ospf_abr.c (ospf_abr_update_aggregate): When update_aggregate is
1064 updating the area-range, the lowest cost is now saved.
1065
1066 * ospf_lsa.c (ospf_lsa_more_recent): Routing to compare sequence
1067 numbers rather than creating overflow during calculation.
1068
10692001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1070
1071 * zebra-0.91 is released.
1072
10732001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1074
1075 * ospf_packet.c (ospf_db_desc_proc): Do not continue process when
1076 NSM_SeqNumberMismatch is scheduled.
1077 (ospf_ls_req): Free ls_upd when return from this function.
1078 (ospf_ls_upd_timer): When update list is empty do not call
1079 ospf_ls_upd_send(). Suggested by: endo@suri.co.jp (Masahiko
1080 Endo).
1081
10822001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1083
1084 * ospf_lsa.c (ospf_maxage_flood): Flood LSA when it reaches
1085 MaxAge. RFC2328 Section 14.
1086 (ospf_maxage_lsa_remover): Call above function during removing
1087 MaxAge LSA.
1088
10892001-01-26 Dick Glasspool <dick@ipinfusion.com>
1090
1091 * ospf_flood.c (ospf_flood_through_as): Function is updated for
1092 NSSA Translations now done at ospf_abr.c with no change in P-bit.
1093
1094 * ospf_lsa.c (ospf_get_nssa_ip): Get 1st IP connection for Forward
1095 Addr.
1096 (ospf_install_flood_nssa): Leave Type-7 LSA at Lock Count = 2.
1097
1098 * ospf_ase.c (ospf_ase_calculate_route): Add debug codes.
1099
1100 * ospf_abr.c (ospf_abr_translate_nssa): Recalculate LSA checksum.
1101
1102 * ospf_packet.h (OSPF_SEND_PACKET_LOOP): Added for test packet.
1103
1104 * ospf_dump.c (ospf_lsa_type_msg): Add OSPF_GROUP_MEMBER_LSA and
1105 OSPF_AS_NSSA_LSA.
1106
1107 * ospfd.c (data_injection): Function to inject LSA. This is
1108 debugging command.
1109
11102001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1111
1112 * ospf_route.c (ospf_route_match_same): Remove function.
1113 (ospf_route_match_same_new): Renamed to ospf_route_match_same.
1114
1115 * ospf_zebra.c (ospf_interface_address_delete): Add check for
1116 oi->address. Suggested by Matthew Grant
1117 <grantma@anathoth.gen.nz>.
1118 (ospf_zebra_add): Remove function.
1119 (ospf_zebra_add_multipath): Rename to ospf_zebra_add.
1120
1121 * ospf_interface.c: Remove HAVE_IF_PSEUDO part.
1122
1123 * ospf_zebra.c: Likewise.
1124
11252001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1126
1127 * ospf_ase.c: Remove OLD_RIB part.
1128
1129 * ospf_route.c: Likewise.
1130
1131 * zebra-0.90 is released.
1132
1133 * ospf_packet.c (ospf_recv_packet): Use ip_len adjestment code to
1134 NetBSD.
1135
11362001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1137
1138 * ospf_route.c (ospf_route_delete): Use
1139 ospf_zebra_delete_multipath.
1140
11412001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1142
1143 * ospf_interface.c (ospf_if_cleanup): Function name is renamed
1144 from ospf_if_free(). Rewrite whole procudure to support primary
1145 address deletion.
1146
1147 * ospf_zebra.c (ospf_interface_address_delete): Add primary
1148 address deletion process.
1149
11502001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1151
1152 * ospf_packet.c (ospf_recv_packet): OpenBSD has same ip_len
1153 treatment like FreeBSD.
1154
11552001-01-09 endo@suri.co.jp (Masahiko Endo)
1156
1157 * ospf_packet.c (ospf_recv_packet): FreeBSD kernel network code
1158 strips IP header size from receiving IP Packet. So we adjust
1159 ip_len to whole IP packet size by adding IP header size.
1160
11612001-01-08 endo@suri.co.jp (Masahiko Endo)
1162
1163 * ospf_network.c (ospf_serv_sock): When socket() is failed return
1164 immediately.
1165 (ospf_serv_sock): Close socket when it is not used.
1166
1167 * ospf_packet.c (ospf_write): Set sin_len when HAVE_SIN_LEN is
1168 defined.
1169 (ospf_write): When bind is fined, close sock.
1170
11712001-01-07 Gleb Natapov <gleb@nbase.co.il>
1172
1173 * ospf_zebra.c (ospf_interface_state_up): Fixes coredump that
1174 appears when you try to configure bandwidth on the ppp interface
1175 that is not yet configured in ospfd.
1176
11772001-01-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1178
1179 * ospf_route.c (show_ip_ospf_route_external): "show ip ospf route"
1180 will print nexthops for AS-external routes.
1181
1182 * ospf_ase.c (ospf_ase_route_match_same): New function to compare
1183 ASE route under multipath environment.
1184 (ospf_ase_compare_tables): Likewise.
1185
11862001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1187
1188 * ospfd.h (OSPF_VTYSH_PATH): Change "/tmp/ospfd" to "/tmp/.ospfd".
1189
11902000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1191
1192 * ospf_route.c (ospf_route_install): Install multipath information
1193 to zebra daemon.
1194
1195 * ospf_zebra.c (ospf_zebra_add_multipath): Function for passing
1196 multipath information to zebra daemon.
1197
11982000-12-25 Dick Glasspool <dick@ipinfusion.com>
1199
1200 * ospf_packet.c (ospf_write): Call ospf_packet_delete when sendto
1201 fail.
1202 (DISCARD_LSA): Add argument N for logging point of DISCARD_LSA is
1203 called.
1204
1205 * ospf_lsa.c (ospf_external_lsa_refresh): NSSA install_flood will
1206 leave Type-7 LSA at Lock Count = 2.
1207
1208 * ospf_flood.c (ospf_flood_through): Flood_though_as updated for
1209 NSSA no P-bit off during Area flooding, but P-bit is turned off
1210 for mulitple NSSA AS flooding.
1211
1212 * ospf_ase.c (ospf_ase_calculate_timer): Added calculations for
1213 Type-7 LSDB.
1214
1215 * ospf_abr.c (ospf_abr_translate_nssa): Removed one unlock call.
1216 (ospf_abr_announce_nssa_defaults): Corrected Debug from EVENT to
1217 NSSA.
1218
12192000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1220
1221 * ospf_zebra.c (ospf_zebra_read_ipv4): Checking the age of the
1222 found LSA and if the LSA is MAXAGE we should call refresh instead
1223 of originate.
1224
12252000-12-18 Dick Glasspool <dick@ipinfusion.com>
1226
1227 * ospf_abr.c: Removed redundant "...flood" in
1228 announce_network_to_area(). Repaired nssa Unlock by using
1229 discard.
1230
1231 * ospf_packet.c: Removed old NSSA translate during mk_ls_update.
1232
1233 * ospfd.c: Free up all data bases including NSSA.
1234
1235 * ospf_lsa.c: Now allow removal of XLATE LSA's Check in
1236 discard_callback. Added routine to get ip addr from within the
1237 ifp.
1238
1239 * ospf_flood.c: Now set Forward Address for outgoing Type-7.
1240
1241 * ospf_lsa.h: Added prototype for the below. struct in_addr
1242 ospf_get_ip_from_ifp (struct interface *ifp).
1243
12442000-12-14 Gleb Natapov <gleb@nbase.co.il>
1245
1246 * ospf_packet.c (ospf_recv_packet): New OSPF pakcet read method.
1247 Now maximum packet length may be 65535 bytes (maximum IP packet
1248 length).
1249
1250 * ospf_interface.c (ospf_if_stream_set): Don't make input buffer.
1251
1252 * ospfd.c (config_write_network_area): Remove unnecessary area
1253 lookup code.
1254
12552000-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1256
1257 * ospf_packet.c (ospf_read): Accept packet bigger than MTU value.
1258
12592000-12-13 Gleb Natapov <gleb@nbase.co.il>
1260
1261 * ospfd.c (config_write_network_area): Fix bug in
1262 config_write_network_area function.
1263
12642000-12-12 Gleb Natapov <gleb@nbase.co.il>
1265
1266 * ospf_abr.c (ospf_abr_announce_network_to_area): Make Summary
1267 LSA's origination and refreshment as same as other type of LSA.
1268
1269 * ospf_lsa.c (ospf_summary_lsa_refresh): Return struct ospf_lsa *.
1270
1271 * ospf_lsa.c (ospf_summary_asbr_lsa_refresh): Likewise.
1272
12732000-12-08 Dick Glasspool <dick@ipinfusion.com>
1274
1275 The bulk of NSSA changes are contained herein; This version will
1276 require manual setting of "always" for NSSA Translator, and will
1277 not perform aggregation yet.
1278
1279 * ospf_dump.c: "debug ospf nssa" is added.
1280
1281 * ospf_dump.h: Likewise.
1282
1283 * ospf_packet.c (ospf_hello): Display router ID on Bad NSSA Hello.
1284
1285 * ospfd.c: Discard_LSA to stay away from LOCAL_XLT Process NSSA
1286 'never, candidate, always'. Change "suppress" to "not-advertise".
1287
1288 * ospfd.h: Add TranslatorRole to struct ospf_area. Add anyNSSA to
1289 struct ospf.
1290
1291 * ospf_ase.c (ospf_ase_calculate_route): External to stay away
1292 from LOCAL_XLT
1293
1294 * ospf_nsm.c (ospf_db_summary_add): External to stay away from
1295 LOCAL_XLT
1296
1297 * ospf_abr.c: Major logic added for abr_nssa_task(). If ABR, and
1298 NSSA translator, then do it. Approve the global list, and flush
1299 any unapproved.
1300
1301 * ospf_lsa.h: New LSA flag OSPF_LSA_LOCAL_XLT to indicate that the
1302 Type-5 resulted from a Local Type-7 translation; not used for
1303 flooding, but used for flushing.
1304
1305 * ospf_flood.c: New NSSA flooding.
1306
13072000-12-08 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1308
1309 * ospfd.c (ospf_find_vl_data): New function for looking up virtual
1310 link data.
1311 (ospf_vl_set_security): Virtual link configuration with
1312 authentication.
1313 (ospf_vl_set_timers): Set timers for virtual link.
1314
1315 * New commands are added.
1316 "area A.B.C.D virtual-link A.B.C.D"
1317 "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>"
1318 "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"
1319 "area A.B.C.D virtual-link A.B.C.D authentication-key AUTH_KEY"
1320 "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"
1321 "area A.B.C.D virtual-link A.B.C.D message-digest-key <1-255> md5 KEY"
1322
1323 * ospf_packet.c (ospf_check_md5_digest): Add neighbor's
1324 cryptographic sequence number treatment.
1325 (ospf_check_auth): OSPF input buffer is added to argument.
1326 (ospf_read): Save neighbor's cryptographic sequence number.
1327
1328 * ospf_nsm.c (nsm_change_status): Clear cryptographic sequence
1329 number when neighbor status is changed to NSM down.
1330
1331 * ospf_neighbor.c (ospf_nbr_new): Set zero to crypt_seqnum.
1332
1333 * ospf_neighbor.h (struct ospf_neighbor): Add cryptographic
1334 sequence number to neighbor structure.
1335
13362000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1337
1338 * ospf_snmp.c (ospfIfLookup): OSPF MIB updates.
1339 (ospfExtLsdbEntry): Add OspfExtLsdbTable treatment.
1340
13412000-11-28 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1342
1343 * ospfd.c (ospf_interface_down): Clear a ls_upd_queue queue of the
1344 interface.
1345 (ospf_ls_upd_queue_empty): New function to empty ls update queue
1346 of the OSPF interface.
1347 (no_router_ospf): 'no router ospf' unregister redistribution
1348 requests from zebra.
1349
13502000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1351
1352 * ospf_ism.c (ism_change_status): Increment status change number.
1353
1354 * ospf_interface.h (struct ospf_interface): Add new member for
1355 status change statistics.
1356
1357 * Makefile.am: Update dependencies.
1358
1359 * ospf_zebra.c (ospf_interface_add): OSPF SNMP interface update.
1360 (ospf_interface_delete): OSPF SNMP interface delete.
1361
1362 * ospf_snmp.h: New file is added.
1363
13642000-11-23 Dick Glasspool <dick@ipinfusion.com>
1365
1366 * ospfd.h: Add new ospf_area structure member for
1367 NSSATranslatorRole and NSSATranslator state.
1368
1369 * ospfd.c: Provided for eventual commands to specify NSSA
1370 elections for "translator- ALWAYS/NEVER/CANDIDATE". Provided for
1371 decimal integer version of area-suppress.
1372
1373 * ospf_flood.c: Flood Type-7's only into NSSA (not AS).
1374
1375 * ospf_lsa.c: Undo some previous changes for NSSA. If NSSA
1376 translator, advertise Nt bit.
1377
1378 * ospf_route.c: 1st version of "sh ip os border-routers".
1379
13802000-11-23 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1381
1382 * ospfd.c (area_vlink): Virtual link can not configured in stub
1383 area.
1384
13852000-11-23 Gleb Natapov <gleb@nbase.co.il>
1386
1387 * ospf_packet.c (ospf_db_desc): In states Loading and Full the
1388 slave must resend its last Database Description packet in response
1389 to duplicate Database Description packets received from the
1390 master. For this reason the slave must wait RouterDeadInterval
1391 seconds before freeing the last Database Description packet.
1392 Reception of a Database Description packet from the master after
1393 this interval will generate a SeqNumberMismatch neighbor
1394 event. RFC2328 Section 10.8
1395 (ospf_make_db_desc): DD Master flag treatment.
1396
1397 * ospf_nsm.c (nsm_twoway_received): Move DD related procedure to
1398 nsm_change_status().
1399 (nsm_bad_ls_req): Likewise.
1400 (nsm_adj_ok): Likewise.
1401 (nsm_seq_number_mismatch): Likewise.
1402 (nsm_oneway_received): Likewise.
1403
1404 * ospf_neighbor.h (struct ospf_neighbor): New structure member
1405 last_send_ts for timestemp when last Database Description packet
1406 was sent.
1407
1408 * ospf_nsm.c (ospf_db_desc_timer): Make it sure nbr->last_send is
1409 there. Call ospf_db_desc_resend() in any case.
1410
14112000-11-16 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1412
1413 * ospf_lsa.c (lsa_link_broadcast_set): When there is no DR on
1414 network (suppose you have only one router with interface priority
1415 0). It's router LSA does not contain the link information about
1416 this network.
1417
1418 * ospf_nsm.c (nsm_timer_set): When you change a priority of
1419 interface from/to 0 ISM_NeighborChange event should be scheduled
1420 in order to elect new DR/BDR on the network.
1421
1422 * ospf_interface.c (ip_ospf_priority): Likewise.
1423
1424 * ospf_flood.c (ospf_ls_retransmit_add): When we add some LSA into
1425 retransmit list we need to check whether the present old LSA in
1426 retransmit list is not more recent than the new
1427 one.
1428
14292000-11-09 Dick Glasspool <dick@ipinfusion.com>
1430
1431 * ospf_packet.c: Allows for NSSA Type-7 LSA's throughout the NSSA
1432 area. Any that exit the NSSA area are translated to type-5 LSA's.
1433 The instantiated image is restored after translation.
1434 (ospf_ls_upd_send_list): Renamed to ospf_ls_upd_queu_send().
1435 (ospf_ls_upd_send): Old function which enclosed by #ifdef 0 is
1436 removed.
1437 (ospf_ls_ack_send): Likewise.
1438
1439 * ospf_flood.c: NSSA-LSA's without P-bit will be restricted to
1440 local area. Otherwise they are allowed out the area to be
1441 translated by ospf_packet.c.
1442
1443 * ospf_lsa.c: Undo some previous changes for NSSA.
1444
1445 * ospf_lsdb.h: New access for type 7.
1446
14472000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1448
1449 * ospf_route.c (ospf_path_exist): New function to check nexthop
1450 and interface are in current OSPF path or not.
1451 (ospf_route_copy_nexthops_from_vertex): Add nexthop to OSPF path
1452 when it is not there. Reported by Michael Rozhavsky
1453 <mrozhavsky@opticalaccess.com>
1454
14552000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1456
1457 * ospf_dump.c (config_write_debug): Add seventh string "detail" is
1458 added for flag is OSPF_DEBUG_SEND | OSPF_DEBUG_RECV |
1459 OSPF_DEBUG_DETAIL.
1460
14612000-11-06 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1462
1463 * ospf_lsa.c (router_lsa_flags): ASBR can't exit in stub area.
1464
14652000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1466
1467 * ospf_lsa.c (ospf_router_lsa_originate): Reduce unconditional
1468 logging.
1469
14702000-11-06 Dick Glasspool <dick@ipinfusion.com>
1471
1472 * ospfd.h: Add ait_ntoa function prototype.
1473
1474 * ospfd.c (ait_ntoa): New function for displaying area ID and
1475 Stub/NSSA status.
1476 (show_ip_ospf_interface_sub): Use ait_ntoa.
1477 (show_ip_ospf_nbr_static_detail_sub): Likewise.
1478 (show_ip_ospf_neighbor_detail_sub): Likewise.
1479
1480 * ospf_route.c (ospf_intra_route_add): Set external routing type
1481 to ospf route.
1482 (ospf_intra_add_router): Likewise.
1483 (ospf_intra_add_transit): Likewise.
1484 (ospf_intra_add_stub): Likewise.
1485 (ospf_add_discard_route): Likewise.
1486 (show_ip_ospf_route_network): Use ait_ntoa.
1487 (show_ip_ospf_route_network): Likewise.
1488 (show_ip_ospf_route_router): Likewise.
1489
1490 * ospf_lsa.c (show_lsa_detail): Use ait_ntoa.
1491 (show_lsa_detail_adv_router): Likewise.
1492 (show_ip_ospf_database_summary): Likewise.
1493
1494 * ospf_route.h (struct route_standard): Add new member
1495 external_routing.
1496
1497 * ospf_ia.c (process_summary_lsa): Set external routing tyep to ospf
1498 route.
1499 (ospf_update_network_route): Likewise.
1500 (ospf_update_router_route): Likewise.
1501
15022000-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1503
1504 * ospf_flood.c (ospf_process_self_originated_lsa): Enclose
1505 OSPF_AS_NSSA_LSA treatment with #ifdef HAVE_NSSA.
1506
15072000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1508
1509 * Unconditional logging is enclosed with if (IS_DEBUG_OSPF_EVENT).
1510 Please specify "debug ospf event" for enable logging.
1511
1512 * ospf_ism.c: Do not extern debug flag varible. It is done by
1513 ospf_debug.h
1514 * ospf_asbr.c: Likewise.
1515 * ospf_lsa.c: Likewise.
1516 * ospf_nsm.c: Likewise.
1517 * ospf_zebra.c: Likewise.
1518
1519 * ospf_dump.c (debug_ospf_event): New command "debug ospf event"
1520 is added.
1521
1522 * ospfd.c (router_ospf): Change logging from vty_out() to
1523 zlog_info().
1524 (ospf_area_stub_cmd): Likewise.
1525
1526 * ospf_dump.h: Extern term_debug flags.
1527 (OSPF_DEBUG_EVENT): Add new flag.
1528 (IS_DEBUG_OSPF_EVENT): Add new macro.
1529
15302000-11-03 Dick Glasspool <dick@ipinfusion.com>
1531
1532 * ospf_flood.c (ospf_process_self_originated_lsa):
1533 OSPF_AS_NSSA_LSA is treated as same as OSPF_AS_EXTERNAL_LSA.
1534 (ospf_flood): Type-5's have no change. Type-7's can be received,
1535 and will Flood the AS as Type-5's They will also flood the local
1536 NSSA Area as Type-7's. The LSDB will be updated as Type-5's, and
1537 during re-fresh will be converted back to Type-7's (if within an
1538 NSSA).
1539 (ospf_flood_through): Incoming Type-7's were allowed here if our
1540 neighbor was an NSSA. So Flood our area with the Type-7 and also
1541 if we are an ABR, flood thru AS as Type-5.
1542
1543 * ospf_lsa.c (ospf_external_lsa_refresh): Flood NSSA both NSSA
1544 area and other area.
1545
1546 * ospf_packet.c (ospf_db_desc_proc): When AS External LSA is
1547 exists in DD packet, make it sure that this area is not stub.
1548 (ospf_ls_upd_list_lsa): When LSA type is NSSA then set lsa's area
1549 to NULL.
1550 (ospf_ls_upd): If the LSA is AS External LSA and the area is stub
1551 then discard the lsa. If the LSA is NSSA LSA and the area is not
1552 NSSA then discard the lsa.
1553
15542000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1555
1556 * ospfd.c (ospf_interface_run): Fix bug of Hello packet's option
1557 is not properly set when interface comes up.
1558
15592000-11-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1560
1561 * ospfd.h (OSPF_OPTION_O): Add new hello header option.
1562
15632000-11-01 Dick Glasspool <dick@ipinfusion.com>
1564
1565 * ospf_lsa.h: Define OSPF_MAX_LSA to 8 when HAVE_NSSA is enabled.
1566 (OSPF_GROUP_MEMBER_LSA): Define OSPF_GROUP_MEMBER_LSA.
1567
1568 * ospf_lsa.c (show_database_desc): Add "Group Membership LSA"
1569 string.
1570
15712000-10-31 Dick Glasspool <dick@ipinfusion.com>
1572
1573 * ospf_lsa.h (OSPF_AS_NSSA_LSA): Define OSPF_AS_NSSA_LSA.
1574
1575 * ospf_lsa.c (show_ip_ospf_database): NSSA database display
1576 function is added. ALIASES which have "show ip ospf database
1577 nssa-external" is added.
1578 (show_ip_ospf_border_routers): New command "show ip ospf
1579 border-routers" is added.
1580
15812000-10-30 Dick Glasspool <dick@ipinfusion.com>
1582
1583 * ospfd.c (router_ospf): NSSA Enabled message is added for
1584 testing.
1585 (ospf_area_type_set): Are type set for NSSA area.
1586 (ospf_area_stub_cmd): Special translation of no_summary into NSSA
1587 and summary information. If NSSA is enabled pass the information
1588 to ospf_area_type_set().
1589 (area_nssa): New commands are added:
1590 "area A.B.C.D nssa"
1591 "area <0-4294967295> nssa"
1592 "area A.B.C.D nssa no-summary"
1593 "area <0-4294967295> nssa no-summary"
1594 (ospf_no_area_stub_cmd): Special translation of no_summary into
1595 NSSA and summary information. If external_routing is
1596 OSPF_AREA_NSSA unset area with ospf_area_type_set (area,
1597 OSPF_AREA_DEFAULT).
1598 (show_ip_ospf_area): Display NSSA status.
1599 (config_write_ospf_area): Show NSSA configuration.
1600
1601 * ospf_packet.c (ospf_hello): For NSSA support, ensure that NP is
1602 on and E is off.
1603
16042000-10-26 Gleb Natapov <gleb@nbase.co.il>
1605
1606 * ospf_lsa.c (ospf_network_lsa_body_set): The network-LSA lists
1607 those routers that are fully adjacent to the Designated Router;
1608 each fully adjacent router is identified by its OSPF Router ID.
1609 The Designated Router includes itself in this list. RFC2328,
1610 Section 12.4.2.
1611
16122000-10-23 Jochen Friedrich <jochen@scram.de>
1613
1614 * ospf_snmp.c: ospf_oid and ospfd_oid are used in smux_open after
1615 it is registered. So those variables must be static.
1616
16172000-10-18 K N Sridhar <sridhar@euler.ece.iisc.ernet.in>
1618
1619 * ospfd.c: Add area_default_cost_decimal_cmd and
1620 no_area_default_cost_decimal_cmd alias.
1621
16222000-10-05 Gleb Natapov <gleb@nbase.co.il>
1623
1624 * ospfd.c (ospf_network_new): Fix setting area format.
1625 (no_router_ospf): Check area existance when calling
1626 ospf_interface_down().
1627
1628 * ospf_flood.c (ospf_external_info_check): Fix bug of refreshing
1629 default route.
1630
16312000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1632
1633 * zebra-0.89 is released.
1634
16352000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1636
1637 * ospf_snmp.c (ospfHostEntry): OSPF Host MIB is implemented.
1638
1639 * ospfd.c (ospf_nbr_static_cmp): OSPF neighbor is sorted by it's
1640 address.
1641
16422000-09-28 Michael Rozhavsky <mike@nbase.co.il>
1643
1644 * ospf_interface.c (ospf_if_free): Fix deleting self neighbor twice.
1645
16462000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1647
1648 * ospf_packet.c (ospf_read): Solaris on x86 has ip_len with host
1649 byte order.
1650
16512000-09-25 Toshiaki Takada <takada@zebra.org>
1652
1653 * ospfd.c (ospf_compatible_rfc1583), (no_ospf_compatible_rfc1583):
1654 Add CISCO compatible command.
1655
16562000-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1657
1658 * ospf_abr.c (ospf_area_range_lookup): New function is added for
1659 area range lookup in OSPF-MIB.
1660 (ospf_area_range_lookup_next): Likewise.
1661
16622000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1663
1664 * ospfd.c (no_router_ospf): Delete virtual link before deleting
1665 area structure.
1666
1667 * ospf_lsa.c (ospf_external_lsa_refresh_type): Check
1668 EXTERNAL_INFO(type).
1669
1670 * ospfd.c (no_router_ospf): Call ospf_vl_delete() instead of
1671 ospf_vl_data_free().
1672
1673 * ospf_interface.c (ospf_vl_shutdown): Execute ISM_InterfaceDown
1674 when ospf_vl_shutdown is called.
1675 (ospf_vl_delete): Call ospf_vl_shutdown() to delete virtual link
1676 interface's thread.
1677
16782000-09-21 Gleb Natapov <gleb@nbase.co.il>
1679
1680 * ospf_lsa.c: New implementation of OSPF refresh.
1681
16822000-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1683
1684 * ospf_snmp.c (ospfLsdbLookup): Add LSDB MIB implementation.
1685
16862000-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1687
1688 * ospf_snmp.c (ospfStubAreaEntry): Add OSPF stub area MIB.
1689
16902000-09-18 Gleb Natapov <gleb@nbase.co.il>
1691
1692 * ospf_route.h (route_standard): Change member from `struct area'
1693 to area_id.
1694
1695 * ospf_abr.c (ospf_abr_announce_network), (ospf_abr_should_announce),
1696 (ospf_abr_process_network_rt), (ospf_abr_announce_rtr),
1697 (ospf_abr_process_router_rt):
1698 * ospf_ase.c (ospf_find_asbr_route),
1699 (ospf_find_asbr_router_through_area),
1700 * ospf_ia.c (ospf_find_abr_route), (ospf_ia_router_route),
1701 (process_summary_lsa), (ospf_update_network_route),
1702 (ospf_update_router_route):
1703 * ospf_route.c (ospf_intra_route_add), (ospf_intra_add_router),
1704 (ospf_intra_add_transit), (ospf_intra_add_stub),
1705 (ospf_route_table_dump), (show_ip_ospf_route_network),
1706 (show_ip_ospf_route_router), (ospf_asbr_route_cmp),
1707 (ospf_prune_unreachable_routers):
1708 * ospf_spf.c (ospf_rtrs_print):
1709 * ospfd.c (ospf_rtrs_free): Fix the struct change above.
1710
17112000-09-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1712
1713 * ospf_network.c (ospf_serv_sock_init): Enclose SO_BINDTODEVICE
1714 with ifdef.
1715
17162000-09-13 Gleb Natapov <gleb@nbase.co.il>
1717
1718 * ospf_ism.c (ospf_elect_dr), (ospf_elect_bdr): Fix DR election.
1719
1720 * ospf_network.c (ospf_serv_sock_init): Add socket option
1721 SO_BINDTODEVICE on read socket.
1722
1723 * ospf_packet.c (ospf_hello): Ignore Hello packet if E-bit does
1724 not match.
1725
1726 * ospfd.c (ospf_area_check_free), (ospf_area_get),
1727 (ospf_area_add_if): New function added.
1728
17292000-09-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1730
1731 * ospf_route.c (ospf_intra_add_router): Update ABR and ASBR router
1732 count.
1733
1734 * ospf_spf.c (ospf_spf_init): Rest ABR and ASBR router count
1735 starting SPF calculation.
1736
1737 * ospfd.h (struct ospf_area): Add ABR and ASBR router count.
1738
17392000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1740
1741 * ospfd.c (ospf_area_id_cmp): New area structure is sorted by area
1742 ID.
1743
1744 * ospf_lsa.c (ospf_router_lsa_originate): For OSPF MIB update
1745 lsa_originate_count.
1746 (ospf_network_lsa_originate): Likewise.
1747 (ospf_summary_lsa_originate): Likewise.
1748 (ospf_summary_asbr_lsa_originate): Likewise.
1749 (ospf_external_lsa_originate): Likewise.
1750
17512000-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1752
1753 * ospf_snmp.c (ospf_variables): ospfRouterID's type RouterID
1754 syntax is IpAddress.
1755 (ospf_admin_stat): New function for OSPF administrative status
1756 check.
1757
17582000-09-10 Jochen Friedrich <jochen@scram.de>
1759
1760 * ospf_snmp.c: Implement OSPF MIB skeleton.
1761
17622000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1763
1764 * ospf_snmp.c: New file is added.
1765
17662000-09-07 David Lipovkov <davidl@nbase.co.il>
1767
1768 * ospf_zebra.c (ospf_interface_delete): Add pseudo interface
1769 treatment.
1770
1771 * ospf_interface.c (interface_config_write): Likewise.
1772
17732000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1774
1775 * zebra-0.88 is released.
1776
17772000-08-17 Michael Rozhavsky <mike@nbase.co.il>
1778
1779 * ospfd.c (ospf_area_free): Remove virtual link configuration only
1780 when Area is removed.
1781
17822000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1783
1784 * ospfd.c (network_area): Revert check for EXTERNAL_INFO
1785 (ZEBRA_ROUTE_CONNECT).
1786 (no_network_area): Likewise.
1787
17882000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1789
1790 * ospfd.h (struct ospf): Add distance_table and
1791 distance_{all,intra,inter,external}.
1792
1793 * ospf_zebra.c: Add OSPF distance related functions.
1794
17952000-08-15 Gleb Natapov <gleb@nbase.co.il>
1796
1797 * ospf_asbr.c (ospf_external_info_find_lsa): New function added.
1798
1799 * ospf_lsa.c (ospf_default_external_info),
1800 (ospf_default_originate_timer), (ospf_external_lsa_refresh_default):
1801 New function added.
1802
1803 * ospf_zebra.c
1804 (ospf_default_information_originate_metric_type_routemap),
1805 (ospf_default_information_originate_always_metric_type_routemap):
1806 Change name and add route-map function.
1807 (ospf_default_information_originate_metric_routemap),
1808 (ospf_default_information_originate_routemap),
1809 (ospf_default_information_originate_type_metric_routemap):
1810 New DEFUN added.
1811
18122000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1813
1814 * ospf_zebra.c (zebra_interface_if_set_value): Change ifindex
1815 restore size from two octet to four.
1816
18172000-08-14 Michael Rozhavsky <mike@nbase.co.il>
1818
1819 * ospf_ase.c (ospf_ase_incremental_update): Implement incremental
1820 AS-external-LSA in 16.6 of RFC2328.
1821
18222000-08-14 Matthew Grant <grantma@anathoth.gen.nz>
1823
1824 * ospf_interface.c (ospf_if_get_output_cost): Change cost
1825 calculation algorithm.
1826
1827 * ospf_packet (ospf_ls_upd): Fix problem of LSA retransmitting.
1828
18292000-08-11 Michael Rozhavsky <mike@nbase.co.il>
1830
1831 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix maxage remover for
1832 AS-external-LSAs.
1833
18342000-08-10 Toshiaki Takada <takada@zebra.org>
1835
1836 * ospfd.c (auto_cost_reference_bandwidth): New DEFUN added.
1837 `auto-cost reference-bandwidth' OSPF router command added.
1838
18392000-08-08 Gleb Natapov <gleb@nbase.co.il>
1840
1841 * ospf_routemap.c (ospf_route_map_update): New function added.
1842 Add route-map event hook.
1843
18442000-08-08 Toshiaki Takada <takada@zebra.org>
1845
1846 * ospf_zebra.c (ospf_distribute_check_connected): If redistribute
1847 prefix is connected route on OSPF enabled interface, suppress to
1848 announce it.
1849
18502000-08-08 Matthew Grant <grantma@anathoth.gen.nz>
1851
1852 * ospf_interface.c (ospf_if_get_output_cost):
1853 New function added. Handle bandwidth parameter for cost
1854 calculation.
1855
18562000-08-08 Michael Rozhavsky <mike@nbase.co.il>
1857
1858 * ospf_interface.c (interface_config_write): Show interface
1859 configuration regardless interface is down.
1860
1861 * ospf_ase.c (ospf_ase_caocluate_route): Whole rewritten external
1862 route calculate function.
1863
18642000-08-08 Gleb Natapov <gleb@nbase.co.il>
1865
1866 * ospf_routemap.c: New file added.
1867
1868 * ospf_asbr.c (ospf_reset_route_map_set_values),
1869 (ospf_route_map_set_compare): New function added.
1870
1871 * ospf_lsa.c (ospf_external_lsa_body_set): Set routemap metric
1872 with AS-external-LSA.
1873
18742000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1875
1876 * ospf_ase.c (ospf_ase_calculate_route_add): Pass new->cost to
1877 ospf_zebra_add as metric.
1878 (ospf_ase_calculate_route_add): Likewise.
1879
1880 * ospf_route.c (ospf_route_install): Pass or->cost to
1881 ospf_zebra_add as metric.
1882
1883 * ospf_zebra.c (ospf_zebra_add): Add metric arguemnt.
1884 (ospf_zebra_delete): Likewise.
1885
18862000-08-03 Matthew Grant <grantma@anathoth.gen.nz>
1887
1888 * ospf_flood.c (ospf_flood_delayed_lsa_ack): New function added.
1889 Dispatch delayed-ACK with flooding AS-external-LSA across virtual
1890 link.
1891
18922000-07-31 Matthew Grant <grantma@anathoth.gen.nz>
1893
1894 * ospfd.c (show_ip_ospf_area): Fix lack of VTY_NEWLINE when
1895 `show ip ospf'.
1896
1897 * ospf_interface.c (ospf_if_free): Fix bug of crash with
1898 Point-to-Point interface.
1899
19002000-07-27 Michael Rozhavsky <mike@nbase.co.il>
1901
1902 * ospf_flood.c (ospf_process_self_originated_lsa):
1903 Make sure to clear LSA->param (redistributed external information)
1904 before refreshment.
1905
19062000-07-27 Gleb Natapov <gleb@nbase.co.il>
1907
1908 * ospfd.c (refresh_group_limit), (refresh_per_slice),
1909 (refresh_age_diff): New defun added. Refresher related parameter
1910 can be configurable.
1911
19122000-07-27 Akihiro Mizutani <mizutani@dml.com>
1913
1914 * ospf_interface.c (interface_config_write): Print `description'
1915 config directive to work.
1916
19172000-07-24 Akihiro Mizutani <mizutani@dml.com>
1918
1919 * ospf_interface.c (ospf_if_init): Use install_default for
1920 INTERFACE_NODE.
1921
19222000-07-24 Gleb Natapov <gleb@nbase.co.il>
1923
1924 * ospf_packet.c (ospf_ls_upd_send_list), (ospf_ls_upd_send_event),
1925 (ospf_ls_ack_send_list), (ospf_ls_ack_send_event): New function added.
1926 This make sending always as many LS update/Ack combined in one ospf
1927 packet.
1928
19292000-07-24 Gleb Natapov <gleb@nbase.co.il>
1930
1931 * ospf_packet.c (ospf_ls_upd_list_lsa): Set NULL to lsa->area if
1932 LSA is AS-external-LSA.
1933
1934 * ospf_nsm.c (nsm_reset_nbr): Do not cancel Inactivity timer.
1935
19362000-07-21 Toshiaki Takada <takada@zebra.org>
1937
1938 * ospf_zebra.c (ospf_default_originate_timer): Set timer for
1939 `default-information originate'. Fix some default originate
1940 related functions.
1941
19422000-07-12 Toshiaki Takada <takada@zebra.org>
1943
1944 * ospf_lsa.c (stream_put_ospf_metric): New function added.
1945
19462000-07-12 Toshiaki Takada <takada@zebra.org>
1947
1948 * ospf_lsa.c (show_ip_ospf_database_router),
1949 (show_ip_ospf_database_network), (show_ip_ospf_database_summary),
1950 (show_ip_ospf_database_summary_asbr), (show_ip_ospf_database_externel),
1951 (show_router_lsa), (show_any_lsa), (show_router_lsa_self),
1952 (show_any_lsa_self): Functions removed.
1953
1954 (show_lsa_prefix_set), (show_lsa_detail_proc), (show_lsa_detail),
1955 (show_lsa_detail_adv_router_proc), (show_lsa_detail_adv_router):
1956 New functions added. Replace above functions.
1957
1958 (show_ip_ospf_database_all), (show_ip_ospf_database_self_originated):
1959 Functions removed.
1960 (show_ip_ospf_database_summary): New functions added. Replace
1961 above functions.
1962
1963 (show_ip_ospf_database_cmd): DEFUN rearranged.
1964 (show_ip_ospf_database_type_id_cmd),
1965 (show_ip_ospf_database_type_id_adv_router_cmd),
1966 (show_ip_ospf_database_type_is_self_cmd): New ALIASes added.
1967 (show_ip_ospf_database_type_adv_rotuer_cmd): New DEFUN added.
1968 (show_ip_ospf_database_type_self_cmd): New ALIAS added.
1969
19702000-07-11 Toshiaki Takada <takada@zebra.org>
1971
1972 * ospf_asbr.c (ospf_external_info_new),
1973 (ospf_external_info_free): New functions added.
1974
1975 * ospf_lsa.h (ospf_lsa): Add new member `void *param' to set
1976 origination parameter for external-LSA.
1977 Remove member `redistribute'.
1978
1979 * ospf_zebra.c (ospf_redistirbute_set): When `redistribute'
1980 command executed, metric and metric-type values are overridden.
1981 If one of those is changed refresh AS-external-LSAs for appropriate
1982 type.
1983
19842000-07-11 Michael Rozhavsky <mike@nbase.co.il>
1985
1986 * ospf_lsa.c (ospf_summary_lsa_refresh),
1987 (ospf_summary_asbr_lsa_refresh): Make sure to refresh summary-LSAs.
1988
1989 * ospf_abr.c (set_metric): New function added.
1990
19912000-07-07 Toshiaki Takada <takada@zebra.org>
1992
1993 * ospf_zebra.c (ospf_default_information_originate_metric_type),
1994 (ospf_default_information_originate_type_metric): New defun added.
1995 Metic and Metric type can be set to default route.
1996 (ospf_default_information_originate_always_metric_type):
1997 (ospf_default_information_originate_always_type_metric):
1998 New defun added. Metric and Metric type can be set to default
1999 always route.
2000
2001 * ospf_zebra.c (ospf_default_metric), (no_ospf_default_metric):
2002 New defun added.
2003
20042000-07-06 Gleb Natapov <gleb@nbase.co.il>
2005
2006 * ospf_flood.c (ospf_flood_through_area): Fix bug of considering
2007 on the same interface the LSA was received from.
2008
20092000-07-06 Michael Rozhavsky <mike@nbase.co.il>
2010
2011 * ospfd.c (ospf_config_write): Fix bug of printing `area stub'
2012 command with `write mem'.
2013
2014 * ospfd.c (no_router_ospf): Remove installed routes from zebra.
2015
2016 * ospf_zebra.c (ospf_interface_delete): Fix function to handle
2017 zebra interface delete event.
2018
20192000-07-06 Toshiaki Takada <takada@zebra.org>
2020
2021 * ospf_zebra.c (ospf_default_information_originate),
2022 (ospf_default_information_originate_always): New DEFUN added.
2023
20242000-07-05 Michael Rozhavsky <mike@nbase.co.il>
2025
2026 * ospf_route.c (ospf_terminate): Make sure to remove external route
2027 when SIGINT received.
2028
20292000-07-03 Gleb Natapov <gleb@nbase.co.il>
2030
2031 * ospf_flood.c, ospf_ism.c, ospf_lsa,c, ospfd.c: Make sure to free
2032 many structure with `no router ospf'.
2033
20342000-06-30 Gleb Natapov <gleb@nbase.co.il>
2035
2036 * ospf_neighbor.c (ospf_nbr_new),
2037 ospf_nsm.c (nsm_timer_set): Start LS update timer only
2038 when neighbor enters Exchange state.
2039
20402000-06-29 Gleb Natapov <gleb@nbase.co.il>
2041
2042 * ospf_nsm.c (nsm_timer_set), (nsm_exchange_done),
2043 ospf_packet.c (ospf_db_desc_proc):
2044 Do not cancel DD retransmit timer when Master.
2045
20462000-06-29 Gleb Natapov <gleb@nbase.co.il>
2047
2048 * ospf_abr.c (ospf_abr_announce_network_to_area),
2049 (ospf_abr_announce_rtr_to_area)
2050 ospf_ase.c (ospf_ase_rtrs_register_lsa),
2051 ospf_flood.c (ospf_process_self_originated_lsa),
2052 (ospf_flood_through_area), (ospf_ls_request_delete),
2053 ospf_interface.c (ospf_if_free),
2054 ospf_ism.c (ism_change_status),
2055 ospf_lsa.c (ospf_router_lsa_update_timer),
2056 (ospf_router_lsa_install), (ospf_network_lsa_install),
2057 (ospf_lsa_maxage_delete), (ospf_lsa_action),
2058 (ospf_schedule_lsa_flood_area),
2059 ospf_nsm.c (nsm_change_status),
2060 ospf_packet.c (ospf_make_ls_req_func), (ospf_make_ls_ack):
2061 Use ospf_lsa_{lock,unlock} for all looking-up of LSA.
2062
2063 * ospf_flood.c (ospf_ls_request_free): Function deleted.
2064
2065 * ospf_lsa.c (ospf_discard_from_db): New function added.
2066
20672000-06-26 Toshiaki Takada <takada@zebra.org>
2068
2069 * ospfd.h (ospf): struct member `external_lsa' name changed to
2070 `lsdb'.
2071
20722000-06-26 Toshiaki Takada <takada@zebra.org>
2073
2074 * ospf_lsa.c (ospf_lsa_install), (ospf_router_lsa_install),
2075 (ospf_network_lsa_install), (ospf_summary_lsa_install),
2076 (ospf_summary_asbr_lsa_install), (ospf_external_lsa_install):
2077 Functions re-arranged.
2078
2079 * ospf_lsa.c (IS_LSA_MAXAGE), (IS_LSA_SELF): Macro added.
2080
20812000-06-20 Michael Rozhavsky <mike@nbase.co.il>
2082
2083 * ospf_packet.c (ospf_ls_req), (ospf_ls_upd), (ospf_ls_ack): Add
2084 verification of LS type.
2085
20862000-06-20 Gleb Natapov <gleb@nbase.co.il>
2087
2088 * ospf_ase.c (ospf_ase_calculate_timer): Add more sanity check
2089 whether rn->info is NULL.
2090
20912000-06-20 Toshiaki Takada <takada@zebra.org>
2092
2093 * ospfd.c (show_ip_ospf_interface_sub): Show Router-ID of both
2094 DR and Backup correctly with `show ip ospf interface' command.
2095
20962000-06-20 Toshiaki Takada <takada@zebra.org>
2097
2098 * ospf_lsa.c (ospf_lsa_lock), (ospf_lsa_unlock),
2099 (ospf_lsa_discard): These functions are used for avoiding
2100 unexpected reference to freed LSAs.
2101
21022000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2103
2104 * ospf_packet.c (ospf_ls_upd): Initialize lsa by NULL to avoid
2105 warning.
2106
21072000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2108
2109 * ospf_ase.h (ospf_ase_rtrs_register_lsa): Add prototype.
2110
21112000-06-12 Toshiaki Takada <takada@zebra.org>
2112
2113 * ospf_lsa.c (ospf_external_lsa_install): Make sure to register
2114 LSA to rtrs_external when replacing AS-external-LSAs in LSDB.
2115 Fix core dump.
2116
21172000-06-10 Toshiaki Takada <takada@zebra.org>
2118
2119 * ospf_lsdb.c (id_to_prefix), (ospf_lsdb_hash_key),
2120 (ospf_lsdb_hash_cmp), (ospf_lsdb_new), (ospf_lsdb_iterator),
2121 (lsdb_free), (ospf_lsdb_free), (ospf_lsdb_add), (ospf_lsdb_delete),
2122 (find_lsa), (ospf_lsdb_lookup), (find_by_id),
2123 (ospf_lsdb_lookup_by_id), (ospf_lsdb_lookup_by_header): Functinos
2124 removed for migration to new_lsdb.
2125
2126 * ospf_lsa.c (ospf_summary_lsa_install),
2127 (ospf_summary_asbr_lsa_install), (ospf_maxage_lsa_remover),
2128 (ospf_lsa_maxage_walker), (ospf_lsa_lookup),
2129 (ospf_lsa_lookup_by_id): Use new_lsdb instead of ospf_lsdb.
2130 (count_lsa), (ospf_lsa_count_table), (ospf_lsa_count),
2131 (ospf_get_free_id_for_prefix): Funcitions removed.
2132
21332000-06-09 Gleb Natapov <gleb@nbase.co.il>
2134
2135 * ospf_ism.c (ism_interface_down): Prevent some unneeded DR changes.
2136
2137 * ospf_packet.c (ospf_db_desc_proc): Fix memory leak.
2138 (ospf_hello): Always copy router-ID when hello is received.
2139
21402000-06-08 Gleb Natapov <gleb@nbase.co.il>
2141
2142 * ospf_lsa.h (struct ospf_lsa): Add member of pointer to struct
2143 ospf_area.
2144
21452000-06-08 Michael Rozhavsky <mike@nbase.co.il>
2146
2147 * ospf_ase.c (ospf_asbr_route_same): New function added.
2148 This function makes sure external route calculation more
2149 precisely.
2150
21512000-06-07 Michael Rozhavsky <mike@nbase.co.il>
2152
2153 * ospf_ism.c (ism_change_status): Use ospf_lsa_flush_area for
2154 network-LSA deletion instead of using ospf_lsdb_delete.
2155 Also cancel network-LSA origination timer.
2156
21572000-06-07 Levi Harper <lharper@kennedytech.com>
2158
2159 * ospf_interface.c (ospf_if_down): Close read fd when an interface
2160 goes down.
2161
21622000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2163
2164 * ospf_asbr.c (ospf_external_info_lookup): Add explicit brace for
2165 avoid ambiguous else.
2166
2167 * ospf_flood.c (ospf_external_info_check): Likewise.
2168
21692000-06-05 Toshiaki Takada <takada@zebra.org>
2170
2171 * ospf_nsm.c (nsm_adj_ok): Fix bug of DR election.
2172
21732000-06-04 Toshiaki Takada <takada@zebra.org>
2174
2175 * ospf_zebra.c (ospf_default_information_originate),
2176 (no_ospf_default_information_originate): New DEFUN added.
2177
21782000-06-03 Toshiaki Takada <takada@zebra.org>
2179
2180 * ospf_lsa.h, ospf_asbr.h (external_info): Struct moved from
2181 ospf_lsa.h to ospf_asbr.h.
2182
2183 * ospf_lsa.c, ospf_asbr.c (ospf_external_info_add),
2184 (ospf_external_info_delete): Function moved from ospf_lsa.c
2185 to ospf_asbr.c.
2186
21872000-06-03 Toshiaki Takada <takada@zebra.org>
2188
2189 * ospf_flood.c (ospf_external_info_check): New function added.
2190 (ospf_process_self_orignated_lsa): Make sure to flush
2191 self-originated AS-external-LSA, when router reboot and no longer
2192 originate those AS-external-LSA.
2193
21942000-06-02 Toshiaki Takada <takada@zebra.org>
2195
2196 * ospf_network.c (ospf_serv_sock): Remove SO_DONTROUTE
2197 socket option.
2198
2199 * ospf_packet.c (ospf_write): Set MSG_DONTROUTE flag for
2200 unicast destination packets.
2201
22022000-06-02 Toshiaki Takada <takada@zebra.org>
2203
2204 * ospf_lsdb.c (new_lsdb_delete): Delete entry from LSDB only when
2205 specified LSA matches.
2206
22072000-06-02 Gleb Natapov <gleb@nbase.co.il>
2208
2209 * ospf_network.c (ospf_serv_sock): Set SO_DONTROUTE
2210 socket option.
2211
22122000-06-01 Akihiro Mizutani <mizutani@dml.com>
2213
2214 * ospf_dump.c: Replace string `Debugging functions\n' with DEBUG_STR.
2215 Replace string `OSPF information\n' with OSPF_STR.
2216
22172000-06-01 Toshiaki Takada <takada@zebra.org>
2218
2219 * ospf_lsdb.[ch]: Use new_lsdb struct for network-LSA instead of
2220 ospf_lsdb.
2221
22222000-06-01 Toshiaki Takada <takada@zebra.org>
2223
2224 * ospf_dump.c (config_debug_ospf_packet), (config_debug_ospf_event),
2225 (config_debug_ospf_ism), (config_debug_ospf_nsm),
2226 (config_debug_ospf_lsa), (config_debug_ospf_zebra),
2227 (term_debug_ospf_packet), (term_debug_ospf_event),
2228 (term_debug_ospf_ism), (term_debug_ospf_nsm),
2229 (term_debug_ospf_lsa), (term_debug_ospf_zebra): Repalce debug_ospf_*
2230 variable to use for debug option flags.
2231
2232 (debug_ospf_packet), (debug_ospf_ism), (debug_ospf_nsm),
2233 (debug_ospf_lsa), (debug_ospf_zebra): Set {config,term}_debug_*
2234 flags when vty->node is CONFIG_NODE, otherwise set only term_debug_*
2235 flags.
2236
2237 * ospf_dump.h (CONF_DEBUG_PACKET_ON), (CONF_DEBUG_PACKET_OFF),
2238 (TERM_DEBUG_PACKET_ON), (TERM_DEBUG_PACKET_OFF),
2239 (CONF_DEBUG_ON), (CONF_DEBUG_OFF), (IS_CONF_DEBUG_OSPF_PACKET),
2240 (IS_CONF_DEBUG_OSPF): New Macro added.
2241
22422000-05-31 Toshiaki Takada <takada@zebra.org>
2243
2244 * ospfd.c (clear_ip_ospf_neighbor): New DEFUN added.
2245 Currently this command is used for only debugging.
2246
2247 * ospf_nsm.c (nsm_change_status): Make sure thread cancellation
2248 for network-LSA when DR has no full neighbors.
2249
2250 * ospf_nsm.c (ospf_db_summary_clear): New function added.
2251
22522000-05-30 Toshiaki Takada <takada@zebra.org>
2253
2254 * ospf_lsdb.c (new_lsdb_insert): LSAs are always freed by
2255 maxage_lsa_remover when LSA is replaced.
2256
22572000-05-25 Gleb Natapov <gleb@nbase.co.il>
2258
2259 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all): Add argument
2260 `struct ospf_area' to remove LSA from Link State retransmission list
2261 of neighbor from only one Area.
2262
22632000-05-24 Michael Rozhavsky <mike@nbase.co.il>
2264
2265 * ospf_lsdb.c (ospf_lsdb_add): Preserve flags field when
2266 overriting old LSA with new LSA.
2267
22682000-05-24 Gleb Natapov <gleb@nbase.co.il>
2269
2270 * ospf_lsa.c (ospf_router_lsa_body_set): Fix bug of router-LSA
2271 size calculation.
2272
22732000-05-22 Michael Rozhavsky <mike@nbase.co.il>
2274
2275 * ospf_route.c (ospf_intra_add_stub):
2276 * ospf_spf.h (struct vertex): Use u_int32_t for distance (cost)
2277 value instead of u_int16_t.
2278
22792000-05-22 Axel Gerlach <agerlach@datus.datus.com>
2280
2281 * ospf_ia.c (ospf_ia_network_route): Fix bug of Inter-area route
2282 equal cost path calculation.
2283
22842000-05-21 Toshiaki Takada <takada@zebra.org>
2285
2286 * ospf_ase.c (ospf_ase_calculate_route_delete): New function added.
2287 Make sure, when rotuer route is deleted, related external routes
2288 are also deleted.
2289
22902000-05-20 Toshiaki Takada <takada@zebra.org>
2291
2292 * ospfd.c (ospf_interface_down): Make sure interface flag is disable
2293 and set fd to -1.
2294
22952000-05-16 Toshiaki Takada <takada@zebra.org>
2296
2297 * ospf_asbr.c (ospf_asbr_should_announce), (ospf_asbr_route_remove):
2298 Functions removed.
2299
2300 * ospfd.h (EXTERNAL_INFO): Macro added.
2301 Substitute `ospf_top->external_info[type]' with it.
2302
23032000-05-16 Toshiaki Takada <takada@zebra.org>
2304
2305 * ospf_lsa.c (ospf_rtrs_external_remove): New function added.
2306
23072000-05-14 Gleb Natapov <gleb@nbase.co.il>
2308
2309 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all)
2310 * ospf_lsdb.c (new_lsdb_insert)
2311 * ospf_packet.c (ospf_ls_ack): Fix database synchonization problem.
2312
23132000-05-14 Gleb Natapov <gleb@nbase.co.il>
2314
2315 * ospf_lsa.h (tv_adjust), (tv_ceil), (tv_floor), (int2tv),
2316 (tv_add), (tv_sub), (tv_cmp): Prototype definition added.
2317
2318 * ospf_nsm.h (ospf_db_summary_delete_all): Prototype definition added.
2319
23202000-05-13 Toshiaki Takada <takada@zebra.org>
2321
2322 * ospf_lsa.[ch] (ospf_lsa): struct timestamp type is changed from
2323 time_t to struct timeval.
2324 (tv_adjust), (tv_ceil), (tv_floor), (int2tv), (tv_add),
2325 (tv_sub), (tv_cmp): timeval utillity functions added.
2326
23272000-05-12 Toshiaki Takada <takada@zebra.org>
2328
2329 * ospf_lsa.[ch] (ospf_schedule_update_router_lsas): Delete function.
2330 Change to use macro OSPF_LSA_UPDATE_TIMER instead of using
2331 this function.
2332 router-LSA refresh timer related stuff is re-organized.
2333
23342000-05-10 Gleb Natapov <gleb@nbase.co.il>
2335
2336 * ospf_interface.c (ospf_vl_set_params):
2337 * ospf_packet.c (ospf_check_network_mask):
2338 * ospf_spf.[ch] (ospf_spf_next):
2339 Remove field address from `struct vertex', and search for peer
2340 address of virtual link in function `ospf_vl_set_params' instead.
2341
23422000-05-10 Gleb Natapov <gleb@nbase.co.il>
2343
2344 * ospf_packet.c (ospf_ls_upd): Fix some memory leak related LSA.
2345
23462000-05-08 Thomas Molkenbur <tmo@datus.com>
2347
2348 * ospf_packet.c (ospf_packet_dup): Replace ospf_steram_copy()
2349 with ospf_stream_dup() to fix memory leak.
2350
23512000-05-08 Michael Rozhavsky <mike@nbase.co.il>
2352
2353 * ospf_flood.c (ospf_flood_through_area): Fix the problem of
2354 LSA update without DROther.
2355
23562000-05-04 Gleb Natapov <gleb@nbase.co.il>
2357
2358 * ospf_spf.c (ospf_vertex_free): Fix memory leak of SPF calculation.
2359
23602000-05-03 Toshiaki Takada <takada@zebra.org>
2361
2362 * ospf_neighbor.c (ospf_db_summary_add): Use new_lsdb struct
2363 instead linked-list.
2364 (ospf_db_summary_count), (ospf_db_summary_isempty):
2365 New function added.
2366
2367 * ospf_lsa.c (ospf_rotuer_lsa): Re-arrange and divide functions.
2368
23692000-05-02 Gleb Natapov <gleb@nbase.co.il>
2370
2371 * ospf_lsdb.c (new_lsdb_cleanup): Fix memory leak. When LSDB are
2372 not needed any more, then free them.
2373
23742000-05-02 Toshiaki Takada <takada@zebra.org>
2375
2376 * ospfd.c (timers_spf), (no_timers_spf): New defun added.
2377 SPF calculation timers related stuff is rearranged.
2378
2379 * ospf_spf.c (ospf_spf_calculate_timer_add): Function removed.
2380 SPF timer is scheduled by SPF calculation delay and holdtime
2381 configuration variable.
2382
2383 * ospf_lsa.c (ospf_external_lsa_nexthop_get): Set AS-external-LSA's
2384 forwarding address when nexthop learned by other protocols is
2385 in the OSPF domain.
2386
2387 * ospf_zebra.c (ospf_redistribute_source_metric_type),
2388 (ospf_redistribute_source_type_metric): Re-arrange DEFUNs and
2389 ALIASes.
2390
23912000-05-01 Toshiaki Takada <takada@zebra.org>
2392
2393 * ospf_flood.c (ospf_ls_retransmit_count),
2394 (ospf_ls_retransmit_isempty): New function added.
2395
2396 (ospf_ls_retransmit_add), (ospf_ls_retransmit_delete),
2397 (ospf_ls_retransmit_clear), (ospf_ls_retransmit_lookup),
2398 (ospf_ls_retransmit_delete_all), (ospf_ls_retransmit_delete_nbr_all),
2399 (ospf_ls_retransmit_add_nbr_all): Replace these functions to use
2400 new_lsdb.
2401
24022000-04-29 Toshiaki Takada <takada@zebra.org>
2403
2404 * ospfd.c (no_network_area): Add check Area-ID whether specified
2405 Area-ID with prefix matches config.
2406
24072000-04-27 Toshiaki Takada <takada@zebra.org>
2408
2409 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix problem of
2410 remaining withdrawn routes on zebra.
2411
24122000-04-25 Michael Rozhavsky <mike@nbase.co.il>
2413
2414 * ospf_nsm.c (nsm_kill_nbr), (nsm_ll_down), (nsm_change_status),
2415 (ospf_nsm_event): Fix network-LSA re-origination problem.
2416
24172000-04-24 Toshiaki Takada <takada@zebra.org>
2418
2419 * ospf_nsm.c (ospf_db_desc_timer): Fix bug of segmentation fault
2420 with DD retransmission.
2421
2422 * ospf_nsm.c (nsm_kill_nbr): Fix bug of re-origination when
2423 a neighbor disappears.
2424
24252000-04-23 Michael Rozhavsky <mike@nbase.co.il>
2426
2427 * ospf_abr.c (ospf_abr_announce_network_to_area): Fix bug of
2428 summary-LSAs reorigination. Correctly copy OSPF_LSA_APPROVED
2429 flag to new LSA. when summary-LSA is reoriginatd.
2430
2431 * ospf_flood.c (ospf_flood_through_area): Fix bug of flooding
2432 procedure. Change the condition of interface selection.
2433
24342000-04-21 Toshiaki Takada <takada@zebra.org>
2435
2436 * ospf_lsa.c (ospf_refresher_register_lsa): Fix bug of refresh never
2437 occurs.
2438
2439 * ospfd.c (show_ip_ospf_neighbor_id): New defun added.
2440 `show ip ospf neighbor' related commands are re-arranged.
2441
24422000-04-20 Toshiaki Takada <takada@zebra.org>
2443
2444 * ospf_dump.c (debug_ospf_zebra): New defun added.
2445 Suppress zebra related debug information.
2446
24472000-04-19 Toshiaki Takada <takada@zebra.org>
2448
2449 * ospf_zebra.c (ospf_distribute_list_update_timer),
2450 (ospf_distribute_list_update), (ospf_filter_update):
2451 New function added. Re-organize `distribute-list' router ospf
2452 command.
2453
24542000-04-13 Michael Rozhavsky <mike@nbase.co.il>
2455
2456 * ospf_packet.c (ospf_make_ls_upd): Add check for MAX_AGE.
2457
24582000-04-14 Michael Rozhavsky <mike@nbase.co.il>
2459
2460 * ospf_packet.c (ospf_make_ls_upd): Increment LS age by configured
2461 interface transmit_delay.
2462
24632000-04-14 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2464
2465 * ospf_interface.c (ip_ospf_cost), (no_ip_ospf_cost):
2466 Add to schedule router_lsa origination when the interface cost changes.
2467
24682000-04-12 Toshiaki Takada <takada@zebra.org>
2469
2470 * ospf_lsa.c (ospf_refresher_register_lsa),
2471 (ospf_refresher_unregister_lsa): Fix bug of core dumped.
2472
2473 * ospfd.c (no_router_ospf): Fix bug of core dumped.
2474
24752000-03-29 Toshiaki Takada <takada@zebra.org>
2476
2477 * ospf_nsm.c (nsm_oneway_received): Fix bug of MS flag unset.
2478
24792000-03-29 Michael Rozhavsky <mike@nbase.co.il>
2480
2481 * ospf_lsa.c (ospf_network_lsa):
2482 * ospf_nsm.c (ospf_nsm_event): Fix bug of Network-LSA originated
2483 in stub network.
2484
24852000-03-28 Toshiaki Takada <takada@zebra.org>
2486
2487 * ospf_nsm.c (nsm_bad_ls_req), (nsm_seq_number_mismatch),
2488 (nsm_oneway_received): Fix bug of NSM state flapping between
2489 ExStart and Exchange.
2490
24912000-03-28 Toshiaki Takada <takada@zebra.org>
2492
2493 * ospf_packet.h (strcut ospf_header): Fix the size of ospf_header,
2494 change u_int8_t to u_char.
2495
24962000-03-27 Toshiaki Takada <takada@zebra.org>
2497
2498 * ospf_lsa.c (ospf_lsa_checksum): Take care of BIGENDIAN architecture.
2499
25002000-03-27 Toshiaki Takada <takada@zebra.org>
2501
2502 * ospfd.c (ospf_interface_run): Make sure Address family matches.
2503
25042000-03-26 Love <lha@s3.kth.se>
2505
2506 * ospf_packet.c (ospf_write): Chack result of sendto().
2507
25082000-03-26 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2509
2510 * ospf_nsm.c (nsm_oneway_received): Fix bug of 1-WayReceived in NSM.
2511
25122000-03-23 Libor Pechacek <farco@clnet.cz>
2513
2514 * ospf_lsa.c (ospf_network_lsa)
2515 * ospf_lsdb.c (new_lsdb_insert): Fix bug of accessing to
2516 unallocated memory.
2517
25182000-03-23 Toshiaki Takada <takada@zebra.org>
2519
2520 * ospfd.c (ospf_config_write): Fix bug of duplicate line for
2521 `area A.B.C.D authentication'.
2522
25232000-03-22 Toshiaki Takada <takada@zebra.org>
2524
2525 * ospf_debug.c (debug_ospf_lsa), (no_debug_ospf_lsa): Defun added.
2526 Suppress all zlog related to LSAs with this config option.
2527
25282000-03-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2529
2530 * ospf_nsm.c (ospf_nsm_event): Add check for NSM_InactivityTimer.
2531
25322000-03-21 Toshiaki Takada <takada@zebra.org>
2533
2534 * ospf_packet.c (ospf_ls_upd_timer), (ospf_ls_req):
2535 Fix bug of memory leak about linklist.
2536
2537 * ospf_flood.c (ospf_flood_through_area): Likewise.
2538
25392000-03-18 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2540
2541 * ospf_flood.c (ospf_ls_retransmit_lookup): Add checksum comparison
2542 to identify LSA uniquely. This fix routes lost.
2543
25442000-03-18 Toshiaki Takada <takada@zebra.org>
2545
2546 * ospf_ase.c (ospf_find_asbr_route): Add sanity check with router
2547 routing table.
2548
25492000-03-17 Alex Zinin <zinin@amt.ru>
2550
2551 * ospf_spf.[ch]: Bug fix.
2552 The 2nd stage of Dijkstra could consider one vertex
2553 more than once if there is more than one link
2554 between the routers, thus adding extra CPU overhead
2555 and extra next-hops.
2556 Fixed.
2557
25582000-03-15 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2559
2560 * ospf_nsm.c (nsm_inactivity_timer): Changed to call nsm_kill_nbr().
2561
25622000-03-14 Toshiaki Takada <takada@zebra.org>
2563
2564 * ospf_route.c (ospf_route_copy_nexthops): Fix bug of memory leak of
2565 ospf_path. Actually ignore merging ospf_route with completely same
2566 paths.
2567
25682000-03-12 Toshiaki Takada <takada@zebra.org>
2569
2570 * ospf_lsa.c (show_as_external_lsa_detail): fix bug of
2571 external route tag byte order.
2572
25732000-03-11 Toshiaki Takada <takada@zebra.org>
2574
2575 * ospf_lsdb.c (ospf_lsdb_insert): New function added.
2576
25772000-03-09 Toshiaki Takada <takada@zebra.org>
2578
2579 * ospf_lsa.c (ospf_external_lsa_install),
2580 (ospf_lsa_lookup), (show_ip_ospf_database_all),
2581 (show_ip_ospf_database_self_originate): Use struct new_lsdb for
2582 LSDB of AS-external-LSAs instead of ospf_lsdb.
2583
2584 * ospf_lsa.c (ospf_lsa_unique_id): New function added.
2585 Use for assigning Unique Link State ID instead of
2586 ospf_get_free_id_for_prefix().
2587
25882000-03-09 Toshiaki Takada <takada@zebra.org>
2589
2590 * ospf_ase.c (ospf_ase_calculate_timer): Fix bug of segmentation
2591 fault reported by George Bonser <george@siteROCK.com>.
2592
25932000-03-07 Libor Pechacek <farco@clnet.cz>
2594
2595 * ospfd.c (ospf_interface_down): Fix bug of segmentation fault.
2596
25972000-03-06 Toshiaki Takada <takada@zebra.org>
2598
2599 * ospf_route.c (ospf_route_cmp): Change meaning of return values.
2600
26012000-03-02 Alex Zinin <zinin@amt.ru>
2602 * ospfd.h, ospf_ia.h
2603 New Shortcut ABR code. Now area's flag can be configured
2604 with Default, Enable, and Disable values.
2605 More info will be in the new ver of I-D soon (see IETF web).
2606
26072000-02-25 Toshiaki Takada <takada@zebra.org>
2608
2609 * ospf_lsa.c (ospf_lsa_header_set), (ospf_external_lsa_body_set),
2610 (osfp_external_lsa_originate), (ospf_external_lsa_queue),
2611 (ospf_external_lsa_originate_from_queue): New function added.
2612 (ospf_external_lsa): Function removed.
2613
2614 * ospf_zebra.c (ospf_zebra_read_ipv4): Originate AS-external-LSA
2615 when listen a route from Zebra, instead creating external route.
2616
2617 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
2618 (ospf_asbr_route_add_queue_lsa),
2619 (ospf_asbr_route_install_lsa), (ospf_asbr_route_add):
2620 Functions removed.
2621
2622 * ospf_ase.c (process_ase_lsa): Function will not be used.
2623 (ospf_ase_calculate), (ospf_ase_calculate_route_add),
2624 (ospf_ase_calculate_new_route), (ospf_ase_caluculate_asbr_route):
2625 process_ase_lsa () is separated to these functions.
2626
2627 OSPF AS-external-LSA origination is whole re-organized.
2628
26292000-02-18 Toshiaki Takada <takada@zebra.org>
2630
2631 * ospf_packet.c (ospf_ls_upd): Fix bug of OSPF LSA memory leak.
2632
2633 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
2634 (ospf_asbr_route_add_queue_lsa): Fix bug of OSPF external route
2635 memory leak.
2636
26372000-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2638
2639 * ospf_asbr.c (ospf_asbr_route_install_lsa): Re-calculate LSA
2640 checksum after change Advertised Router field.
2641
26422000-02-09 Toshiaki Takada <takada@zebra.org>
2643
2644 * ospf_asbr.c (ospf_external_route_lookup): Add new function.
2645
26462000-02-08 Toshiaki Takada <takada@zebra.org>
2647
2648 * ospfd.c (ospf_router_id_get), (ospf_router_id_update),
2649 (ospf_router_id_update_timer): Router ID decision algorithm is changed.
2650 Router ID is chosen from all of eligible interface addresses even if
2651 it is not enable to OSPF.
2652
26532000-02-08 Toshiaki Takada <takada@zebra.org>
2654
2655 * ospf_asbr.c (ospf_asbr_route_add): Function divided to
2656 ospf_asbr_route_add_flood_lsa, ospf_asbr_route_add_queue_lsa and
2657 ospf_asbr_route_install_lsa. If Router-ID is not set, then LSA is
2658 waited to install to LSDB.
2659 `0.0.0.0 adv_router' AS-external-LSA origination bug was fixed.
2660
26612000-02-01 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2662
2663 * ospf_flood.c (ospf_ls_retransmit_lookup): Compare LS seqnum
2664 in the ACK before deleting.
2665
2666 * ospf_packet.c (ospf_hello): Reset the flags after a shutdown
2667 and no shutdown of the interface.
2668
26692000-01-31 Toshiaki Takada <takada@zebra.org>
2670
2671 * ospf_packet.c (ospf_ls_req): Send multiple Link State Update
2672 packets respond to a Link State Request packet.
2673
2674 * ospfd.c (show_ip_ospf_neighbor_detail_sub): Show thread state.
2675
2676 * ospf_interface.c (ospf_vl_new): Crash when backbone area
2677 is not configured and set virtual-link to no-backbone area,
2678 bug fixed.
2679
26802000-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2681
2682 * ospf_neighbor.h (struct ospf_neighbor): Add pointer to last send
2683 LS Request LSA.
2684
2685 * ospf_packet.c (ospf_ls_upd): Comment out LS request list
2686 treatment. That should be done in OSPF flooding procedure.
2687
2688 * ospf_flood.c (ospf_flood_through_area): Enclose
2689 ospf_check_nbr_loding inside if-else close.
2690
26912000-01-31 Toshiaki Takada <takada@zebra.org>
2692
2693 * ospf_packet.c (ospf_make_ls_upd): Fix bug of #LSAs counting.
2694
26952000-01-29 Toshiaki Takada <takada@zebra.org>
2696
2697 * ospf_packet.c (ospf_make_md5_digest): Fix bug of md5 authentication.
2698
26992000-01-28 Toshiaki Takada <takada@zebra.org>
2700
2701 * ospfd.c (show_ip_ospf): Show Number of ASE-LSAs.
2702
27032000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2704
2705 * ospf_packet.c (ospf_make_db_desc): Don't use rm_list for
2706 removing LSA from nbr->db_summary.
2707
27082000-01-27 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2709
2710 * ospf_packet.c (ospf_ls_upd_send): Set AllSPFRouters to
2711 destination when the link is point-to-point.
2712 (ospf_ls_ack_send_delayed): Likewise.
2713
27142000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2715
2716 * ospf_flood.c (ospf_ls_request_delete_all): Fix bug of next
2717 pointer lookup after the node is freed.
2718
27192000-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2720
2721 * ospf_asbr.c (ospf_asbr_route_add): Instead of scanning all AS
2722 external route, use ospf_top->external_self.
2723
27242000-01-27 Toshiaki Takada <takada@zebra.org>
2725
2726 * ospf_lsa.c (ospf_forward_address_get): New function added.
2727
2728 * ospf_asbr.c (ospf_asbr_check_lsas): Originate AS-external-LSA
2729 only when it should be replaced.
2730
27312000-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2732
2733 * ospf_flood.c (ospf_ls_retransmit_clear): Delete list node.
2734
2735 * ospf_lsa.c (ospf_lsa_free): Reduce logging message using
2736 ospf_zlog value.
2737
2738 * ospf_ism.c (ism_change_status): Fix bug of DR -> non DR status
2739 change. Self originated LSA is freed but not deleted from lsdb.
2740
27412000-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2742
2743 * ospf_ism.c (ism_interface_down): Don't use router_id for
2744 detecting self neighbor structure. Instead of that compare
2745 pointer itself.
2746
2747 * ospf_neighbor.c (ospf_nbr_free): Cancel all timer when neighbor
2748 is deleted.
2749 (ospf_nbr_free): Free last send packet.
2750
2751 * ospf_neighbor.h (struct ospf_neighbor): Remove host strucutre.
2752 Instead of that src is introduced.
2753
2754 * ospf_nsm.h: Enclose macro defenition with do {} while (0).
2755
27562000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2757
2758 * ospfd.c: Change part of passive interface implementation. For
2759 passive interface just disabling sending/receiving Hello on the
2760 interface.
2761
27622000-01-16 Kai Bankett <kai.bankett@vew-telnet.net>
2763
2764 * ospf_interface.h (OSPF_IF_PASSIVE): Add passive flag.
2765 * ospf_interface.c (ospf_if_lookup_by_name): Add new function.
2766 * ospf_lsa.c (ospf_router_lsa): Skip passive interface.
2767 * ospfd.c (passive_interface): New command passive-interface is
2768 added.
2769 (ospf_config_write): Print passive interface.
2770
27712000-01-15 Toshiaki Takada <takada@zebra.org>
2772
2773 * ospf_interface.h (crypt_key): New struct added to store
2774 multiple cryptographic autheitication keys.
2775 (ospf_interface): struct changed.
2776
2777 * ospf_interface.c: ospf_crypt_key_new, ospf_crypt_key_add,
2778 ospf_crypt_key_lookup, ospf_crypt_key_delete: new functions added.
2779
2780 * ospf_packet.c (ip_ospf_message_digest_key): Changed to store
2781 multiple cryptographic authentication keys.
2782
27832000-01-14 Toshiaki Takada <takada@zebra.org>
2784
2785 * ospf_interface.c: DEFUN (if_ospf_*) commands changed name to
2786 ip_ospf_* ().
2787 Old notation `ospf *' still remains backward compatibility.
2788
27891999-12-29 Alex Zinin <zinin@amt.ru>
2790 * ospf_lsa.c: ospf_lsa_more_recent() bug fix
2791 * ospf_nsm.c, ospf_packet.c: remove nbr data struct when
2792 int goes down, also check DD flags correctly (bug fix)
2793
27941999-12-28 Alex Zinin <zinin@amt.ru>
2795 * "redistribute <source> metric-type (1|2) metric <XXX>" added
2796
27971999-12-23 Alex Zinin <zinin@amt.ru>
2798 * added RFC1583Compatibility flag
2799 * added dynamic interface up/down functionality
2800
28011999-11-19 Toshiaki Takada <takada@zebra.org>
2802
2803 * ospf_neighbor.h (struct ospf_neighbor): Add member state_change
2804 for NSM state change statistics.
2805
28061999-11-19 Toshiaki Takada <takada@zebra.org>
2807
2808 * ospfd.c (show_ip_ospf_neighbor_detail),
2809 (show_ip_ospf_neighbor_int_detail): DEFUN Added.
2810
28111999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2812
2813 * ospf_asbr.c (ospf_asbr_check_lsas): Add check of
2814 lsa->refresh_list.
2815
28161999-11-11 Toshiaki Takada <takada@zebra.org>
2817
2818 * ospf_ia.[ch] (OSPF_EXAMINE_SUMMARIES_ALL): Macro added.
2819 This macro is expanded to ospf_examine_summaries ()
2820 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2821 (OSPF_EXAMINE_TRANSIT_SUMMARIES_ALL): Macro added.
2822 This macro is expanded to ospf_examine_transit_summaries ()
2823 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2824
28251999-11-11 Toshiaki Takada <takada@zebra.org>
2826
2827 * ospf_lsa.[ch] (ospf_find_self_summary_lsa_by_prefix): Changed to
2828 macro OSPF_SUMMARY_LSA_SELF_FIND_BY_PREFIX.
2829 (ospf_find_self_summary_asbr_lsa_by_prefix): Changed to
2830 macro OSPF_SUMMARY_ASBR_LSA_SELF_FIND_BY_PREFIX.
2831 (ospf_find_self_external_lsa_by_prefix): Changed to
2832 macro OSPF_EXTERNAL_LSA_SELF_FIND_BY_PREFIX.
2833
28341999-11-11 Toshiaki Takada <takada@zebra.org>
2835
2836 * ospfd.c (ospf_abr_type): ospf_abr_type_cisco, ospf_abr_type_ibm,
2837 ospf_abr_type_shortcut and ospf_abr_type_standard DEFUNs are
2838 combined.
2839 * ospfd.c (no_ospf_abr_type): no_ospf_abr_type_cisco,
2840 no_ospf_abr_type_ibm and no_ospf_abr_type_shortcut DEFUNS are
2841 combined.
2842
28431999-11-10 Toshiaki Takada <takada@zebra.org>
2844
2845 * ospf_route.c (ospf_lookup_int_by_prefix): Move function to
2846 ospf_interface.c and change name to ospf_if_lookup_by_prefix ().
2847
28481999-11-01 Alex Zinin <zinin@amt.ru>
2849 * ospf_packet.c
2850 some correction to LSU processing
2851
2852 * ospf_lsa.c ospfd.h
2853 randomize initial LSA refreshment interval
2854 and limit the size of LSA-group to 10
2855 to let randomization work more effectively.
2856
28571999-10-31 Alex Zinin <zinin@amt.ru>
2858 * ospf_interface.c
2859 cancel t_network_lsa_self
2860 when freeing int structure
2861
2862 * ospf_abr.c ospf_asbr.c ospf_flood.c ospf_lsa.c
2863 ospf_lsa.h ospf_lsdb.h ospfd.c ospfd.h
2864
2865 Summary and ASE LSA refreshment functions
2866 added---LSA refreshment is paced to 70 LSAs
2867 per sec to avoid link overflow. Refreshment events
2868 are further randomized within a 10 sec interval
2869 to avoid syncing.
2870
2871 Also the sigfault of memcmp() in ospf_lsa_is_different()
2872 is fixed.
2873
28741999-10-30 Alex Zinin <zinin@amt.ru>
2875 * ospf_nsm.c
2876 Fix the bug where MAX_AGE LSAs
2877 are included into the DB summary.
2878
2879 * ospf_interface.c
2880 allocate 2*MTU input buffer instead of just MTU
2881 for the cases when the other router mistakenly
2882 sends larger packets thus causing fragmentation, etc.
2883
2884 * ospf_nsm.c
2885 in nsm_reset_nbr() lists should be freed
2886 not when they are empty.
2887
28881999-10-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2889
2890 * ospf_zebra.c (ospf_acl_hook): Move OSPF_IS_ASBR and OSPF_IS_ABR
2891 check inside of if (ospf_top).
2892
28931999-10-29 Alex Zinin <zinin@amt.ru>
2894 * ospf_lsa.c ospf_lsdb.c :
2895 add assertion in lsa and lsa->data alloc functions,
2896 as well as in lsdb_add for new->data
2897
2898 * ospf_lsdb.c: free hash table correctly
2899
29001999-10-28 John Capo <jc@irbs.com>
2901
2902 * ospf_packet.h (OSPF_PACKET_MAX): Correct MAX packet length
2903 calculation
2904
29051999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2906
2907 * OSPF-TRAP-MIB.txt: New file added. Edited version of RFC1850.
2908
2909 * OSPF-MIB.txt: New file added. Edited version of RFC1850.
2910
29111999-10-27 Alex Zinin <zinin@amt.ru>
2912 * ospfd, ospf_zebra, ospf_abr
2913 "area import-list" command is added.
2914 This command allows to filter the inter-area routes
2915 injected into an area. Access list hook function
2916 extended to invalidate area exp/imp lists.
2917
29181999-10-25 Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
2919
2920 * ospfd.c (ospf_interface_run): Enable to detect P2P network
2921 on an OSPF interface.
2922
29231999-10-19 Jordan Mendelson <jordy@wserv.com>
2924
2925 * ospf_lsdb.c (ospf_lsdb_add): Fix bug of crash
2926 in ospf_ls_retransmit_lookup ().
2927
29281999-10-19 Vladimir B. Grebenschikov <vova@express.ru>
2929
2930 * ospf_route.c: Workaround about installation of OSPF routes into
2931 the zebra daemon. Add checking of existance routes. Free
2932 ospf_top->old_table if it exists.
2933
29341999-10-15 Jordan Mendelson <jordy@wserv.com>
2935
2936 * Add support for MD5 authentication.
2937
29381999-10-12 Alex Zinin <zinin@amt.ru>
2939 * ospfd.c, ospfd.h, ospf_abr.c:
2940 a new command "area export-list" was added, it allows
2941 the admin. to control which intra-area routes are
2942 announced to other areas by the ABR
2943
29441999-10-12 Alex Zinin <zinin@amt.ru>
2945 * ospf_asbr.c (ospf_asbr_check_lsas): Fix bug of coredump
2946 when "no redistribute" is used after a distribute list
2947 denying some networks was used
2948
29491999-10-05 Toshiaki Takada <takada@zebra.org>
2950
2951 * ospf_route.c (ospf_path_dup): New function added.
2952
29531999-10-05 Toshiaki Takada <takada@zebra.org>
2954
2955 * ospf_interface.[ch]: Some of VL related funciton name changed.
2956
29571999-09-27 Alex Zinin <zinin@amt.ru>
2958
2959 * ospf_zebra.c: Distribute-list functionality added
2960
29611999-09-27 Toshiaki Takada <takada@zebra.org>
2962
2963 * ospfd.c (show_ip_ospf): Fix bug of segmentation fault when no ospf
2964 instance exists.
2965
29661999-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2967
2968 * ospfd.c (ospf_interface_down): Fix bug of misusing nextnode()
2969 instead of node->next. Reported by Hiroki Ishibashi
2970 <ishibasi@dcd.abk.nec.co.jp>.
2971
2972 * ospf_route.c (show_ip_ospf_route): Add check for ospf is enabled
2973 or not.
2974
29751999-09-23 Alex Zinin <zinin@amt.ru>
2976
2977 * stub area support added
2978
29791999-09-23 Alex Zinin <zinin@amt.ru>
2980
2981 * fwd_addr in ASE-LSAs is now set correctly
2982 * ASE routing changed to check the fwd_addr
2983 and skip the route if the addr points to one
2984 of our interfaces to avoid loops.
2985
29861999-09-22 Alex Zinin <zinin@amt.ru>
2987
2988 * ospf_interface:
2989 ospf_vls_in_area() added, it returns
2990 the number of VLs configured through the area
2991
2992 * ospf_interface.c ospf_lsa.c ospf_lsdb.c ospfd.c
2993 honor correct mem alloc
2994
29951999-09-22 Alex Zinin <zinin@amt.ru>
2996
2997 * memory.[ch]:
2998 Some OSPF mem types added,
2999 plus more info in "show mem"
3000
30011999-09-21 Alex Zinin <zinin@amt.ru>
3002
3003 * ospfd.c:
3004 "area range substitute" added.
3005 It can be used on NAT-enabled (IP-masquarade)
3006 routers to announce private networks
3007 from an area as public ones into the outside
3008 world (not in the RFC, btw :)
3009
30101999-09-21 Alex Zinin <zinin@amt.ru>
3011
3012 * ospfd.c:
3013 "area range suppress" added.
3014 This command allows to instruct the router
3015 to be silent about specific ranges, i.e.,
3016 it is a method of route filtering on area
3017 borders
3018
30191999-09-21 Alex Zinin <zinin@amt.ru>
3020
3021 * ospfd.c VLs removed when "no network area" executed
3022
30231999-09-20 Alex Zinin <zinin@amt.ru>
3024
3025 * ospf_ase.c bug fix for not-zero fwd_addr
3026 and directly connected routes.
3027
30281999-09-20 Yon Uriarte <yon@plannet.de>
3029
3030 * ospf_packet.c (ospf_make_ls_req): Introduce delta value for
3031 checking the length of OSPF packet exceeds MTU or not.
3032
3033 * ospf_lsa.c (ospf_lsa_different): Apply ntohs for checking
3034 l1->data->length.
3035
30361999-09-18 Alex Zinin <zinin@amt.ru>
3037
3038 * ospf_lsa.c bug fix for ospf_network_lsa() to
3039 include itself into the RID list
3040
30411999-09-10 Alex Zinin <zinin@amt.ru>
3042
3043 * Alternative ABR behaviors IBM/Cisco/Shortcut
3044 implemented
3045
30461999-09-10 Alex Zinin <zinin@amt.ru>
3047
3048 * router and network-LSA origination
3049 changed to honor MinLSInterval
3050
30511999-09-08 Alex Zinin <zinin@amt.ru>
3052
3053 * modified ABR behavior to honor VLs and transit
3054 areas
3055
30561999-09-07 Alex Zinin <zinin@amt.ru>
3057
3058 * completed VL functionality
3059
30601999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
3061
3062 * ospf_asbr.c: New file.
3063 ospf_asbr.h: New file.
3064
3065 * ospf_zebra.c (ospf_redistribute_connected): Add redistribute
3066 related stuff.
3067
30681999-09-05 Kunihiro Ishiguro <kunihiro@zebra.org>
3069
3070 * ospfd.h (OSPF_FLAG_VIRTUAL_LINK): Change OSPF_FLAG_VEND to
3071 OSPF_FLAG_VIRTUAL_LINK for comprehensiveness.
3072
30731999-09-03 Kunihiro Ishiguro <kunihiro@zebra.org>
3074
3075 * ospf_spf.c (ospf_spf_register): Change name from
3076 ospf_spf_route_add() to ospf_spf_register().
3077 Include "ospfd/ospf_abr.h" for ospf_abr_task() prototype.
3078
30791999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
3080
3081 * ospf_lsa.c (ospf_external_lsa_install): Change to update
3082 lsa->data rather than install new one, when same id lsa is already
3083 installed.
3084
30851999-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
3086
3087 * ospf_lsa.c (ospf_router_lsa_install): Return lsa value.
3088 (ospf_network_lsa_install): Likewise.
3089 (ospf_summary_lsa_install): Likewise.
3090 (ospf_summary_asbr_lsa_install): Likewise.
3091 (ospf_external_lsa_install): Likewise.
3092
3093 * ospf_spf.c (ospf_spf_calculate): Comment out debug function
3094 ospf_rtrs_print().
3095
30961999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
3097
3098 * ospf_spf.c (ospf_rtrs_free): Add ospf_spf_calculate() for
3099 freeing rtrs.
3100
31011999-08-31 Toshiaki Takada <takada@zebra.org>
3102
3103 * ospf_lsa.c (show_ip_ospf_database_summary),
3104 (show_ip_ospf_database_summary_asbr),
3105 (show_ip_ospf_database_external): New function added.
3106 `show ip ospf database summary',
3107 `show ip ospf database asbr-summary'
3108 `show ip ospf database external' command can be used.
3109
3110 * ospf_lsa.c (ospf_lsa_count_table): New function added.
3111 (show_ip_ospf_database_all): show nothing if a type of LSA
3112 does not exist.
3113
31141999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
3115
3116 * ospf_lsa.c (ospf_maxage_lsa_remover): Preserve next pointer when
3117 the node is deleted.
3118
31191999-08-31 Toshiaki Takada <takada@zebra.org>
3120
3121 * ospf_flood.c (ospf_ls_retransmit_lookup): change to return
3122 struct ospf_lsa *.
3123 (ospf_ls_request_new), (ospf_ls_request_free),
3124 (ospf_ls_request_add), (ospf_ls_request_delete),
3125 (ospf_ls_request_delete_all), (ospf_ls_request_lookup):
3126 New function added.
3127
3128 * ospf_packet.c (ospf_ls_upd_send_lsa): New function added.
3129
3130 * ospf_lsa.h (LS_AGE): Slightly change macro definition.
3131
3132 * ospf_lsa.c (ospf_lsa_more_recent), (ospf_lsa_diffrent):
3133 Use LS_AGE macro.
3134
31351999-08-30 Alex Zinin <zinin@amt.ru>
3136
3137 * ospfd.c
3138 fix a bug with area range config write
3139 added "show ip ospf" command, it will be enhanced later on
3140
31411999-08-30 Alex Zinin <zinin@amt.ru>
3142
3143 * ospf_lsa.c
3144 updated ospf_router_lsa() to honor flags (B-bit)
3145
31461999-08-30 Alex Zinin <zinin@amt.ru>
3147
3148 * ospf_abr.c
3149 wrote major functions implementing ABR activity
3150
31511999-08-30 Alex Zinin <zinin@amt.ru>
3152
3153 * ospf_ia.c ospf_route.c ospf_route.h
3154 fixed the bug with ospf_route.origin field.
3155 Now it holds pointer to lsa_header
3156
31571999-08-30 Alex Zinin <zinin@amt.ru>
3158
3159 * ospf_flood.c ospf_flood.h:
3160 transformed ospf_flood_if_select into ospf_flood_through_area()
3161 added new ospf_flood_if_select() and ospf_flood_through_as()
3162
31631999-08-30 Toshiaki Takada <takada@zebra.org>
3164
3165 * ospf_flood.[ch]: New file added.
3166
3167 * ospf_packet.c (ospf_lsa_flooding),
3168 (ospf_lsa_flooding_select_if): functions move to ospf_flood.c
3169
3170 * ospf_neighbor.c (ospf_put_lsa_on_retransm_list),
3171 (ospf_remove_lsa_from_retransm_list),
3172 (ospf_nbr_remove_all_lsas_from_retransm_list),
3173 (ospf_lsa_remove_from_ls_retransmit):
3174 (ospf_lsa_retransmit): functions move to
3175 ospf_flood.c, and change function's name:
3176
3177 ospf_put_lsa_on_retransm_list ()
3178 -> ospf_ls_retransmit_add ()
3179 ospf_remove_lsa_from_retransm_list ()
3180 -> ospf_ls_retransmit_delete ()
3181 ospf_nbr_remove_all_lsas_from_retransm_list ()
3182 -> ospf_ls_retransmit_clear ()
3183 ospf_lsa_remove_from_ls_retransmit ()
3184 -> ospf_ls_retransmit_delete_nbr_all ()
3185 ospf_lsa_retransmit ()
3186 -> ospf_ls_retransmit_add_nbr_all ()
3187
3188 * ospf_lsa.c (ospf_lsa_lookup_from_list): function move to
3189 ospf_flood.c, and change name to ospf_ls_retransmit_lookup ().
3190
31911999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3192
3193 * ospf_neighbor.c (ospf_nbr_lookup_by_addr): Use
3194 route_node_lookup() instead of route_node_get().
3195
3196 * ospf_packet.c (ospf_ls_upd): Temporary comment out (6) check.
3197
31981999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3199
3200 * ospf_route.c (ospf_lookup_int_by_prefix): Add check of
3201 oi->address.
3202
32031999-08-29 Alex Zinin <zinin@amt.ru>
3204 * ospf_lsa.c
3205 MaxAge LSA deletion functions added.
3206
32071999-08-29 Alex Zinin <zinin@amt.ru>
3208 * ospf_neighbor.c
3209 ospf_nbr_lookup_by_addr(): added route_unlock_node()
3210 when function returns NULL if (rn->info == NULL)
3211
32121999-08-29 Alex Zinin <zinin@amt.ru>
3213 * ospfd.c
3214 added a hack for area range deletion
3215
32161999-08-29 Alex Zinin <zinin@amt.ru>
3217 * ospf_lsa.h
3218 included lsdb field into struct ospf_lsa, to find
3219 LSDB easier when removing MaxAge LSAs.
3220
32211999-08-29 Alex Zinin <zinin@amt.ru>
3222 * ospf_lsa.c ospf_neighbor.c ospf_nsm.c
3223 ospf_packet.c changed to honor new retransmit list
3224 management functions
3225
32261999-08-29 Alex Zinin <zinin@amt.ru>
3227 * ospf_neighbor.c , .h added new retransmit list functions.
3228
32291999-08-29 Alex Zinin <zinin@amt.ru>
3230 * Makefile.in
3231 added ospf_ase, ospf_abr, ospf_ia
3232
32331999-08-29 Alex Zinin <zinin@amt.ru>
3234 * ospf_spf.c:
3235 - changed ospf_next_hop_calculation() to include interface
3236 and nexthop addr for directly connected routers---more informative
3237 and solves problem with route installation into the kernel
3238 - changed ospf_nexthop_out_if_addr() to support routers, not only
3239 transit networks
3240 - added ospf_process_stubs();
3241
32421999-08-29 Alex Zinin <zinin@amt.ru>
3243 * ospf_lsa.c:
3244 - changed ospf_router_lsa() to provide correct links
3245 for p-t-p interfaces;
3246 - changed ospf_summary_lsa_install() to support table
3247 of self-originated summary-LSAs;
3248 - added ospf_summary_asbr_lsa_install() and ospf_external_lsa_install()
3249 - changed ospf_lsa_install() accordingly
3250 - changed show_ip_ospf_database_router_links() to support p-t-p
3251
32521999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3253
3254 * ospf_packet.c (ospf_make_db_desc): Only master can clear more
3255 flag.
3256
32571999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3258
3259 * ospf_packet.c (ospf_read): Add check of IP src address.
3260
32611999-08-28 Alex Zinin <zinin@amt.ru>
3262 * ospf_neighbor.h
3263 added ospf_nbr_lookup_by_routerid()
3264
32651999-08-28 Alex Zinin <zinin@amt.ru>
3266 * ospfd.h
3267 added ABR/ASBR flag definitions and fields;
3268 added iflist field to area structure;
3269 summary_lsa_self and summary_lsa_asbr_self are changed
3270 to be route tables;
3271 added ranges field---configured area ranges;
3272 A separate Routers RT added;
3273 area range config commands and config write added
3274
3275
32761999-08-28 Alex Zinin <zinin@amt.ru>
3277 * ospf_route.c :
3278 ospf_route_free()--added code to free the list of paths;
3279 The following functions added:
3280 ospf_intra_add_router();
3281 ospf_intra_add_transit();
3282 ospf_intra_add_stub();
3283 the last function uses new ospf_int_lookup_by_prefix();
3284 show_ip_ospf_route_cmd()--changed to support new RT structure;
3285 added ospf_cmp_routes()--general route comparision function;
3286 added ospf_route_copy_nexthops() and ospf_route_copy_nexthops_from_vertex()
3287 they are used in ASE and IA routing;
3288 added ospf_subst_route() and ospf_add_route();
3289
32901999-08-28 Alex Zinin <zinin@amt.ru>
3291 * ospf_route.h :
3292 changed struct ospf_path to include output interface,
3293 changed struct ospf_route to support IA and ASE routing.
3294 added prototypes of the function used in IA and ASE modules.
3295
32961999-08-28 Alex Zinin <zinin@amt.ru>
3297 * ospf_lsa.h ospf_lsa.c :
3298 added ospf_my_lsa(), an interface independent version of
3299 ospf_lsa_is_self_originated(), it will be used in ASE and IA-routing.
3300
33011999-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3302
3303 * ospf_interface.c (interface_config_write): Add check for
3304 oi->nbr_self.
3305
33061999-08-25 Toshiaki Takada <takada@zebra.org>
3307
3308 * ospf_lsa.c (ospf_lsa_dup): New function added.
3309
3310 * ospf_packet.c (ospf_write), (ospf_read): Print send/recv
3311 interface in debug message.
3312
33131999-08-25 Toshiaki Takada <takada@zebra.org>
3314
3315 * ospf_packet.c (ospf_ls_ack_send): The name is changed from
3316 `ospf_ls_ack_send'.
3317 (ospf_ls_ack_send_delayed) (ospf_ls_ack_timer): New function added.
3318 Delayed Link State Acknowledgment is scheduled by timer.
3319
33201999-08-25 Alex Zinin <zinin@amt.ru>
3321
3322 * ospf_lsa.c (ospf_router_lsa): Incorrectly included link to
3323 a stub network instead of link to a transit network into
3324 originated router-LSA, bug fixed.
3325
33261999-08-24 Toshiaki Takada <takada@zebra.org>
3327
3328 * ospfd.c (ospf_update_router_id): New function added.
3329
3330 * ospf_network.c (ospf_write): Create new socket per transmission.
3331 And select outgoing interface whether dst is unicast or multicast.
3332
3333 * ospf_packet.c: LSA flooding will work.
3334
33351999-08-24 VOP <vop@unity.net>
3336
3337 * ospf_route.c: Include "sockunion.h"
3338
33391999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
3340
3341 * ospf_network.c (ospf_serv_sock_init): Enclose
3342 IPTOS_PREC_INTERNETCONTROL setting with #ifdef for OS which does
3343 not have the definition.
3344
33451999-08-23 Toshiaki Takada <takada@zebra.org>
3346
3347 * ospf_packet.c: Fix bug of DD processing.
3348
33491999-08-18 Toshiaki Takada <takada@zebra.org>
3350
3351 * ospf_lsa.c (show_ip_ospf_database): Show actual `LS age'.
3352
33531999-08-17 Toshiaki Takada <takada@zebra.org>
3354
3355 * ospf_lsa.h (OSPF_MAX_LSA): The value of OSPF_MAX_LSA is
3356 corrected. The bug of `mes_lookup' is fixed.
3357 This had been reported by Poul-Henning Kamp <phk@freebsd.org>.
3358
3359 * ospf_lsa.c (ospf_router_lsa_install): The name is changed from
3360 `ospf_add_router_lsa'.
3361 (ospf_network_lsa_install): The name is changed from
3362 `ospf_add_network_lsa'.
3363
3364 * ospf_interface.h (ospf_interface): Add member `nbr_self'.
3365
3366 * ospf_interface.c (ospf_if_is_enable): New function added.
3367
33681999-08-16 Toshiaki Takada <takada@zebra.org>
3369
3370 * ospf_lsa.h (struct lsa_header): The name is changed from
3371 `struct ospf_lsa'.
3372 (struct ospf_lsa): New struct added to control each LSA's aging
3373 and timers.
3374
3375 * ospf_lsa.c (ospf_lsa_data_free): The name is change from
3376 `ospf_lsa_free'.
3377 (ospf_lsa_data_new), (ospf_lsa_new), (ospf_lsa_free),
3378 (ospf_lsa_different), (ospf_lsa_install): New function added.
3379
3380 * ospf_packet.c (ospf_ls_upd_list_lsa): New function added.
3381
33821999-08-12 Toshiaki Takada <takada@zebra.org>
3383
3384 * ospf_nsm.c (nsm_reset_nbr): New function added.
3385 KillNbr and LLDown neighbor event call this function.
3386
33871999-08-10 Toshiaki Takada <takada@zebra.org>
3388
3389 * ospf_packet.c (ospf_ls_retransmit)
3390 (ospf_ls_upd_timer): New function added.
3391 Set retransmission timer for Link State Update.
3392
33931999-07-29 Toshiaki Takada <takada@zebra.org>
3394
3395 * ospf_ism.c (ospf_dr_election): Fix bug of DR election.
3396
33971999-07-28 Toshiaki Takada <takada@zebra.org>
3398
3399 * ospf_network.c (ospf_serv_sock_init): Set IP precedence field
3400 with IPTOS_PREC_INTERNET_CONTROL.
3401
3402 * ospf_nsm.c (nsm_change_status): Schedule NeighborChange event
3403 if NSM status change.
3404
3405 * ospf_packet.c (ospf_make_hello): Never include a neighbor in
3406 Hello packet, when the neighbor goes down.
3407
34081999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
3409
3410 * Makefile.am (noinst_HEADERS): Add ospf_route.h.
3411
3412 * ospf_route.c (show_ip_ospf_route): Add `show ip ospf route'
3413 command.
3414
34151999-07-25 Toshiaki Takada <takada@zebra.org>
3416
3417 * ospf_lsa.c (ospf_router_lsa): Fix bug of LS sequence number
3418 assignement.
3419
34201999-07-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3421
3422 * ospf_route.c (ospf_route_table_free): New function added.
3423
3424 * ospf_spf.c (ospf_spf_next): Free vertex w when cw's and w's
3425 distance is same.
3426
3427 * ospfd.h (struct ospf): Add old_table.
3428
3429 * ospf_main.c (sighup): Call of log_rotate () removed.
3430
3431 * ospf_lsa.c (ospf_lsa_is_self_originated): Fix bug of checking
3432 area->lsa as self LSA. This should be area->lsa_self.
3433
34341999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
3435
3436 * ospf_zebra.c (ospf_zebra_add): ospf_zebra_add
3437 (),ospf_zebra_delete () added.
3438
3439 * ospf_spf.c (ospf_spf_calculate): Call ospf_intra_route_add ().
3440
34411999-07-24 Toshiaki Takada <takada@zebra.org>
3442
3443 * ospf_lsa.c: Change LS sequence number treatment.
3444 (ospf_lsa_is_self_originated): New function added.
3445 (show_ip_ospf_database_self_originated): New DEFUN added.
3446
34471999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3448
3449 * ospf_interface.c (ospf_if_lookup_by_addr): Add loopback check.
3450
34511999-07-22 Toshiaki Takada <takada@zebra.org>
3452
3453 * ospf_spf.c (ospf_nexthop_new), (ospf_nexthop_free),
3454 (ospf_nexthop_dup): function added.
3455 (ospf_nexthop_calculation): function changed.
3456
3457 * ospf_interface.c (ospf_if_lookup_by_addr): function added.
3458
34591999-07-21 Toshiaki Takada <takada@zebra.org>
3460
3461 * ospf_spf.c (ospf_spf_closest_vertex): function removed.
3462
34631999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
3464
3465 * ospf_spf.c (ospf_spf_next): Apply ntohs for fetching metric.
3466
34671999-07-21 Toshiaki Takada <takada@zebra.org>
3468
3469 * ospf_neighbor.c (ospf_nbr_lookup_by_router_id): fundtion removed.
3470
3471 * ospf_lsa.c (show_ip_ospf_database_router): describe each
3472 connected link.
3473
34741999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
3475
3476 * ospf_spf.c (ospf_spf_next): V is router LSA or network LSA so
3477 change behavior according to LSA type.
3478 (ospf_lsa_has_link): Link check function is added.
3479
34801999-07-20 Kunihiro Ishiguro <kunihiro@zebra.org>
3481
3482 * ospf_spf.c (ospf_spf_calculate_schedule): Add new function for
3483 SPF calcultion schedule addtition.
3484 (ospf_spf_calculate_timer_add): Rough 30 sec interval SPF calc
3485 timer is added.
3486 (ospf_spf_next_router): Delete ospf_spf_next_network ().
3487
3488 * ospf_lsa.c (show_ip_ospf_database_all): Network-LSA display
3489 header typo correction. Display of router LSA's #link added.
3490
34911999-07-19 Toshiaki Takada <takada@zebra.org>
3492
3493 * ospf_packet.c (ospf_check_network_mask): Added new function for
3494 receiving Raw IP packet on an appropriate interface.
3495
34961999-07-16 Toshiaki Takada <takada@zebra.org>
3497
3498 * ospfd.c (ospf_router_id): new DEFUN added.
3499
35001999-07-15 Toshiaki Takada <takada@zebra.org>
3501
3502 * ospf_spf.c (ospf_spf_init), (ospf_spf_free),
3503 (ospf_spf_has_vertex), (ospf_vertex_lookup),
3504 (ospf_spf_next_router), (ospf_spf_next_network),
3505 (ospf_spf_closest_vertex), (ospf_spf_calculate):
3506 function added.
3507
35081999-07-13 Toshiaki Takada <takada@zebra.org>
3509
3510 * ospf_ism.c: fix bug of DR Election.
3511
3512 * ospf_nsm.c: fix bug of adjacency forming.
3513
35141999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
3515
3516 * ospfd.c (ospf_init): Change to use install_default.
3517
35181999-07-01 Rick Payne <rickp@rossfell.co.uk>
3519
3520 * ospf_zebra.c (zebra_init): Install standard commands to
3521 ZEBRA_NODE.
3522
35231999-06-30 Toshiaki Takada <takada@zebra.org>
3524
3525 * ospf_dump.c: Whole debug command is improved.
3526 (ISM|NSM) (events|status|timers) debug option added.
3527 (show_debugging_ospf): new DEFUN added.
3528
35291999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3530
3531 * ospf_lsa.c (ospf_lsa_lookup_from_list): Change !IPV4_ADDR_CMP to
3532 IPV4_ADDR_SAME.
3533
35341999-06-29 Toshiaki Takada <takada@zebra.org>
3535
3536 * ospf_dump.c (ospf_summary_lsa_dump): Add summary-LSA dump routine.
3537 (ospf_as_external_lsa_dump): Add AS-external-LSA dump routine.
3538
3539 * ospf_nsm.c (nsm_twoway_received): fix condtion of adjacnet.
3540
3541 * ospf_ism.c (ospf_dr_election): fix DR Election.
3542
3543 * ospf_dump.c (ospf_nbr_state_message): fix `show ip ospf neighbor'
3544 command's state.
3545
35461999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3547
3548 * ospf_dump.c (ospf_router_lsa_dump): Add router-LSA dump routine.
3549
35501999-06-28 Toshiaki Takada <takada@zebra.org>
3551
3552 * ospf_lsa.c (show_ip_ospf_database_network): fix bug of
3553 `show ip ospf database network' command output.
3554
3555 * ospf_nsm.c (nsm_inactivity_timer): Clear list of Link State
3556 Retransmission, Database Summary and Link State Request.
3557
3558 * ospf_packet.c (ospf_ls_req_timer): New function added.
3559 Set Link State Request retransmission timer.
3560
35611999-06-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3562
3563 * ospf_main.c (main): Change default output from ZLOG_SYSLOG to
3564 ZLOG_STDOUT.
3565
3566 * ospfd.c (ospf_init): Register show_ip_ospf_interface_cmd and
3567 show_ip_ospf_neighbor_cmd to VIEW_NODE.
3568
3569 * ospf_lsa.c (ospf_lsa_init): Register show_ip_ospf_database_cmd
3570 and show_ip_ospf_database_type_cmd to VIEW_NODE.
3571
35721999-06-25 Toshiaki Takada <takada@zebra.org>
3573
3574 * ospf_packet.c: fix bug of DD making.
3575 fix bug of LS-Update reading.
3576
35771999-06-23 Toshiaki Takada <takada@zebra.org>
3578
3579 * ospf_packet.c: All type of packets are changed to use
3580 fifo queue structure.
3581 (ospf_fill_header) function added.
3582
35831999-06-22 Toshiaki Takada <takada@zebra.org>
3584
3585 * ospf_packet.c (ospf_packet_new): New function added to handle
3586 sending ospf packet by fifo queue structure.
3587 (ospf_packet_free), (ospf_fifo_new), (ospf_fifo_push),
3588 (ospf_fifo_pop), (ospf_fifo_head), (ospf_fifo_flush),
3589 (ospf_fifo_free): Likewise.
3590
35911999-06-21 Toshiaki Takada <takada@zebra.org>
3592
3593 * ospf_nsm.c (ospf_db_desc_timer): function added.
3594 (nsm_timer_set) function added.
3595 * ospf_dump.c (ospf_option_dump): function added.
3596 * ospf_packet.c (ospf_ls_req) (ospf_make_ls_req): function added.
3597
35981999-06-20 Toshiaki Takada <takada@zebra.org>
3599
3600 * ospf_lsa.c (ospf_lsa_more_recent): function added.
3601 * ospf_neighbor.h (struct ospf_neighbor): Change member ms_flag
3602 to dd_flags.
3603
36041999-06-19 Toshiaki Takada <takada@zebra.org>
3605
3606 * ospf_lsa.c: DEFUN (show_ip_ospf_database) Added.
3607 * ospf_interface.c (if_ospf_cost), (if_ospf_dead_interval),
3608 (if_ospf_hello_interval), (if_ospf_priority),
3609 (if_ospf_retransmit_interval), (if_ospf_transmit_delay)
3610 argument changed from NUMBER to <range>.
3611 DEFUN (if_ospf_network_broadcast),
3612 DEFUN (if_ospf_network_non_broadcast),
3613 DEFUN (if_ospf_network_point_to_multipoint),
3614 DEFUN (if_ospf_network_point_to_point) functions are combined to
3615 DEFUN (if_ospf_network).
3616
36171999-06-18 Toshiaki Takada <takada@zebra.org>
3618
3619 * ospf_lsa.c: ospf_add_router_lsa (), ospf_add_network_lsa (),
3620 ospf_lsa_lookup (), ospf_lsa_count () Added.
3621
36221999-06-15 Toshiaki Takada <takada@zebra.org>
3623
3624 * DEFUN (ospf_debug_ism), DEFUN (ospf_debug_nsm),
3625 DEFUN (no_ospf_debug_ism), DEFUN (no_ospf_debug_nsm) Added.
3626 `debug ospf ism' command shows debug message.
3627 `debuf ospf nsm' command shows debug message.
3628
36291999-06-14 Toshiaki Takada <takada@zebra.org>
3630
3631 * ospf_lsa.c: ospf_network_lsa () Added.
3632 ospf_lsa_checksum () Added.
3633 * DEFUN (ospf_debug_packet), DEFUN (no_ospf_debug_packet) Added.
3634 `debug ospf packet' command shows debug message.
3635
36361999-06-13 Toshiaki Takada <takada@zebra.org>
3637
3638 * ospf_packet.h: Remove struct ospf_ls_req {}, ospf_ls_upd {},
3639 ospf_ls_ack {}.
3640
36411999-06-11 Toshiaki Takada <takada@zebra.org>
3642
3643 * ospf_dump.c: fix IP packet length treatment.
3644
36451999-06-10 Toshiaki Takada <takada@zebra.org>
3646
3647 * ospf_ism.h: Add OSPF_ISM_EVENT_EXECUTE() Macro Added.
3648 * ospf_nsm.h: Add OSPF_NSM_EVENT_EXECUTE() Macro Added.
3649
3650 * ospf_packet.c: ospf_db_desc (), ospf_db_desc_send () Added.
3651 ospf_make_hello (), ospf_make_db_desc () Added.
3652 ospf_db_desc_proc () Added.n
3653
3654 * Database Description packet can be processed.
3655
36561999-06-08 Toshiaki Takada <takada@zebra.org>
3657
3658 * ospf_lsa.c: New file.
3659
36601999-06-07 Toshiaki Takada <takada@zebra.org>
3661
3662 * ospf_neighbor.c: ospf_fully_adjacent_count () Added.
3663
36641999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
3665
3666 * ospf_spf.[ch]: New file.
3667
36681999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3669
3670 * ospf_zebra.c: Changed to use lib/zclient.c routines.
3671
3672 * ospf_zebra.h (zebra_start): Remove struct zebra.
3673
36741999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3675
3676 * ospfd.c (ospf_config_write): Add cast (unsigned long int) to
3677 ntohl for sprintf warning.
3678
36791999-05-19 Toshiaki Takada <takada@zebra.org>
3680
3681 * ospf_ism.c (ospf_dr_election): Join AllDRouters Multicast group
3682 if interface state changes to DR or BDR.
3683
36841999-05-14 Stephen R. van den Berg <srb@cuci.nl>
3685
3686 * ospf_main.c (signal_init): SIGTERM call sigint.
3687 (sigint): Logging more better message.
3688
36891999-05-12 Toshiaki Takada <takada@zebra.org>
3690
3691 * ospfd.c: Fix bug of `no router ospf' statement, it will work.
3692
36931999-05-11 Toshiaki Takada <takada@zebra.org>
3694
3695 * ospf_neighbor.c: ospf_nbr_free () Added.
3696
36971999-05-10 Toshiaki Takada <takada@zebra.org>
3698
3699 * ospfd.h: struct ospf_area { }, struct ospf_network { } Changed.
3700 * Fix bug of `no network' statement, it will work.
3701
37021999-05-07 Toshiaki Takada <takada@zebra.org>
3703
3704 * ospf_interface.c, ospf_zebra.c: Fix bug of last interface is not
3705 updated by ospf_if_update ().
3706
37071999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3708
3709 * Makefile.am (noinst_HEADERS): Add ospf_lsa.h for distribution.
3710
37111999-04-25 Toshiaki Takada <takada@zebra.org>
3712
3713 * ospf_interface.c: DEFUN (no_if_ospf_cost),
3714 DEFUN (no_if_ospf_dead_interval),
3715 DEFUN (no_if_ospf_hello_interval),
3716 DEFUN (no_if_ospf_priority),
3717 DEFUN (no_if_ospf_retransmit_interval),
3718 DEFUN (no_if_ospf_transmit_delay) Added.
3719
3720 interface_config_write () suppress showing interface
3721 default values.
3722
37231999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3724
3725 * ospf_dump.c (ospf_timer_dump): If thread is NULL return "inactive".
3726
3727 * ospfd.c (ospf_if_update): Fix bug of using ospf_area { } instead
3728 of ospf_network { }. So `router ospf' statement in ospfd.conf
3729 works again.
3730 (ospf_if_update): Call ospf_get_router_id for updating router ID.
3731
37321999-04-25 Toshiaki Takada <takada@zebra.org>
3733
3734 * ospf_interface.c: DEFUN (if_ospf_network) deleted.
3735 DEFUN (if_ospf_network_broadcast),
3736 DEFUN (if_ospf_network_non_broadcast),
3737 DEFUN (if_ospf_network_point_to_multipoint),
3738 DEFUN (if_ospf_network_point_to_point),
3739 DEFUN (no_if_ospf_network) Added.
3740
37411999-04-23 Toshiaki Takada <takada@zebra.org>
3742
3743 * ospfd.h: struct area { } changed to struct ospf_network { }.
3744 Add struct ospf_area { }.
3745 * ospfd.c: Add ospf_area_lookup_by_area_id (), ospf_network_new (),
3746 and ospf_network_free ().
3747 DEFUN (area_authentication), DEFUN (no_area_authentication) Added.
3748
37491999-04-22 Toshiaki Takada <takada@zebra.org>
3750
3751 * ospf_lsa.h: New file.
3752 * ospf_packet.h: LSA related struct definition are moved to
3753 ospf_lsa.h.
3754 * ospf_packet.c: ospf_verify_header () Added.
3755
37561999-04-21 Toshiaki Takada <takada@zebra.org>
3757
3758 * ospf_ism.c: ospf_elect_dr () and related function is changed.
3759 DR Election bug fixed.
3760 * ospf_dump.c: ospf_nbr_state_message (), ospf_timer_dump () Added.
3761 * ospfd.c: DEFUN (show_ip_ospf_neighbor) Added.
3762
37631999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
3764
3765 * ospf_main.c (main): access_list_init () is added for vty
3766 connection filtering.
3767
37681999-04-16 Toshiaki Takada <takada@zebra.org>
3769
3770 * ospfd.c: DEFUN (show_ip_ospf_interface) Added.
3771 * ospf_neighbor.c: ospf_nbr_count () Added.
3772
37731999-04-15 Toshiaki Takada <takada@zebra.org>
3774
3775 * ospfd.h: struct ospf { } Changed.
3776 * ospfd.c: ospf_lookup_by_process_id () Deleted.
3777 * ospf_ism.c: ospf_wait_timer () Added. WaitTimer will work.
3778
37791999-04-14 Toshiaki Takada <takada@zebra.org>
3780
3781 * ospf_ism.c: ospf_elect_dr () Added.
3782 * ospf_network.c: ospf_if_ipmulticast () Added.
3783
37841999-04-11 Toshiaki Takada <takada@zebra.org>
3785
3786 * ospf_interface.c: interface_config_write (),
3787 DEFUN (if_ip_ospf_cost),
3788 DEFUN (if_ip_ospf_dead_interval),
3789 DEFUN (if_ip_ospf_hello_interval),
3790 DEFUN (if_ip_ospf_priority),
3791 DEFUN (if_ip_ospf_retransmit_interval) and
3792 DEFUN (if_ip_ospf_transmit_delay) Added.
3793
37941999-04-08 Toshiaki Takada <takada@zebra.org>
3795
3796 * ospf_dump.c: ospf_packet_db_desc_dump () Added.
3797 * ospf_neighbor.c: ospf_nbr_bidirectional () Added.
3798 * ospf_nsm.c: nsm_twoway_received () Added.
3799
38001999-04-02 Toshiaki Takada <takada@zebra.org>
3801
3802 * ospf_neighbor.c: New file.
3803 * ospf_neighbor.h: New file.
3804 * ospf_nsm.c: New file.
3805 * ospf_nsm.h: New file.
3806 * ospf_packet.c: Add ospf_make_header (), ospf_hello () and
3807 ospf_hello_send (). Now OSPFd can receive Hello and send Hello.
3808
38091999-03-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3810
3811 * ospf_packet.c: Add ospf_recv_packet (). Now OSPF Hello can receive.
3812
38131999-03-19 Toshiaki Takada <takada@zebra.org>
3814
3815 * ospf_packet.c: New file.
3816 * ospf_packet.h: New file.
3817 * ospf_network.c: New file.
3818 * ospf_network.h: New file.
3819 * ospfd.h: move OSPF message structure has moved to ospf_packet.h.
3820
38211999-03-17 Kunihiro Ishiguro <kunihiro@zebra.org>
3822
3823 * ospf_zebra.c (ospf_zebra_get_interface): Fix for IPv6 interface
3824 address.
3825
3826 * Makefile.am (install-sysconfDATA): Overwrite install-sysconfDATA
3827 for install ospfd.conf.sample as owner read only file.
3828
3829 * ospf_main.c (usage): Change to use ZEBRA_BUG_ADDRESS.
3830
38311999-03-15 Toshiaki Takada <takada@zebra.org>
3832
3833 * ospf_ism.c: New file.
3834 * ospf_ism.h: New file.
3835 * ospf_dump.c: New file.
3836 * ospf_dump.h: New file.
3837
3838 * ospfd.h: Add (struct ospf), (struct config_network),
3839 (struct message) structure.
3840
3841 * ospf_interface.c: Add ospf_if_match_network ().
3842 * ospf_interface.h (struct ospf_interface): Change struct members.
3843
3844 * ospfd.c: ospf_lookup_by_process_id (), ospf_network_new (),
3845 DEFUN (network_area): Added.
3846
3847 * ospfd.conf.sample: Change sample configuration.
3848
38491999-03-05 Toshiaki Takada <takada@zebra.org>
3850
3851 * ospf_interface.c: New file.
3852 * ospf_interface.h: New file.
3853 * ospf_zebra.h: New file.
3854 * ospf_zebra.c: Add interface function for zebra daemon.
3855 * ospfd.c: New file.
3856
38571999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3858
3859 * Move IPv6 codes and files to ospf6d directory.
3860
38611999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
3862
3863 * syslog support added
3864
38651998-12-22 Toshiaki Takada <takada@zebra.org>
3866
3867 * ospfd.h: New file.
3868 * ospf_lsa.h: New file.
3869
38701998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
3871
3872 * Makefile.am: New file.
3873 * ospf_main.c: New file.
3874