blob: d0cc5455e0d40e26ca50c1185c0e8e4e5fc3b222 [file] [log] [blame]
pauld57834f2005-07-12 20:04:22 +000012005-07-12 Paul Jakma <paul.jakma@sun.com>
2
3 * ospfd.h: add OSPF_ABR_DEFAULT for convenience, make
4 OSPF_ABR_CISCO be the default ABR type.
5 * ospfd.c: (ospf_new) initialise abr_type to OSPF_ABR_DEFAULT
6 * ospf_vty.c: (no_ospf_abr_type_cmd) add standard as a negatable
7 abr_type. default abr_type should be OSPF_ABR_DEFAULT.
8 (ospf_config_write) test whether default abr_type against
9 OSPF_ABR_DEFAULT, rather than any specific ABR_TYPE.
10
hasso8469bd72005-06-20 20:50:10 +0000112005-06-20 Hasso Tepper <hasso at quagga.net>
hassof4833e92005-06-20 20:42:26 +000012
13 * ospf_nsm.c: Make database exchange for NSSA database work.
14
paul7461d452005-06-13 13:57:16 +0000152005-06-13 Paul Jakma <paul.jakma@sun.com>
16
17 * ospf_spf.c: Try get more information on a SEGV under
18 ospf_spf_vertex_add_parent.
19 (ospf_vertex_free) NULL out the child and nexthop lists
20 (ospf_vertex_add_parent) nexthop and child can not be NULL
21 vertex_nexthop's parent->child list can not be NULL
22 (ospf_spf_next) w and cw are per-loop iteration variables, move
23 declarations into loop body.
24
hasso1ddd7292005-06-07 19:54:04 +0000252005-06-07 Hasso Tepper <hasso at quagga.net>
26
27 * ospf_apiserver.c: Fix obvious error in notifying clients about ISM
28 changes - oi->ifp->status doesn't give to us info about ISM,
29 oi->state does.
30
paul7e440862005-06-01 11:20:51 +0000312005-06-01 Akihiro Mizutani <mizutani@net-chef.net>
32
33 * ospf_ism.c (ospf_elect_bdr/ospf_elect_dr): Fix DR election bug.
34
paul500e4182005-05-26 17:11:13 +0000352005-05-26 Paul Jakma <paul.jakma@sun.com>
36
37 * ospf_abr.c: (ospf_abr_update_aggregate) Fix comment, cost bug itself
38 had been fixed long ago by Sowmini.
39
paula3387a42005-05-18 23:29:57 +0000402005-05-19 Paul Jakma <paul.jakma@sun.com>
41
42 * ospf_interface.c: (ospf_if_table_lookup) Fix a serious bug
43 a less serious one.
44 1: this function is supposed to lookup
45 entries in the oifs ospf_interface route_table and return either
46 an existing oi or NULL to indicate not found, its caller depends
47 on this, yet this function uses route_node_get which /always/
48 returns a route_node - one is created if none exists. Use
49 route_node_lookup instead. This should fix root cause of the
50 reports of the (ospf_add_to_if) assert being hit.
51 2: oi's are inserted into this table with prefixlength set to
52 /32 (indeed, it should be a hash table, not a route_table),
53 however prefixlength to lookup was not changed, if no valid entry
54 can be inserted other than /32, then nothng but /32 should be
55 looked up. This possibly only worked by fluke..
56 Fix confirmed by 2 reporters (one list, one IRC), definitely a
57 backport candidate once it has been incubated in HEAD for a while.
58 Thanks to Patrick Friedel and Ivan Warren for testing.
59
paul69310a62005-05-11 18:09:59 +0000602005-05-11 Paul Jakma <paul.jakma@sun.com>
61
62 * (general) Fix memory leaks in opaque AS-scope LSAs, reported and
63 with much debugging done by by scott collins <scollins@agile.tv>.
64 * ospf_lsa.c: (ospf_discard_from_db) dont call
65 ospf_ase_unregister_external_lsa for opaque-lsa's, opaques are
66 never registered with ase in the first place.
67 * ospf_packet.c: (general) Disabuse opaque related code of its
68 tendency to try gather up things into temporary lists.
69 (ospf_ls_upd) remove the temporary lists opaque uses, call
70 opaque functions inline, just like all other types.
71 (ospf_ls_ack) ditto.
72 (ospf_recv_packet) fixup sign warning.
73 * ospf_opaque.c: (general) fix the unneeded use of lists, and
74 untwist some of the logic.
75 (ospf_opaque_self_originated_lsa_received) take a single LSA
76 as argument, not a list of them. Remove the list loop. Logic
77 otherwise unchanged.
78 (ospf_opaque_ls_ack_received) Mostly ditto. But untwist the logic,
79 move the actions up into the switch block, remove the goto's and
80 sanitise the logic near the end a bit.
81 * ospf_opaque.h: Adjust definitions of aforementioned functions
82 in ospf_opaque.c to match.
83
paul42c98192005-05-07 02:22:51 +0000842005-05-07 Yar Tikhiy <yar@comp.chem.msu.su>
85
86 * ospf_network.c: Log ifindex on multicast membership leave/join
87 events.
88
paul4dadc292005-05-06 21:37:42 +0000892005-05-06 Paul Jakma <paul.jakma@sun.com>
90
91 * (general) extern and static qualifiers added.
92 unspecified arguments in definitions fixed, typically they should
93 be 'void'.
94 function casts added for callbacks.
95 Guards added to headers which lacked them.
96 Proper headers included rather than relying on incomplete
97 definitions.
98 gcc noreturn function attribute where appropriate.
99 * ospf_opaque.c: remove the private definition of ospf_lsa's
100 ospf_lsa_refresh_delay.
101 * ospf_lsa.h: export ospf_lsa_refresh_delay
102 * ospf_packet.c: (ospf_make_md5_digest) make *auth_key const,
103 correct thing to do - removes need for the casts later.
104 * ospf_vty.c: Use vty.h's VTY_GET_INTEGER rather than ospf_vty's
105 home-brewed versions, shuts up several warnings.
106 * ospf_vty.h: remove VTY_GET_UINT32. VTY_GET_IPV4_ADDRESS and
107 VTY_GET_IPV4_PREFIX moved to lib/vty.h.
108 * ospf_zebra.c: (ospf_distribute_list_update_timer) hacky
109 overloading of the THREAD_ARG pointer should at least use
110 uintptr_t.
111
paul9e67dc22005-04-15 12:10:17 +00001122005-04-15 Zhipeng Gong <zpgong@cdc.3upsystems.com>
113
114 * ospf_abr.c: (ospf_abr_announce_network_to_area) dont forget
115 to approve LSAs for the case where metric has changed, lsa gets
116 flushed otherwise. (backport candidate).
117
ajs634f9ea2005-04-11 15:51:40 +00001182005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
119
120 * ospf_zebra.c (ospf_zebra_add): Call zclient_send_message instead
121 of writen.
122
ajsd2fc8892005-04-02 18:38:43 +00001232005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
124
ajse4319de2005-04-02 23:23:55 +0000125 * ospf_interface.h: (ospf_if_lookup_by_name) Remove declaration of a
126 function that does not exist.
127
1282005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
129
ajs21fefa92005-04-02 23:16:41 +0000130 * ospf_zebra.c: (zebra_interface_if_lookup) Must use
131 if_lookup_by_name_len.
132
1332005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
134
ajsa3491982005-04-02 22:50:38 +0000135 * ospf_interface.c: (ospf_vl_new) Use strnlen to fix call to if_create.
136
1372005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
138
ajsd2fc8892005-04-02 18:38:43 +0000139 * ospf_vty.c: (show_ip_ospf_interface_sub) Show ifindex and interface
140 flags to help with debugging.
141 * ospf_zebra.c: (ospf_interface_delete) After deleting, set ifp->ifindex
142 to IFINDEX_INTERNAL.
143 (zebra_interface_if_lookup) Make function static. Tighten up code.
144
ajsaca72fd2005-03-31 15:18:21 +00001452005-03-31 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
146
147 * ospf_dump.c: (show_debugging_ospf) Show if ospf event debugging
148 is turned on.
149
ajsfd651fa2005-03-29 16:08:16 +00001502005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
151
ajsa608bbf2005-03-29 17:03:49 +0000152 * ospf_zebra.c: (ospf_interface_state_up) If the MTU of an operative
153 interface changes, print a debug message and call ospf_if_reset()
154 to simulate down/up on the interface.
155 * ospf_interface.h: Declare new function ospf_if_reset().
156 * ospf_interface.c: (ospf_if_reset) New function to call ospf_if_down
157 and ospf_if_up for all ospf interfaces attached to an interface.
158
1592005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
160
ajs5dcbdf82005-03-29 16:13:49 +0000161 * ospf_packet.c: (ospf_write_frags) Enhance error message to
162 show MTU. Also make function static.
163 (ospf_write) Enhance error message to show interface name and MTU.
164 Also make function static.
165
1662005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
167
168 * ospf_vty.c: (show_ip_ospf_interface_sub) Display interface MTU and
169 bandwidth; this is useful for debugging problems. Also, the function
170 should be static.
ajsfd651fa2005-03-29 16:08:16 +0000171
hasso1b639042005-03-27 13:32:25 +00001722005-03-27 Hasso Tepper <hasso at quagga.net>
173
174 * ospf_snmp.c: Don't crash in snmp query if ospf instance doesn't
175 exist at all.
176
hasso343f5cc2005-03-25 19:48:40 +00001772005-03-25 Hasso Tepper <hasso at quagga.net>
178
179 * ospfd.h: Include log.h, fixes compile with gcc-4.0.
180
ajs9dbc7972005-03-13 19:27:22 +00001812005-03-13 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
182
183 * ospf_lsa.c: (ospf_lsa_refresh_walker) If the system clock jumps
184 backward, then current time may be less than
185 ospf->lsa_refresher_started. This was causing invalid values
186 for ospf->lsa_refresh_queue.index resulting in infinite loops.
187 Problem fixed by casting the expression to unsigned before taking
188 the modulus.
189
ajs5c333492005-02-23 15:43:01 +00001902005-02-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
191
192 * ospfd.h: Add new field struct stream *ibuf to struct ospf.
193 * ospfd.c: (ospf_new) Check return code from ospf_sock_init.
194 Allocate ibuf using stream_new(OSPF_MAX_PACKET_SIZE+1).
195 (ospf_finish) Call stream_free(ospf->ibuf.
196 * ospf_packet.c: (ospf_read) Call stream_reset(ospf->ibuf) and then
197 pass it to ospf_recv_packet for use in receiving the packet
198 (instead of allocating a new stream for each packet received).
199 Eliminate all calls to stream_free(ibuf).
200 (ospf_recv_packet) The struct stream *ibuf is now passed in as
201 an argument. No need to use recvfrom to peek at the packet
202 header (to see how big it is), just use ospf->ibuf which is
203 always large enough (this eliminates a system call to recvfrom).
204 Therefore, no need to allocate a stream just for this packet,
205 and no need to free it when done.
206
hasso462f20d2005-02-23 11:29:02 +00002072005-02-23 Vincenzo Eramo <eramo at infocom.ing.uniroma1.it>
208
209 * ospf_lsa.h: New flag to the LSA structure for the SPF calculation.
210 * ospf_lsdb.h: Export ospf_lsdb_clean_stat() function.
211 * ospf_spf.h: Add link to the LSA stat structure into vertex.
212 * ospf_spf.c: New functions cmp() and update_stat() to manage
213 candidates. Remove ospf_spf_has_vertex(), ospf_vertex_lookup(),
214 ospf_install_candidate() and ospf_spf_register() functions not needed
215 any more. Update ospf_vertex_new(), ospf_spf_next() and
216 ospf_spf_calculate() functions to use pqueue instead of linked list.
217
hassoe40dcce2005-02-21 14:58:42 +00002182005-02-21 Hasso Tepper <hasso at quagga.net>
219
220 * ospf_ase.c: Don't show messages related to the ase calculations if
221 we are not debugging.
222
hasso306541b2005-02-19 17:58:40 +00002232005-02-19 Hasso Tepper <hasso at quagga.net>
224
225 * ospf_api.h: char isn't always signed, but it has to be it here.
226
paulfa81b712005-02-19 01:19:20 +00002272005-02-19 Paul Jakma <paul.jakma@sun.com>
228
229 * ospf_packet.c: (ospf_stream_copy) remove
230 (ospf_packet_dup) use stream_copy instead of ospf_stream_copy
231
ajs038163f2005-02-17 19:55:59 +00002322005-02-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
233
234 * ospf_packet.c: (ospf_recv_packet) If there is somehow a runt
235 packet in the queue, it must be discarded. Improve warning messages.
236 Fix scope to static.
237 (ospf_read) Fix bug: should reset the read thread in all cases
238 to make sure we continue to get incoming messages.
239
paul658b03a2005-02-15 10:10:55 +00002402005-02-15 Paul Jakma <paul.jakma@sun.com>
241
242 * ospf_packet.c: (ospf_recv_packet) Fix silly error wrt allocating
243 ibuf. Thanks Andrew.
244
paulbfdc44a2005-02-14 23:48:42 +00002452005-02-14 Paul Jakma <paul.jakma@sun.com>
246
247 * ospf_packet.c: (ospf_recv_packet) use stream_recvmsg.
248
hasso082253f2005-02-11 08:31:54 +00002492005-02-11 Hasso Tepper <hasso at quagga.net>
250
251 * ospf_lsdb.c: Fix sum of checksums calculation.
252
ajs083ee9d2005-02-09 15:35:50 +00002532005-02-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
254
255 * ospf_packet.c: (ospf_write) If sendmsg fails, give more info in the
256 error message.
257
ajsba6454e2005-02-08 15:37:30 +00002582005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
259
ajs8cfde372005-02-08 15:59:16 +0000260 * ospf_interface.h: Reduce structure padding by putting new u_char
261 field multicast_memberships in a better spot (grouped with
262 other u_char fields type and state).
263
2642005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
265
ajsba6454e2005-02-08 15:37:30 +0000266 * ospf_interface.h: Improve passive_interface comment. Add new
267 multicast_memberships bitmask to struct ospf_interface to track
268 active multicast subscriptions. Declare new function
269 ospf_if_set_multicast.
270 * ospf_interface.c: (ospf_if_set_multicast) New function to configure
271 multicast memberships properly based on the current
272 multicast_memberships status and the current values of the
273 ospf_interface state, type, and passive_interface status.
274 (ospf_if_up) Remove call to ospf_if_add_allspfrouters (this is
275 now handled by ism_change_state's call to ospf_if_set_multicast).
276 (ospf_if_down) Remove call to ospf_if_drop_allspfrouters (now
277 handled by ism_change_state).
278 * ospf_ism.c: (ospf_dr_election) Remove logic to join or leave
279 the DRouters multicast group (now handled by ism_change_state's call
280 to ospf_if_set_multicast).
281 (ism_change_state) Add call to ospf_if_set_multicast to change
282 multicast memberships as necessary to reflect the new interface state.
283 * ospf_packet.c: (ospf_hello) When a Hello packet is received on a
284 passive interface: 1. Increase the severity of the error message
285 from LOG_INFO to LOG_WARNING; 2. Add more information to the error
286 message (packet destination address and interface address);
287 and 3. If the packet was sent to ospf-all-routers, then try
288 to fix the multicast group memberships.
289 (ospf_read) When a packet is received on an interface whose state
290 is ISM_Down, enhance the warning message to show the packet
291 destination address, and try to update/fix the multicast group
292 memberships if the packet was sent to a multicast address.
293 When a packet is received for ospf-designated-routers, but the
294 current interface state is not DR or BDR, then increase the
295 severity level of the error message from LOG_INFO to LOG_WARNING,
296 and try to fix the multicast group memberships.
297 * ospf_vty.c: (ospf_passive_interface) Call ospf_if_set_multicast for
298 any ospf interface that may have changed from active to passive.
299 (no_ospf_passive_interface) Call ospf_if_set_multicast for
300 any ospf interface that may have changed from passive to active.
301 (show_ip_ospf_interface_sub) Show multicast group memberships.
302
paul3a9eb092005-02-08 11:29:41 +00003032005-02-08 Paul Jakma <paul@dishone.st>
304
305 * ospf_packet.c: (various) Remove unneeded stream_set_putp abuse.
306
ajs847947f2005-02-02 18:38:48 +00003072005-02-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
308
309 * ospf_packet.c: (ospf_read) Fix bug: must check for state ISM_Down,
310 not for event ISM_InterfaceDown. And improve the message by
311 adding the interface flags.
312
ajs0b7d97d2005-01-30 17:24:02 +00003132005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
314
315 * ospf_network.c: (ospf_sock_init) Save errno before calling
316 ospfd_privs.change.
317
ajsc3eab872005-01-29 15:52:07 +00003182005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
319
320 * ospf_packet.c: (ospf_packet_add) If oi->obuf is NULL, print
321 an error message and return.
322 (ospf_read) If the interface state is ISM_InterfaceDown, issue
323 a warning message and ignore the packet.
324
gdt86f1fd92005-01-10 14:20:43 +00003252005-01-10 Greg Troxel <gdt@fnord.ir.bbn.com>
326
327 * ospf_packet.h: Remove commented out definition of
328 OSPF_MAX_PACKET; neither it or the uncommented one are used any more.
329
330 * ospf_packet.c (ospf_make_ls_upd): Leave room for authentication
331 when deciding if an update will fit.
332 (ospf_packet_authspace): Factor out calculation of size required
333 for authentication.
334 (ospf_make_db_desc): Use ospf_max_packet, not OSPF_MAX_PACKET.
335 Don't confuse readers that there is a macro.
336
ajs3dc56b52004-12-30 15:11:19 +00003372004-12-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
338
339 * ospf_network.c: Improve all setsockopt error messages to give detailed
340 information on the arguments.
341
ajsb87f7722004-12-29 20:41:26 +00003422004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
343
ajs17eaa722004-12-29 21:04:48 +0000344 * ospf_packet.c: (ospf_db_desc) Reduce severity of "Negotiation done"
345 messages from LOG_WARNING to LOG_INFO, since this seems to be
346 normal.
347
3482004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
349
ajsb87f7722004-12-29 20:41:26 +0000350 * ospf_packet.c: (ospf_read) Always look up the interface if
351 ospf_recv_packet returns NULL ifp, since some platforms such
352 as Solaris 8 appear to support ifindex retrieval but don't.
353
hasso1d806282004-12-22 09:43:20 +00003542004-12-22 Hasso Tepper <hasso at quagga.net>
355
356 * ospf_dump.c: Show debug configuration in vtysh.
hassoc6b87812004-12-22 13:09:59 +0000357 * ospf_vty.c: Fix "show ip ospf" output. Router can't be elected in
358 any case if it's configured as "translate-never".
hassofe71a972004-12-22 16:16:02 +0000359 * ospf_lsdb.[ch]: New function to calculate sum of checksums.
360 * ospf_vty.c: Bugfix to show really number of AS external LSAs, not
361 number of all LSAs with AS scope, this includes opaque as LSAs as
362 well, show this number separately. Show numbers and sums of
363 checksums for each type of LSAs.
364 * ospf_lsa.c: Calculate checksum before putting LSA into database.
hasso1d806282004-12-22 09:43:20 +0000365
ajsbc18d612004-12-15 15:07:19 +00003662004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
367
368 * ospf_interface.h: Declare new function ospf_default_iftype.
369 * ospf_interface.c: (ospf_default_iftype) New function to centralize
370 this logic in one place.
371 * ospf_zebra.c: (ospf_interface_add) Use new function
372 ospf_default_iftype.
373 * ospf_vty.c: (no_ip_ospf_network,config_write_interface) Fix logic
374 by using new function ospf_default_iftype.
375
ajs3aa8d5f2004-12-11 18:00:06 +00003762004-12-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
377
378 * ospf_packet.c: (ospf_db_desc) Should be static, not global.
379 (ospf_hello,ospf_db_desc,ospf_ls_upd,ospf_ls_ack) Improve warning
380 messages to include identifying information (e.g. router id).
381 * ospf_nsm.c: (nsm_change_state) Improve info message to include
382 router id and state names.
383
gdt91f3e522004-12-09 14:51:03 +00003842004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
385
gdt3fb9de72004-12-09 16:30:04 +0000386 * ospf_apiserver.c (ospf_apiserver_term): Obtain struct
387 ospf_apiserver * from listnode. Remove unused variables. Follows
388 suggestion from Jay Fenlason.
gdt91f3e522004-12-09 14:51:03 +0000389
ajs9b0e25c2004-12-08 19:06:51 +00003902004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
391
392 * *.c: Change level of debug messages to LOG_DEBUG.
393
ajs274a4a42004-12-07 15:39:31 +00003942004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
395
396 * ospf_main.c: (main) The 2nd argument to openzlog has been removed.
397
ajs887c44a2004-12-03 16:36:46 +00003982004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
399
ajs1210fa62004-12-03 16:43:24 +0000400 * ospf_packet.c: (ospf_db_desc) Reduce priority on a debug message
401 from LOG_NOTICE to LOG_DEBUG.
402
4032004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
404
ajs887c44a2004-12-03 16:36:46 +0000405 * ospf_main.c: (sigint) Use zlog_notice for termination message.
406 (main) Issue a startup announcement using zlog_notice.
407
ajsbec595a2004-11-30 22:38:43 +00004082004-11-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
409
410 * ospf_packet.c: (ospf_db_desc_proc) Fix spelling of packet in warning
411 message and in comment.
412 (ospf_db_desc) Warning message that a packet is being discarded
413 should give the router id of the packet source. Fix spelling
414 of packet in two warning messages.
415 (ospf_ls_req) Warning message that a link state request is being
416 discarded should give the router id of the neighbor that sent it.
417
ajs5b85fac2004-11-26 19:36:42 +00004182004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
419
420 * ospf_main.c: Remove #include "debug.h" (was not being used, and
421 lib/debug.h has now been deleted).
422
hassoc0652302004-11-25 19:33:48 +00004232004-11-25 Hasso Tepper <hasso at quagga.net>
424
425 * ospf_main.c: Make group to run as configurable.
426
gdt69e13252004-11-15 18:51:15 +00004272004-11-15 Greg Troxel <gdt@fnord.ir.bbn.com>
428
429 * ospf_packet.c (ospf_recv_packet): Assume CMSG_SPACE is present
430 and works (lib/zebra.h provides if OS doesn't).
431
paul788dab12004-11-15 11:48:37 +00004322004-11-15 Paul Jakma <paul@dishone.st>
433
434 * ospf_{apiserver,te}.c: ospf_lsa_free's should be ospf_lsa_unlock.
435
paul05e85fa2004-11-12 10:52:19 +00004362004-11-12 Paul Jakma <paul@dishone.st>
437
438 * ospf_ia.c: (process_summary_lsa) Only an ABR has any reason to
439 ignore stub area summary default. Even so it seems a strange
440 check, add a comment to that effect.
441
paulf3ae74c2004-11-04 20:35:31 +00004422004-11-04 Paul Jakma <paul@dishone.st>
443
444 * ospfd.c: (ospf_network_match_iface) revert to previous network
445 statement match behaviour.
446
paul62d8e962004-11-02 20:26:45 +00004472004-11-02 Paul Jakma <paul@dishone.st>
448
449 * ospf_packet.c: (ospf_write_frags) remove iov arg, msg already points
450 to it. Add convenience pointer to msg->msg_iov[1], and use this,
451 fixing the unfortunate borkenness introduced in moving of this code
452 to a function.
453 (ospf_write) remove iovp and fix up call to previous.
454 (ospf_ls_upd_packet_new) cast size to long int - unfortunately
455 glibc's size_t format modifier is not portable.
456
paul37ccfa32004-10-31 11:24:51 +00004572004-10-31 Paul Jakma <paul@dishone.st>
458
459 * ospf_packet.c: (ospf_write_frags) Add debug output
460 (ospf_write) set type early, so we can pass it to
461 ospf_write_frags.
462 (ospf_ls_upd_packet_new) print size in debug output when too large
463 packet is encountered.
paul64511f32004-10-31 18:01:13 +0000464 * ospf_zebra.c: (ospf_distribute_list_update_timer) Ugly misuse of
465 THREAD_ARG to store an integer, but it should at least use same
466 same type to retrieve the value. Assert value is sane.
paul37ccfa32004-10-31 11:24:51 +0000467
paulac191232004-10-22 12:05:17 +00004682004-10-22 Paul Jakma <paul@dishone.st>
469
470 * ospf_network.c: (ospf_sock_init) call neutral setsock_ifindex()
471 function.
472 * ospf_packet.c: (ospf_read) manually look up ifindex
paul4ccb2c42004-10-22 22:52:33 +0000473 if system could not have returned one, eg openbsd, thanks to Rivo
474 Nurges for highlighting problem and fix.
paul06f953f2004-10-22 17:00:38 +0000475 Change setsockopt_pktinfo to setsockopt_ifindex.
paulac191232004-10-22 12:05:17 +0000476
hasso3fb9cd62004-10-19 19:44:43 +00004772004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
478
479 * ospf_snmp.c: (ospf_snmp_if_update) Fix logic to handle PtP links
480 with dedicated subnets properly.
481 * ospf_lsa.c: (lsa_link_ptop_set) ditto.
482 * ospfd.c: (ospf_network_match_iface) ditto.
483 (ospf_network_run) ditto.
484 * ospf_interface.c: (ospf_if_is_configured) ditto.
485 (ospf_if_lookup_by_prefix) ditto.
486 (ospf_if_lookup_recv_if) ditto.
487 * ospf_vty.c: (show_ip_ospf_interface_sub) Display the peer or
488 broadcast address if present.
489
hassod68614d2004-10-13 09:32:48 +00004902004-10-13 Hasso Tepper <hasso at quagga.net>
491
492 * ospf_main.c: Unbreak compilation with ospfapi disabled.
hassoc75105a2004-10-13 10:33:26 +0000493 * ospf_snmp.c: Remove defaults used to initialize smux connection to
494 snmpd. Connection is initialized only if smux peer is configured.
hassod68614d2004-10-13 09:32:48 +0000495
hassof4d58ce2004-10-12 06:13:54 +00004962004-10-12 Hasso Tepper <hasso at quagga.net>
497
498 * ospf_main.c, ospf_opaque.c: Unbreak ospfclient compilation - move
499 static variable from ospf_main.c into ospf_opaque.c.
500
hassoc3abdb72004-10-11 16:27:03 +00005012004-10-11 Hasso Tepper <hasso at quagga.net>
502
503 * ospf_main.c, ospf_opaque.c: Disable ospfapi init by default. New
504 command line switch to enable it.
505
paul6b333612004-10-11 10:11:25 +00005062004-10-11 Paul Jakma <paul@dishone.st>
507
508 * ospf_dump.c: (ospf_ip_header_dump) Assume header is in host order
509 remove ntohs that should have dissappeared. Take struct ip
510 as argument, caller has to know there's an IP header at start of
511 stream anyway.
512 * ospf_dump.h: update declaration of ospf_ip_header_dump.
513 * ospf_packet.c: (ospf_write) correct call to
514 sockopt_iphdrincl_swab_htosys which was munging the header.
515 (ospf_recv_packet) ip_len is needed for old OpenBSD fixup.
516 (ospf_read) sockopt_iphdrincl_swab_systoh ip header as soon as
517 we have it.
paul6c835672004-10-11 11:00:30 +0000518 * (global) Const char update and signed/unsigned fixes.
519 * (various headers) size defines should be unsigned.
520 * ospf_interface.h: remove duplicated defines, include the
521 authoritative header - though, these defines should probably
522 be moved to a dedicated header, or ospfd.h.
523 * ospf_lsa.h: (struct lsa) ls_seqnum should be unsigned.
524 * ospf_packet.c: (ospf_write) cast result of shift to unsigned.
paul6b333612004-10-11 10:11:25 +0000525
hassoeb1ce602004-10-08 08:17:22 +00005262004-10-08 Hasso Tepper <hasso at quagga.net>
527
528 * *.[c|h]: Fix compiler warnings: make some strings const, signed ->
529 unsigned, remove unused variables etc.
530
gdt54ade992004-10-07 19:38:20 +00005312004-10-07 Greg Troxel <gdt@claude.ir.bbn.com>
532
533 * ospf_apiserver.c (ospf_apiserver_unregister_opaque_type): Don't
534 use of variable names 'node' and 'nextnode' to avoid possible
535 conflict with list macros. Move variable declaration inside for
536 loop after a statement to top of function.
537
paulaa20c6f2004-10-07 14:19:36 +00005382004-10-07 Paul Jakma <paul@dishone.st>
539
540 * ospf_snmp.c: Missed list typedef update
541 * ospf_dump.c: Include sockopt.h for header swab functions.
542
paul18b12c32004-10-05 14:38:29 +00005432004-10-05 Paul Jakma <paul@dishone.st>
544
545 * ospf_packet.c: replace ospf_swap_iph_to... with
546 sockopt_iphdrincl_swab_...
547
hasso18a6dce2004-10-03 18:18:34 +00005482004-10-03 James R. Leu <jleu at mindspring.com>
549
550 * ospf_zebra.c: Read router id related messages from zebra daemon.
551 Schedule router-id update thread if it's changed.
552 * ospfd.c: Remove own router-id selection function. Use router id from
553 zebra daemon if it isn't manually overriden in configuration.
554
paul68defd62004-09-27 07:27:13 +00005552004-09-27 Paul Jakma <paul@dishone.st>
556
paul6a99f832004-09-27 12:56:30 +0000557 * ospf_dump.c: (ospf_ip_header_dump) Use HAVE_IP_HDRINCL_BSD_ORDER
558 Apply to offset too. Print ip_cksum, lets not worry about
559 possible 2.0.37 compile problems.
560 * ospf_packet.c: (ospf_swap_iph_to{n,h}) Use
561 HAVE_IP_HDRINCL_BSD_ORDER.
562 (ospf_recv_packet) ditto.
563 (ospf_write) Fixup iov argument to ospf_write_frags.
564 (struct msghdr).msg_name is caddr_t on most platforms.
paul68defd62004-09-27 07:27:13 +0000565 (ospf_recv_packet) ditto. And msg_flags is not always there
566 memset struct then set fields we care about rather than
567 initialise all fields individually.
568
hassoc9e52be2004-09-26 16:09:34 +00005692004-09-26 Hasso Tepper <hasso at quagga.net>
570
571 * ospf_abr.c, ospf_dump.c, ospf_lsa.c, ospf_packet.c, ospf_vty.c,
572 ospf_zebra.c: Fix compiler warnings.
573
paul87d6f872004-09-24 08:01:38 +00005742004-09-24 Paul Jakma <paul@dishone.st>
575
576 * ospf_apiserver.{c,h}: lists typedef removal cleanup.
577 update some list loops to LIST_LOOP. some miscellaneous indent
578 fixups.
579 (ospf_apiserver_unregister_opaque_type) fix listnode_delete of
580 referenced node in loop.
paul1603c062004-09-24 08:23:24 +0000581 (ospf_apiserver_term) loops calling ospf_apiserver_free, which
582 deletes referenced nodes from apiserver_list, fixed.
paul87d6f872004-09-24 08:01:38 +0000583 * ospf_interface.h: lists typedef removal cleanup.
584 * ospf_opaque.{c,h}: lists typedef removal cleanup. update some list
585 loops to LIST_LOOP. miscellaneous style and indent fixups.
586 * ospf_te.{c,h}: ditto
587 * ospf_packet.c: lists typedef removal cleanup.
paula2570682004-09-24 08:09:57 +0000588 (ospf_write) ifdef fragmentation support. move actual
589 fragmentation out to a new, similarly ifdefed, function.
590 (ospf_write_frags) fragmented write support, moved from previous.
paul87d6f872004-09-24 08:01:38 +0000591
hasso52dc7ee2004-09-23 19:18:23 +00005922004-09-23 Hasso Tepper <hasso at quagga.net>
593
594 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
595
paul68b73392004-09-12 14:21:37 +00005962004-09-12 Paul Jakma <paul@dishone.st>
597
598 * ospf_packet.c: Fix bugzilla #107
599 (ospf_packet_max) get rid of the magic 88 constant
600 (ospf_swab_iph_ton) new function. set ip header to network order,
601 taking BSDisms into account.
602 (ospf_swab_iph_toh) the inverse.
603 (ospf_write) Add support for IP fragmentation, will only work on
604 linux though, other kernels make it impossible. get rid of the
605 magic 4 constant.
606 (ospf_make_ls_upd) Bound check to end of stream, not to
607 interface mtu.
608 (ospf_ls_upd_packet_new) New function, allocate upd packet
609 taking oversized LSAs into account.
610 (ospf_ls_upd_queue_send) use ospf_ls_upd_packet_new to allocate,
611 rather than statically allocating mtu sized packet buffer, which
612 actually was wrong - it didnt take ip header into account, which
613 should not be included in packet buffer.
614 (ospf_ls_upd_send_queue_event) minor tweaks and remove
615 TODO comment.
616
gdt630e4802004-08-31 17:28:41 +00006172004-08-31 David Wiggins <dwiggins@bbn.com>
618
619 * ospf_spf.c (ospf_spf_calculate): Many more comments and debug
620 print statements. New function ospf_vertex_dump used in debugging.
621
6222004-08-31 David Wiggins <dwiggins@bbn.com>
623
624 * ospf_spf.h (struct vertex): Comments for flags and structure members.
625
6262004-08-31 David Wiggins <dwiggins@bbn.com>
627
628 * ospf_route.c: When finding an alternate route, log cost as well.
629
6302004-08-31 David Wiggins <dwiggins@bbn.com>
631
632 * ospf_interface.c (ospf_lookup_if_params): Initialize af in
633 struct prefix allocated on stack.
634
6352004-08-31 David Wiggins <dwiggins@bbn.com>
636
637 * ospf_packet.c (ospf_ls_ack_send_delayed): In p2mp mode, send
638 acks to AllSPFRouters, rather than All-DR.
639
hasso7b901432004-08-31 13:37:42 +00006402004-08-27 Hasso Tepper <hasso at quagga.net>
641
642 * ospf_vty.c: Don't print ospf network type under interface only
643 if interface is in broadcast mode and interface type really is
644 broadcast. Fixes Bugzilla #108.
645
gdtd7d93992004-08-27 12:03:42 +00006462004-08-27 David Wiggins <dwiggins@bbn.com>
647
648 * ospf_spf.c (ospf_nexthop_calculation): Initialize address family
649 in on-stack struct prefix_ipv4. Fixes point-to-multipoint SPF
650 calculation.
651
gdtd0deca62004-08-26 13:14:07 +00006522004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
653
654 * ospf_packet.c (ospf_recv_packet): adjust size declaration of
gdtd7d93992004-08-27 12:03:42 +0000655 buffer used to get interface index so that it compiles on other
656 than Linux and includes the required alignment space. Probably
657 this was only working on sparc/sparc64 because most of
658 sockaddr_dl was not being written.
gdtd0deca62004-08-26 13:14:07 +0000659
paul863082d2004-08-19 04:43:43 +00006602004-08-19 Paul Jakma <paul@dishone.st>
661
662 * ospf_packet.c: update to match sockopt renames.
663
paul75ee0b82004-08-05 09:10:31 +00006642004-08-04 Paul Jakma <paul@dishone.st>
665
666 * ospf_spf.c: (ospf_spf_consider_nexthop) Add comment about issue.
667 Compare only against list head - all nexthops must be same cost
668 anyway, fixes a reference-listnode-after-delete bug noted by
669 Kir Kostuchenko.
670 (ospf_nexthop_calculation) Use ospf_spf_consider_nexthop for all
671 candidates attached to root.
672
paul36c64ef2004-07-27 11:19:11 +00006732004-07-27 Paul Jakma <paul@dishone.st>
674
paul48fe13b2004-07-27 17:40:44 +0000675 * ospf_packet.c: (ospf_ls_upd_send_queue_event) fix thinko from
676 last fix for ospfd wedging due to oversize LSAs: dont list loop on
677 ospf_ls_upd_queue_send() - guaranteed segfault.
678
6792004-07-27 Paul Jakma <paul@dishone.st>
680
paul36c64ef2004-07-27 11:19:11 +0000681 * ospf_opaque.c: (ospf_opaque_lsa_flush_schedule) do not NULL out
682 the LSA as then free_opaque_info_per_id() can never unlock (and
683 free) the LSA. Reported by Gunnar Stigen.
684
paul2dd8bb42004-07-23 15:13:48 +00006852004-07-23 Paul Jakma <paul@dishone.st>
686
687 * ospf_network.c: Replace PKTINFO/RECVIF with call to
688 setsockopt_pktinfo
689 * ospf_packet.c: Use getsockopt_pktinfo_ifindex and
690 SOPT_SIZE_CMSG_PKTINFO_IPV4.
691
paul59ea14c2004-07-14 20:50:36 +00006922004-07-14 Paul Jakma <paul@dishone.st>
693
694 * ospf_packet.c: (ospf_ls_upd_send_queue_event) Partial fix for
695 problem reported by Peter Frost amongst others, where function
696 will spin indefinitely if update list contains LSAs greater than
697 MTU-headers or other condition leading to update list never being
698 cleared. Problem of what to do with these LSAs remains.
699 (ospf_make_ls_upd) add comment about large LSA problem,
700 indentation cleanup.
701
gdtb2c1b282004-07-01 12:35:36 +00007022004-07-01 Greg Troxel <gdt@fnord.ir.bbn.com>
703
704 * Makefile.am (lib_LTLIBRARIES): make libospf shared
705
gdt87efd642004-06-30 17:36:11 +00007062004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
707
708 * Makefile.am: Add shlib support.
709
hassobeebba72004-06-20 21:00:27 +00007102004-06-10 Hasso Tepper <hasso@estpak.ee>
711
712 * *: Removed ifdefs HAVE_NSSA.
713
paul553ff112004-06-06 09:41:00 +00007142004-06-06 Paul Jakma <paul@dishone.st>
715
716 * ospf_dump.c,ospf_lsa.c: Fix typos of merge of previous.
717 ospf_flood.c: (ospf_process_self_originated_lsa) fix zlog format
718
paul0c2be262004-05-31 14:16:54 +00007192004-05-31 Sagun Shakya <sagun.shakya@sun.com>
720
721 * ospf_dump.c: (ospf_lsa_header_dump) LOOKUP can return null if
722 index is out of range.
723 ospf_flood.c: endianness fix
724 ospf_lsa.c: Missing ntohl's on (struct lsa *)->data->ls_seqnum
725 in various places.
726
hassodd669bb2004-05-10 07:43:59 +00007272004-05-10 Hasso Tepper <hasso@estpak.ee>
728
729 * ospf_zebra.c, ospfd.c: Move ospf_prefix_list_update() function
730 to ospf_zebra.c from ospfd.c and add redistribution updates if
731 route-map is used in redistribution.
732 * ospf_main.c: Remove now useless call to ospf_init().
733
paul0a589352004-05-08 11:48:26 +00007342004-05-08 Paul Jakma <paul@dishone.st>
735
736 * ospf_zebra.c: Sync with lib/zclient changes
737
pauld3f0d622004-05-05 15:27:15 +00007382004-05-05 Paul Jakma <paul@dishone.st>
739
paul5bd41892004-05-05 17:29:24 +0000740 * ospf_network.c: (ospf_sock_init) Check whether IP_HDRINCL is
741 defined. Warn at compile and runtime. Use
742 IPTOS_PREC_INTERNETCONTROL otherwise.
pauld3f0d622004-05-05 15:27:15 +0000743 * ospf_packet.c: (ospf_associate_packet_vl) cleanup, move
744 some of the checks up to ospf_read, return either a
745 virtual link oi, or NULL.
746 (ospf_read) Cleanup, make it responsible for checks. Remove
747 the nbr lookup - moved to ospf_neighbor. Adjust all nbr
748 lookups to use new wrappers exported by ospf_neighbor.
749 * ospf_neighbor.h: Add ospf_neigbour_get and ospf_nbr_lookup.
750 * ospf_neighbor.c: (ospf_neigbour_get) Index ospf_interface
751 neighbour table by router-id for virtual-link ospf_interfaces,
752 not by peer_addr (which breaks for asymmetric vlinks)
753 (ospf_nbr_lookup) add a wrapper for nbr lookups to deal with
754 above.
paulcd59da62004-05-05 17:26:55 +0000755 * ospf_interface.c: (ospf_vl_set_params) Catch changes of interface
756 address for either end of a virtual-link, and hence potential cost
757 changes.
758
hassoa0a39762004-04-23 08:51:10 +00007592004-04-22 Hasso Tepper <hasso@estpak.ee>
760
761 * ospf_zebra.c: Don't ignore reject/bh routes, it's the only way
762 to "summarize" routes in ASBR at the moment.
763
hasso8585d4e2004-04-20 17:25:12 +00007642004-04-20 Hasso Tepper <hasso@estpak.ee>
765
766 * ospfd.c: Unset NP flag if area is going to be normal or stub.
767 Fixes UNH OSPF_NSSA.1.2a comment.
768 * ospf_abr.c: Originate default into stub/nssa area even if
769 summaries are disabled.
770 * ospf_zebra.c: Don't attempt to redistribute 127.0.0.0/8.
771
hassoc266ac72004-04-19 17:31:00 +00007722004-04-19 Hasso Tepper <hasso@estpak.ee>
773
774 * ospf_vty.c: Don't warn that export- and import-list can't be
775 configured to backbone area if they are applied and are working
776 fine.
777
hasso128d31d2004-04-04 12:52:33 +00007782004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
779
780 * ospf_packet.c: Don't drop packets in Solaris x86.
781 [quagga-dev 1005].
782
hasso0d85b992004-03-18 19:18:33 +00007832004-03-18 Amir Guindehi <amir@datacore.ch>
784
785 * ospf_opaque.c: Attempt to correct the incorrect behavior of
786 Quagga's ospfd in the special situation that a node's opaque
787 capability has changed as "ON -> OFF -> ON". [quagga-dev 843].
788
paul7f352b82004-02-19 19:37:47 +00007892004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
790
791 * ospf_abr.c: (ospf_abr_update_aggregate) UNH 3.12b,c, address range
792 should be configured with the highest cost path within the range,
793 not lowest.
794
paul940b01a2004-02-17 20:07:30 +00007952004-02-17 Paul Jakma <paul@dishone.st>
796
797 * ospf_zebra.c: (ospf_interface_delete) Do not delete the interface
798 params, nor the interface structure, if an interface delete
799 message is received from zebra.
800 * ospf_interface.c: (ospf_if_delete_hook) Delete the interface
801 params and interface, ie that which was previously removed in
802 (ospf_interface_delete) above.
803
hasso2db3d052004-02-11 21:52:13 +00008042004-02-11 Hasso Tepper <hasso@estpak.ee>
805 * ospf_interface.c, ospf_zebra.c: Don't attempt to read path->oi->ifp
806 if oi doesn't exist any more.
807
hassocb05eb22004-02-11 21:10:19 +00008082004-02-11 Vadim Suraev <vadim.suraev@terayon.com>
809 * ospf_packet.c (ospf_ls_upd): Router should flush received network
810 LSA if it was originated with older router-id ([zebra 14710] #6).
811
8122003-12-08 Mattias Amnefelt <mattiasa@kth.se>
paul239aecc2003-12-08 10:34:54 +0000813
814 * ospf_packet.c: (ospf_recv_packet) OpenBSD now leaves iph.ip_len
815 network byte order.
816
gdt8f40e892003-12-05 14:01:43 +00008172003-12-05 Greg Troxel <gdt@poblano.ir.bbn.com>
818
819 * ospfd.c (ospf_network_match_iface): Rewrite code for clarity
820 while trying not to change semantics. Add ifdefed-out code to
821 avoid matching ppp interfaces whose destination address does not
822 also match the prefix under consideration, to help out people with
823 problems due to as-yet-unfixed bugs with p2p interfaces coming and
824 going.
825
paul736d3442003-07-24 23:22:57 +00008262003-07-25 kamatchi soundaram <kamatchi@tdd.sj.nec.com>
827
828 * ospf_packet.c (ospf_ls_upd_send_queue_event): get next route
829 node in body of the loop to avoid chance that route node
830 is unlocked and deleted before the next iteration tries to
831 get next route node.
832
paul0a825c72003-05-24 13:48:16 +00008332003-05-24 Kenji Yabuuchi
834
835 * ospf_interface.c(ospf_if_lookup_recv_if): Use the most specific
836 match for interface lookup.
837
paul551a8972003-05-18 15:22:55 +00008382003-05-18 Hasso Tepper <hasso@estpak.ee>
paul445f1432003-05-16 19:00:31 +0000839
paul551a8972003-05-18 15:22:55 +0000840 * ospf_vty.c: Show NSSA LSA route info in "show ip ospf database"
841 output
paul445f1432003-05-16 19:00:31 +0000842
pauld7480322003-05-16 17:31:51 +00008432003-05-16 Hasso Tepper <hasso@estpak.ee>
844
845 * ospf_lsa.c: Fix handling of NSSA
846
paul551a8972003-05-18 15:22:55 +00008472003-04-23 Hasso Tepper <hasso@estpak.ee>
848
849 * ospf_vty.c: fix "router xxx" node commands in vtysh
850
paul445f1432003-05-16 19:00:31 +00008512003-04-19 Hasso Tepper <hasso@estpak.ee>
852
853 * {ospf_abr,ospfd}.c: area id's DECIMAL -> ADDRESS
854 * ospf_routemap.c: sync daemon's route-map commands to have same
855 syntax.
856
8572003-04-19 Sergey Vyshnevetskiy <serg@vostok.net>
858
859 * ospf_packet.c: Add missing param to zlog
860 * ospf_flood.c: remove unused vars
861
8622003-04-17 Denis Ovsienko <zebra@pilot.org.ua>
863
864 * ospf_interface.c: fix incorrect memset
865
paul28a13842003-05-16 20:30:37 +00008662003-04-10 Amir Guindehi <amir@datacore.ch>
paul445f1432003-05-16 19:00:31 +0000867
868 * ospf_lsa.[ch]: opaque LSA fix, use ospf_lookup.
869
8702003-04-03 David Watson <dwatson@eecs.umich.edu>
871
872 * ospf_lsa.c: byte order fix
873
paul07661cb2003-03-18 00:03:05 +00008742002-03-17 Amir Guindehi <amir@datacore.ch>
875
876 * ospf_apiserver.[ch]: Merge Ralph Keller's OSPFAPI support.
877 * ospf_api.[ch]: Merge Ralph Keller's OSPFAPI support.
878 * ospfclient: OSPFAPI demonstration client.
879
8802003-01-23 Masahiko Endo <endo@suri.co.jp>
881
882 * ospf_ism.c: NSM event schedule bug fix.
883
8842002-10-30 Greg Troxel <gdt@ir.bbn.com>
885
886 * ospf_packet.c (ospf_make_md5_digest): MD5 length fix.
887
paul718e3742002-12-13 20:15:29 +00008882002-10-23 endo@suri.co.jp (Masahiko Endo)
889
890 * ospf_opaque.c: Update Opaque LSA patch.
891
8922002-10-23 Ralph Keller <keller@tik.ee.ethz.ch>
893
894 * ospf_vty.c (show_ip_ospf_database): Fix CLI parse.
895
8962002-10-23 Juris Kalnins <juris@mt.lv>
897
898 * ospf_interface.c (ospf_if_stream_unset): When write queue
899 becomes empty stop write timer.
900
9012002-10-10 Greg Troxel <gdt@ir.bbn.com>
902
903 * ospf_packet.c (ospf_check_md5_digest): Change >= to > to make it
904 conform to RFC.
905
9062002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
907
908 * zebra-0.93 released.
909
9102002-06-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
911
912 * ospf_spf.c (ospf_nexthop_calculation): Add NULL set to oi and
913 check of l2. Reported by: Daniel Drown <dan-zebra@drown.org>
914 (ospf_lsa_has_link): LSA Length calculation fix. Reported by:
915 Paul Jakma <paulj@alphyra.ie>.
916
917 * ospfd.c (ospf_if_update): Fix nextnode reference bug. Reported
918 by: juris@mt.lv.
919
9202002-01-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
921
922 * ospfd.c: Merge [zebra 11445] Masahiko ENDO's Opaque-LSA support.
923
9242001-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
925
926 * ospf_interface.c (ospf_add_to_if): Use /32 address to register
927 OSPF interface information.
928 (ospf_delete_from_if): Likewise.
929
930 * ospf_zebra.c (ospf_interface_address_delete): Likewise.
931
9322001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
933
934 * ospf_zebra.c (ospf_redistribute_unset): When redistribute type
935 is OSPF, do not unset redistribute flag.
936
9372001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
938
939 * zebra-0.92a released.
940
9412001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
942
943 * zebra-0.92 released.
944
9452001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
946
947 * ospfd.c (ospf_config_write): auto-cost reference-bandwidth
948 configuration display.
949
9502001-07-24 David Watson <dwatson@eecs.umich.edu>
951
952 * ospf_spf.c (ospf_spf_next): Modify ospf_vertex_add_parent to
953 check for an existing link before connecting the parent and child.
954 ospf_nexthop_calculation is also modified to check for duplicate
955 entries when copying from the parent. Finally, ospf_spf_next
956 removes duplicates when it merges two equal cost candidates.
957
9582001-07-23 itojun@iijlab.net
959
960 * ospfd.c (show_ip_ospf_neighbor): Check ospf_top before use it
961 [zebra 8549].
962
9632001-07-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
964
965 * ospf_packet.c (ospf_write): Remove defined(__OpenBSD__) to make
966 it work on OpenBSD.
967
9682001-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
969
970 * ospf_zebra.c (config_write_ospf_default_metric): Display
971 default-metric configuration.
972
9732001-06-18 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
974
975 * ospf_ia.h (OSPF_EXAMINE_SUMMARIES_ALL): Remove old macros.
976
9772001-05-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
978
979 * ospf_snmp.c (ospfIfEntry): Fix interface lookup bug to avoid
980 crush.
981 (ospfIfMetricEntry): Likewise.
982
9832001-03-18 Kunihiro Ishiguro <kunihiro@zebra.org>
984
985 * ospf_packet.c (ospf_read): Fix typo. Reported by: "Jen B
986 Lin'Kova" <jen@stack.net>.
987
9882001-03-15 Gleb Natapov <gleb@nbase.co.il>
989
990 * ospf_interface.c (ip_ospf_network): Set interface parameter.
991 (interface_config_write): Add check for OSPF_IFTYPE_LOOPBACK.
992
993 * ospf_zebra.c (ospf_interface_add): Set interface parameter.
994
9952001-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
996
997 * ospf_packet.c (ospf_recv_packet): Solaris also need to add
998 (iph.ip_hl << 2) to iph.ip_len.
999
10002001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1001
1002 * ospfd.h (OSPF_LS_REFRESH_TIME): Fix OSPF_LS_REFRESH_TIME value.
1003 Suggested by: David Watson <dwatson@eecs.umich.edu>.
1004
1005 * ospf_zebra.c (zebra_init): Remove zebra node.
1006
1007 * ospfd.c (ospf_area_range_set): Function name is changed from
1008 ospf_ara_range_cmd.
1009 (ospf_area_range_unset): New function which separated from DEFUN.
1010 New commands are added:
1011 "no area A.B.C.D range A.B.C.D/M advertise"
1012 "no area <0-4294967295> range A.B.C.D/M advertise"
1013 "no area A.B.C.D range A.B.C.D/M not-advertise"
1014 "no area <0-4294967295> range A.B.C.D/M not-advertise"
1015
1016 * ospf_lsa.c (ospf_lsa_more_recent): Fix previous change.
1017
10182001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
1019
1020 * ospf_network.c (ospf_if_add_allspfrouters): Use
1021 setsockopt_multicast_ipv4.
1022 (ospf_if_drop_allspfrouters): Likewise.
1023
1024 * ospf_lsa.c (ospf_router_lsa_install): Add rt_recalc flag.
1025 (ospf_network_lsa_install): Likewise.
1026 (ospf_summary_lsa_install): Likewise.
1027 (ospf_summary_asbr_lsa_install): Likewise.
1028 (ospf_external_lsa_install): Likewise.
1029 (ospf_lsa_install): Call ospf_lsa_different to check this LSA is
1030 new one or not.
1031
10322001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1033
1034 * ospf_zebra.c (ospf_interface_delete): Do not free interface
1035 structure when ospfd receive interface delete message to support
1036 pseudo interface.
1037
10382001-02-01 Dick Glasspool <dick@ipinfusion.com>
1039
1040 * ospfd.c (area_range_notadvertise): Change area range "suppress"
1041 command to "not-advertise".
1042
1043 * ospfd.h (OSPF_LS_REFRESH_TIME): Change OSPF_LS_REFRESH_TIME from
1044 1800 to 60.
1045
1046 * ospf_abr.c (ospf_abr_update_aggregate): When update_aggregate is
1047 updating the area-range, the lowest cost is now saved.
1048
1049 * ospf_lsa.c (ospf_lsa_more_recent): Routing to compare sequence
1050 numbers rather than creating overflow during calculation.
1051
10522001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1053
1054 * zebra-0.91 is released.
1055
10562001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1057
1058 * ospf_packet.c (ospf_db_desc_proc): Do not continue process when
1059 NSM_SeqNumberMismatch is scheduled.
1060 (ospf_ls_req): Free ls_upd when return from this function.
1061 (ospf_ls_upd_timer): When update list is empty do not call
1062 ospf_ls_upd_send(). Suggested by: endo@suri.co.jp (Masahiko
1063 Endo).
1064
10652001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1066
1067 * ospf_lsa.c (ospf_maxage_flood): Flood LSA when it reaches
1068 MaxAge. RFC2328 Section 14.
1069 (ospf_maxage_lsa_remover): Call above function during removing
1070 MaxAge LSA.
1071
10722001-01-26 Dick Glasspool <dick@ipinfusion.com>
1073
1074 * ospf_flood.c (ospf_flood_through_as): Function is updated for
1075 NSSA Translations now done at ospf_abr.c with no change in P-bit.
1076
1077 * ospf_lsa.c (ospf_get_nssa_ip): Get 1st IP connection for Forward
1078 Addr.
1079 (ospf_install_flood_nssa): Leave Type-7 LSA at Lock Count = 2.
1080
1081 * ospf_ase.c (ospf_ase_calculate_route): Add debug codes.
1082
1083 * ospf_abr.c (ospf_abr_translate_nssa): Recalculate LSA checksum.
1084
1085 * ospf_packet.h (OSPF_SEND_PACKET_LOOP): Added for test packet.
1086
1087 * ospf_dump.c (ospf_lsa_type_msg): Add OSPF_GROUP_MEMBER_LSA and
1088 OSPF_AS_NSSA_LSA.
1089
1090 * ospfd.c (data_injection): Function to inject LSA. This is
1091 debugging command.
1092
10932001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1094
1095 * ospf_route.c (ospf_route_match_same): Remove function.
1096 (ospf_route_match_same_new): Renamed to ospf_route_match_same.
1097
1098 * ospf_zebra.c (ospf_interface_address_delete): Add check for
1099 oi->address. Suggested by Matthew Grant
1100 <grantma@anathoth.gen.nz>.
1101 (ospf_zebra_add): Remove function.
1102 (ospf_zebra_add_multipath): Rename to ospf_zebra_add.
1103
1104 * ospf_interface.c: Remove HAVE_IF_PSEUDO part.
1105
1106 * ospf_zebra.c: Likewise.
1107
11082001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1109
1110 * ospf_ase.c: Remove OLD_RIB part.
1111
1112 * ospf_route.c: Likewise.
1113
1114 * zebra-0.90 is released.
1115
1116 * ospf_packet.c (ospf_recv_packet): Use ip_len adjestment code to
1117 NetBSD.
1118
11192001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1120
1121 * ospf_route.c (ospf_route_delete): Use
1122 ospf_zebra_delete_multipath.
1123
11242001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1125
1126 * ospf_interface.c (ospf_if_cleanup): Function name is renamed
1127 from ospf_if_free(). Rewrite whole procudure to support primary
1128 address deletion.
1129
1130 * ospf_zebra.c (ospf_interface_address_delete): Add primary
1131 address deletion process.
1132
11332001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1134
1135 * ospf_packet.c (ospf_recv_packet): OpenBSD has same ip_len
1136 treatment like FreeBSD.
1137
11382001-01-09 endo@suri.co.jp (Masahiko Endo)
1139
1140 * ospf_packet.c (ospf_recv_packet): FreeBSD kernel network code
1141 strips IP header size from receiving IP Packet. So we adjust
1142 ip_len to whole IP packet size by adding IP header size.
1143
11442001-01-08 endo@suri.co.jp (Masahiko Endo)
1145
1146 * ospf_network.c (ospf_serv_sock): When socket() is failed return
1147 immediately.
1148 (ospf_serv_sock): Close socket when it is not used.
1149
1150 * ospf_packet.c (ospf_write): Set sin_len when HAVE_SIN_LEN is
1151 defined.
1152 (ospf_write): When bind is fined, close sock.
1153
11542001-01-07 Gleb Natapov <gleb@nbase.co.il>
1155
1156 * ospf_zebra.c (ospf_interface_state_up): Fixes coredump that
1157 appears when you try to configure bandwidth on the ppp interface
1158 that is not yet configured in ospfd.
1159
11602001-01-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1161
1162 * ospf_route.c (show_ip_ospf_route_external): "show ip ospf route"
1163 will print nexthops for AS-external routes.
1164
1165 * ospf_ase.c (ospf_ase_route_match_same): New function to compare
1166 ASE route under multipath environment.
1167 (ospf_ase_compare_tables): Likewise.
1168
11692001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1170
1171 * ospfd.h (OSPF_VTYSH_PATH): Change "/tmp/ospfd" to "/tmp/.ospfd".
1172
11732000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1174
1175 * ospf_route.c (ospf_route_install): Install multipath information
1176 to zebra daemon.
1177
1178 * ospf_zebra.c (ospf_zebra_add_multipath): Function for passing
1179 multipath information to zebra daemon.
1180
11812000-12-25 Dick Glasspool <dick@ipinfusion.com>
1182
1183 * ospf_packet.c (ospf_write): Call ospf_packet_delete when sendto
1184 fail.
1185 (DISCARD_LSA): Add argument N for logging point of DISCARD_LSA is
1186 called.
1187
1188 * ospf_lsa.c (ospf_external_lsa_refresh): NSSA install_flood will
1189 leave Type-7 LSA at Lock Count = 2.
1190
1191 * ospf_flood.c (ospf_flood_through): Flood_though_as updated for
1192 NSSA no P-bit off during Area flooding, but P-bit is turned off
1193 for mulitple NSSA AS flooding.
1194
1195 * ospf_ase.c (ospf_ase_calculate_timer): Added calculations for
1196 Type-7 LSDB.
1197
1198 * ospf_abr.c (ospf_abr_translate_nssa): Removed one unlock call.
1199 (ospf_abr_announce_nssa_defaults): Corrected Debug from EVENT to
1200 NSSA.
1201
12022000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1203
1204 * ospf_zebra.c (ospf_zebra_read_ipv4): Checking the age of the
1205 found LSA and if the LSA is MAXAGE we should call refresh instead
1206 of originate.
1207
12082000-12-18 Dick Glasspool <dick@ipinfusion.com>
1209
1210 * ospf_abr.c: Removed redundant "...flood" in
1211 announce_network_to_area(). Repaired nssa Unlock by using
1212 discard.
1213
1214 * ospf_packet.c: Removed old NSSA translate during mk_ls_update.
1215
1216 * ospfd.c: Free up all data bases including NSSA.
1217
1218 * ospf_lsa.c: Now allow removal of XLATE LSA's Check in
1219 discard_callback. Added routine to get ip addr from within the
1220 ifp.
1221
1222 * ospf_flood.c: Now set Forward Address for outgoing Type-7.
1223
1224 * ospf_lsa.h: Added prototype for the below. struct in_addr
1225 ospf_get_ip_from_ifp (struct interface *ifp).
1226
12272000-12-14 Gleb Natapov <gleb@nbase.co.il>
1228
1229 * ospf_packet.c (ospf_recv_packet): New OSPF pakcet read method.
1230 Now maximum packet length may be 65535 bytes (maximum IP packet
1231 length).
1232
1233 * ospf_interface.c (ospf_if_stream_set): Don't make input buffer.
1234
1235 * ospfd.c (config_write_network_area): Remove unnecessary area
1236 lookup code.
1237
12382000-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1239
1240 * ospf_packet.c (ospf_read): Accept packet bigger than MTU value.
1241
12422000-12-13 Gleb Natapov <gleb@nbase.co.il>
1243
1244 * ospfd.c (config_write_network_area): Fix bug in
1245 config_write_network_area function.
1246
12472000-12-12 Gleb Natapov <gleb@nbase.co.il>
1248
1249 * ospf_abr.c (ospf_abr_announce_network_to_area): Make Summary
1250 LSA's origination and refreshment as same as other type of LSA.
1251
1252 * ospf_lsa.c (ospf_summary_lsa_refresh): Return struct ospf_lsa *.
1253
1254 * ospf_lsa.c (ospf_summary_asbr_lsa_refresh): Likewise.
1255
12562000-12-08 Dick Glasspool <dick@ipinfusion.com>
1257
1258 The bulk of NSSA changes are contained herein; This version will
1259 require manual setting of "always" for NSSA Translator, and will
1260 not perform aggregation yet.
1261
1262 * ospf_dump.c: "debug ospf nssa" is added.
1263
1264 * ospf_dump.h: Likewise.
1265
1266 * ospf_packet.c (ospf_hello): Display router ID on Bad NSSA Hello.
1267
1268 * ospfd.c: Discard_LSA to stay away from LOCAL_XLT Process NSSA
1269 'never, candidate, always'. Change "suppress" to "not-advertise".
1270
1271 * ospfd.h: Add TranslatorRole to struct ospf_area. Add anyNSSA to
1272 struct ospf.
1273
1274 * ospf_ase.c (ospf_ase_calculate_route): External to stay away
1275 from LOCAL_XLT
1276
1277 * ospf_nsm.c (ospf_db_summary_add): External to stay away from
1278 LOCAL_XLT
1279
1280 * ospf_abr.c: Major logic added for abr_nssa_task(). If ABR, and
1281 NSSA translator, then do it. Approve the global list, and flush
1282 any unapproved.
1283
1284 * ospf_lsa.h: New LSA flag OSPF_LSA_LOCAL_XLT to indicate that the
1285 Type-5 resulted from a Local Type-7 translation; not used for
1286 flooding, but used for flushing.
1287
1288 * ospf_flood.c: New NSSA flooding.
1289
12902000-12-08 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1291
1292 * ospfd.c (ospf_find_vl_data): New function for looking up virtual
1293 link data.
1294 (ospf_vl_set_security): Virtual link configuration with
1295 authentication.
1296 (ospf_vl_set_timers): Set timers for virtual link.
1297
1298 * New commands are added.
1299 "area A.B.C.D virtual-link A.B.C.D"
1300 "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>"
1301 "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"
1302 "area A.B.C.D virtual-link A.B.C.D authentication-key AUTH_KEY"
1303 "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"
1304 "area A.B.C.D virtual-link A.B.C.D message-digest-key <1-255> md5 KEY"
1305
1306 * ospf_packet.c (ospf_check_md5_digest): Add neighbor's
1307 cryptographic sequence number treatment.
1308 (ospf_check_auth): OSPF input buffer is added to argument.
1309 (ospf_read): Save neighbor's cryptographic sequence number.
1310
1311 * ospf_nsm.c (nsm_change_status): Clear cryptographic sequence
1312 number when neighbor status is changed to NSM down.
1313
1314 * ospf_neighbor.c (ospf_nbr_new): Set zero to crypt_seqnum.
1315
1316 * ospf_neighbor.h (struct ospf_neighbor): Add cryptographic
1317 sequence number to neighbor structure.
1318
13192000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1320
1321 * ospf_snmp.c (ospfIfLookup): OSPF MIB updates.
1322 (ospfExtLsdbEntry): Add OspfExtLsdbTable treatment.
1323
13242000-11-28 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1325
1326 * ospfd.c (ospf_interface_down): Clear a ls_upd_queue queue of the
1327 interface.
1328 (ospf_ls_upd_queue_empty): New function to empty ls update queue
1329 of the OSPF interface.
1330 (no_router_ospf): 'no router ospf' unregister redistribution
1331 requests from zebra.
1332
13332000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1334
1335 * ospf_ism.c (ism_change_status): Increment status change number.
1336
1337 * ospf_interface.h (struct ospf_interface): Add new member for
1338 status change statistics.
1339
1340 * Makefile.am: Update dependencies.
1341
1342 * ospf_zebra.c (ospf_interface_add): OSPF SNMP interface update.
1343 (ospf_interface_delete): OSPF SNMP interface delete.
1344
1345 * ospf_snmp.h: New file is added.
1346
13472000-11-23 Dick Glasspool <dick@ipinfusion.com>
1348
1349 * ospfd.h: Add new ospf_area structure member for
1350 NSSATranslatorRole and NSSATranslator state.
1351
1352 * ospfd.c: Provided for eventual commands to specify NSSA
1353 elections for "translator- ALWAYS/NEVER/CANDIDATE". Provided for
1354 decimal integer version of area-suppress.
1355
1356 * ospf_flood.c: Flood Type-7's only into NSSA (not AS).
1357
1358 * ospf_lsa.c: Undo some previous changes for NSSA. If NSSA
1359 translator, advertise Nt bit.
1360
1361 * ospf_route.c: 1st version of "sh ip os border-routers".
1362
13632000-11-23 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1364
1365 * ospfd.c (area_vlink): Virtual link can not configured in stub
1366 area.
1367
13682000-11-23 Gleb Natapov <gleb@nbase.co.il>
1369
1370 * ospf_packet.c (ospf_db_desc): In states Loading and Full the
1371 slave must resend its last Database Description packet in response
1372 to duplicate Database Description packets received from the
1373 master. For this reason the slave must wait RouterDeadInterval
1374 seconds before freeing the last Database Description packet.
1375 Reception of a Database Description packet from the master after
1376 this interval will generate a SeqNumberMismatch neighbor
1377 event. RFC2328 Section 10.8
1378 (ospf_make_db_desc): DD Master flag treatment.
1379
1380 * ospf_nsm.c (nsm_twoway_received): Move DD related procedure to
1381 nsm_change_status().
1382 (nsm_bad_ls_req): Likewise.
1383 (nsm_adj_ok): Likewise.
1384 (nsm_seq_number_mismatch): Likewise.
1385 (nsm_oneway_received): Likewise.
1386
1387 * ospf_neighbor.h (struct ospf_neighbor): New structure member
1388 last_send_ts for timestemp when last Database Description packet
1389 was sent.
1390
1391 * ospf_nsm.c (ospf_db_desc_timer): Make it sure nbr->last_send is
1392 there. Call ospf_db_desc_resend() in any case.
1393
13942000-11-16 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1395
1396 * ospf_lsa.c (lsa_link_broadcast_set): When there is no DR on
1397 network (suppose you have only one router with interface priority
1398 0). It's router LSA does not contain the link information about
1399 this network.
1400
1401 * ospf_nsm.c (nsm_timer_set): When you change a priority of
1402 interface from/to 0 ISM_NeighborChange event should be scheduled
1403 in order to elect new DR/BDR on the network.
1404
1405 * ospf_interface.c (ip_ospf_priority): Likewise.
1406
1407 * ospf_flood.c (ospf_ls_retransmit_add): When we add some LSA into
1408 retransmit list we need to check whether the present old LSA in
1409 retransmit list is not more recent than the new
1410 one.
1411
14122000-11-09 Dick Glasspool <dick@ipinfusion.com>
1413
1414 * ospf_packet.c: Allows for NSSA Type-7 LSA's throughout the NSSA
1415 area. Any that exit the NSSA area are translated to type-5 LSA's.
1416 The instantiated image is restored after translation.
1417 (ospf_ls_upd_send_list): Renamed to ospf_ls_upd_queu_send().
1418 (ospf_ls_upd_send): Old function which enclosed by #ifdef 0 is
1419 removed.
1420 (ospf_ls_ack_send): Likewise.
1421
1422 * ospf_flood.c: NSSA-LSA's without P-bit will be restricted to
1423 local area. Otherwise they are allowed out the area to be
1424 translated by ospf_packet.c.
1425
1426 * ospf_lsa.c: Undo some previous changes for NSSA.
1427
1428 * ospf_lsdb.h: New access for type 7.
1429
14302000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1431
1432 * ospf_route.c (ospf_path_exist): New function to check nexthop
1433 and interface are in current OSPF path or not.
1434 (ospf_route_copy_nexthops_from_vertex): Add nexthop to OSPF path
1435 when it is not there. Reported by Michael Rozhavsky
1436 <mrozhavsky@opticalaccess.com>
1437
14382000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1439
1440 * ospf_dump.c (config_write_debug): Add seventh string "detail" is
1441 added for flag is OSPF_DEBUG_SEND | OSPF_DEBUG_RECV |
1442 OSPF_DEBUG_DETAIL.
1443
14442000-11-06 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1445
1446 * ospf_lsa.c (router_lsa_flags): ASBR can't exit in stub area.
1447
14482000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1449
1450 * ospf_lsa.c (ospf_router_lsa_originate): Reduce unconditional
1451 logging.
1452
14532000-11-06 Dick Glasspool <dick@ipinfusion.com>
1454
1455 * ospfd.h: Add ait_ntoa function prototype.
1456
1457 * ospfd.c (ait_ntoa): New function for displaying area ID and
1458 Stub/NSSA status.
1459 (show_ip_ospf_interface_sub): Use ait_ntoa.
1460 (show_ip_ospf_nbr_static_detail_sub): Likewise.
1461 (show_ip_ospf_neighbor_detail_sub): Likewise.
1462
1463 * ospf_route.c (ospf_intra_route_add): Set external routing type
1464 to ospf route.
1465 (ospf_intra_add_router): Likewise.
1466 (ospf_intra_add_transit): Likewise.
1467 (ospf_intra_add_stub): Likewise.
1468 (ospf_add_discard_route): Likewise.
1469 (show_ip_ospf_route_network): Use ait_ntoa.
1470 (show_ip_ospf_route_network): Likewise.
1471 (show_ip_ospf_route_router): Likewise.
1472
1473 * ospf_lsa.c (show_lsa_detail): Use ait_ntoa.
1474 (show_lsa_detail_adv_router): Likewise.
1475 (show_ip_ospf_database_summary): Likewise.
1476
1477 * ospf_route.h (struct route_standard): Add new member
1478 external_routing.
1479
1480 * ospf_ia.c (process_summary_lsa): Set external routing tyep to ospf
1481 route.
1482 (ospf_update_network_route): Likewise.
1483 (ospf_update_router_route): Likewise.
1484
14852000-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1486
1487 * ospf_flood.c (ospf_process_self_originated_lsa): Enclose
1488 OSPF_AS_NSSA_LSA treatment with #ifdef HAVE_NSSA.
1489
14902000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1491
1492 * Unconditional logging is enclosed with if (IS_DEBUG_OSPF_EVENT).
1493 Please specify "debug ospf event" for enable logging.
1494
1495 * ospf_ism.c: Do not extern debug flag varible. It is done by
1496 ospf_debug.h
1497 * ospf_asbr.c: Likewise.
1498 * ospf_lsa.c: Likewise.
1499 * ospf_nsm.c: Likewise.
1500 * ospf_zebra.c: Likewise.
1501
1502 * ospf_dump.c (debug_ospf_event): New command "debug ospf event"
1503 is added.
1504
1505 * ospfd.c (router_ospf): Change logging from vty_out() to
1506 zlog_info().
1507 (ospf_area_stub_cmd): Likewise.
1508
1509 * ospf_dump.h: Extern term_debug flags.
1510 (OSPF_DEBUG_EVENT): Add new flag.
1511 (IS_DEBUG_OSPF_EVENT): Add new macro.
1512
15132000-11-03 Dick Glasspool <dick@ipinfusion.com>
1514
1515 * ospf_flood.c (ospf_process_self_originated_lsa):
1516 OSPF_AS_NSSA_LSA is treated as same as OSPF_AS_EXTERNAL_LSA.
1517 (ospf_flood): Type-5's have no change. Type-7's can be received,
1518 and will Flood the AS as Type-5's They will also flood the local
1519 NSSA Area as Type-7's. The LSDB will be updated as Type-5's, and
1520 during re-fresh will be converted back to Type-7's (if within an
1521 NSSA).
1522 (ospf_flood_through): Incoming Type-7's were allowed here if our
1523 neighbor was an NSSA. So Flood our area with the Type-7 and also
1524 if we are an ABR, flood thru AS as Type-5.
1525
1526 * ospf_lsa.c (ospf_external_lsa_refresh): Flood NSSA both NSSA
1527 area and other area.
1528
1529 * ospf_packet.c (ospf_db_desc_proc): When AS External LSA is
1530 exists in DD packet, make it sure that this area is not stub.
1531 (ospf_ls_upd_list_lsa): When LSA type is NSSA then set lsa's area
1532 to NULL.
1533 (ospf_ls_upd): If the LSA is AS External LSA and the area is stub
1534 then discard the lsa. If the LSA is NSSA LSA and the area is not
1535 NSSA then discard the lsa.
1536
15372000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1538
1539 * ospfd.c (ospf_interface_run): Fix bug of Hello packet's option
1540 is not properly set when interface comes up.
1541
15422000-11-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1543
1544 * ospfd.h (OSPF_OPTION_O): Add new hello header option.
1545
15462000-11-01 Dick Glasspool <dick@ipinfusion.com>
1547
1548 * ospf_lsa.h: Define OSPF_MAX_LSA to 8 when HAVE_NSSA is enabled.
1549 (OSPF_GROUP_MEMBER_LSA): Define OSPF_GROUP_MEMBER_LSA.
1550
1551 * ospf_lsa.c (show_database_desc): Add "Group Membership LSA"
1552 string.
1553
15542000-10-31 Dick Glasspool <dick@ipinfusion.com>
1555
1556 * ospf_lsa.h (OSPF_AS_NSSA_LSA): Define OSPF_AS_NSSA_LSA.
1557
1558 * ospf_lsa.c (show_ip_ospf_database): NSSA database display
1559 function is added. ALIASES which have "show ip ospf database
1560 nssa-external" is added.
1561 (show_ip_ospf_border_routers): New command "show ip ospf
1562 border-routers" is added.
1563
15642000-10-30 Dick Glasspool <dick@ipinfusion.com>
1565
1566 * ospfd.c (router_ospf): NSSA Enabled message is added for
1567 testing.
1568 (ospf_area_type_set): Are type set for NSSA area.
1569 (ospf_area_stub_cmd): Special translation of no_summary into NSSA
1570 and summary information. If NSSA is enabled pass the information
1571 to ospf_area_type_set().
1572 (area_nssa): New commands are added:
1573 "area A.B.C.D nssa"
1574 "area <0-4294967295> nssa"
1575 "area A.B.C.D nssa no-summary"
1576 "area <0-4294967295> nssa no-summary"
1577 (ospf_no_area_stub_cmd): Special translation of no_summary into
1578 NSSA and summary information. If external_routing is
1579 OSPF_AREA_NSSA unset area with ospf_area_type_set (area,
1580 OSPF_AREA_DEFAULT).
1581 (show_ip_ospf_area): Display NSSA status.
1582 (config_write_ospf_area): Show NSSA configuration.
1583
1584 * ospf_packet.c (ospf_hello): For NSSA support, ensure that NP is
1585 on and E is off.
1586
15872000-10-26 Gleb Natapov <gleb@nbase.co.il>
1588
1589 * ospf_lsa.c (ospf_network_lsa_body_set): The network-LSA lists
1590 those routers that are fully adjacent to the Designated Router;
1591 each fully adjacent router is identified by its OSPF Router ID.
1592 The Designated Router includes itself in this list. RFC2328,
1593 Section 12.4.2.
1594
15952000-10-23 Jochen Friedrich <jochen@scram.de>
1596
1597 * ospf_snmp.c: ospf_oid and ospfd_oid are used in smux_open after
1598 it is registered. So those variables must be static.
1599
16002000-10-18 K N Sridhar <sridhar@euler.ece.iisc.ernet.in>
1601
1602 * ospfd.c: Add area_default_cost_decimal_cmd and
1603 no_area_default_cost_decimal_cmd alias.
1604
16052000-10-05 Gleb Natapov <gleb@nbase.co.il>
1606
1607 * ospfd.c (ospf_network_new): Fix setting area format.
1608 (no_router_ospf): Check area existance when calling
1609 ospf_interface_down().
1610
1611 * ospf_flood.c (ospf_external_info_check): Fix bug of refreshing
1612 default route.
1613
16142000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1615
1616 * zebra-0.89 is released.
1617
16182000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1619
1620 * ospf_snmp.c (ospfHostEntry): OSPF Host MIB is implemented.
1621
1622 * ospfd.c (ospf_nbr_static_cmp): OSPF neighbor is sorted by it's
1623 address.
1624
16252000-09-28 Michael Rozhavsky <mike@nbase.co.il>
1626
1627 * ospf_interface.c (ospf_if_free): Fix deleting self neighbor twice.
1628
16292000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1630
1631 * ospf_packet.c (ospf_read): Solaris on x86 has ip_len with host
1632 byte order.
1633
16342000-09-25 Toshiaki Takada <takada@zebra.org>
1635
1636 * ospfd.c (ospf_compatible_rfc1583), (no_ospf_compatible_rfc1583):
1637 Add CISCO compatible command.
1638
16392000-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1640
1641 * ospf_abr.c (ospf_area_range_lookup): New function is added for
1642 area range lookup in OSPF-MIB.
1643 (ospf_area_range_lookup_next): Likewise.
1644
16452000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1646
1647 * ospfd.c (no_router_ospf): Delete virtual link before deleting
1648 area structure.
1649
1650 * ospf_lsa.c (ospf_external_lsa_refresh_type): Check
1651 EXTERNAL_INFO(type).
1652
1653 * ospfd.c (no_router_ospf): Call ospf_vl_delete() instead of
1654 ospf_vl_data_free().
1655
1656 * ospf_interface.c (ospf_vl_shutdown): Execute ISM_InterfaceDown
1657 when ospf_vl_shutdown is called.
1658 (ospf_vl_delete): Call ospf_vl_shutdown() to delete virtual link
1659 interface's thread.
1660
16612000-09-21 Gleb Natapov <gleb@nbase.co.il>
1662
1663 * ospf_lsa.c: New implementation of OSPF refresh.
1664
16652000-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1666
1667 * ospf_snmp.c (ospfLsdbLookup): Add LSDB MIB implementation.
1668
16692000-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1670
1671 * ospf_snmp.c (ospfStubAreaEntry): Add OSPF stub area MIB.
1672
16732000-09-18 Gleb Natapov <gleb@nbase.co.il>
1674
1675 * ospf_route.h (route_standard): Change member from `struct area'
1676 to area_id.
1677
1678 * ospf_abr.c (ospf_abr_announce_network), (ospf_abr_should_announce),
1679 (ospf_abr_process_network_rt), (ospf_abr_announce_rtr),
1680 (ospf_abr_process_router_rt):
1681 * ospf_ase.c (ospf_find_asbr_route),
1682 (ospf_find_asbr_router_through_area),
1683 * ospf_ia.c (ospf_find_abr_route), (ospf_ia_router_route),
1684 (process_summary_lsa), (ospf_update_network_route),
1685 (ospf_update_router_route):
1686 * ospf_route.c (ospf_intra_route_add), (ospf_intra_add_router),
1687 (ospf_intra_add_transit), (ospf_intra_add_stub),
1688 (ospf_route_table_dump), (show_ip_ospf_route_network),
1689 (show_ip_ospf_route_router), (ospf_asbr_route_cmp),
1690 (ospf_prune_unreachable_routers):
1691 * ospf_spf.c (ospf_rtrs_print):
1692 * ospfd.c (ospf_rtrs_free): Fix the struct change above.
1693
16942000-09-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1695
1696 * ospf_network.c (ospf_serv_sock_init): Enclose SO_BINDTODEVICE
1697 with ifdef.
1698
16992000-09-13 Gleb Natapov <gleb@nbase.co.il>
1700
1701 * ospf_ism.c (ospf_elect_dr), (ospf_elect_bdr): Fix DR election.
1702
1703 * ospf_network.c (ospf_serv_sock_init): Add socket option
1704 SO_BINDTODEVICE on read socket.
1705
1706 * ospf_packet.c (ospf_hello): Ignore Hello packet if E-bit does
1707 not match.
1708
1709 * ospfd.c (ospf_area_check_free), (ospf_area_get),
1710 (ospf_area_add_if): New function added.
1711
17122000-09-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1713
1714 * ospf_route.c (ospf_intra_add_router): Update ABR and ASBR router
1715 count.
1716
1717 * ospf_spf.c (ospf_spf_init): Rest ABR and ASBR router count
1718 starting SPF calculation.
1719
1720 * ospfd.h (struct ospf_area): Add ABR and ASBR router count.
1721
17222000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1723
1724 * ospfd.c (ospf_area_id_cmp): New area structure is sorted by area
1725 ID.
1726
1727 * ospf_lsa.c (ospf_router_lsa_originate): For OSPF MIB update
1728 lsa_originate_count.
1729 (ospf_network_lsa_originate): Likewise.
1730 (ospf_summary_lsa_originate): Likewise.
1731 (ospf_summary_asbr_lsa_originate): Likewise.
1732 (ospf_external_lsa_originate): Likewise.
1733
17342000-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1735
1736 * ospf_snmp.c (ospf_variables): ospfRouterID's type RouterID
1737 syntax is IpAddress.
1738 (ospf_admin_stat): New function for OSPF administrative status
1739 check.
1740
17412000-09-10 Jochen Friedrich <jochen@scram.de>
1742
1743 * ospf_snmp.c: Implement OSPF MIB skeleton.
1744
17452000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1746
1747 * ospf_snmp.c: New file is added.
1748
17492000-09-07 David Lipovkov <davidl@nbase.co.il>
1750
1751 * ospf_zebra.c (ospf_interface_delete): Add pseudo interface
1752 treatment.
1753
1754 * ospf_interface.c (interface_config_write): Likewise.
1755
17562000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1757
1758 * zebra-0.88 is released.
1759
17602000-08-17 Michael Rozhavsky <mike@nbase.co.il>
1761
1762 * ospfd.c (ospf_area_free): Remove virtual link configuration only
1763 when Area is removed.
1764
17652000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1766
1767 * ospfd.c (network_area): Revert check for EXTERNAL_INFO
1768 (ZEBRA_ROUTE_CONNECT).
1769 (no_network_area): Likewise.
1770
17712000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1772
1773 * ospfd.h (struct ospf): Add distance_table and
1774 distance_{all,intra,inter,external}.
1775
1776 * ospf_zebra.c: Add OSPF distance related functions.
1777
17782000-08-15 Gleb Natapov <gleb@nbase.co.il>
1779
1780 * ospf_asbr.c (ospf_external_info_find_lsa): New function added.
1781
1782 * ospf_lsa.c (ospf_default_external_info),
1783 (ospf_default_originate_timer), (ospf_external_lsa_refresh_default):
1784 New function added.
1785
1786 * ospf_zebra.c
1787 (ospf_default_information_originate_metric_type_routemap),
1788 (ospf_default_information_originate_always_metric_type_routemap):
1789 Change name and add route-map function.
1790 (ospf_default_information_originate_metric_routemap),
1791 (ospf_default_information_originate_routemap),
1792 (ospf_default_information_originate_type_metric_routemap):
1793 New DEFUN added.
1794
17952000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1796
1797 * ospf_zebra.c (zebra_interface_if_set_value): Change ifindex
1798 restore size from two octet to four.
1799
18002000-08-14 Michael Rozhavsky <mike@nbase.co.il>
1801
1802 * ospf_ase.c (ospf_ase_incremental_update): Implement incremental
1803 AS-external-LSA in 16.6 of RFC2328.
1804
18052000-08-14 Matthew Grant <grantma@anathoth.gen.nz>
1806
1807 * ospf_interface.c (ospf_if_get_output_cost): Change cost
1808 calculation algorithm.
1809
1810 * ospf_packet (ospf_ls_upd): Fix problem of LSA retransmitting.
1811
18122000-08-11 Michael Rozhavsky <mike@nbase.co.il>
1813
1814 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix maxage remover for
1815 AS-external-LSAs.
1816
18172000-08-10 Toshiaki Takada <takada@zebra.org>
1818
1819 * ospfd.c (auto_cost_reference_bandwidth): New DEFUN added.
1820 `auto-cost reference-bandwidth' OSPF router command added.
1821
18222000-08-08 Gleb Natapov <gleb@nbase.co.il>
1823
1824 * ospf_routemap.c (ospf_route_map_update): New function added.
1825 Add route-map event hook.
1826
18272000-08-08 Toshiaki Takada <takada@zebra.org>
1828
1829 * ospf_zebra.c (ospf_distribute_check_connected): If redistribute
1830 prefix is connected route on OSPF enabled interface, suppress to
1831 announce it.
1832
18332000-08-08 Matthew Grant <grantma@anathoth.gen.nz>
1834
1835 * ospf_interface.c (ospf_if_get_output_cost):
1836 New function added. Handle bandwidth parameter for cost
1837 calculation.
1838
18392000-08-08 Michael Rozhavsky <mike@nbase.co.il>
1840
1841 * ospf_interface.c (interface_config_write): Show interface
1842 configuration regardless interface is down.
1843
1844 * ospf_ase.c (ospf_ase_caocluate_route): Whole rewritten external
1845 route calculate function.
1846
18472000-08-08 Gleb Natapov <gleb@nbase.co.il>
1848
1849 * ospf_routemap.c: New file added.
1850
1851 * ospf_asbr.c (ospf_reset_route_map_set_values),
1852 (ospf_route_map_set_compare): New function added.
1853
1854 * ospf_lsa.c (ospf_external_lsa_body_set): Set routemap metric
1855 with AS-external-LSA.
1856
18572000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1858
1859 * ospf_ase.c (ospf_ase_calculate_route_add): Pass new->cost to
1860 ospf_zebra_add as metric.
1861 (ospf_ase_calculate_route_add): Likewise.
1862
1863 * ospf_route.c (ospf_route_install): Pass or->cost to
1864 ospf_zebra_add as metric.
1865
1866 * ospf_zebra.c (ospf_zebra_add): Add metric arguemnt.
1867 (ospf_zebra_delete): Likewise.
1868
18692000-08-03 Matthew Grant <grantma@anathoth.gen.nz>
1870
1871 * ospf_flood.c (ospf_flood_delayed_lsa_ack): New function added.
1872 Dispatch delayed-ACK with flooding AS-external-LSA across virtual
1873 link.
1874
18752000-07-31 Matthew Grant <grantma@anathoth.gen.nz>
1876
1877 * ospfd.c (show_ip_ospf_area): Fix lack of VTY_NEWLINE when
1878 `show ip ospf'.
1879
1880 * ospf_interface.c (ospf_if_free): Fix bug of crash with
1881 Point-to-Point interface.
1882
18832000-07-27 Michael Rozhavsky <mike@nbase.co.il>
1884
1885 * ospf_flood.c (ospf_process_self_originated_lsa):
1886 Make sure to clear LSA->param (redistributed external information)
1887 before refreshment.
1888
18892000-07-27 Gleb Natapov <gleb@nbase.co.il>
1890
1891 * ospfd.c (refresh_group_limit), (refresh_per_slice),
1892 (refresh_age_diff): New defun added. Refresher related parameter
1893 can be configurable.
1894
18952000-07-27 Akihiro Mizutani <mizutani@dml.com>
1896
1897 * ospf_interface.c (interface_config_write): Print `description'
1898 config directive to work.
1899
19002000-07-24 Akihiro Mizutani <mizutani@dml.com>
1901
1902 * ospf_interface.c (ospf_if_init): Use install_default for
1903 INTERFACE_NODE.
1904
19052000-07-24 Gleb Natapov <gleb@nbase.co.il>
1906
1907 * ospf_packet.c (ospf_ls_upd_send_list), (ospf_ls_upd_send_event),
1908 (ospf_ls_ack_send_list), (ospf_ls_ack_send_event): New function added.
1909 This make sending always as many LS update/Ack combined in one ospf
1910 packet.
1911
19122000-07-24 Gleb Natapov <gleb@nbase.co.il>
1913
1914 * ospf_packet.c (ospf_ls_upd_list_lsa): Set NULL to lsa->area if
1915 LSA is AS-external-LSA.
1916
1917 * ospf_nsm.c (nsm_reset_nbr): Do not cancel Inactivity timer.
1918
19192000-07-21 Toshiaki Takada <takada@zebra.org>
1920
1921 * ospf_zebra.c (ospf_default_originate_timer): Set timer for
1922 `default-information originate'. Fix some default originate
1923 related functions.
1924
19252000-07-12 Toshiaki Takada <takada@zebra.org>
1926
1927 * ospf_lsa.c (stream_put_ospf_metric): New function added.
1928
19292000-07-12 Toshiaki Takada <takada@zebra.org>
1930
1931 * ospf_lsa.c (show_ip_ospf_database_router),
1932 (show_ip_ospf_database_network), (show_ip_ospf_database_summary),
1933 (show_ip_ospf_database_summary_asbr), (show_ip_ospf_database_externel),
1934 (show_router_lsa), (show_any_lsa), (show_router_lsa_self),
1935 (show_any_lsa_self): Functions removed.
1936
1937 (show_lsa_prefix_set), (show_lsa_detail_proc), (show_lsa_detail),
1938 (show_lsa_detail_adv_router_proc), (show_lsa_detail_adv_router):
1939 New functions added. Replace above functions.
1940
1941 (show_ip_ospf_database_all), (show_ip_ospf_database_self_originated):
1942 Functions removed.
1943 (show_ip_ospf_database_summary): New functions added. Replace
1944 above functions.
1945
1946 (show_ip_ospf_database_cmd): DEFUN rearranged.
1947 (show_ip_ospf_database_type_id_cmd),
1948 (show_ip_ospf_database_type_id_adv_router_cmd),
1949 (show_ip_ospf_database_type_is_self_cmd): New ALIASes added.
1950 (show_ip_ospf_database_type_adv_rotuer_cmd): New DEFUN added.
1951 (show_ip_ospf_database_type_self_cmd): New ALIAS added.
1952
19532000-07-11 Toshiaki Takada <takada@zebra.org>
1954
1955 * ospf_asbr.c (ospf_external_info_new),
1956 (ospf_external_info_free): New functions added.
1957
1958 * ospf_lsa.h (ospf_lsa): Add new member `void *param' to set
1959 origination parameter for external-LSA.
1960 Remove member `redistribute'.
1961
1962 * ospf_zebra.c (ospf_redistirbute_set): When `redistribute'
1963 command executed, metric and metric-type values are overridden.
1964 If one of those is changed refresh AS-external-LSAs for appropriate
1965 type.
1966
19672000-07-11 Michael Rozhavsky <mike@nbase.co.il>
1968
1969 * ospf_lsa.c (ospf_summary_lsa_refresh),
1970 (ospf_summary_asbr_lsa_refresh): Make sure to refresh summary-LSAs.
1971
1972 * ospf_abr.c (set_metric): New function added.
1973
19742000-07-07 Toshiaki Takada <takada@zebra.org>
1975
1976 * ospf_zebra.c (ospf_default_information_originate_metric_type),
1977 (ospf_default_information_originate_type_metric): New defun added.
1978 Metic and Metric type can be set to default route.
1979 (ospf_default_information_originate_always_metric_type):
1980 (ospf_default_information_originate_always_type_metric):
1981 New defun added. Metric and Metric type can be set to default
1982 always route.
1983
1984 * ospf_zebra.c (ospf_default_metric), (no_ospf_default_metric):
1985 New defun added.
1986
19872000-07-06 Gleb Natapov <gleb@nbase.co.il>
1988
1989 * ospf_flood.c (ospf_flood_through_area): Fix bug of considering
1990 on the same interface the LSA was received from.
1991
19922000-07-06 Michael Rozhavsky <mike@nbase.co.il>
1993
1994 * ospfd.c (ospf_config_write): Fix bug of printing `area stub'
1995 command with `write mem'.
1996
1997 * ospfd.c (no_router_ospf): Remove installed routes from zebra.
1998
1999 * ospf_zebra.c (ospf_interface_delete): Fix function to handle
2000 zebra interface delete event.
2001
20022000-07-06 Toshiaki Takada <takada@zebra.org>
2003
2004 * ospf_zebra.c (ospf_default_information_originate),
2005 (ospf_default_information_originate_always): New DEFUN added.
2006
20072000-07-05 Michael Rozhavsky <mike@nbase.co.il>
2008
2009 * ospf_route.c (ospf_terminate): Make sure to remove external route
2010 when SIGINT received.
2011
20122000-07-03 Gleb Natapov <gleb@nbase.co.il>
2013
2014 * ospf_flood.c, ospf_ism.c, ospf_lsa,c, ospfd.c: Make sure to free
2015 many structure with `no router ospf'.
2016
20172000-06-30 Gleb Natapov <gleb@nbase.co.il>
2018
2019 * ospf_neighbor.c (ospf_nbr_new),
2020 ospf_nsm.c (nsm_timer_set): Start LS update timer only
2021 when neighbor enters Exchange state.
2022
20232000-06-29 Gleb Natapov <gleb@nbase.co.il>
2024
2025 * ospf_nsm.c (nsm_timer_set), (nsm_exchange_done),
2026 ospf_packet.c (ospf_db_desc_proc):
2027 Do not cancel DD retransmit timer when Master.
2028
20292000-06-29 Gleb Natapov <gleb@nbase.co.il>
2030
2031 * ospf_abr.c (ospf_abr_announce_network_to_area),
2032 (ospf_abr_announce_rtr_to_area)
2033 ospf_ase.c (ospf_ase_rtrs_register_lsa),
2034 ospf_flood.c (ospf_process_self_originated_lsa),
2035 (ospf_flood_through_area), (ospf_ls_request_delete),
2036 ospf_interface.c (ospf_if_free),
2037 ospf_ism.c (ism_change_status),
2038 ospf_lsa.c (ospf_router_lsa_update_timer),
2039 (ospf_router_lsa_install), (ospf_network_lsa_install),
2040 (ospf_lsa_maxage_delete), (ospf_lsa_action),
2041 (ospf_schedule_lsa_flood_area),
2042 ospf_nsm.c (nsm_change_status),
2043 ospf_packet.c (ospf_make_ls_req_func), (ospf_make_ls_ack):
2044 Use ospf_lsa_{lock,unlock} for all looking-up of LSA.
2045
2046 * ospf_flood.c (ospf_ls_request_free): Function deleted.
2047
2048 * ospf_lsa.c (ospf_discard_from_db): New function added.
2049
20502000-06-26 Toshiaki Takada <takada@zebra.org>
2051
2052 * ospfd.h (ospf): struct member `external_lsa' name changed to
2053 `lsdb'.
2054
20552000-06-26 Toshiaki Takada <takada@zebra.org>
2056
2057 * ospf_lsa.c (ospf_lsa_install), (ospf_router_lsa_install),
2058 (ospf_network_lsa_install), (ospf_summary_lsa_install),
2059 (ospf_summary_asbr_lsa_install), (ospf_external_lsa_install):
2060 Functions re-arranged.
2061
2062 * ospf_lsa.c (IS_LSA_MAXAGE), (IS_LSA_SELF): Macro added.
2063
20642000-06-20 Michael Rozhavsky <mike@nbase.co.il>
2065
2066 * ospf_packet.c (ospf_ls_req), (ospf_ls_upd), (ospf_ls_ack): Add
2067 verification of LS type.
2068
20692000-06-20 Gleb Natapov <gleb@nbase.co.il>
2070
2071 * ospf_ase.c (ospf_ase_calculate_timer): Add more sanity check
2072 whether rn->info is NULL.
2073
20742000-06-20 Toshiaki Takada <takada@zebra.org>
2075
2076 * ospfd.c (show_ip_ospf_interface_sub): Show Router-ID of both
2077 DR and Backup correctly with `show ip ospf interface' command.
2078
20792000-06-20 Toshiaki Takada <takada@zebra.org>
2080
2081 * ospf_lsa.c (ospf_lsa_lock), (ospf_lsa_unlock),
2082 (ospf_lsa_discard): These functions are used for avoiding
2083 unexpected reference to freed LSAs.
2084
20852000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2086
2087 * ospf_packet.c (ospf_ls_upd): Initialize lsa by NULL to avoid
2088 warning.
2089
20902000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2091
2092 * ospf_ase.h (ospf_ase_rtrs_register_lsa): Add prototype.
2093
20942000-06-12 Toshiaki Takada <takada@zebra.org>
2095
2096 * ospf_lsa.c (ospf_external_lsa_install): Make sure to register
2097 LSA to rtrs_external when replacing AS-external-LSAs in LSDB.
2098 Fix core dump.
2099
21002000-06-10 Toshiaki Takada <takada@zebra.org>
2101
2102 * ospf_lsdb.c (id_to_prefix), (ospf_lsdb_hash_key),
2103 (ospf_lsdb_hash_cmp), (ospf_lsdb_new), (ospf_lsdb_iterator),
2104 (lsdb_free), (ospf_lsdb_free), (ospf_lsdb_add), (ospf_lsdb_delete),
2105 (find_lsa), (ospf_lsdb_lookup), (find_by_id),
2106 (ospf_lsdb_lookup_by_id), (ospf_lsdb_lookup_by_header): Functinos
2107 removed for migration to new_lsdb.
2108
2109 * ospf_lsa.c (ospf_summary_lsa_install),
2110 (ospf_summary_asbr_lsa_install), (ospf_maxage_lsa_remover),
2111 (ospf_lsa_maxage_walker), (ospf_lsa_lookup),
2112 (ospf_lsa_lookup_by_id): Use new_lsdb instead of ospf_lsdb.
2113 (count_lsa), (ospf_lsa_count_table), (ospf_lsa_count),
2114 (ospf_get_free_id_for_prefix): Funcitions removed.
2115
21162000-06-09 Gleb Natapov <gleb@nbase.co.il>
2117
2118 * ospf_ism.c (ism_interface_down): Prevent some unneeded DR changes.
2119
2120 * ospf_packet.c (ospf_db_desc_proc): Fix memory leak.
2121 (ospf_hello): Always copy router-ID when hello is received.
2122
21232000-06-08 Gleb Natapov <gleb@nbase.co.il>
2124
2125 * ospf_lsa.h (struct ospf_lsa): Add member of pointer to struct
2126 ospf_area.
2127
21282000-06-08 Michael Rozhavsky <mike@nbase.co.il>
2129
2130 * ospf_ase.c (ospf_asbr_route_same): New function added.
2131 This function makes sure external route calculation more
2132 precisely.
2133
21342000-06-07 Michael Rozhavsky <mike@nbase.co.il>
2135
2136 * ospf_ism.c (ism_change_status): Use ospf_lsa_flush_area for
2137 network-LSA deletion instead of using ospf_lsdb_delete.
2138 Also cancel network-LSA origination timer.
2139
21402000-06-07 Levi Harper <lharper@kennedytech.com>
2141
2142 * ospf_interface.c (ospf_if_down): Close read fd when an interface
2143 goes down.
2144
21452000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2146
2147 * ospf_asbr.c (ospf_external_info_lookup): Add explicit brace for
2148 avoid ambiguous else.
2149
2150 * ospf_flood.c (ospf_external_info_check): Likewise.
2151
21522000-06-05 Toshiaki Takada <takada@zebra.org>
2153
2154 * ospf_nsm.c (nsm_adj_ok): Fix bug of DR election.
2155
21562000-06-04 Toshiaki Takada <takada@zebra.org>
2157
2158 * ospf_zebra.c (ospf_default_information_originate),
2159 (no_ospf_default_information_originate): New DEFUN added.
2160
21612000-06-03 Toshiaki Takada <takada@zebra.org>
2162
2163 * ospf_lsa.h, ospf_asbr.h (external_info): Struct moved from
2164 ospf_lsa.h to ospf_asbr.h.
2165
2166 * ospf_lsa.c, ospf_asbr.c (ospf_external_info_add),
2167 (ospf_external_info_delete): Function moved from ospf_lsa.c
2168 to ospf_asbr.c.
2169
21702000-06-03 Toshiaki Takada <takada@zebra.org>
2171
2172 * ospf_flood.c (ospf_external_info_check): New function added.
2173 (ospf_process_self_orignated_lsa): Make sure to flush
2174 self-originated AS-external-LSA, when router reboot and no longer
2175 originate those AS-external-LSA.
2176
21772000-06-02 Toshiaki Takada <takada@zebra.org>
2178
2179 * ospf_network.c (ospf_serv_sock): Remove SO_DONTROUTE
2180 socket option.
2181
2182 * ospf_packet.c (ospf_write): Set MSG_DONTROUTE flag for
2183 unicast destination packets.
2184
21852000-06-02 Toshiaki Takada <takada@zebra.org>
2186
2187 * ospf_lsdb.c (new_lsdb_delete): Delete entry from LSDB only when
2188 specified LSA matches.
2189
21902000-06-02 Gleb Natapov <gleb@nbase.co.il>
2191
2192 * ospf_network.c (ospf_serv_sock): Set SO_DONTROUTE
2193 socket option.
2194
21952000-06-01 Akihiro Mizutani <mizutani@dml.com>
2196
2197 * ospf_dump.c: Replace string `Debugging functions\n' with DEBUG_STR.
2198 Replace string `OSPF information\n' with OSPF_STR.
2199
22002000-06-01 Toshiaki Takada <takada@zebra.org>
2201
2202 * ospf_lsdb.[ch]: Use new_lsdb struct for network-LSA instead of
2203 ospf_lsdb.
2204
22052000-06-01 Toshiaki Takada <takada@zebra.org>
2206
2207 * ospf_dump.c (config_debug_ospf_packet), (config_debug_ospf_event),
2208 (config_debug_ospf_ism), (config_debug_ospf_nsm),
2209 (config_debug_ospf_lsa), (config_debug_ospf_zebra),
2210 (term_debug_ospf_packet), (term_debug_ospf_event),
2211 (term_debug_ospf_ism), (term_debug_ospf_nsm),
2212 (term_debug_ospf_lsa), (term_debug_ospf_zebra): Repalce debug_ospf_*
2213 variable to use for debug option flags.
2214
2215 (debug_ospf_packet), (debug_ospf_ism), (debug_ospf_nsm),
2216 (debug_ospf_lsa), (debug_ospf_zebra): Set {config,term}_debug_*
2217 flags when vty->node is CONFIG_NODE, otherwise set only term_debug_*
2218 flags.
2219
2220 * ospf_dump.h (CONF_DEBUG_PACKET_ON), (CONF_DEBUG_PACKET_OFF),
2221 (TERM_DEBUG_PACKET_ON), (TERM_DEBUG_PACKET_OFF),
2222 (CONF_DEBUG_ON), (CONF_DEBUG_OFF), (IS_CONF_DEBUG_OSPF_PACKET),
2223 (IS_CONF_DEBUG_OSPF): New Macro added.
2224
22252000-05-31 Toshiaki Takada <takada@zebra.org>
2226
2227 * ospfd.c (clear_ip_ospf_neighbor): New DEFUN added.
2228 Currently this command is used for only debugging.
2229
2230 * ospf_nsm.c (nsm_change_status): Make sure thread cancellation
2231 for network-LSA when DR has no full neighbors.
2232
2233 * ospf_nsm.c (ospf_db_summary_clear): New function added.
2234
22352000-05-30 Toshiaki Takada <takada@zebra.org>
2236
2237 * ospf_lsdb.c (new_lsdb_insert): LSAs are always freed by
2238 maxage_lsa_remover when LSA is replaced.
2239
22402000-05-25 Gleb Natapov <gleb@nbase.co.il>
2241
2242 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all): Add argument
2243 `struct ospf_area' to remove LSA from Link State retransmission list
2244 of neighbor from only one Area.
2245
22462000-05-24 Michael Rozhavsky <mike@nbase.co.il>
2247
2248 * ospf_lsdb.c (ospf_lsdb_add): Preserve flags field when
2249 overriting old LSA with new LSA.
2250
22512000-05-24 Gleb Natapov <gleb@nbase.co.il>
2252
2253 * ospf_lsa.c (ospf_router_lsa_body_set): Fix bug of router-LSA
2254 size calculation.
2255
22562000-05-22 Michael Rozhavsky <mike@nbase.co.il>
2257
2258 * ospf_route.c (ospf_intra_add_stub):
2259 * ospf_spf.h (struct vertex): Use u_int32_t for distance (cost)
2260 value instead of u_int16_t.
2261
22622000-05-22 Axel Gerlach <agerlach@datus.datus.com>
2263
2264 * ospf_ia.c (ospf_ia_network_route): Fix bug of Inter-area route
2265 equal cost path calculation.
2266
22672000-05-21 Toshiaki Takada <takada@zebra.org>
2268
2269 * ospf_ase.c (ospf_ase_calculate_route_delete): New function added.
2270 Make sure, when rotuer route is deleted, related external routes
2271 are also deleted.
2272
22732000-05-20 Toshiaki Takada <takada@zebra.org>
2274
2275 * ospfd.c (ospf_interface_down): Make sure interface flag is disable
2276 and set fd to -1.
2277
22782000-05-16 Toshiaki Takada <takada@zebra.org>
2279
2280 * ospf_asbr.c (ospf_asbr_should_announce), (ospf_asbr_route_remove):
2281 Functions removed.
2282
2283 * ospfd.h (EXTERNAL_INFO): Macro added.
2284 Substitute `ospf_top->external_info[type]' with it.
2285
22862000-05-16 Toshiaki Takada <takada@zebra.org>
2287
2288 * ospf_lsa.c (ospf_rtrs_external_remove): New function added.
2289
22902000-05-14 Gleb Natapov <gleb@nbase.co.il>
2291
2292 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all)
2293 * ospf_lsdb.c (new_lsdb_insert)
2294 * ospf_packet.c (ospf_ls_ack): Fix database synchonization problem.
2295
22962000-05-14 Gleb Natapov <gleb@nbase.co.il>
2297
2298 * ospf_lsa.h (tv_adjust), (tv_ceil), (tv_floor), (int2tv),
2299 (tv_add), (tv_sub), (tv_cmp): Prototype definition added.
2300
2301 * ospf_nsm.h (ospf_db_summary_delete_all): Prototype definition added.
2302
23032000-05-13 Toshiaki Takada <takada@zebra.org>
2304
2305 * ospf_lsa.[ch] (ospf_lsa): struct timestamp type is changed from
2306 time_t to struct timeval.
2307 (tv_adjust), (tv_ceil), (tv_floor), (int2tv), (tv_add),
2308 (tv_sub), (tv_cmp): timeval utillity functions added.
2309
23102000-05-12 Toshiaki Takada <takada@zebra.org>
2311
2312 * ospf_lsa.[ch] (ospf_schedule_update_router_lsas): Delete function.
2313 Change to use macro OSPF_LSA_UPDATE_TIMER instead of using
2314 this function.
2315 router-LSA refresh timer related stuff is re-organized.
2316
23172000-05-10 Gleb Natapov <gleb@nbase.co.il>
2318
2319 * ospf_interface.c (ospf_vl_set_params):
2320 * ospf_packet.c (ospf_check_network_mask):
2321 * ospf_spf.[ch] (ospf_spf_next):
2322 Remove field address from `struct vertex', and search for peer
2323 address of virtual link in function `ospf_vl_set_params' instead.
2324
23252000-05-10 Gleb Natapov <gleb@nbase.co.il>
2326
2327 * ospf_packet.c (ospf_ls_upd): Fix some memory leak related LSA.
2328
23292000-05-08 Thomas Molkenbur <tmo@datus.com>
2330
2331 * ospf_packet.c (ospf_packet_dup): Replace ospf_steram_copy()
2332 with ospf_stream_dup() to fix memory leak.
2333
23342000-05-08 Michael Rozhavsky <mike@nbase.co.il>
2335
2336 * ospf_flood.c (ospf_flood_through_area): Fix the problem of
2337 LSA update without DROther.
2338
23392000-05-04 Gleb Natapov <gleb@nbase.co.il>
2340
2341 * ospf_spf.c (ospf_vertex_free): Fix memory leak of SPF calculation.
2342
23432000-05-03 Toshiaki Takada <takada@zebra.org>
2344
2345 * ospf_neighbor.c (ospf_db_summary_add): Use new_lsdb struct
2346 instead linked-list.
2347 (ospf_db_summary_count), (ospf_db_summary_isempty):
2348 New function added.
2349
2350 * ospf_lsa.c (ospf_rotuer_lsa): Re-arrange and divide functions.
2351
23522000-05-02 Gleb Natapov <gleb@nbase.co.il>
2353
2354 * ospf_lsdb.c (new_lsdb_cleanup): Fix memory leak. When LSDB are
2355 not needed any more, then free them.
2356
23572000-05-02 Toshiaki Takada <takada@zebra.org>
2358
2359 * ospfd.c (timers_spf), (no_timers_spf): New defun added.
2360 SPF calculation timers related stuff is rearranged.
2361
2362 * ospf_spf.c (ospf_spf_calculate_timer_add): Function removed.
2363 SPF timer is scheduled by SPF calculation delay and holdtime
2364 configuration variable.
2365
2366 * ospf_lsa.c (ospf_external_lsa_nexthop_get): Set AS-external-LSA's
2367 forwarding address when nexthop learned by other protocols is
2368 in the OSPF domain.
2369
2370 * ospf_zebra.c (ospf_redistribute_source_metric_type),
2371 (ospf_redistribute_source_type_metric): Re-arrange DEFUNs and
2372 ALIASes.
2373
23742000-05-01 Toshiaki Takada <takada@zebra.org>
2375
2376 * ospf_flood.c (ospf_ls_retransmit_count),
2377 (ospf_ls_retransmit_isempty): New function added.
2378
2379 (ospf_ls_retransmit_add), (ospf_ls_retransmit_delete),
2380 (ospf_ls_retransmit_clear), (ospf_ls_retransmit_lookup),
2381 (ospf_ls_retransmit_delete_all), (ospf_ls_retransmit_delete_nbr_all),
2382 (ospf_ls_retransmit_add_nbr_all): Replace these functions to use
2383 new_lsdb.
2384
23852000-04-29 Toshiaki Takada <takada@zebra.org>
2386
2387 * ospfd.c (no_network_area): Add check Area-ID whether specified
2388 Area-ID with prefix matches config.
2389
23902000-04-27 Toshiaki Takada <takada@zebra.org>
2391
2392 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix problem of
2393 remaining withdrawn routes on zebra.
2394
23952000-04-25 Michael Rozhavsky <mike@nbase.co.il>
2396
2397 * ospf_nsm.c (nsm_kill_nbr), (nsm_ll_down), (nsm_change_status),
2398 (ospf_nsm_event): Fix network-LSA re-origination problem.
2399
24002000-04-24 Toshiaki Takada <takada@zebra.org>
2401
2402 * ospf_nsm.c (ospf_db_desc_timer): Fix bug of segmentation fault
2403 with DD retransmission.
2404
2405 * ospf_nsm.c (nsm_kill_nbr): Fix bug of re-origination when
2406 a neighbor disappears.
2407
24082000-04-23 Michael Rozhavsky <mike@nbase.co.il>
2409
2410 * ospf_abr.c (ospf_abr_announce_network_to_area): Fix bug of
2411 summary-LSAs reorigination. Correctly copy OSPF_LSA_APPROVED
2412 flag to new LSA. when summary-LSA is reoriginatd.
2413
2414 * ospf_flood.c (ospf_flood_through_area): Fix bug of flooding
2415 procedure. Change the condition of interface selection.
2416
24172000-04-21 Toshiaki Takada <takada@zebra.org>
2418
2419 * ospf_lsa.c (ospf_refresher_register_lsa): Fix bug of refresh never
2420 occurs.
2421
2422 * ospfd.c (show_ip_ospf_neighbor_id): New defun added.
2423 `show ip ospf neighbor' related commands are re-arranged.
2424
24252000-04-20 Toshiaki Takada <takada@zebra.org>
2426
2427 * ospf_dump.c (debug_ospf_zebra): New defun added.
2428 Suppress zebra related debug information.
2429
24302000-04-19 Toshiaki Takada <takada@zebra.org>
2431
2432 * ospf_zebra.c (ospf_distribute_list_update_timer),
2433 (ospf_distribute_list_update), (ospf_filter_update):
2434 New function added. Re-organize `distribute-list' router ospf
2435 command.
2436
24372000-04-13 Michael Rozhavsky <mike@nbase.co.il>
2438
2439 * ospf_packet.c (ospf_make_ls_upd): Add check for MAX_AGE.
2440
24412000-04-14 Michael Rozhavsky <mike@nbase.co.il>
2442
2443 * ospf_packet.c (ospf_make_ls_upd): Increment LS age by configured
2444 interface transmit_delay.
2445
24462000-04-14 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2447
2448 * ospf_interface.c (ip_ospf_cost), (no_ip_ospf_cost):
2449 Add to schedule router_lsa origination when the interface cost changes.
2450
24512000-04-12 Toshiaki Takada <takada@zebra.org>
2452
2453 * ospf_lsa.c (ospf_refresher_register_lsa),
2454 (ospf_refresher_unregister_lsa): Fix bug of core dumped.
2455
2456 * ospfd.c (no_router_ospf): Fix bug of core dumped.
2457
24582000-03-29 Toshiaki Takada <takada@zebra.org>
2459
2460 * ospf_nsm.c (nsm_oneway_received): Fix bug of MS flag unset.
2461
24622000-03-29 Michael Rozhavsky <mike@nbase.co.il>
2463
2464 * ospf_lsa.c (ospf_network_lsa):
2465 * ospf_nsm.c (ospf_nsm_event): Fix bug of Network-LSA originated
2466 in stub network.
2467
24682000-03-28 Toshiaki Takada <takada@zebra.org>
2469
2470 * ospf_nsm.c (nsm_bad_ls_req), (nsm_seq_number_mismatch),
2471 (nsm_oneway_received): Fix bug of NSM state flapping between
2472 ExStart and Exchange.
2473
24742000-03-28 Toshiaki Takada <takada@zebra.org>
2475
2476 * ospf_packet.h (strcut ospf_header): Fix the size of ospf_header,
2477 change u_int8_t to u_char.
2478
24792000-03-27 Toshiaki Takada <takada@zebra.org>
2480
2481 * ospf_lsa.c (ospf_lsa_checksum): Take care of BIGENDIAN architecture.
2482
24832000-03-27 Toshiaki Takada <takada@zebra.org>
2484
2485 * ospfd.c (ospf_interface_run): Make sure Address family matches.
2486
24872000-03-26 Love <lha@s3.kth.se>
2488
2489 * ospf_packet.c (ospf_write): Chack result of sendto().
2490
24912000-03-26 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2492
2493 * ospf_nsm.c (nsm_oneway_received): Fix bug of 1-WayReceived in NSM.
2494
24952000-03-23 Libor Pechacek <farco@clnet.cz>
2496
2497 * ospf_lsa.c (ospf_network_lsa)
2498 * ospf_lsdb.c (new_lsdb_insert): Fix bug of accessing to
2499 unallocated memory.
2500
25012000-03-23 Toshiaki Takada <takada@zebra.org>
2502
2503 * ospfd.c (ospf_config_write): Fix bug of duplicate line for
2504 `area A.B.C.D authentication'.
2505
25062000-03-22 Toshiaki Takada <takada@zebra.org>
2507
2508 * ospf_debug.c (debug_ospf_lsa), (no_debug_ospf_lsa): Defun added.
2509 Suppress all zlog related to LSAs with this config option.
2510
25112000-03-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2512
2513 * ospf_nsm.c (ospf_nsm_event): Add check for NSM_InactivityTimer.
2514
25152000-03-21 Toshiaki Takada <takada@zebra.org>
2516
2517 * ospf_packet.c (ospf_ls_upd_timer), (ospf_ls_req):
2518 Fix bug of memory leak about linklist.
2519
2520 * ospf_flood.c (ospf_flood_through_area): Likewise.
2521
25222000-03-18 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2523
2524 * ospf_flood.c (ospf_ls_retransmit_lookup): Add checksum comparison
2525 to identify LSA uniquely. This fix routes lost.
2526
25272000-03-18 Toshiaki Takada <takada@zebra.org>
2528
2529 * ospf_ase.c (ospf_find_asbr_route): Add sanity check with router
2530 routing table.
2531
25322000-03-17 Alex Zinin <zinin@amt.ru>
2533
2534 * ospf_spf.[ch]: Bug fix.
2535 The 2nd stage of Dijkstra could consider one vertex
2536 more than once if there is more than one link
2537 between the routers, thus adding extra CPU overhead
2538 and extra next-hops.
2539 Fixed.
2540
25412000-03-15 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2542
2543 * ospf_nsm.c (nsm_inactivity_timer): Changed to call nsm_kill_nbr().
2544
25452000-03-14 Toshiaki Takada <takada@zebra.org>
2546
2547 * ospf_route.c (ospf_route_copy_nexthops): Fix bug of memory leak of
2548 ospf_path. Actually ignore merging ospf_route with completely same
2549 paths.
2550
25512000-03-12 Toshiaki Takada <takada@zebra.org>
2552
2553 * ospf_lsa.c (show_as_external_lsa_detail): fix bug of
2554 external route tag byte order.
2555
25562000-03-11 Toshiaki Takada <takada@zebra.org>
2557
2558 * ospf_lsdb.c (ospf_lsdb_insert): New function added.
2559
25602000-03-09 Toshiaki Takada <takada@zebra.org>
2561
2562 * ospf_lsa.c (ospf_external_lsa_install),
2563 (ospf_lsa_lookup), (show_ip_ospf_database_all),
2564 (show_ip_ospf_database_self_originate): Use struct new_lsdb for
2565 LSDB of AS-external-LSAs instead of ospf_lsdb.
2566
2567 * ospf_lsa.c (ospf_lsa_unique_id): New function added.
2568 Use for assigning Unique Link State ID instead of
2569 ospf_get_free_id_for_prefix().
2570
25712000-03-09 Toshiaki Takada <takada@zebra.org>
2572
2573 * ospf_ase.c (ospf_ase_calculate_timer): Fix bug of segmentation
2574 fault reported by George Bonser <george@siteROCK.com>.
2575
25762000-03-07 Libor Pechacek <farco@clnet.cz>
2577
2578 * ospfd.c (ospf_interface_down): Fix bug of segmentation fault.
2579
25802000-03-06 Toshiaki Takada <takada@zebra.org>
2581
2582 * ospf_route.c (ospf_route_cmp): Change meaning of return values.
2583
25842000-03-02 Alex Zinin <zinin@amt.ru>
2585 * ospfd.h, ospf_ia.h
2586 New Shortcut ABR code. Now area's flag can be configured
2587 with Default, Enable, and Disable values.
2588 More info will be in the new ver of I-D soon (see IETF web).
2589
25902000-02-25 Toshiaki Takada <takada@zebra.org>
2591
2592 * ospf_lsa.c (ospf_lsa_header_set), (ospf_external_lsa_body_set),
2593 (osfp_external_lsa_originate), (ospf_external_lsa_queue),
2594 (ospf_external_lsa_originate_from_queue): New function added.
2595 (ospf_external_lsa): Function removed.
2596
2597 * ospf_zebra.c (ospf_zebra_read_ipv4): Originate AS-external-LSA
2598 when listen a route from Zebra, instead creating external route.
2599
2600 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
2601 (ospf_asbr_route_add_queue_lsa),
2602 (ospf_asbr_route_install_lsa), (ospf_asbr_route_add):
2603 Functions removed.
2604
2605 * ospf_ase.c (process_ase_lsa): Function will not be used.
2606 (ospf_ase_calculate), (ospf_ase_calculate_route_add),
2607 (ospf_ase_calculate_new_route), (ospf_ase_caluculate_asbr_route):
2608 process_ase_lsa () is separated to these functions.
2609
2610 OSPF AS-external-LSA origination is whole re-organized.
2611
26122000-02-18 Toshiaki Takada <takada@zebra.org>
2613
2614 * ospf_packet.c (ospf_ls_upd): Fix bug of OSPF LSA memory leak.
2615
2616 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
2617 (ospf_asbr_route_add_queue_lsa): Fix bug of OSPF external route
2618 memory leak.
2619
26202000-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2621
2622 * ospf_asbr.c (ospf_asbr_route_install_lsa): Re-calculate LSA
2623 checksum after change Advertised Router field.
2624
26252000-02-09 Toshiaki Takada <takada@zebra.org>
2626
2627 * ospf_asbr.c (ospf_external_route_lookup): Add new function.
2628
26292000-02-08 Toshiaki Takada <takada@zebra.org>
2630
2631 * ospfd.c (ospf_router_id_get), (ospf_router_id_update),
2632 (ospf_router_id_update_timer): Router ID decision algorithm is changed.
2633 Router ID is chosen from all of eligible interface addresses even if
2634 it is not enable to OSPF.
2635
26362000-02-08 Toshiaki Takada <takada@zebra.org>
2637
2638 * ospf_asbr.c (ospf_asbr_route_add): Function divided to
2639 ospf_asbr_route_add_flood_lsa, ospf_asbr_route_add_queue_lsa and
2640 ospf_asbr_route_install_lsa. If Router-ID is not set, then LSA is
2641 waited to install to LSDB.
2642 `0.0.0.0 adv_router' AS-external-LSA origination bug was fixed.
2643
26442000-02-01 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2645
2646 * ospf_flood.c (ospf_ls_retransmit_lookup): Compare LS seqnum
2647 in the ACK before deleting.
2648
2649 * ospf_packet.c (ospf_hello): Reset the flags after a shutdown
2650 and no shutdown of the interface.
2651
26522000-01-31 Toshiaki Takada <takada@zebra.org>
2653
2654 * ospf_packet.c (ospf_ls_req): Send multiple Link State Update
2655 packets respond to a Link State Request packet.
2656
2657 * ospfd.c (show_ip_ospf_neighbor_detail_sub): Show thread state.
2658
2659 * ospf_interface.c (ospf_vl_new): Crash when backbone area
2660 is not configured and set virtual-link to no-backbone area,
2661 bug fixed.
2662
26632000-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2664
2665 * ospf_neighbor.h (struct ospf_neighbor): Add pointer to last send
2666 LS Request LSA.
2667
2668 * ospf_packet.c (ospf_ls_upd): Comment out LS request list
2669 treatment. That should be done in OSPF flooding procedure.
2670
2671 * ospf_flood.c (ospf_flood_through_area): Enclose
2672 ospf_check_nbr_loding inside if-else close.
2673
26742000-01-31 Toshiaki Takada <takada@zebra.org>
2675
2676 * ospf_packet.c (ospf_make_ls_upd): Fix bug of #LSAs counting.
2677
26782000-01-29 Toshiaki Takada <takada@zebra.org>
2679
2680 * ospf_packet.c (ospf_make_md5_digest): Fix bug of md5 authentication.
2681
26822000-01-28 Toshiaki Takada <takada@zebra.org>
2683
2684 * ospfd.c (show_ip_ospf): Show Number of ASE-LSAs.
2685
26862000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2687
2688 * ospf_packet.c (ospf_make_db_desc): Don't use rm_list for
2689 removing LSA from nbr->db_summary.
2690
26912000-01-27 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2692
2693 * ospf_packet.c (ospf_ls_upd_send): Set AllSPFRouters to
2694 destination when the link is point-to-point.
2695 (ospf_ls_ack_send_delayed): Likewise.
2696
26972000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2698
2699 * ospf_flood.c (ospf_ls_request_delete_all): Fix bug of next
2700 pointer lookup after the node is freed.
2701
27022000-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2703
2704 * ospf_asbr.c (ospf_asbr_route_add): Instead of scanning all AS
2705 external route, use ospf_top->external_self.
2706
27072000-01-27 Toshiaki Takada <takada@zebra.org>
2708
2709 * ospf_lsa.c (ospf_forward_address_get): New function added.
2710
2711 * ospf_asbr.c (ospf_asbr_check_lsas): Originate AS-external-LSA
2712 only when it should be replaced.
2713
27142000-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2715
2716 * ospf_flood.c (ospf_ls_retransmit_clear): Delete list node.
2717
2718 * ospf_lsa.c (ospf_lsa_free): Reduce logging message using
2719 ospf_zlog value.
2720
2721 * ospf_ism.c (ism_change_status): Fix bug of DR -> non DR status
2722 change. Self originated LSA is freed but not deleted from lsdb.
2723
27242000-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2725
2726 * ospf_ism.c (ism_interface_down): Don't use router_id for
2727 detecting self neighbor structure. Instead of that compare
2728 pointer itself.
2729
2730 * ospf_neighbor.c (ospf_nbr_free): Cancel all timer when neighbor
2731 is deleted.
2732 (ospf_nbr_free): Free last send packet.
2733
2734 * ospf_neighbor.h (struct ospf_neighbor): Remove host strucutre.
2735 Instead of that src is introduced.
2736
2737 * ospf_nsm.h: Enclose macro defenition with do {} while (0).
2738
27392000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2740
2741 * ospfd.c: Change part of passive interface implementation. For
2742 passive interface just disabling sending/receiving Hello on the
2743 interface.
2744
27452000-01-16 Kai Bankett <kai.bankett@vew-telnet.net>
2746
2747 * ospf_interface.h (OSPF_IF_PASSIVE): Add passive flag.
2748 * ospf_interface.c (ospf_if_lookup_by_name): Add new function.
2749 * ospf_lsa.c (ospf_router_lsa): Skip passive interface.
2750 * ospfd.c (passive_interface): New command passive-interface is
2751 added.
2752 (ospf_config_write): Print passive interface.
2753
27542000-01-15 Toshiaki Takada <takada@zebra.org>
2755
2756 * ospf_interface.h (crypt_key): New struct added to store
2757 multiple cryptographic autheitication keys.
2758 (ospf_interface): struct changed.
2759
2760 * ospf_interface.c: ospf_crypt_key_new, ospf_crypt_key_add,
2761 ospf_crypt_key_lookup, ospf_crypt_key_delete: new functions added.
2762
2763 * ospf_packet.c (ip_ospf_message_digest_key): Changed to store
2764 multiple cryptographic authentication keys.
2765
27662000-01-14 Toshiaki Takada <takada@zebra.org>
2767
2768 * ospf_interface.c: DEFUN (if_ospf_*) commands changed name to
2769 ip_ospf_* ().
2770 Old notation `ospf *' still remains backward compatibility.
2771
27721999-12-29 Alex Zinin <zinin@amt.ru>
2773 * ospf_lsa.c: ospf_lsa_more_recent() bug fix
2774 * ospf_nsm.c, ospf_packet.c: remove nbr data struct when
2775 int goes down, also check DD flags correctly (bug fix)
2776
27771999-12-28 Alex Zinin <zinin@amt.ru>
2778 * "redistribute <source> metric-type (1|2) metric <XXX>" added
2779
27801999-12-23 Alex Zinin <zinin@amt.ru>
2781 * added RFC1583Compatibility flag
2782 * added dynamic interface up/down functionality
2783
27841999-11-19 Toshiaki Takada <takada@zebra.org>
2785
2786 * ospf_neighbor.h (struct ospf_neighbor): Add member state_change
2787 for NSM state change statistics.
2788
27891999-11-19 Toshiaki Takada <takada@zebra.org>
2790
2791 * ospfd.c (show_ip_ospf_neighbor_detail),
2792 (show_ip_ospf_neighbor_int_detail): DEFUN Added.
2793
27941999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2795
2796 * ospf_asbr.c (ospf_asbr_check_lsas): Add check of
2797 lsa->refresh_list.
2798
27991999-11-11 Toshiaki Takada <takada@zebra.org>
2800
2801 * ospf_ia.[ch] (OSPF_EXAMINE_SUMMARIES_ALL): Macro added.
2802 This macro is expanded to ospf_examine_summaries ()
2803 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2804 (OSPF_EXAMINE_TRANSIT_SUMMARIES_ALL): Macro added.
2805 This macro is expanded to ospf_examine_transit_summaries ()
2806 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2807
28081999-11-11 Toshiaki Takada <takada@zebra.org>
2809
2810 * ospf_lsa.[ch] (ospf_find_self_summary_lsa_by_prefix): Changed to
2811 macro OSPF_SUMMARY_LSA_SELF_FIND_BY_PREFIX.
2812 (ospf_find_self_summary_asbr_lsa_by_prefix): Changed to
2813 macro OSPF_SUMMARY_ASBR_LSA_SELF_FIND_BY_PREFIX.
2814 (ospf_find_self_external_lsa_by_prefix): Changed to
2815 macro OSPF_EXTERNAL_LSA_SELF_FIND_BY_PREFIX.
2816
28171999-11-11 Toshiaki Takada <takada@zebra.org>
2818
2819 * ospfd.c (ospf_abr_type): ospf_abr_type_cisco, ospf_abr_type_ibm,
2820 ospf_abr_type_shortcut and ospf_abr_type_standard DEFUNs are
2821 combined.
2822 * ospfd.c (no_ospf_abr_type): no_ospf_abr_type_cisco,
2823 no_ospf_abr_type_ibm and no_ospf_abr_type_shortcut DEFUNS are
2824 combined.
2825
28261999-11-10 Toshiaki Takada <takada@zebra.org>
2827
2828 * ospf_route.c (ospf_lookup_int_by_prefix): Move function to
2829 ospf_interface.c and change name to ospf_if_lookup_by_prefix ().
2830
28311999-11-01 Alex Zinin <zinin@amt.ru>
2832 * ospf_packet.c
2833 some correction to LSU processing
2834
2835 * ospf_lsa.c ospfd.h
2836 randomize initial LSA refreshment interval
2837 and limit the size of LSA-group to 10
2838 to let randomization work more effectively.
2839
28401999-10-31 Alex Zinin <zinin@amt.ru>
2841 * ospf_interface.c
2842 cancel t_network_lsa_self
2843 when freeing int structure
2844
2845 * ospf_abr.c ospf_asbr.c ospf_flood.c ospf_lsa.c
2846 ospf_lsa.h ospf_lsdb.h ospfd.c ospfd.h
2847
2848 Summary and ASE LSA refreshment functions
2849 added---LSA refreshment is paced to 70 LSAs
2850 per sec to avoid link overflow. Refreshment events
2851 are further randomized within a 10 sec interval
2852 to avoid syncing.
2853
2854 Also the sigfault of memcmp() in ospf_lsa_is_different()
2855 is fixed.
2856
28571999-10-30 Alex Zinin <zinin@amt.ru>
2858 * ospf_nsm.c
2859 Fix the bug where MAX_AGE LSAs
2860 are included into the DB summary.
2861
2862 * ospf_interface.c
2863 allocate 2*MTU input buffer instead of just MTU
2864 for the cases when the other router mistakenly
2865 sends larger packets thus causing fragmentation, etc.
2866
2867 * ospf_nsm.c
2868 in nsm_reset_nbr() lists should be freed
2869 not when they are empty.
2870
28711999-10-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2872
2873 * ospf_zebra.c (ospf_acl_hook): Move OSPF_IS_ASBR and OSPF_IS_ABR
2874 check inside of if (ospf_top).
2875
28761999-10-29 Alex Zinin <zinin@amt.ru>
2877 * ospf_lsa.c ospf_lsdb.c :
2878 add assertion in lsa and lsa->data alloc functions,
2879 as well as in lsdb_add for new->data
2880
2881 * ospf_lsdb.c: free hash table correctly
2882
28831999-10-28 John Capo <jc@irbs.com>
2884
2885 * ospf_packet.h (OSPF_PACKET_MAX): Correct MAX packet length
2886 calculation
2887
28881999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2889
2890 * OSPF-TRAP-MIB.txt: New file added. Edited version of RFC1850.
2891
2892 * OSPF-MIB.txt: New file added. Edited version of RFC1850.
2893
28941999-10-27 Alex Zinin <zinin@amt.ru>
2895 * ospfd, ospf_zebra, ospf_abr
2896 "area import-list" command is added.
2897 This command allows to filter the inter-area routes
2898 injected into an area. Access list hook function
2899 extended to invalidate area exp/imp lists.
2900
29011999-10-25 Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
2902
2903 * ospfd.c (ospf_interface_run): Enable to detect P2P network
2904 on an OSPF interface.
2905
29061999-10-19 Jordan Mendelson <jordy@wserv.com>
2907
2908 * ospf_lsdb.c (ospf_lsdb_add): Fix bug of crash
2909 in ospf_ls_retransmit_lookup ().
2910
29111999-10-19 Vladimir B. Grebenschikov <vova@express.ru>
2912
2913 * ospf_route.c: Workaround about installation of OSPF routes into
2914 the zebra daemon. Add checking of existance routes. Free
2915 ospf_top->old_table if it exists.
2916
29171999-10-15 Jordan Mendelson <jordy@wserv.com>
2918
2919 * Add support for MD5 authentication.
2920
29211999-10-12 Alex Zinin <zinin@amt.ru>
2922 * ospfd.c, ospfd.h, ospf_abr.c:
2923 a new command "area export-list" was added, it allows
2924 the admin. to control which intra-area routes are
2925 announced to other areas by the ABR
2926
29271999-10-12 Alex Zinin <zinin@amt.ru>
2928 * ospf_asbr.c (ospf_asbr_check_lsas): Fix bug of coredump
2929 when "no redistribute" is used after a distribute list
2930 denying some networks was used
2931
29321999-10-05 Toshiaki Takada <takada@zebra.org>
2933
2934 * ospf_route.c (ospf_path_dup): New function added.
2935
29361999-10-05 Toshiaki Takada <takada@zebra.org>
2937
2938 * ospf_interface.[ch]: Some of VL related funciton name changed.
2939
29401999-09-27 Alex Zinin <zinin@amt.ru>
2941
2942 * ospf_zebra.c: Distribute-list functionality added
2943
29441999-09-27 Toshiaki Takada <takada@zebra.org>
2945
2946 * ospfd.c (show_ip_ospf): Fix bug of segmentation fault when no ospf
2947 instance exists.
2948
29491999-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2950
2951 * ospfd.c (ospf_interface_down): Fix bug of misusing nextnode()
2952 instead of node->next. Reported by Hiroki Ishibashi
2953 <ishibasi@dcd.abk.nec.co.jp>.
2954
2955 * ospf_route.c (show_ip_ospf_route): Add check for ospf is enabled
2956 or not.
2957
29581999-09-23 Alex Zinin <zinin@amt.ru>
2959
2960 * stub area support added
2961
29621999-09-23 Alex Zinin <zinin@amt.ru>
2963
2964 * fwd_addr in ASE-LSAs is now set correctly
2965 * ASE routing changed to check the fwd_addr
2966 and skip the route if the addr points to one
2967 of our interfaces to avoid loops.
2968
29691999-09-22 Alex Zinin <zinin@amt.ru>
2970
2971 * ospf_interface:
2972 ospf_vls_in_area() added, it returns
2973 the number of VLs configured through the area
2974
2975 * ospf_interface.c ospf_lsa.c ospf_lsdb.c ospfd.c
2976 honor correct mem alloc
2977
29781999-09-22 Alex Zinin <zinin@amt.ru>
2979
2980 * memory.[ch]:
2981 Some OSPF mem types added,
2982 plus more info in "show mem"
2983
29841999-09-21 Alex Zinin <zinin@amt.ru>
2985
2986 * ospfd.c:
2987 "area range substitute" added.
2988 It can be used on NAT-enabled (IP-masquarade)
2989 routers to announce private networks
2990 from an area as public ones into the outside
2991 world (not in the RFC, btw :)
2992
29931999-09-21 Alex Zinin <zinin@amt.ru>
2994
2995 * ospfd.c:
2996 "area range suppress" added.
2997 This command allows to instruct the router
2998 to be silent about specific ranges, i.e.,
2999 it is a method of route filtering on area
3000 borders
3001
30021999-09-21 Alex Zinin <zinin@amt.ru>
3003
3004 * ospfd.c VLs removed when "no network area" executed
3005
30061999-09-20 Alex Zinin <zinin@amt.ru>
3007
3008 * ospf_ase.c bug fix for not-zero fwd_addr
3009 and directly connected routes.
3010
30111999-09-20 Yon Uriarte <yon@plannet.de>
3012
3013 * ospf_packet.c (ospf_make_ls_req): Introduce delta value for
3014 checking the length of OSPF packet exceeds MTU or not.
3015
3016 * ospf_lsa.c (ospf_lsa_different): Apply ntohs for checking
3017 l1->data->length.
3018
30191999-09-18 Alex Zinin <zinin@amt.ru>
3020
3021 * ospf_lsa.c bug fix for ospf_network_lsa() to
3022 include itself into the RID list
3023
30241999-09-10 Alex Zinin <zinin@amt.ru>
3025
3026 * Alternative ABR behaviors IBM/Cisco/Shortcut
3027 implemented
3028
30291999-09-10 Alex Zinin <zinin@amt.ru>
3030
3031 * router and network-LSA origination
3032 changed to honor MinLSInterval
3033
30341999-09-08 Alex Zinin <zinin@amt.ru>
3035
3036 * modified ABR behavior to honor VLs and transit
3037 areas
3038
30391999-09-07 Alex Zinin <zinin@amt.ru>
3040
3041 * completed VL functionality
3042
30431999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
3044
3045 * ospf_asbr.c: New file.
3046 ospf_asbr.h: New file.
3047
3048 * ospf_zebra.c (ospf_redistribute_connected): Add redistribute
3049 related stuff.
3050
30511999-09-05 Kunihiro Ishiguro <kunihiro@zebra.org>
3052
3053 * ospfd.h (OSPF_FLAG_VIRTUAL_LINK): Change OSPF_FLAG_VEND to
3054 OSPF_FLAG_VIRTUAL_LINK for comprehensiveness.
3055
30561999-09-03 Kunihiro Ishiguro <kunihiro@zebra.org>
3057
3058 * ospf_spf.c (ospf_spf_register): Change name from
3059 ospf_spf_route_add() to ospf_spf_register().
3060 Include "ospfd/ospf_abr.h" for ospf_abr_task() prototype.
3061
30621999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
3063
3064 * ospf_lsa.c (ospf_external_lsa_install): Change to update
3065 lsa->data rather than install new one, when same id lsa is already
3066 installed.
3067
30681999-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
3069
3070 * ospf_lsa.c (ospf_router_lsa_install): Return lsa value.
3071 (ospf_network_lsa_install): Likewise.
3072 (ospf_summary_lsa_install): Likewise.
3073 (ospf_summary_asbr_lsa_install): Likewise.
3074 (ospf_external_lsa_install): Likewise.
3075
3076 * ospf_spf.c (ospf_spf_calculate): Comment out debug function
3077 ospf_rtrs_print().
3078
30791999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
3080
3081 * ospf_spf.c (ospf_rtrs_free): Add ospf_spf_calculate() for
3082 freeing rtrs.
3083
30841999-08-31 Toshiaki Takada <takada@zebra.org>
3085
3086 * ospf_lsa.c (show_ip_ospf_database_summary),
3087 (show_ip_ospf_database_summary_asbr),
3088 (show_ip_ospf_database_external): New function added.
3089 `show ip ospf database summary',
3090 `show ip ospf database asbr-summary'
3091 `show ip ospf database external' command can be used.
3092
3093 * ospf_lsa.c (ospf_lsa_count_table): New function added.
3094 (show_ip_ospf_database_all): show nothing if a type of LSA
3095 does not exist.
3096
30971999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
3098
3099 * ospf_lsa.c (ospf_maxage_lsa_remover): Preserve next pointer when
3100 the node is deleted.
3101
31021999-08-31 Toshiaki Takada <takada@zebra.org>
3103
3104 * ospf_flood.c (ospf_ls_retransmit_lookup): change to return
3105 struct ospf_lsa *.
3106 (ospf_ls_request_new), (ospf_ls_request_free),
3107 (ospf_ls_request_add), (ospf_ls_request_delete),
3108 (ospf_ls_request_delete_all), (ospf_ls_request_lookup):
3109 New function added.
3110
3111 * ospf_packet.c (ospf_ls_upd_send_lsa): New function added.
3112
3113 * ospf_lsa.h (LS_AGE): Slightly change macro definition.
3114
3115 * ospf_lsa.c (ospf_lsa_more_recent), (ospf_lsa_diffrent):
3116 Use LS_AGE macro.
3117
31181999-08-30 Alex Zinin <zinin@amt.ru>
3119
3120 * ospfd.c
3121 fix a bug with area range config write
3122 added "show ip ospf" command, it will be enhanced later on
3123
31241999-08-30 Alex Zinin <zinin@amt.ru>
3125
3126 * ospf_lsa.c
3127 updated ospf_router_lsa() to honor flags (B-bit)
3128
31291999-08-30 Alex Zinin <zinin@amt.ru>
3130
3131 * ospf_abr.c
3132 wrote major functions implementing ABR activity
3133
31341999-08-30 Alex Zinin <zinin@amt.ru>
3135
3136 * ospf_ia.c ospf_route.c ospf_route.h
3137 fixed the bug with ospf_route.origin field.
3138 Now it holds pointer to lsa_header
3139
31401999-08-30 Alex Zinin <zinin@amt.ru>
3141
3142 * ospf_flood.c ospf_flood.h:
3143 transformed ospf_flood_if_select into ospf_flood_through_area()
3144 added new ospf_flood_if_select() and ospf_flood_through_as()
3145
31461999-08-30 Toshiaki Takada <takada@zebra.org>
3147
3148 * ospf_flood.[ch]: New file added.
3149
3150 * ospf_packet.c (ospf_lsa_flooding),
3151 (ospf_lsa_flooding_select_if): functions move to ospf_flood.c
3152
3153 * ospf_neighbor.c (ospf_put_lsa_on_retransm_list),
3154 (ospf_remove_lsa_from_retransm_list),
3155 (ospf_nbr_remove_all_lsas_from_retransm_list),
3156 (ospf_lsa_remove_from_ls_retransmit):
3157 (ospf_lsa_retransmit): functions move to
3158 ospf_flood.c, and change function's name:
3159
3160 ospf_put_lsa_on_retransm_list ()
3161 -> ospf_ls_retransmit_add ()
3162 ospf_remove_lsa_from_retransm_list ()
3163 -> ospf_ls_retransmit_delete ()
3164 ospf_nbr_remove_all_lsas_from_retransm_list ()
3165 -> ospf_ls_retransmit_clear ()
3166 ospf_lsa_remove_from_ls_retransmit ()
3167 -> ospf_ls_retransmit_delete_nbr_all ()
3168 ospf_lsa_retransmit ()
3169 -> ospf_ls_retransmit_add_nbr_all ()
3170
3171 * ospf_lsa.c (ospf_lsa_lookup_from_list): function move to
3172 ospf_flood.c, and change name to ospf_ls_retransmit_lookup ().
3173
31741999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3175
3176 * ospf_neighbor.c (ospf_nbr_lookup_by_addr): Use
3177 route_node_lookup() instead of route_node_get().
3178
3179 * ospf_packet.c (ospf_ls_upd): Temporary comment out (6) check.
3180
31811999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3182
3183 * ospf_route.c (ospf_lookup_int_by_prefix): Add check of
3184 oi->address.
3185
31861999-08-29 Alex Zinin <zinin@amt.ru>
3187 * ospf_lsa.c
3188 MaxAge LSA deletion functions added.
3189
31901999-08-29 Alex Zinin <zinin@amt.ru>
3191 * ospf_neighbor.c
3192 ospf_nbr_lookup_by_addr(): added route_unlock_node()
3193 when function returns NULL if (rn->info == NULL)
3194
31951999-08-29 Alex Zinin <zinin@amt.ru>
3196 * ospfd.c
3197 added a hack for area range deletion
3198
31991999-08-29 Alex Zinin <zinin@amt.ru>
3200 * ospf_lsa.h
3201 included lsdb field into struct ospf_lsa, to find
3202 LSDB easier when removing MaxAge LSAs.
3203
32041999-08-29 Alex Zinin <zinin@amt.ru>
3205 * ospf_lsa.c ospf_neighbor.c ospf_nsm.c
3206 ospf_packet.c changed to honor new retransmit list
3207 management functions
3208
32091999-08-29 Alex Zinin <zinin@amt.ru>
3210 * ospf_neighbor.c , .h added new retransmit list functions.
3211
32121999-08-29 Alex Zinin <zinin@amt.ru>
3213 * Makefile.in
3214 added ospf_ase, ospf_abr, ospf_ia
3215
32161999-08-29 Alex Zinin <zinin@amt.ru>
3217 * ospf_spf.c:
3218 - changed ospf_next_hop_calculation() to include interface
3219 and nexthop addr for directly connected routers---more informative
3220 and solves problem with route installation into the kernel
3221 - changed ospf_nexthop_out_if_addr() to support routers, not only
3222 transit networks
3223 - added ospf_process_stubs();
3224
32251999-08-29 Alex Zinin <zinin@amt.ru>
3226 * ospf_lsa.c:
3227 - changed ospf_router_lsa() to provide correct links
3228 for p-t-p interfaces;
3229 - changed ospf_summary_lsa_install() to support table
3230 of self-originated summary-LSAs;
3231 - added ospf_summary_asbr_lsa_install() and ospf_external_lsa_install()
3232 - changed ospf_lsa_install() accordingly
3233 - changed show_ip_ospf_database_router_links() to support p-t-p
3234
32351999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3236
3237 * ospf_packet.c (ospf_make_db_desc): Only master can clear more
3238 flag.
3239
32401999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3241
3242 * ospf_packet.c (ospf_read): Add check of IP src address.
3243
32441999-08-28 Alex Zinin <zinin@amt.ru>
3245 * ospf_neighbor.h
3246 added ospf_nbr_lookup_by_routerid()
3247
32481999-08-28 Alex Zinin <zinin@amt.ru>
3249 * ospfd.h
3250 added ABR/ASBR flag definitions and fields;
3251 added iflist field to area structure;
3252 summary_lsa_self and summary_lsa_asbr_self are changed
3253 to be route tables;
3254 added ranges field---configured area ranges;
3255 A separate Routers RT added;
3256 area range config commands and config write added
3257
3258
32591999-08-28 Alex Zinin <zinin@amt.ru>
3260 * ospf_route.c :
3261 ospf_route_free()--added code to free the list of paths;
3262 The following functions added:
3263 ospf_intra_add_router();
3264 ospf_intra_add_transit();
3265 ospf_intra_add_stub();
3266 the last function uses new ospf_int_lookup_by_prefix();
3267 show_ip_ospf_route_cmd()--changed to support new RT structure;
3268 added ospf_cmp_routes()--general route comparision function;
3269 added ospf_route_copy_nexthops() and ospf_route_copy_nexthops_from_vertex()
3270 they are used in ASE and IA routing;
3271 added ospf_subst_route() and ospf_add_route();
3272
32731999-08-28 Alex Zinin <zinin@amt.ru>
3274 * ospf_route.h :
3275 changed struct ospf_path to include output interface,
3276 changed struct ospf_route to support IA and ASE routing.
3277 added prototypes of the function used in IA and ASE modules.
3278
32791999-08-28 Alex Zinin <zinin@amt.ru>
3280 * ospf_lsa.h ospf_lsa.c :
3281 added ospf_my_lsa(), an interface independent version of
3282 ospf_lsa_is_self_originated(), it will be used in ASE and IA-routing.
3283
32841999-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3285
3286 * ospf_interface.c (interface_config_write): Add check for
3287 oi->nbr_self.
3288
32891999-08-25 Toshiaki Takada <takada@zebra.org>
3290
3291 * ospf_lsa.c (ospf_lsa_dup): New function added.
3292
3293 * ospf_packet.c (ospf_write), (ospf_read): Print send/recv
3294 interface in debug message.
3295
32961999-08-25 Toshiaki Takada <takada@zebra.org>
3297
3298 * ospf_packet.c (ospf_ls_ack_send): The name is changed from
3299 `ospf_ls_ack_send'.
3300 (ospf_ls_ack_send_delayed) (ospf_ls_ack_timer): New function added.
3301 Delayed Link State Acknowledgment is scheduled by timer.
3302
33031999-08-25 Alex Zinin <zinin@amt.ru>
3304
3305 * ospf_lsa.c (ospf_router_lsa): Incorrectly included link to
3306 a stub network instead of link to a transit network into
3307 originated router-LSA, bug fixed.
3308
33091999-08-24 Toshiaki Takada <takada@zebra.org>
3310
3311 * ospfd.c (ospf_update_router_id): New function added.
3312
3313 * ospf_network.c (ospf_write): Create new socket per transmission.
3314 And select outgoing interface whether dst is unicast or multicast.
3315
3316 * ospf_packet.c: LSA flooding will work.
3317
33181999-08-24 VOP <vop@unity.net>
3319
3320 * ospf_route.c: Include "sockunion.h"
3321
33221999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
3323
3324 * ospf_network.c (ospf_serv_sock_init): Enclose
3325 IPTOS_PREC_INTERNETCONTROL setting with #ifdef for OS which does
3326 not have the definition.
3327
33281999-08-23 Toshiaki Takada <takada@zebra.org>
3329
3330 * ospf_packet.c: Fix bug of DD processing.
3331
33321999-08-18 Toshiaki Takada <takada@zebra.org>
3333
3334 * ospf_lsa.c (show_ip_ospf_database): Show actual `LS age'.
3335
33361999-08-17 Toshiaki Takada <takada@zebra.org>
3337
3338 * ospf_lsa.h (OSPF_MAX_LSA): The value of OSPF_MAX_LSA is
3339 corrected. The bug of `mes_lookup' is fixed.
3340 This had been reported by Poul-Henning Kamp <phk@freebsd.org>.
3341
3342 * ospf_lsa.c (ospf_router_lsa_install): The name is changed from
3343 `ospf_add_router_lsa'.
3344 (ospf_network_lsa_install): The name is changed from
3345 `ospf_add_network_lsa'.
3346
3347 * ospf_interface.h (ospf_interface): Add member `nbr_self'.
3348
3349 * ospf_interface.c (ospf_if_is_enable): New function added.
3350
33511999-08-16 Toshiaki Takada <takada@zebra.org>
3352
3353 * ospf_lsa.h (struct lsa_header): The name is changed from
3354 `struct ospf_lsa'.
3355 (struct ospf_lsa): New struct added to control each LSA's aging
3356 and timers.
3357
3358 * ospf_lsa.c (ospf_lsa_data_free): The name is change from
3359 `ospf_lsa_free'.
3360 (ospf_lsa_data_new), (ospf_lsa_new), (ospf_lsa_free),
3361 (ospf_lsa_different), (ospf_lsa_install): New function added.
3362
3363 * ospf_packet.c (ospf_ls_upd_list_lsa): New function added.
3364
33651999-08-12 Toshiaki Takada <takada@zebra.org>
3366
3367 * ospf_nsm.c (nsm_reset_nbr): New function added.
3368 KillNbr and LLDown neighbor event call this function.
3369
33701999-08-10 Toshiaki Takada <takada@zebra.org>
3371
3372 * ospf_packet.c (ospf_ls_retransmit)
3373 (ospf_ls_upd_timer): New function added.
3374 Set retransmission timer for Link State Update.
3375
33761999-07-29 Toshiaki Takada <takada@zebra.org>
3377
3378 * ospf_ism.c (ospf_dr_election): Fix bug of DR election.
3379
33801999-07-28 Toshiaki Takada <takada@zebra.org>
3381
3382 * ospf_network.c (ospf_serv_sock_init): Set IP precedence field
3383 with IPTOS_PREC_INTERNET_CONTROL.
3384
3385 * ospf_nsm.c (nsm_change_status): Schedule NeighborChange event
3386 if NSM status change.
3387
3388 * ospf_packet.c (ospf_make_hello): Never include a neighbor in
3389 Hello packet, when the neighbor goes down.
3390
33911999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
3392
3393 * Makefile.am (noinst_HEADERS): Add ospf_route.h.
3394
3395 * ospf_route.c (show_ip_ospf_route): Add `show ip ospf route'
3396 command.
3397
33981999-07-25 Toshiaki Takada <takada@zebra.org>
3399
3400 * ospf_lsa.c (ospf_router_lsa): Fix bug of LS sequence number
3401 assignement.
3402
34031999-07-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3404
3405 * ospf_route.c (ospf_route_table_free): New function added.
3406
3407 * ospf_spf.c (ospf_spf_next): Free vertex w when cw's and w's
3408 distance is same.
3409
3410 * ospfd.h (struct ospf): Add old_table.
3411
3412 * ospf_main.c (sighup): Call of log_rotate () removed.
3413
3414 * ospf_lsa.c (ospf_lsa_is_self_originated): Fix bug of checking
3415 area->lsa as self LSA. This should be area->lsa_self.
3416
34171999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
3418
3419 * ospf_zebra.c (ospf_zebra_add): ospf_zebra_add
3420 (),ospf_zebra_delete () added.
3421
3422 * ospf_spf.c (ospf_spf_calculate): Call ospf_intra_route_add ().
3423
34241999-07-24 Toshiaki Takada <takada@zebra.org>
3425
3426 * ospf_lsa.c: Change LS sequence number treatment.
3427 (ospf_lsa_is_self_originated): New function added.
3428 (show_ip_ospf_database_self_originated): New DEFUN added.
3429
34301999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3431
3432 * ospf_interface.c (ospf_if_lookup_by_addr): Add loopback check.
3433
34341999-07-22 Toshiaki Takada <takada@zebra.org>
3435
3436 * ospf_spf.c (ospf_nexthop_new), (ospf_nexthop_free),
3437 (ospf_nexthop_dup): function added.
3438 (ospf_nexthop_calculation): function changed.
3439
3440 * ospf_interface.c (ospf_if_lookup_by_addr): function added.
3441
34421999-07-21 Toshiaki Takada <takada@zebra.org>
3443
3444 * ospf_spf.c (ospf_spf_closest_vertex): function removed.
3445
34461999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
3447
3448 * ospf_spf.c (ospf_spf_next): Apply ntohs for fetching metric.
3449
34501999-07-21 Toshiaki Takada <takada@zebra.org>
3451
3452 * ospf_neighbor.c (ospf_nbr_lookup_by_router_id): fundtion removed.
3453
3454 * ospf_lsa.c (show_ip_ospf_database_router): describe each
3455 connected link.
3456
34571999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
3458
3459 * ospf_spf.c (ospf_spf_next): V is router LSA or network LSA so
3460 change behavior according to LSA type.
3461 (ospf_lsa_has_link): Link check function is added.
3462
34631999-07-20 Kunihiro Ishiguro <kunihiro@zebra.org>
3464
3465 * ospf_spf.c (ospf_spf_calculate_schedule): Add new function for
3466 SPF calcultion schedule addtition.
3467 (ospf_spf_calculate_timer_add): Rough 30 sec interval SPF calc
3468 timer is added.
3469 (ospf_spf_next_router): Delete ospf_spf_next_network ().
3470
3471 * ospf_lsa.c (show_ip_ospf_database_all): Network-LSA display
3472 header typo correction. Display of router LSA's #link added.
3473
34741999-07-19 Toshiaki Takada <takada@zebra.org>
3475
3476 * ospf_packet.c (ospf_check_network_mask): Added new function for
3477 receiving Raw IP packet on an appropriate interface.
3478
34791999-07-16 Toshiaki Takada <takada@zebra.org>
3480
3481 * ospfd.c (ospf_router_id): new DEFUN added.
3482
34831999-07-15 Toshiaki Takada <takada@zebra.org>
3484
3485 * ospf_spf.c (ospf_spf_init), (ospf_spf_free),
3486 (ospf_spf_has_vertex), (ospf_vertex_lookup),
3487 (ospf_spf_next_router), (ospf_spf_next_network),
3488 (ospf_spf_closest_vertex), (ospf_spf_calculate):
3489 function added.
3490
34911999-07-13 Toshiaki Takada <takada@zebra.org>
3492
3493 * ospf_ism.c: fix bug of DR Election.
3494
3495 * ospf_nsm.c: fix bug of adjacency forming.
3496
34971999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
3498
3499 * ospfd.c (ospf_init): Change to use install_default.
3500
35011999-07-01 Rick Payne <rickp@rossfell.co.uk>
3502
3503 * ospf_zebra.c (zebra_init): Install standard commands to
3504 ZEBRA_NODE.
3505
35061999-06-30 Toshiaki Takada <takada@zebra.org>
3507
3508 * ospf_dump.c: Whole debug command is improved.
3509 (ISM|NSM) (events|status|timers) debug option added.
3510 (show_debugging_ospf): new DEFUN added.
3511
35121999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3513
3514 * ospf_lsa.c (ospf_lsa_lookup_from_list): Change !IPV4_ADDR_CMP to
3515 IPV4_ADDR_SAME.
3516
35171999-06-29 Toshiaki Takada <takada@zebra.org>
3518
3519 * ospf_dump.c (ospf_summary_lsa_dump): Add summary-LSA dump routine.
3520 (ospf_as_external_lsa_dump): Add AS-external-LSA dump routine.
3521
3522 * ospf_nsm.c (nsm_twoway_received): fix condtion of adjacnet.
3523
3524 * ospf_ism.c (ospf_dr_election): fix DR Election.
3525
3526 * ospf_dump.c (ospf_nbr_state_message): fix `show ip ospf neighbor'
3527 command's state.
3528
35291999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3530
3531 * ospf_dump.c (ospf_router_lsa_dump): Add router-LSA dump routine.
3532
35331999-06-28 Toshiaki Takada <takada@zebra.org>
3534
3535 * ospf_lsa.c (show_ip_ospf_database_network): fix bug of
3536 `show ip ospf database network' command output.
3537
3538 * ospf_nsm.c (nsm_inactivity_timer): Clear list of Link State
3539 Retransmission, Database Summary and Link State Request.
3540
3541 * ospf_packet.c (ospf_ls_req_timer): New function added.
3542 Set Link State Request retransmission timer.
3543
35441999-06-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3545
3546 * ospf_main.c (main): Change default output from ZLOG_SYSLOG to
3547 ZLOG_STDOUT.
3548
3549 * ospfd.c (ospf_init): Register show_ip_ospf_interface_cmd and
3550 show_ip_ospf_neighbor_cmd to VIEW_NODE.
3551
3552 * ospf_lsa.c (ospf_lsa_init): Register show_ip_ospf_database_cmd
3553 and show_ip_ospf_database_type_cmd to VIEW_NODE.
3554
35551999-06-25 Toshiaki Takada <takada@zebra.org>
3556
3557 * ospf_packet.c: fix bug of DD making.
3558 fix bug of LS-Update reading.
3559
35601999-06-23 Toshiaki Takada <takada@zebra.org>
3561
3562 * ospf_packet.c: All type of packets are changed to use
3563 fifo queue structure.
3564 (ospf_fill_header) function added.
3565
35661999-06-22 Toshiaki Takada <takada@zebra.org>
3567
3568 * ospf_packet.c (ospf_packet_new): New function added to handle
3569 sending ospf packet by fifo queue structure.
3570 (ospf_packet_free), (ospf_fifo_new), (ospf_fifo_push),
3571 (ospf_fifo_pop), (ospf_fifo_head), (ospf_fifo_flush),
3572 (ospf_fifo_free): Likewise.
3573
35741999-06-21 Toshiaki Takada <takada@zebra.org>
3575
3576 * ospf_nsm.c (ospf_db_desc_timer): function added.
3577 (nsm_timer_set) function added.
3578 * ospf_dump.c (ospf_option_dump): function added.
3579 * ospf_packet.c (ospf_ls_req) (ospf_make_ls_req): function added.
3580
35811999-06-20 Toshiaki Takada <takada@zebra.org>
3582
3583 * ospf_lsa.c (ospf_lsa_more_recent): function added.
3584 * ospf_neighbor.h (struct ospf_neighbor): Change member ms_flag
3585 to dd_flags.
3586
35871999-06-19 Toshiaki Takada <takada@zebra.org>
3588
3589 * ospf_lsa.c: DEFUN (show_ip_ospf_database) Added.
3590 * ospf_interface.c (if_ospf_cost), (if_ospf_dead_interval),
3591 (if_ospf_hello_interval), (if_ospf_priority),
3592 (if_ospf_retransmit_interval), (if_ospf_transmit_delay)
3593 argument changed from NUMBER to <range>.
3594 DEFUN (if_ospf_network_broadcast),
3595 DEFUN (if_ospf_network_non_broadcast),
3596 DEFUN (if_ospf_network_point_to_multipoint),
3597 DEFUN (if_ospf_network_point_to_point) functions are combined to
3598 DEFUN (if_ospf_network).
3599
36001999-06-18 Toshiaki Takada <takada@zebra.org>
3601
3602 * ospf_lsa.c: ospf_add_router_lsa (), ospf_add_network_lsa (),
3603 ospf_lsa_lookup (), ospf_lsa_count () Added.
3604
36051999-06-15 Toshiaki Takada <takada@zebra.org>
3606
3607 * DEFUN (ospf_debug_ism), DEFUN (ospf_debug_nsm),
3608 DEFUN (no_ospf_debug_ism), DEFUN (no_ospf_debug_nsm) Added.
3609 `debug ospf ism' command shows debug message.
3610 `debuf ospf nsm' command shows debug message.
3611
36121999-06-14 Toshiaki Takada <takada@zebra.org>
3613
3614 * ospf_lsa.c: ospf_network_lsa () Added.
3615 ospf_lsa_checksum () Added.
3616 * DEFUN (ospf_debug_packet), DEFUN (no_ospf_debug_packet) Added.
3617 `debug ospf packet' command shows debug message.
3618
36191999-06-13 Toshiaki Takada <takada@zebra.org>
3620
3621 * ospf_packet.h: Remove struct ospf_ls_req {}, ospf_ls_upd {},
3622 ospf_ls_ack {}.
3623
36241999-06-11 Toshiaki Takada <takada@zebra.org>
3625
3626 * ospf_dump.c: fix IP packet length treatment.
3627
36281999-06-10 Toshiaki Takada <takada@zebra.org>
3629
3630 * ospf_ism.h: Add OSPF_ISM_EVENT_EXECUTE() Macro Added.
3631 * ospf_nsm.h: Add OSPF_NSM_EVENT_EXECUTE() Macro Added.
3632
3633 * ospf_packet.c: ospf_db_desc (), ospf_db_desc_send () Added.
3634 ospf_make_hello (), ospf_make_db_desc () Added.
3635 ospf_db_desc_proc () Added.n
3636
3637 * Database Description packet can be processed.
3638
36391999-06-08 Toshiaki Takada <takada@zebra.org>
3640
3641 * ospf_lsa.c: New file.
3642
36431999-06-07 Toshiaki Takada <takada@zebra.org>
3644
3645 * ospf_neighbor.c: ospf_fully_adjacent_count () Added.
3646
36471999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
3648
3649 * ospf_spf.[ch]: New file.
3650
36511999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3652
3653 * ospf_zebra.c: Changed to use lib/zclient.c routines.
3654
3655 * ospf_zebra.h (zebra_start): Remove struct zebra.
3656
36571999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3658
3659 * ospfd.c (ospf_config_write): Add cast (unsigned long int) to
3660 ntohl for sprintf warning.
3661
36621999-05-19 Toshiaki Takada <takada@zebra.org>
3663
3664 * ospf_ism.c (ospf_dr_election): Join AllDRouters Multicast group
3665 if interface state changes to DR or BDR.
3666
36671999-05-14 Stephen R. van den Berg <srb@cuci.nl>
3668
3669 * ospf_main.c (signal_init): SIGTERM call sigint.
3670 (sigint): Logging more better message.
3671
36721999-05-12 Toshiaki Takada <takada@zebra.org>
3673
3674 * ospfd.c: Fix bug of `no router ospf' statement, it will work.
3675
36761999-05-11 Toshiaki Takada <takada@zebra.org>
3677
3678 * ospf_neighbor.c: ospf_nbr_free () Added.
3679
36801999-05-10 Toshiaki Takada <takada@zebra.org>
3681
3682 * ospfd.h: struct ospf_area { }, struct ospf_network { } Changed.
3683 * Fix bug of `no network' statement, it will work.
3684
36851999-05-07 Toshiaki Takada <takada@zebra.org>
3686
3687 * ospf_interface.c, ospf_zebra.c: Fix bug of last interface is not
3688 updated by ospf_if_update ().
3689
36901999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3691
3692 * Makefile.am (noinst_HEADERS): Add ospf_lsa.h for distribution.
3693
36941999-04-25 Toshiaki Takada <takada@zebra.org>
3695
3696 * ospf_interface.c: DEFUN (no_if_ospf_cost),
3697 DEFUN (no_if_ospf_dead_interval),
3698 DEFUN (no_if_ospf_hello_interval),
3699 DEFUN (no_if_ospf_priority),
3700 DEFUN (no_if_ospf_retransmit_interval),
3701 DEFUN (no_if_ospf_transmit_delay) Added.
3702
3703 interface_config_write () suppress showing interface
3704 default values.
3705
37061999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3707
3708 * ospf_dump.c (ospf_timer_dump): If thread is NULL return "inactive".
3709
3710 * ospfd.c (ospf_if_update): Fix bug of using ospf_area { } instead
3711 of ospf_network { }. So `router ospf' statement in ospfd.conf
3712 works again.
3713 (ospf_if_update): Call ospf_get_router_id for updating router ID.
3714
37151999-04-25 Toshiaki Takada <takada@zebra.org>
3716
3717 * ospf_interface.c: DEFUN (if_ospf_network) deleted.
3718 DEFUN (if_ospf_network_broadcast),
3719 DEFUN (if_ospf_network_non_broadcast),
3720 DEFUN (if_ospf_network_point_to_multipoint),
3721 DEFUN (if_ospf_network_point_to_point),
3722 DEFUN (no_if_ospf_network) Added.
3723
37241999-04-23 Toshiaki Takada <takada@zebra.org>
3725
3726 * ospfd.h: struct area { } changed to struct ospf_network { }.
3727 Add struct ospf_area { }.
3728 * ospfd.c: Add ospf_area_lookup_by_area_id (), ospf_network_new (),
3729 and ospf_network_free ().
3730 DEFUN (area_authentication), DEFUN (no_area_authentication) Added.
3731
37321999-04-22 Toshiaki Takada <takada@zebra.org>
3733
3734 * ospf_lsa.h: New file.
3735 * ospf_packet.h: LSA related struct definition are moved to
3736 ospf_lsa.h.
3737 * ospf_packet.c: ospf_verify_header () Added.
3738
37391999-04-21 Toshiaki Takada <takada@zebra.org>
3740
3741 * ospf_ism.c: ospf_elect_dr () and related function is changed.
3742 DR Election bug fixed.
3743 * ospf_dump.c: ospf_nbr_state_message (), ospf_timer_dump () Added.
3744 * ospfd.c: DEFUN (show_ip_ospf_neighbor) Added.
3745
37461999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
3747
3748 * ospf_main.c (main): access_list_init () is added for vty
3749 connection filtering.
3750
37511999-04-16 Toshiaki Takada <takada@zebra.org>
3752
3753 * ospfd.c: DEFUN (show_ip_ospf_interface) Added.
3754 * ospf_neighbor.c: ospf_nbr_count () Added.
3755
37561999-04-15 Toshiaki Takada <takada@zebra.org>
3757
3758 * ospfd.h: struct ospf { } Changed.
3759 * ospfd.c: ospf_lookup_by_process_id () Deleted.
3760 * ospf_ism.c: ospf_wait_timer () Added. WaitTimer will work.
3761
37621999-04-14 Toshiaki Takada <takada@zebra.org>
3763
3764 * ospf_ism.c: ospf_elect_dr () Added.
3765 * ospf_network.c: ospf_if_ipmulticast () Added.
3766
37671999-04-11 Toshiaki Takada <takada@zebra.org>
3768
3769 * ospf_interface.c: interface_config_write (),
3770 DEFUN (if_ip_ospf_cost),
3771 DEFUN (if_ip_ospf_dead_interval),
3772 DEFUN (if_ip_ospf_hello_interval),
3773 DEFUN (if_ip_ospf_priority),
3774 DEFUN (if_ip_ospf_retransmit_interval) and
3775 DEFUN (if_ip_ospf_transmit_delay) Added.
3776
37771999-04-08 Toshiaki Takada <takada@zebra.org>
3778
3779 * ospf_dump.c: ospf_packet_db_desc_dump () Added.
3780 * ospf_neighbor.c: ospf_nbr_bidirectional () Added.
3781 * ospf_nsm.c: nsm_twoway_received () Added.
3782
37831999-04-02 Toshiaki Takada <takada@zebra.org>
3784
3785 * ospf_neighbor.c: New file.
3786 * ospf_neighbor.h: New file.
3787 * ospf_nsm.c: New file.
3788 * ospf_nsm.h: New file.
3789 * ospf_packet.c: Add ospf_make_header (), ospf_hello () and
3790 ospf_hello_send (). Now OSPFd can receive Hello and send Hello.
3791
37921999-03-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3793
3794 * ospf_packet.c: Add ospf_recv_packet (). Now OSPF Hello can receive.
3795
37961999-03-19 Toshiaki Takada <takada@zebra.org>
3797
3798 * ospf_packet.c: New file.
3799 * ospf_packet.h: New file.
3800 * ospf_network.c: New file.
3801 * ospf_network.h: New file.
3802 * ospfd.h: move OSPF message structure has moved to ospf_packet.h.
3803
38041999-03-17 Kunihiro Ishiguro <kunihiro@zebra.org>
3805
3806 * ospf_zebra.c (ospf_zebra_get_interface): Fix for IPv6 interface
3807 address.
3808
3809 * Makefile.am (install-sysconfDATA): Overwrite install-sysconfDATA
3810 for install ospfd.conf.sample as owner read only file.
3811
3812 * ospf_main.c (usage): Change to use ZEBRA_BUG_ADDRESS.
3813
38141999-03-15 Toshiaki Takada <takada@zebra.org>
3815
3816 * ospf_ism.c: New file.
3817 * ospf_ism.h: New file.
3818 * ospf_dump.c: New file.
3819 * ospf_dump.h: New file.
3820
3821 * ospfd.h: Add (struct ospf), (struct config_network),
3822 (struct message) structure.
3823
3824 * ospf_interface.c: Add ospf_if_match_network ().
3825 * ospf_interface.h (struct ospf_interface): Change struct members.
3826
3827 * ospfd.c: ospf_lookup_by_process_id (), ospf_network_new (),
3828 DEFUN (network_area): Added.
3829
3830 * ospfd.conf.sample: Change sample configuration.
3831
38321999-03-05 Toshiaki Takada <takada@zebra.org>
3833
3834 * ospf_interface.c: New file.
3835 * ospf_interface.h: New file.
3836 * ospf_zebra.h: New file.
3837 * ospf_zebra.c: Add interface function for zebra daemon.
3838 * ospfd.c: New file.
3839
38401999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3841
3842 * Move IPv6 codes and files to ospf6d directory.
3843
38441999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
3845
3846 * syslog support added
3847
38481998-12-22 Toshiaki Takada <takada@zebra.org>
3849
3850 * ospfd.h: New file.
3851 * ospf_lsa.h: New file.
3852
38531998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
3854
3855 * Makefile.am: New file.
3856 * ospf_main.c: New file.
3857