blob: d8ec676fcf48aefc986d1da4348cfc6847ab8c85 [file] [log] [blame]
paul4dadc292005-05-06 21:37:42 +000012005-05-06 Paul Jakma <paul.jakma@sun.com>
2
3 * (general) extern and static qualifiers added.
4 unspecified arguments in definitions fixed, typically they should
5 be 'void'.
6 function casts added for callbacks.
7 Guards added to headers which lacked them.
8 Proper headers included rather than relying on incomplete
9 definitions.
10 gcc noreturn function attribute where appropriate.
11 * ospf_opaque.c: remove the private definition of ospf_lsa's
12 ospf_lsa_refresh_delay.
13 * ospf_lsa.h: export ospf_lsa_refresh_delay
14 * ospf_packet.c: (ospf_make_md5_digest) make *auth_key const,
15 correct thing to do - removes need for the casts later.
16 * ospf_vty.c: Use vty.h's VTY_GET_INTEGER rather than ospf_vty's
17 home-brewed versions, shuts up several warnings.
18 * ospf_vty.h: remove VTY_GET_UINT32. VTY_GET_IPV4_ADDRESS and
19 VTY_GET_IPV4_PREFIX moved to lib/vty.h.
20 * ospf_zebra.c: (ospf_distribute_list_update_timer) hacky
21 overloading of the THREAD_ARG pointer should at least use
22 uintptr_t.
23
paul9e67dc22005-04-15 12:10:17 +0000242005-04-15 Zhipeng Gong <zpgong@cdc.3upsystems.com>
25
26 * ospf_abr.c: (ospf_abr_announce_network_to_area) dont forget
27 to approve LSAs for the case where metric has changed, lsa gets
28 flushed otherwise. (backport candidate).
29
ajs634f9ea2005-04-11 15:51:40 +0000302005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
31
32 * ospf_zebra.c (ospf_zebra_add): Call zclient_send_message instead
33 of writen.
34
ajsd2fc8892005-04-02 18:38:43 +0000352005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
36
ajse4319de2005-04-02 23:23:55 +000037 * ospf_interface.h: (ospf_if_lookup_by_name) Remove declaration of a
38 function that does not exist.
39
402005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
41
ajs21fefa92005-04-02 23:16:41 +000042 * ospf_zebra.c: (zebra_interface_if_lookup) Must use
43 if_lookup_by_name_len.
44
452005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
46
ajsa3491982005-04-02 22:50:38 +000047 * ospf_interface.c: (ospf_vl_new) Use strnlen to fix call to if_create.
48
492005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
50
ajsd2fc8892005-04-02 18:38:43 +000051 * ospf_vty.c: (show_ip_ospf_interface_sub) Show ifindex and interface
52 flags to help with debugging.
53 * ospf_zebra.c: (ospf_interface_delete) After deleting, set ifp->ifindex
54 to IFINDEX_INTERNAL.
55 (zebra_interface_if_lookup) Make function static. Tighten up code.
56
ajsaca72fd2005-03-31 15:18:21 +0000572005-03-31 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
58
59 * ospf_dump.c: (show_debugging_ospf) Show if ospf event debugging
60 is turned on.
61
ajsfd651fa2005-03-29 16:08:16 +0000622005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
63
ajsa608bbf2005-03-29 17:03:49 +000064 * ospf_zebra.c: (ospf_interface_state_up) If the MTU of an operative
65 interface changes, print a debug message and call ospf_if_reset()
66 to simulate down/up on the interface.
67 * ospf_interface.h: Declare new function ospf_if_reset().
68 * ospf_interface.c: (ospf_if_reset) New function to call ospf_if_down
69 and ospf_if_up for all ospf interfaces attached to an interface.
70
712005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
72
ajs5dcbdf82005-03-29 16:13:49 +000073 * ospf_packet.c: (ospf_write_frags) Enhance error message to
74 show MTU. Also make function static.
75 (ospf_write) Enhance error message to show interface name and MTU.
76 Also make function static.
77
782005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
79
80 * ospf_vty.c: (show_ip_ospf_interface_sub) Display interface MTU and
81 bandwidth; this is useful for debugging problems. Also, the function
82 should be static.
ajsfd651fa2005-03-29 16:08:16 +000083
hasso1b639042005-03-27 13:32:25 +0000842005-03-27 Hasso Tepper <hasso at quagga.net>
85
86 * ospf_snmp.c: Don't crash in snmp query if ospf instance doesn't
87 exist at all.
88
hasso343f5cc2005-03-25 19:48:40 +0000892005-03-25 Hasso Tepper <hasso at quagga.net>
90
91 * ospfd.h: Include log.h, fixes compile with gcc-4.0.
92
ajs9dbc7972005-03-13 19:27:22 +0000932005-03-13 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
94
95 * ospf_lsa.c: (ospf_lsa_refresh_walker) If the system clock jumps
96 backward, then current time may be less than
97 ospf->lsa_refresher_started. This was causing invalid values
98 for ospf->lsa_refresh_queue.index resulting in infinite loops.
99 Problem fixed by casting the expression to unsigned before taking
100 the modulus.
101
ajs5c333492005-02-23 15:43:01 +00001022005-02-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
103
104 * ospfd.h: Add new field struct stream *ibuf to struct ospf.
105 * ospfd.c: (ospf_new) Check return code from ospf_sock_init.
106 Allocate ibuf using stream_new(OSPF_MAX_PACKET_SIZE+1).
107 (ospf_finish) Call stream_free(ospf->ibuf.
108 * ospf_packet.c: (ospf_read) Call stream_reset(ospf->ibuf) and then
109 pass it to ospf_recv_packet for use in receiving the packet
110 (instead of allocating a new stream for each packet received).
111 Eliminate all calls to stream_free(ibuf).
112 (ospf_recv_packet) The struct stream *ibuf is now passed in as
113 an argument. No need to use recvfrom to peek at the packet
114 header (to see how big it is), just use ospf->ibuf which is
115 always large enough (this eliminates a system call to recvfrom).
116 Therefore, no need to allocate a stream just for this packet,
117 and no need to free it when done.
118
hasso462f20d2005-02-23 11:29:02 +00001192005-02-23 Vincenzo Eramo <eramo at infocom.ing.uniroma1.it>
120
121 * ospf_lsa.h: New flag to the LSA structure for the SPF calculation.
122 * ospf_lsdb.h: Export ospf_lsdb_clean_stat() function.
123 * ospf_spf.h: Add link to the LSA stat structure into vertex.
124 * ospf_spf.c: New functions cmp() and update_stat() to manage
125 candidates. Remove ospf_spf_has_vertex(), ospf_vertex_lookup(),
126 ospf_install_candidate() and ospf_spf_register() functions not needed
127 any more. Update ospf_vertex_new(), ospf_spf_next() and
128 ospf_spf_calculate() functions to use pqueue instead of linked list.
129
hassoe40dcce2005-02-21 14:58:42 +00001302005-02-21 Hasso Tepper <hasso at quagga.net>
131
132 * ospf_ase.c: Don't show messages related to the ase calculations if
133 we are not debugging.
134
hasso306541b2005-02-19 17:58:40 +00001352005-02-19 Hasso Tepper <hasso at quagga.net>
136
137 * ospf_api.h: char isn't always signed, but it has to be it here.
138
paulfa81b712005-02-19 01:19:20 +00001392005-02-19 Paul Jakma <paul.jakma@sun.com>
140
141 * ospf_packet.c: (ospf_stream_copy) remove
142 (ospf_packet_dup) use stream_copy instead of ospf_stream_copy
143
ajs038163f2005-02-17 19:55:59 +00001442005-02-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
145
146 * ospf_packet.c: (ospf_recv_packet) If there is somehow a runt
147 packet in the queue, it must be discarded. Improve warning messages.
148 Fix scope to static.
149 (ospf_read) Fix bug: should reset the read thread in all cases
150 to make sure we continue to get incoming messages.
151
paul658b03a2005-02-15 10:10:55 +00001522005-02-15 Paul Jakma <paul.jakma@sun.com>
153
154 * ospf_packet.c: (ospf_recv_packet) Fix silly error wrt allocating
155 ibuf. Thanks Andrew.
156
paulbfdc44a2005-02-14 23:48:42 +00001572005-02-14 Paul Jakma <paul.jakma@sun.com>
158
159 * ospf_packet.c: (ospf_recv_packet) use stream_recvmsg.
160
hasso082253f2005-02-11 08:31:54 +00001612005-02-11 Hasso Tepper <hasso at quagga.net>
162
163 * ospf_lsdb.c: Fix sum of checksums calculation.
164
ajs083ee9d2005-02-09 15:35:50 +00001652005-02-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
166
167 * ospf_packet.c: (ospf_write) If sendmsg fails, give more info in the
168 error message.
169
ajsba6454e2005-02-08 15:37:30 +00001702005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
171
ajs8cfde372005-02-08 15:59:16 +0000172 * ospf_interface.h: Reduce structure padding by putting new u_char
173 field multicast_memberships in a better spot (grouped with
174 other u_char fields type and state).
175
1762005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
177
ajsba6454e2005-02-08 15:37:30 +0000178 * ospf_interface.h: Improve passive_interface comment. Add new
179 multicast_memberships bitmask to struct ospf_interface to track
180 active multicast subscriptions. Declare new function
181 ospf_if_set_multicast.
182 * ospf_interface.c: (ospf_if_set_multicast) New function to configure
183 multicast memberships properly based on the current
184 multicast_memberships status and the current values of the
185 ospf_interface state, type, and passive_interface status.
186 (ospf_if_up) Remove call to ospf_if_add_allspfrouters (this is
187 now handled by ism_change_state's call to ospf_if_set_multicast).
188 (ospf_if_down) Remove call to ospf_if_drop_allspfrouters (now
189 handled by ism_change_state).
190 * ospf_ism.c: (ospf_dr_election) Remove logic to join or leave
191 the DRouters multicast group (now handled by ism_change_state's call
192 to ospf_if_set_multicast).
193 (ism_change_state) Add call to ospf_if_set_multicast to change
194 multicast memberships as necessary to reflect the new interface state.
195 * ospf_packet.c: (ospf_hello) When a Hello packet is received on a
196 passive interface: 1. Increase the severity of the error message
197 from LOG_INFO to LOG_WARNING; 2. Add more information to the error
198 message (packet destination address and interface address);
199 and 3. If the packet was sent to ospf-all-routers, then try
200 to fix the multicast group memberships.
201 (ospf_read) When a packet is received on an interface whose state
202 is ISM_Down, enhance the warning message to show the packet
203 destination address, and try to update/fix the multicast group
204 memberships if the packet was sent to a multicast address.
205 When a packet is received for ospf-designated-routers, but the
206 current interface state is not DR or BDR, then increase the
207 severity level of the error message from LOG_INFO to LOG_WARNING,
208 and try to fix the multicast group memberships.
209 * ospf_vty.c: (ospf_passive_interface) Call ospf_if_set_multicast for
210 any ospf interface that may have changed from active to passive.
211 (no_ospf_passive_interface) Call ospf_if_set_multicast for
212 any ospf interface that may have changed from passive to active.
213 (show_ip_ospf_interface_sub) Show multicast group memberships.
214
paul3a9eb092005-02-08 11:29:41 +00002152005-02-08 Paul Jakma <paul@dishone.st>
216
217 * ospf_packet.c: (various) Remove unneeded stream_set_putp abuse.
218
ajs847947f2005-02-02 18:38:48 +00002192005-02-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
220
221 * ospf_packet.c: (ospf_read) Fix bug: must check for state ISM_Down,
222 not for event ISM_InterfaceDown. And improve the message by
223 adding the interface flags.
224
ajs0b7d97d2005-01-30 17:24:02 +00002252005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
226
227 * ospf_network.c: (ospf_sock_init) Save errno before calling
228 ospfd_privs.change.
229
ajsc3eab872005-01-29 15:52:07 +00002302005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
231
232 * ospf_packet.c: (ospf_packet_add) If oi->obuf is NULL, print
233 an error message and return.
234 (ospf_read) If the interface state is ISM_InterfaceDown, issue
235 a warning message and ignore the packet.
236
gdt86f1fd92005-01-10 14:20:43 +00002372005-01-10 Greg Troxel <gdt@fnord.ir.bbn.com>
238
239 * ospf_packet.h: Remove commented out definition of
240 OSPF_MAX_PACKET; neither it or the uncommented one are used any more.
241
242 * ospf_packet.c (ospf_make_ls_upd): Leave room for authentication
243 when deciding if an update will fit.
244 (ospf_packet_authspace): Factor out calculation of size required
245 for authentication.
246 (ospf_make_db_desc): Use ospf_max_packet, not OSPF_MAX_PACKET.
247 Don't confuse readers that there is a macro.
248
ajs3dc56b52004-12-30 15:11:19 +00002492004-12-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
250
251 * ospf_network.c: Improve all setsockopt error messages to give detailed
252 information on the arguments.
253
ajsb87f7722004-12-29 20:41:26 +00002542004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
255
ajs17eaa722004-12-29 21:04:48 +0000256 * ospf_packet.c: (ospf_db_desc) Reduce severity of "Negotiation done"
257 messages from LOG_WARNING to LOG_INFO, since this seems to be
258 normal.
259
2602004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
261
ajsb87f7722004-12-29 20:41:26 +0000262 * ospf_packet.c: (ospf_read) Always look up the interface if
263 ospf_recv_packet returns NULL ifp, since some platforms such
264 as Solaris 8 appear to support ifindex retrieval but don't.
265
hasso1d806282004-12-22 09:43:20 +00002662004-12-22 Hasso Tepper <hasso at quagga.net>
267
268 * ospf_dump.c: Show debug configuration in vtysh.
hassoc6b87812004-12-22 13:09:59 +0000269 * ospf_vty.c: Fix "show ip ospf" output. Router can't be elected in
270 any case if it's configured as "translate-never".
hassofe71a972004-12-22 16:16:02 +0000271 * ospf_lsdb.[ch]: New function to calculate sum of checksums.
272 * ospf_vty.c: Bugfix to show really number of AS external LSAs, not
273 number of all LSAs with AS scope, this includes opaque as LSAs as
274 well, show this number separately. Show numbers and sums of
275 checksums for each type of LSAs.
276 * ospf_lsa.c: Calculate checksum before putting LSA into database.
hasso1d806282004-12-22 09:43:20 +0000277
ajsbc18d612004-12-15 15:07:19 +00002782004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
279
280 * ospf_interface.h: Declare new function ospf_default_iftype.
281 * ospf_interface.c: (ospf_default_iftype) New function to centralize
282 this logic in one place.
283 * ospf_zebra.c: (ospf_interface_add) Use new function
284 ospf_default_iftype.
285 * ospf_vty.c: (no_ip_ospf_network,config_write_interface) Fix logic
286 by using new function ospf_default_iftype.
287
ajs3aa8d5f2004-12-11 18:00:06 +00002882004-12-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
289
290 * ospf_packet.c: (ospf_db_desc) Should be static, not global.
291 (ospf_hello,ospf_db_desc,ospf_ls_upd,ospf_ls_ack) Improve warning
292 messages to include identifying information (e.g. router id).
293 * ospf_nsm.c: (nsm_change_state) Improve info message to include
294 router id and state names.
295
gdt91f3e522004-12-09 14:51:03 +00002962004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
297
gdt3fb9de72004-12-09 16:30:04 +0000298 * ospf_apiserver.c (ospf_apiserver_term): Obtain struct
299 ospf_apiserver * from listnode. Remove unused variables. Follows
300 suggestion from Jay Fenlason.
gdt91f3e522004-12-09 14:51:03 +0000301
ajs9b0e25c2004-12-08 19:06:51 +00003022004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
303
304 * *.c: Change level of debug messages to LOG_DEBUG.
305
ajs274a4a42004-12-07 15:39:31 +00003062004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
307
308 * ospf_main.c: (main) The 2nd argument to openzlog has been removed.
309
ajs887c44a2004-12-03 16:36:46 +00003102004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
311
ajs1210fa62004-12-03 16:43:24 +0000312 * ospf_packet.c: (ospf_db_desc) Reduce priority on a debug message
313 from LOG_NOTICE to LOG_DEBUG.
314
3152004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
316
ajs887c44a2004-12-03 16:36:46 +0000317 * ospf_main.c: (sigint) Use zlog_notice for termination message.
318 (main) Issue a startup announcement using zlog_notice.
319
ajsbec595a2004-11-30 22:38:43 +00003202004-11-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
321
322 * ospf_packet.c: (ospf_db_desc_proc) Fix spelling of packet in warning
323 message and in comment.
324 (ospf_db_desc) Warning message that a packet is being discarded
325 should give the router id of the packet source. Fix spelling
326 of packet in two warning messages.
327 (ospf_ls_req) Warning message that a link state request is being
328 discarded should give the router id of the neighbor that sent it.
329
ajs5b85fac2004-11-26 19:36:42 +00003302004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
331
332 * ospf_main.c: Remove #include "debug.h" (was not being used, and
333 lib/debug.h has now been deleted).
334
hassoc0652302004-11-25 19:33:48 +00003352004-11-25 Hasso Tepper <hasso at quagga.net>
336
337 * ospf_main.c: Make group to run as configurable.
338
gdt69e13252004-11-15 18:51:15 +00003392004-11-15 Greg Troxel <gdt@fnord.ir.bbn.com>
340
341 * ospf_packet.c (ospf_recv_packet): Assume CMSG_SPACE is present
342 and works (lib/zebra.h provides if OS doesn't).
343
paul788dab12004-11-15 11:48:37 +00003442004-11-15 Paul Jakma <paul@dishone.st>
345
346 * ospf_{apiserver,te}.c: ospf_lsa_free's should be ospf_lsa_unlock.
347
paul05e85fa2004-11-12 10:52:19 +00003482004-11-12 Paul Jakma <paul@dishone.st>
349
350 * ospf_ia.c: (process_summary_lsa) Only an ABR has any reason to
351 ignore stub area summary default. Even so it seems a strange
352 check, add a comment to that effect.
353
paulf3ae74c2004-11-04 20:35:31 +00003542004-11-04 Paul Jakma <paul@dishone.st>
355
356 * ospfd.c: (ospf_network_match_iface) revert to previous network
357 statement match behaviour.
358
paul62d8e962004-11-02 20:26:45 +00003592004-11-02 Paul Jakma <paul@dishone.st>
360
361 * ospf_packet.c: (ospf_write_frags) remove iov arg, msg already points
362 to it. Add convenience pointer to msg->msg_iov[1], and use this,
363 fixing the unfortunate borkenness introduced in moving of this code
364 to a function.
365 (ospf_write) remove iovp and fix up call to previous.
366 (ospf_ls_upd_packet_new) cast size to long int - unfortunately
367 glibc's size_t format modifier is not portable.
368
paul37ccfa32004-10-31 11:24:51 +00003692004-10-31 Paul Jakma <paul@dishone.st>
370
371 * ospf_packet.c: (ospf_write_frags) Add debug output
372 (ospf_write) set type early, so we can pass it to
373 ospf_write_frags.
374 (ospf_ls_upd_packet_new) print size in debug output when too large
375 packet is encountered.
paul64511f32004-10-31 18:01:13 +0000376 * ospf_zebra.c: (ospf_distribute_list_update_timer) Ugly misuse of
377 THREAD_ARG to store an integer, but it should at least use same
378 same type to retrieve the value. Assert value is sane.
paul37ccfa32004-10-31 11:24:51 +0000379
paulac191232004-10-22 12:05:17 +00003802004-10-22 Paul Jakma <paul@dishone.st>
381
382 * ospf_network.c: (ospf_sock_init) call neutral setsock_ifindex()
383 function.
384 * ospf_packet.c: (ospf_read) manually look up ifindex
paul4ccb2c42004-10-22 22:52:33 +0000385 if system could not have returned one, eg openbsd, thanks to Rivo
386 Nurges for highlighting problem and fix.
paul06f953f2004-10-22 17:00:38 +0000387 Change setsockopt_pktinfo to setsockopt_ifindex.
paulac191232004-10-22 12:05:17 +0000388
hasso3fb9cd62004-10-19 19:44:43 +00003892004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
390
391 * ospf_snmp.c: (ospf_snmp_if_update) Fix logic to handle PtP links
392 with dedicated subnets properly.
393 * ospf_lsa.c: (lsa_link_ptop_set) ditto.
394 * ospfd.c: (ospf_network_match_iface) ditto.
395 (ospf_network_run) ditto.
396 * ospf_interface.c: (ospf_if_is_configured) ditto.
397 (ospf_if_lookup_by_prefix) ditto.
398 (ospf_if_lookup_recv_if) ditto.
399 * ospf_vty.c: (show_ip_ospf_interface_sub) Display the peer or
400 broadcast address if present.
401
hassod68614d2004-10-13 09:32:48 +00004022004-10-13 Hasso Tepper <hasso at quagga.net>
403
404 * ospf_main.c: Unbreak compilation with ospfapi disabled.
hassoc75105a2004-10-13 10:33:26 +0000405 * ospf_snmp.c: Remove defaults used to initialize smux connection to
406 snmpd. Connection is initialized only if smux peer is configured.
hassod68614d2004-10-13 09:32:48 +0000407
hassof4d58ce2004-10-12 06:13:54 +00004082004-10-12 Hasso Tepper <hasso at quagga.net>
409
410 * ospf_main.c, ospf_opaque.c: Unbreak ospfclient compilation - move
411 static variable from ospf_main.c into ospf_opaque.c.
412
hassoc3abdb72004-10-11 16:27:03 +00004132004-10-11 Hasso Tepper <hasso at quagga.net>
414
415 * ospf_main.c, ospf_opaque.c: Disable ospfapi init by default. New
416 command line switch to enable it.
417
paul6b333612004-10-11 10:11:25 +00004182004-10-11 Paul Jakma <paul@dishone.st>
419
420 * ospf_dump.c: (ospf_ip_header_dump) Assume header is in host order
421 remove ntohs that should have dissappeared. Take struct ip
422 as argument, caller has to know there's an IP header at start of
423 stream anyway.
424 * ospf_dump.h: update declaration of ospf_ip_header_dump.
425 * ospf_packet.c: (ospf_write) correct call to
426 sockopt_iphdrincl_swab_htosys which was munging the header.
427 (ospf_recv_packet) ip_len is needed for old OpenBSD fixup.
428 (ospf_read) sockopt_iphdrincl_swab_systoh ip header as soon as
429 we have it.
paul6c835672004-10-11 11:00:30 +0000430 * (global) Const char update and signed/unsigned fixes.
431 * (various headers) size defines should be unsigned.
432 * ospf_interface.h: remove duplicated defines, include the
433 authoritative header - though, these defines should probably
434 be moved to a dedicated header, or ospfd.h.
435 * ospf_lsa.h: (struct lsa) ls_seqnum should be unsigned.
436 * ospf_packet.c: (ospf_write) cast result of shift to unsigned.
paul6b333612004-10-11 10:11:25 +0000437
hassoeb1ce602004-10-08 08:17:22 +00004382004-10-08 Hasso Tepper <hasso at quagga.net>
439
440 * *.[c|h]: Fix compiler warnings: make some strings const, signed ->
441 unsigned, remove unused variables etc.
442
gdt54ade992004-10-07 19:38:20 +00004432004-10-07 Greg Troxel <gdt@claude.ir.bbn.com>
444
445 * ospf_apiserver.c (ospf_apiserver_unregister_opaque_type): Don't
446 use of variable names 'node' and 'nextnode' to avoid possible
447 conflict with list macros. Move variable declaration inside for
448 loop after a statement to top of function.
449
paulaa20c6f2004-10-07 14:19:36 +00004502004-10-07 Paul Jakma <paul@dishone.st>
451
452 * ospf_snmp.c: Missed list typedef update
453 * ospf_dump.c: Include sockopt.h for header swab functions.
454
paul18b12c32004-10-05 14:38:29 +00004552004-10-05 Paul Jakma <paul@dishone.st>
456
457 * ospf_packet.c: replace ospf_swap_iph_to... with
458 sockopt_iphdrincl_swab_...
459
hasso18a6dce2004-10-03 18:18:34 +00004602004-10-03 James R. Leu <jleu at mindspring.com>
461
462 * ospf_zebra.c: Read router id related messages from zebra daemon.
463 Schedule router-id update thread if it's changed.
464 * ospfd.c: Remove own router-id selection function. Use router id from
465 zebra daemon if it isn't manually overriden in configuration.
466
paul68defd62004-09-27 07:27:13 +00004672004-09-27 Paul Jakma <paul@dishone.st>
468
paul6a99f832004-09-27 12:56:30 +0000469 * ospf_dump.c: (ospf_ip_header_dump) Use HAVE_IP_HDRINCL_BSD_ORDER
470 Apply to offset too. Print ip_cksum, lets not worry about
471 possible 2.0.37 compile problems.
472 * ospf_packet.c: (ospf_swap_iph_to{n,h}) Use
473 HAVE_IP_HDRINCL_BSD_ORDER.
474 (ospf_recv_packet) ditto.
475 (ospf_write) Fixup iov argument to ospf_write_frags.
476 (struct msghdr).msg_name is caddr_t on most platforms.
paul68defd62004-09-27 07:27:13 +0000477 (ospf_recv_packet) ditto. And msg_flags is not always there
478 memset struct then set fields we care about rather than
479 initialise all fields individually.
480
hassoc9e52be2004-09-26 16:09:34 +00004812004-09-26 Hasso Tepper <hasso at quagga.net>
482
483 * ospf_abr.c, ospf_dump.c, ospf_lsa.c, ospf_packet.c, ospf_vty.c,
484 ospf_zebra.c: Fix compiler warnings.
485
paul87d6f872004-09-24 08:01:38 +00004862004-09-24 Paul Jakma <paul@dishone.st>
487
488 * ospf_apiserver.{c,h}: lists typedef removal cleanup.
489 update some list loops to LIST_LOOP. some miscellaneous indent
490 fixups.
491 (ospf_apiserver_unregister_opaque_type) fix listnode_delete of
492 referenced node in loop.
paul1603c062004-09-24 08:23:24 +0000493 (ospf_apiserver_term) loops calling ospf_apiserver_free, which
494 deletes referenced nodes from apiserver_list, fixed.
paul87d6f872004-09-24 08:01:38 +0000495 * ospf_interface.h: lists typedef removal cleanup.
496 * ospf_opaque.{c,h}: lists typedef removal cleanup. update some list
497 loops to LIST_LOOP. miscellaneous style and indent fixups.
498 * ospf_te.{c,h}: ditto
499 * ospf_packet.c: lists typedef removal cleanup.
paula2570682004-09-24 08:09:57 +0000500 (ospf_write) ifdef fragmentation support. move actual
501 fragmentation out to a new, similarly ifdefed, function.
502 (ospf_write_frags) fragmented write support, moved from previous.
paul87d6f872004-09-24 08:01:38 +0000503
hasso52dc7ee2004-09-23 19:18:23 +00005042004-09-23 Hasso Tepper <hasso at quagga.net>
505
506 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
507
paul68b73392004-09-12 14:21:37 +00005082004-09-12 Paul Jakma <paul@dishone.st>
509
510 * ospf_packet.c: Fix bugzilla #107
511 (ospf_packet_max) get rid of the magic 88 constant
512 (ospf_swab_iph_ton) new function. set ip header to network order,
513 taking BSDisms into account.
514 (ospf_swab_iph_toh) the inverse.
515 (ospf_write) Add support for IP fragmentation, will only work on
516 linux though, other kernels make it impossible. get rid of the
517 magic 4 constant.
518 (ospf_make_ls_upd) Bound check to end of stream, not to
519 interface mtu.
520 (ospf_ls_upd_packet_new) New function, allocate upd packet
521 taking oversized LSAs into account.
522 (ospf_ls_upd_queue_send) use ospf_ls_upd_packet_new to allocate,
523 rather than statically allocating mtu sized packet buffer, which
524 actually was wrong - it didnt take ip header into account, which
525 should not be included in packet buffer.
526 (ospf_ls_upd_send_queue_event) minor tweaks and remove
527 TODO comment.
528
gdt630e4802004-08-31 17:28:41 +00005292004-08-31 David Wiggins <dwiggins@bbn.com>
530
531 * ospf_spf.c (ospf_spf_calculate): Many more comments and debug
532 print statements. New function ospf_vertex_dump used in debugging.
533
5342004-08-31 David Wiggins <dwiggins@bbn.com>
535
536 * ospf_spf.h (struct vertex): Comments for flags and structure members.
537
5382004-08-31 David Wiggins <dwiggins@bbn.com>
539
540 * ospf_route.c: When finding an alternate route, log cost as well.
541
5422004-08-31 David Wiggins <dwiggins@bbn.com>
543
544 * ospf_interface.c (ospf_lookup_if_params): Initialize af in
545 struct prefix allocated on stack.
546
5472004-08-31 David Wiggins <dwiggins@bbn.com>
548
549 * ospf_packet.c (ospf_ls_ack_send_delayed): In p2mp mode, send
550 acks to AllSPFRouters, rather than All-DR.
551
hasso7b901432004-08-31 13:37:42 +00005522004-08-27 Hasso Tepper <hasso at quagga.net>
553
554 * ospf_vty.c: Don't print ospf network type under interface only
555 if interface is in broadcast mode and interface type really is
556 broadcast. Fixes Bugzilla #108.
557
gdtd7d93992004-08-27 12:03:42 +00005582004-08-27 David Wiggins <dwiggins@bbn.com>
559
560 * ospf_spf.c (ospf_nexthop_calculation): Initialize address family
561 in on-stack struct prefix_ipv4. Fixes point-to-multipoint SPF
562 calculation.
563
gdtd0deca62004-08-26 13:14:07 +00005642004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
565
566 * ospf_packet.c (ospf_recv_packet): adjust size declaration of
gdtd7d93992004-08-27 12:03:42 +0000567 buffer used to get interface index so that it compiles on other
568 than Linux and includes the required alignment space. Probably
569 this was only working on sparc/sparc64 because most of
570 sockaddr_dl was not being written.
gdtd0deca62004-08-26 13:14:07 +0000571
paul863082d2004-08-19 04:43:43 +00005722004-08-19 Paul Jakma <paul@dishone.st>
573
574 * ospf_packet.c: update to match sockopt renames.
575
paul75ee0b82004-08-05 09:10:31 +00005762004-08-04 Paul Jakma <paul@dishone.st>
577
578 * ospf_spf.c: (ospf_spf_consider_nexthop) Add comment about issue.
579 Compare only against list head - all nexthops must be same cost
580 anyway, fixes a reference-listnode-after-delete bug noted by
581 Kir Kostuchenko.
582 (ospf_nexthop_calculation) Use ospf_spf_consider_nexthop for all
583 candidates attached to root.
584
paul36c64ef2004-07-27 11:19:11 +00005852004-07-27 Paul Jakma <paul@dishone.st>
586
paul48fe13b2004-07-27 17:40:44 +0000587 * ospf_packet.c: (ospf_ls_upd_send_queue_event) fix thinko from
588 last fix for ospfd wedging due to oversize LSAs: dont list loop on
589 ospf_ls_upd_queue_send() - guaranteed segfault.
590
5912004-07-27 Paul Jakma <paul@dishone.st>
592
paul36c64ef2004-07-27 11:19:11 +0000593 * ospf_opaque.c: (ospf_opaque_lsa_flush_schedule) do not NULL out
594 the LSA as then free_opaque_info_per_id() can never unlock (and
595 free) the LSA. Reported by Gunnar Stigen.
596
paul2dd8bb42004-07-23 15:13:48 +00005972004-07-23 Paul Jakma <paul@dishone.st>
598
599 * ospf_network.c: Replace PKTINFO/RECVIF with call to
600 setsockopt_pktinfo
601 * ospf_packet.c: Use getsockopt_pktinfo_ifindex and
602 SOPT_SIZE_CMSG_PKTINFO_IPV4.
603
paul59ea14c2004-07-14 20:50:36 +00006042004-07-14 Paul Jakma <paul@dishone.st>
605
606 * ospf_packet.c: (ospf_ls_upd_send_queue_event) Partial fix for
607 problem reported by Peter Frost amongst others, where function
608 will spin indefinitely if update list contains LSAs greater than
609 MTU-headers or other condition leading to update list never being
610 cleared. Problem of what to do with these LSAs remains.
611 (ospf_make_ls_upd) add comment about large LSA problem,
612 indentation cleanup.
613
gdtb2c1b282004-07-01 12:35:36 +00006142004-07-01 Greg Troxel <gdt@fnord.ir.bbn.com>
615
616 * Makefile.am (lib_LTLIBRARIES): make libospf shared
617
gdt87efd642004-06-30 17:36:11 +00006182004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
619
620 * Makefile.am: Add shlib support.
621
hassobeebba72004-06-20 21:00:27 +00006222004-06-10 Hasso Tepper <hasso@estpak.ee>
623
624 * *: Removed ifdefs HAVE_NSSA.
625
paul553ff112004-06-06 09:41:00 +00006262004-06-06 Paul Jakma <paul@dishone.st>
627
628 * ospf_dump.c,ospf_lsa.c: Fix typos of merge of previous.
629 ospf_flood.c: (ospf_process_self_originated_lsa) fix zlog format
630
paul0c2be262004-05-31 14:16:54 +00006312004-05-31 Sagun Shakya <sagun.shakya@sun.com>
632
633 * ospf_dump.c: (ospf_lsa_header_dump) LOOKUP can return null if
634 index is out of range.
635 ospf_flood.c: endianness fix
636 ospf_lsa.c: Missing ntohl's on (struct lsa *)->data->ls_seqnum
637 in various places.
638
hassodd669bb2004-05-10 07:43:59 +00006392004-05-10 Hasso Tepper <hasso@estpak.ee>
640
641 * ospf_zebra.c, ospfd.c: Move ospf_prefix_list_update() function
642 to ospf_zebra.c from ospfd.c and add redistribution updates if
643 route-map is used in redistribution.
644 * ospf_main.c: Remove now useless call to ospf_init().
645
paul0a589352004-05-08 11:48:26 +00006462004-05-08 Paul Jakma <paul@dishone.st>
647
648 * ospf_zebra.c: Sync with lib/zclient changes
649
pauld3f0d622004-05-05 15:27:15 +00006502004-05-05 Paul Jakma <paul@dishone.st>
651
paul5bd41892004-05-05 17:29:24 +0000652 * ospf_network.c: (ospf_sock_init) Check whether IP_HDRINCL is
653 defined. Warn at compile and runtime. Use
654 IPTOS_PREC_INTERNETCONTROL otherwise.
pauld3f0d622004-05-05 15:27:15 +0000655 * ospf_packet.c: (ospf_associate_packet_vl) cleanup, move
656 some of the checks up to ospf_read, return either a
657 virtual link oi, or NULL.
658 (ospf_read) Cleanup, make it responsible for checks. Remove
659 the nbr lookup - moved to ospf_neighbor. Adjust all nbr
660 lookups to use new wrappers exported by ospf_neighbor.
661 * ospf_neighbor.h: Add ospf_neigbour_get and ospf_nbr_lookup.
662 * ospf_neighbor.c: (ospf_neigbour_get) Index ospf_interface
663 neighbour table by router-id for virtual-link ospf_interfaces,
664 not by peer_addr (which breaks for asymmetric vlinks)
665 (ospf_nbr_lookup) add a wrapper for nbr lookups to deal with
666 above.
paulcd59da62004-05-05 17:26:55 +0000667 * ospf_interface.c: (ospf_vl_set_params) Catch changes of interface
668 address for either end of a virtual-link, and hence potential cost
669 changes.
670
hassoa0a39762004-04-23 08:51:10 +00006712004-04-22 Hasso Tepper <hasso@estpak.ee>
672
673 * ospf_zebra.c: Don't ignore reject/bh routes, it's the only way
674 to "summarize" routes in ASBR at the moment.
675
hasso8585d4e2004-04-20 17:25:12 +00006762004-04-20 Hasso Tepper <hasso@estpak.ee>
677
678 * ospfd.c: Unset NP flag if area is going to be normal or stub.
679 Fixes UNH OSPF_NSSA.1.2a comment.
680 * ospf_abr.c: Originate default into stub/nssa area even if
681 summaries are disabled.
682 * ospf_zebra.c: Don't attempt to redistribute 127.0.0.0/8.
683
hassoc266ac72004-04-19 17:31:00 +00006842004-04-19 Hasso Tepper <hasso@estpak.ee>
685
686 * ospf_vty.c: Don't warn that export- and import-list can't be
687 configured to backbone area if they are applied and are working
688 fine.
689
hasso128d31d2004-04-04 12:52:33 +00006902004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
691
692 * ospf_packet.c: Don't drop packets in Solaris x86.
693 [quagga-dev 1005].
694
hasso0d85b992004-03-18 19:18:33 +00006952004-03-18 Amir Guindehi <amir@datacore.ch>
696
697 * ospf_opaque.c: Attempt to correct the incorrect behavior of
698 Quagga's ospfd in the special situation that a node's opaque
699 capability has changed as "ON -> OFF -> ON". [quagga-dev 843].
700
paul7f352b82004-02-19 19:37:47 +00007012004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
702
703 * ospf_abr.c: (ospf_abr_update_aggregate) UNH 3.12b,c, address range
704 should be configured with the highest cost path within the range,
705 not lowest.
706
paul940b01a2004-02-17 20:07:30 +00007072004-02-17 Paul Jakma <paul@dishone.st>
708
709 * ospf_zebra.c: (ospf_interface_delete) Do not delete the interface
710 params, nor the interface structure, if an interface delete
711 message is received from zebra.
712 * ospf_interface.c: (ospf_if_delete_hook) Delete the interface
713 params and interface, ie that which was previously removed in
714 (ospf_interface_delete) above.
715
hasso2db3d052004-02-11 21:52:13 +00007162004-02-11 Hasso Tepper <hasso@estpak.ee>
717 * ospf_interface.c, ospf_zebra.c: Don't attempt to read path->oi->ifp
718 if oi doesn't exist any more.
719
hassocb05eb22004-02-11 21:10:19 +00007202004-02-11 Vadim Suraev <vadim.suraev@terayon.com>
721 * ospf_packet.c (ospf_ls_upd): Router should flush received network
722 LSA if it was originated with older router-id ([zebra 14710] #6).
723
7242003-12-08 Mattias Amnefelt <mattiasa@kth.se>
paul239aecc2003-12-08 10:34:54 +0000725
726 * ospf_packet.c: (ospf_recv_packet) OpenBSD now leaves iph.ip_len
727 network byte order.
728
gdt8f40e892003-12-05 14:01:43 +00007292003-12-05 Greg Troxel <gdt@poblano.ir.bbn.com>
730
731 * ospfd.c (ospf_network_match_iface): Rewrite code for clarity
732 while trying not to change semantics. Add ifdefed-out code to
733 avoid matching ppp interfaces whose destination address does not
734 also match the prefix under consideration, to help out people with
735 problems due to as-yet-unfixed bugs with p2p interfaces coming and
736 going.
737
paul736d3442003-07-24 23:22:57 +00007382003-07-25 kamatchi soundaram <kamatchi@tdd.sj.nec.com>
739
740 * ospf_packet.c (ospf_ls_upd_send_queue_event): get next route
741 node in body of the loop to avoid chance that route node
742 is unlocked and deleted before the next iteration tries to
743 get next route node.
744
paul0a825c72003-05-24 13:48:16 +00007452003-05-24 Kenji Yabuuchi
746
747 * ospf_interface.c(ospf_if_lookup_recv_if): Use the most specific
748 match for interface lookup.
749
paul551a8972003-05-18 15:22:55 +00007502003-05-18 Hasso Tepper <hasso@estpak.ee>
paul445f1432003-05-16 19:00:31 +0000751
paul551a8972003-05-18 15:22:55 +0000752 * ospf_vty.c: Show NSSA LSA route info in "show ip ospf database"
753 output
paul445f1432003-05-16 19:00:31 +0000754
pauld7480322003-05-16 17:31:51 +00007552003-05-16 Hasso Tepper <hasso@estpak.ee>
756
757 * ospf_lsa.c: Fix handling of NSSA
758
paul551a8972003-05-18 15:22:55 +00007592003-04-23 Hasso Tepper <hasso@estpak.ee>
760
761 * ospf_vty.c: fix "router xxx" node commands in vtysh
762
paul445f1432003-05-16 19:00:31 +00007632003-04-19 Hasso Tepper <hasso@estpak.ee>
764
765 * {ospf_abr,ospfd}.c: area id's DECIMAL -> ADDRESS
766 * ospf_routemap.c: sync daemon's route-map commands to have same
767 syntax.
768
7692003-04-19 Sergey Vyshnevetskiy <serg@vostok.net>
770
771 * ospf_packet.c: Add missing param to zlog
772 * ospf_flood.c: remove unused vars
773
7742003-04-17 Denis Ovsienko <zebra@pilot.org.ua>
775
776 * ospf_interface.c: fix incorrect memset
777
paul28a13842003-05-16 20:30:37 +00007782003-04-10 Amir Guindehi <amir@datacore.ch>
paul445f1432003-05-16 19:00:31 +0000779
780 * ospf_lsa.[ch]: opaque LSA fix, use ospf_lookup.
781
7822003-04-03 David Watson <dwatson@eecs.umich.edu>
783
784 * ospf_lsa.c: byte order fix
785
paul07661cb2003-03-18 00:03:05 +00007862002-03-17 Amir Guindehi <amir@datacore.ch>
787
788 * ospf_apiserver.[ch]: Merge Ralph Keller's OSPFAPI support.
789 * ospf_api.[ch]: Merge Ralph Keller's OSPFAPI support.
790 * ospfclient: OSPFAPI demonstration client.
791
7922003-01-23 Masahiko Endo <endo@suri.co.jp>
793
794 * ospf_ism.c: NSM event schedule bug fix.
795
7962002-10-30 Greg Troxel <gdt@ir.bbn.com>
797
798 * ospf_packet.c (ospf_make_md5_digest): MD5 length fix.
799
paul718e3742002-12-13 20:15:29 +00008002002-10-23 endo@suri.co.jp (Masahiko Endo)
801
802 * ospf_opaque.c: Update Opaque LSA patch.
803
8042002-10-23 Ralph Keller <keller@tik.ee.ethz.ch>
805
806 * ospf_vty.c (show_ip_ospf_database): Fix CLI parse.
807
8082002-10-23 Juris Kalnins <juris@mt.lv>
809
810 * ospf_interface.c (ospf_if_stream_unset): When write queue
811 becomes empty stop write timer.
812
8132002-10-10 Greg Troxel <gdt@ir.bbn.com>
814
815 * ospf_packet.c (ospf_check_md5_digest): Change >= to > to make it
816 conform to RFC.
817
8182002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
819
820 * zebra-0.93 released.
821
8222002-06-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
823
824 * ospf_spf.c (ospf_nexthop_calculation): Add NULL set to oi and
825 check of l2. Reported by: Daniel Drown <dan-zebra@drown.org>
826 (ospf_lsa_has_link): LSA Length calculation fix. Reported by:
827 Paul Jakma <paulj@alphyra.ie>.
828
829 * ospfd.c (ospf_if_update): Fix nextnode reference bug. Reported
830 by: juris@mt.lv.
831
8322002-01-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
833
834 * ospfd.c: Merge [zebra 11445] Masahiko ENDO's Opaque-LSA support.
835
8362001-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
837
838 * ospf_interface.c (ospf_add_to_if): Use /32 address to register
839 OSPF interface information.
840 (ospf_delete_from_if): Likewise.
841
842 * ospf_zebra.c (ospf_interface_address_delete): Likewise.
843
8442001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
845
846 * ospf_zebra.c (ospf_redistribute_unset): When redistribute type
847 is OSPF, do not unset redistribute flag.
848
8492001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
850
851 * zebra-0.92a released.
852
8532001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
854
855 * zebra-0.92 released.
856
8572001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
858
859 * ospfd.c (ospf_config_write): auto-cost reference-bandwidth
860 configuration display.
861
8622001-07-24 David Watson <dwatson@eecs.umich.edu>
863
864 * ospf_spf.c (ospf_spf_next): Modify ospf_vertex_add_parent to
865 check for an existing link before connecting the parent and child.
866 ospf_nexthop_calculation is also modified to check for duplicate
867 entries when copying from the parent. Finally, ospf_spf_next
868 removes duplicates when it merges two equal cost candidates.
869
8702001-07-23 itojun@iijlab.net
871
872 * ospfd.c (show_ip_ospf_neighbor): Check ospf_top before use it
873 [zebra 8549].
874
8752001-07-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
876
877 * ospf_packet.c (ospf_write): Remove defined(__OpenBSD__) to make
878 it work on OpenBSD.
879
8802001-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
881
882 * ospf_zebra.c (config_write_ospf_default_metric): Display
883 default-metric configuration.
884
8852001-06-18 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
886
887 * ospf_ia.h (OSPF_EXAMINE_SUMMARIES_ALL): Remove old macros.
888
8892001-05-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
890
891 * ospf_snmp.c (ospfIfEntry): Fix interface lookup bug to avoid
892 crush.
893 (ospfIfMetricEntry): Likewise.
894
8952001-03-18 Kunihiro Ishiguro <kunihiro@zebra.org>
896
897 * ospf_packet.c (ospf_read): Fix typo. Reported by: "Jen B
898 Lin'Kova" <jen@stack.net>.
899
9002001-03-15 Gleb Natapov <gleb@nbase.co.il>
901
902 * ospf_interface.c (ip_ospf_network): Set interface parameter.
903 (interface_config_write): Add check for OSPF_IFTYPE_LOOPBACK.
904
905 * ospf_zebra.c (ospf_interface_add): Set interface parameter.
906
9072001-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
908
909 * ospf_packet.c (ospf_recv_packet): Solaris also need to add
910 (iph.ip_hl << 2) to iph.ip_len.
911
9122001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
913
914 * ospfd.h (OSPF_LS_REFRESH_TIME): Fix OSPF_LS_REFRESH_TIME value.
915 Suggested by: David Watson <dwatson@eecs.umich.edu>.
916
917 * ospf_zebra.c (zebra_init): Remove zebra node.
918
919 * ospfd.c (ospf_area_range_set): Function name is changed from
920 ospf_ara_range_cmd.
921 (ospf_area_range_unset): New function which separated from DEFUN.
922 New commands are added:
923 "no area A.B.C.D range A.B.C.D/M advertise"
924 "no area <0-4294967295> range A.B.C.D/M advertise"
925 "no area A.B.C.D range A.B.C.D/M not-advertise"
926 "no area <0-4294967295> range A.B.C.D/M not-advertise"
927
928 * ospf_lsa.c (ospf_lsa_more_recent): Fix previous change.
929
9302001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
931
932 * ospf_network.c (ospf_if_add_allspfrouters): Use
933 setsockopt_multicast_ipv4.
934 (ospf_if_drop_allspfrouters): Likewise.
935
936 * ospf_lsa.c (ospf_router_lsa_install): Add rt_recalc flag.
937 (ospf_network_lsa_install): Likewise.
938 (ospf_summary_lsa_install): Likewise.
939 (ospf_summary_asbr_lsa_install): Likewise.
940 (ospf_external_lsa_install): Likewise.
941 (ospf_lsa_install): Call ospf_lsa_different to check this LSA is
942 new one or not.
943
9442001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
945
946 * ospf_zebra.c (ospf_interface_delete): Do not free interface
947 structure when ospfd receive interface delete message to support
948 pseudo interface.
949
9502001-02-01 Dick Glasspool <dick@ipinfusion.com>
951
952 * ospfd.c (area_range_notadvertise): Change area range "suppress"
953 command to "not-advertise".
954
955 * ospfd.h (OSPF_LS_REFRESH_TIME): Change OSPF_LS_REFRESH_TIME from
956 1800 to 60.
957
958 * ospf_abr.c (ospf_abr_update_aggregate): When update_aggregate is
959 updating the area-range, the lowest cost is now saved.
960
961 * ospf_lsa.c (ospf_lsa_more_recent): Routing to compare sequence
962 numbers rather than creating overflow during calculation.
963
9642001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
965
966 * zebra-0.91 is released.
967
9682001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
969
970 * ospf_packet.c (ospf_db_desc_proc): Do not continue process when
971 NSM_SeqNumberMismatch is scheduled.
972 (ospf_ls_req): Free ls_upd when return from this function.
973 (ospf_ls_upd_timer): When update list is empty do not call
974 ospf_ls_upd_send(). Suggested by: endo@suri.co.jp (Masahiko
975 Endo).
976
9772001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
978
979 * ospf_lsa.c (ospf_maxage_flood): Flood LSA when it reaches
980 MaxAge. RFC2328 Section 14.
981 (ospf_maxage_lsa_remover): Call above function during removing
982 MaxAge LSA.
983
9842001-01-26 Dick Glasspool <dick@ipinfusion.com>
985
986 * ospf_flood.c (ospf_flood_through_as): Function is updated for
987 NSSA Translations now done at ospf_abr.c with no change in P-bit.
988
989 * ospf_lsa.c (ospf_get_nssa_ip): Get 1st IP connection for Forward
990 Addr.
991 (ospf_install_flood_nssa): Leave Type-7 LSA at Lock Count = 2.
992
993 * ospf_ase.c (ospf_ase_calculate_route): Add debug codes.
994
995 * ospf_abr.c (ospf_abr_translate_nssa): Recalculate LSA checksum.
996
997 * ospf_packet.h (OSPF_SEND_PACKET_LOOP): Added for test packet.
998
999 * ospf_dump.c (ospf_lsa_type_msg): Add OSPF_GROUP_MEMBER_LSA and
1000 OSPF_AS_NSSA_LSA.
1001
1002 * ospfd.c (data_injection): Function to inject LSA. This is
1003 debugging command.
1004
10052001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1006
1007 * ospf_route.c (ospf_route_match_same): Remove function.
1008 (ospf_route_match_same_new): Renamed to ospf_route_match_same.
1009
1010 * ospf_zebra.c (ospf_interface_address_delete): Add check for
1011 oi->address. Suggested by Matthew Grant
1012 <grantma@anathoth.gen.nz>.
1013 (ospf_zebra_add): Remove function.
1014 (ospf_zebra_add_multipath): Rename to ospf_zebra_add.
1015
1016 * ospf_interface.c: Remove HAVE_IF_PSEUDO part.
1017
1018 * ospf_zebra.c: Likewise.
1019
10202001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1021
1022 * ospf_ase.c: Remove OLD_RIB part.
1023
1024 * ospf_route.c: Likewise.
1025
1026 * zebra-0.90 is released.
1027
1028 * ospf_packet.c (ospf_recv_packet): Use ip_len adjestment code to
1029 NetBSD.
1030
10312001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1032
1033 * ospf_route.c (ospf_route_delete): Use
1034 ospf_zebra_delete_multipath.
1035
10362001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1037
1038 * ospf_interface.c (ospf_if_cleanup): Function name is renamed
1039 from ospf_if_free(). Rewrite whole procudure to support primary
1040 address deletion.
1041
1042 * ospf_zebra.c (ospf_interface_address_delete): Add primary
1043 address deletion process.
1044
10452001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1046
1047 * ospf_packet.c (ospf_recv_packet): OpenBSD has same ip_len
1048 treatment like FreeBSD.
1049
10502001-01-09 endo@suri.co.jp (Masahiko Endo)
1051
1052 * ospf_packet.c (ospf_recv_packet): FreeBSD kernel network code
1053 strips IP header size from receiving IP Packet. So we adjust
1054 ip_len to whole IP packet size by adding IP header size.
1055
10562001-01-08 endo@suri.co.jp (Masahiko Endo)
1057
1058 * ospf_network.c (ospf_serv_sock): When socket() is failed return
1059 immediately.
1060 (ospf_serv_sock): Close socket when it is not used.
1061
1062 * ospf_packet.c (ospf_write): Set sin_len when HAVE_SIN_LEN is
1063 defined.
1064 (ospf_write): When bind is fined, close sock.
1065
10662001-01-07 Gleb Natapov <gleb@nbase.co.il>
1067
1068 * ospf_zebra.c (ospf_interface_state_up): Fixes coredump that
1069 appears when you try to configure bandwidth on the ppp interface
1070 that is not yet configured in ospfd.
1071
10722001-01-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1073
1074 * ospf_route.c (show_ip_ospf_route_external): "show ip ospf route"
1075 will print nexthops for AS-external routes.
1076
1077 * ospf_ase.c (ospf_ase_route_match_same): New function to compare
1078 ASE route under multipath environment.
1079 (ospf_ase_compare_tables): Likewise.
1080
10812001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1082
1083 * ospfd.h (OSPF_VTYSH_PATH): Change "/tmp/ospfd" to "/tmp/.ospfd".
1084
10852000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1086
1087 * ospf_route.c (ospf_route_install): Install multipath information
1088 to zebra daemon.
1089
1090 * ospf_zebra.c (ospf_zebra_add_multipath): Function for passing
1091 multipath information to zebra daemon.
1092
10932000-12-25 Dick Glasspool <dick@ipinfusion.com>
1094
1095 * ospf_packet.c (ospf_write): Call ospf_packet_delete when sendto
1096 fail.
1097 (DISCARD_LSA): Add argument N for logging point of DISCARD_LSA is
1098 called.
1099
1100 * ospf_lsa.c (ospf_external_lsa_refresh): NSSA install_flood will
1101 leave Type-7 LSA at Lock Count = 2.
1102
1103 * ospf_flood.c (ospf_flood_through): Flood_though_as updated for
1104 NSSA no P-bit off during Area flooding, but P-bit is turned off
1105 for mulitple NSSA AS flooding.
1106
1107 * ospf_ase.c (ospf_ase_calculate_timer): Added calculations for
1108 Type-7 LSDB.
1109
1110 * ospf_abr.c (ospf_abr_translate_nssa): Removed one unlock call.
1111 (ospf_abr_announce_nssa_defaults): Corrected Debug from EVENT to
1112 NSSA.
1113
11142000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1115
1116 * ospf_zebra.c (ospf_zebra_read_ipv4): Checking the age of the
1117 found LSA and if the LSA is MAXAGE we should call refresh instead
1118 of originate.
1119
11202000-12-18 Dick Glasspool <dick@ipinfusion.com>
1121
1122 * ospf_abr.c: Removed redundant "...flood" in
1123 announce_network_to_area(). Repaired nssa Unlock by using
1124 discard.
1125
1126 * ospf_packet.c: Removed old NSSA translate during mk_ls_update.
1127
1128 * ospfd.c: Free up all data bases including NSSA.
1129
1130 * ospf_lsa.c: Now allow removal of XLATE LSA's Check in
1131 discard_callback. Added routine to get ip addr from within the
1132 ifp.
1133
1134 * ospf_flood.c: Now set Forward Address for outgoing Type-7.
1135
1136 * ospf_lsa.h: Added prototype for the below. struct in_addr
1137 ospf_get_ip_from_ifp (struct interface *ifp).
1138
11392000-12-14 Gleb Natapov <gleb@nbase.co.il>
1140
1141 * ospf_packet.c (ospf_recv_packet): New OSPF pakcet read method.
1142 Now maximum packet length may be 65535 bytes (maximum IP packet
1143 length).
1144
1145 * ospf_interface.c (ospf_if_stream_set): Don't make input buffer.
1146
1147 * ospfd.c (config_write_network_area): Remove unnecessary area
1148 lookup code.
1149
11502000-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1151
1152 * ospf_packet.c (ospf_read): Accept packet bigger than MTU value.
1153
11542000-12-13 Gleb Natapov <gleb@nbase.co.il>
1155
1156 * ospfd.c (config_write_network_area): Fix bug in
1157 config_write_network_area function.
1158
11592000-12-12 Gleb Natapov <gleb@nbase.co.il>
1160
1161 * ospf_abr.c (ospf_abr_announce_network_to_area): Make Summary
1162 LSA's origination and refreshment as same as other type of LSA.
1163
1164 * ospf_lsa.c (ospf_summary_lsa_refresh): Return struct ospf_lsa *.
1165
1166 * ospf_lsa.c (ospf_summary_asbr_lsa_refresh): Likewise.
1167
11682000-12-08 Dick Glasspool <dick@ipinfusion.com>
1169
1170 The bulk of NSSA changes are contained herein; This version will
1171 require manual setting of "always" for NSSA Translator, and will
1172 not perform aggregation yet.
1173
1174 * ospf_dump.c: "debug ospf nssa" is added.
1175
1176 * ospf_dump.h: Likewise.
1177
1178 * ospf_packet.c (ospf_hello): Display router ID on Bad NSSA Hello.
1179
1180 * ospfd.c: Discard_LSA to stay away from LOCAL_XLT Process NSSA
1181 'never, candidate, always'. Change "suppress" to "not-advertise".
1182
1183 * ospfd.h: Add TranslatorRole to struct ospf_area. Add anyNSSA to
1184 struct ospf.
1185
1186 * ospf_ase.c (ospf_ase_calculate_route): External to stay away
1187 from LOCAL_XLT
1188
1189 * ospf_nsm.c (ospf_db_summary_add): External to stay away from
1190 LOCAL_XLT
1191
1192 * ospf_abr.c: Major logic added for abr_nssa_task(). If ABR, and
1193 NSSA translator, then do it. Approve the global list, and flush
1194 any unapproved.
1195
1196 * ospf_lsa.h: New LSA flag OSPF_LSA_LOCAL_XLT to indicate that the
1197 Type-5 resulted from a Local Type-7 translation; not used for
1198 flooding, but used for flushing.
1199
1200 * ospf_flood.c: New NSSA flooding.
1201
12022000-12-08 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1203
1204 * ospfd.c (ospf_find_vl_data): New function for looking up virtual
1205 link data.
1206 (ospf_vl_set_security): Virtual link configuration with
1207 authentication.
1208 (ospf_vl_set_timers): Set timers for virtual link.
1209
1210 * New commands are added.
1211 "area A.B.C.D virtual-link A.B.C.D"
1212 "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>"
1213 "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"
1214 "area A.B.C.D virtual-link A.B.C.D authentication-key AUTH_KEY"
1215 "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"
1216 "area A.B.C.D virtual-link A.B.C.D message-digest-key <1-255> md5 KEY"
1217
1218 * ospf_packet.c (ospf_check_md5_digest): Add neighbor's
1219 cryptographic sequence number treatment.
1220 (ospf_check_auth): OSPF input buffer is added to argument.
1221 (ospf_read): Save neighbor's cryptographic sequence number.
1222
1223 * ospf_nsm.c (nsm_change_status): Clear cryptographic sequence
1224 number when neighbor status is changed to NSM down.
1225
1226 * ospf_neighbor.c (ospf_nbr_new): Set zero to crypt_seqnum.
1227
1228 * ospf_neighbor.h (struct ospf_neighbor): Add cryptographic
1229 sequence number to neighbor structure.
1230
12312000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1232
1233 * ospf_snmp.c (ospfIfLookup): OSPF MIB updates.
1234 (ospfExtLsdbEntry): Add OspfExtLsdbTable treatment.
1235
12362000-11-28 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1237
1238 * ospfd.c (ospf_interface_down): Clear a ls_upd_queue queue of the
1239 interface.
1240 (ospf_ls_upd_queue_empty): New function to empty ls update queue
1241 of the OSPF interface.
1242 (no_router_ospf): 'no router ospf' unregister redistribution
1243 requests from zebra.
1244
12452000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1246
1247 * ospf_ism.c (ism_change_status): Increment status change number.
1248
1249 * ospf_interface.h (struct ospf_interface): Add new member for
1250 status change statistics.
1251
1252 * Makefile.am: Update dependencies.
1253
1254 * ospf_zebra.c (ospf_interface_add): OSPF SNMP interface update.
1255 (ospf_interface_delete): OSPF SNMP interface delete.
1256
1257 * ospf_snmp.h: New file is added.
1258
12592000-11-23 Dick Glasspool <dick@ipinfusion.com>
1260
1261 * ospfd.h: Add new ospf_area structure member for
1262 NSSATranslatorRole and NSSATranslator state.
1263
1264 * ospfd.c: Provided for eventual commands to specify NSSA
1265 elections for "translator- ALWAYS/NEVER/CANDIDATE". Provided for
1266 decimal integer version of area-suppress.
1267
1268 * ospf_flood.c: Flood Type-7's only into NSSA (not AS).
1269
1270 * ospf_lsa.c: Undo some previous changes for NSSA. If NSSA
1271 translator, advertise Nt bit.
1272
1273 * ospf_route.c: 1st version of "sh ip os border-routers".
1274
12752000-11-23 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1276
1277 * ospfd.c (area_vlink): Virtual link can not configured in stub
1278 area.
1279
12802000-11-23 Gleb Natapov <gleb@nbase.co.il>
1281
1282 * ospf_packet.c (ospf_db_desc): In states Loading and Full the
1283 slave must resend its last Database Description packet in response
1284 to duplicate Database Description packets received from the
1285 master. For this reason the slave must wait RouterDeadInterval
1286 seconds before freeing the last Database Description packet.
1287 Reception of a Database Description packet from the master after
1288 this interval will generate a SeqNumberMismatch neighbor
1289 event. RFC2328 Section 10.8
1290 (ospf_make_db_desc): DD Master flag treatment.
1291
1292 * ospf_nsm.c (nsm_twoway_received): Move DD related procedure to
1293 nsm_change_status().
1294 (nsm_bad_ls_req): Likewise.
1295 (nsm_adj_ok): Likewise.
1296 (nsm_seq_number_mismatch): Likewise.
1297 (nsm_oneway_received): Likewise.
1298
1299 * ospf_neighbor.h (struct ospf_neighbor): New structure member
1300 last_send_ts for timestemp when last Database Description packet
1301 was sent.
1302
1303 * ospf_nsm.c (ospf_db_desc_timer): Make it sure nbr->last_send is
1304 there. Call ospf_db_desc_resend() in any case.
1305
13062000-11-16 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1307
1308 * ospf_lsa.c (lsa_link_broadcast_set): When there is no DR on
1309 network (suppose you have only one router with interface priority
1310 0). It's router LSA does not contain the link information about
1311 this network.
1312
1313 * ospf_nsm.c (nsm_timer_set): When you change a priority of
1314 interface from/to 0 ISM_NeighborChange event should be scheduled
1315 in order to elect new DR/BDR on the network.
1316
1317 * ospf_interface.c (ip_ospf_priority): Likewise.
1318
1319 * ospf_flood.c (ospf_ls_retransmit_add): When we add some LSA into
1320 retransmit list we need to check whether the present old LSA in
1321 retransmit list is not more recent than the new
1322 one.
1323
13242000-11-09 Dick Glasspool <dick@ipinfusion.com>
1325
1326 * ospf_packet.c: Allows for NSSA Type-7 LSA's throughout the NSSA
1327 area. Any that exit the NSSA area are translated to type-5 LSA's.
1328 The instantiated image is restored after translation.
1329 (ospf_ls_upd_send_list): Renamed to ospf_ls_upd_queu_send().
1330 (ospf_ls_upd_send): Old function which enclosed by #ifdef 0 is
1331 removed.
1332 (ospf_ls_ack_send): Likewise.
1333
1334 * ospf_flood.c: NSSA-LSA's without P-bit will be restricted to
1335 local area. Otherwise they are allowed out the area to be
1336 translated by ospf_packet.c.
1337
1338 * ospf_lsa.c: Undo some previous changes for NSSA.
1339
1340 * ospf_lsdb.h: New access for type 7.
1341
13422000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1343
1344 * ospf_route.c (ospf_path_exist): New function to check nexthop
1345 and interface are in current OSPF path or not.
1346 (ospf_route_copy_nexthops_from_vertex): Add nexthop to OSPF path
1347 when it is not there. Reported by Michael Rozhavsky
1348 <mrozhavsky@opticalaccess.com>
1349
13502000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1351
1352 * ospf_dump.c (config_write_debug): Add seventh string "detail" is
1353 added for flag is OSPF_DEBUG_SEND | OSPF_DEBUG_RECV |
1354 OSPF_DEBUG_DETAIL.
1355
13562000-11-06 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1357
1358 * ospf_lsa.c (router_lsa_flags): ASBR can't exit in stub area.
1359
13602000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1361
1362 * ospf_lsa.c (ospf_router_lsa_originate): Reduce unconditional
1363 logging.
1364
13652000-11-06 Dick Glasspool <dick@ipinfusion.com>
1366
1367 * ospfd.h: Add ait_ntoa function prototype.
1368
1369 * ospfd.c (ait_ntoa): New function for displaying area ID and
1370 Stub/NSSA status.
1371 (show_ip_ospf_interface_sub): Use ait_ntoa.
1372 (show_ip_ospf_nbr_static_detail_sub): Likewise.
1373 (show_ip_ospf_neighbor_detail_sub): Likewise.
1374
1375 * ospf_route.c (ospf_intra_route_add): Set external routing type
1376 to ospf route.
1377 (ospf_intra_add_router): Likewise.
1378 (ospf_intra_add_transit): Likewise.
1379 (ospf_intra_add_stub): Likewise.
1380 (ospf_add_discard_route): Likewise.
1381 (show_ip_ospf_route_network): Use ait_ntoa.
1382 (show_ip_ospf_route_network): Likewise.
1383 (show_ip_ospf_route_router): Likewise.
1384
1385 * ospf_lsa.c (show_lsa_detail): Use ait_ntoa.
1386 (show_lsa_detail_adv_router): Likewise.
1387 (show_ip_ospf_database_summary): Likewise.
1388
1389 * ospf_route.h (struct route_standard): Add new member
1390 external_routing.
1391
1392 * ospf_ia.c (process_summary_lsa): Set external routing tyep to ospf
1393 route.
1394 (ospf_update_network_route): Likewise.
1395 (ospf_update_router_route): Likewise.
1396
13972000-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1398
1399 * ospf_flood.c (ospf_process_self_originated_lsa): Enclose
1400 OSPF_AS_NSSA_LSA treatment with #ifdef HAVE_NSSA.
1401
14022000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1403
1404 * Unconditional logging is enclosed with if (IS_DEBUG_OSPF_EVENT).
1405 Please specify "debug ospf event" for enable logging.
1406
1407 * ospf_ism.c: Do not extern debug flag varible. It is done by
1408 ospf_debug.h
1409 * ospf_asbr.c: Likewise.
1410 * ospf_lsa.c: Likewise.
1411 * ospf_nsm.c: Likewise.
1412 * ospf_zebra.c: Likewise.
1413
1414 * ospf_dump.c (debug_ospf_event): New command "debug ospf event"
1415 is added.
1416
1417 * ospfd.c (router_ospf): Change logging from vty_out() to
1418 zlog_info().
1419 (ospf_area_stub_cmd): Likewise.
1420
1421 * ospf_dump.h: Extern term_debug flags.
1422 (OSPF_DEBUG_EVENT): Add new flag.
1423 (IS_DEBUG_OSPF_EVENT): Add new macro.
1424
14252000-11-03 Dick Glasspool <dick@ipinfusion.com>
1426
1427 * ospf_flood.c (ospf_process_self_originated_lsa):
1428 OSPF_AS_NSSA_LSA is treated as same as OSPF_AS_EXTERNAL_LSA.
1429 (ospf_flood): Type-5's have no change. Type-7's can be received,
1430 and will Flood the AS as Type-5's They will also flood the local
1431 NSSA Area as Type-7's. The LSDB will be updated as Type-5's, and
1432 during re-fresh will be converted back to Type-7's (if within an
1433 NSSA).
1434 (ospf_flood_through): Incoming Type-7's were allowed here if our
1435 neighbor was an NSSA. So Flood our area with the Type-7 and also
1436 if we are an ABR, flood thru AS as Type-5.
1437
1438 * ospf_lsa.c (ospf_external_lsa_refresh): Flood NSSA both NSSA
1439 area and other area.
1440
1441 * ospf_packet.c (ospf_db_desc_proc): When AS External LSA is
1442 exists in DD packet, make it sure that this area is not stub.
1443 (ospf_ls_upd_list_lsa): When LSA type is NSSA then set lsa's area
1444 to NULL.
1445 (ospf_ls_upd): If the LSA is AS External LSA and the area is stub
1446 then discard the lsa. If the LSA is NSSA LSA and the area is not
1447 NSSA then discard the lsa.
1448
14492000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1450
1451 * ospfd.c (ospf_interface_run): Fix bug of Hello packet's option
1452 is not properly set when interface comes up.
1453
14542000-11-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1455
1456 * ospfd.h (OSPF_OPTION_O): Add new hello header option.
1457
14582000-11-01 Dick Glasspool <dick@ipinfusion.com>
1459
1460 * ospf_lsa.h: Define OSPF_MAX_LSA to 8 when HAVE_NSSA is enabled.
1461 (OSPF_GROUP_MEMBER_LSA): Define OSPF_GROUP_MEMBER_LSA.
1462
1463 * ospf_lsa.c (show_database_desc): Add "Group Membership LSA"
1464 string.
1465
14662000-10-31 Dick Glasspool <dick@ipinfusion.com>
1467
1468 * ospf_lsa.h (OSPF_AS_NSSA_LSA): Define OSPF_AS_NSSA_LSA.
1469
1470 * ospf_lsa.c (show_ip_ospf_database): NSSA database display
1471 function is added. ALIASES which have "show ip ospf database
1472 nssa-external" is added.
1473 (show_ip_ospf_border_routers): New command "show ip ospf
1474 border-routers" is added.
1475
14762000-10-30 Dick Glasspool <dick@ipinfusion.com>
1477
1478 * ospfd.c (router_ospf): NSSA Enabled message is added for
1479 testing.
1480 (ospf_area_type_set): Are type set for NSSA area.
1481 (ospf_area_stub_cmd): Special translation of no_summary into NSSA
1482 and summary information. If NSSA is enabled pass the information
1483 to ospf_area_type_set().
1484 (area_nssa): New commands are added:
1485 "area A.B.C.D nssa"
1486 "area <0-4294967295> nssa"
1487 "area A.B.C.D nssa no-summary"
1488 "area <0-4294967295> nssa no-summary"
1489 (ospf_no_area_stub_cmd): Special translation of no_summary into
1490 NSSA and summary information. If external_routing is
1491 OSPF_AREA_NSSA unset area with ospf_area_type_set (area,
1492 OSPF_AREA_DEFAULT).
1493 (show_ip_ospf_area): Display NSSA status.
1494 (config_write_ospf_area): Show NSSA configuration.
1495
1496 * ospf_packet.c (ospf_hello): For NSSA support, ensure that NP is
1497 on and E is off.
1498
14992000-10-26 Gleb Natapov <gleb@nbase.co.il>
1500
1501 * ospf_lsa.c (ospf_network_lsa_body_set): The network-LSA lists
1502 those routers that are fully adjacent to the Designated Router;
1503 each fully adjacent router is identified by its OSPF Router ID.
1504 The Designated Router includes itself in this list. RFC2328,
1505 Section 12.4.2.
1506
15072000-10-23 Jochen Friedrich <jochen@scram.de>
1508
1509 * ospf_snmp.c: ospf_oid and ospfd_oid are used in smux_open after
1510 it is registered. So those variables must be static.
1511
15122000-10-18 K N Sridhar <sridhar@euler.ece.iisc.ernet.in>
1513
1514 * ospfd.c: Add area_default_cost_decimal_cmd and
1515 no_area_default_cost_decimal_cmd alias.
1516
15172000-10-05 Gleb Natapov <gleb@nbase.co.il>
1518
1519 * ospfd.c (ospf_network_new): Fix setting area format.
1520 (no_router_ospf): Check area existance when calling
1521 ospf_interface_down().
1522
1523 * ospf_flood.c (ospf_external_info_check): Fix bug of refreshing
1524 default route.
1525
15262000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1527
1528 * zebra-0.89 is released.
1529
15302000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1531
1532 * ospf_snmp.c (ospfHostEntry): OSPF Host MIB is implemented.
1533
1534 * ospfd.c (ospf_nbr_static_cmp): OSPF neighbor is sorted by it's
1535 address.
1536
15372000-09-28 Michael Rozhavsky <mike@nbase.co.il>
1538
1539 * ospf_interface.c (ospf_if_free): Fix deleting self neighbor twice.
1540
15412000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1542
1543 * ospf_packet.c (ospf_read): Solaris on x86 has ip_len with host
1544 byte order.
1545
15462000-09-25 Toshiaki Takada <takada@zebra.org>
1547
1548 * ospfd.c (ospf_compatible_rfc1583), (no_ospf_compatible_rfc1583):
1549 Add CISCO compatible command.
1550
15512000-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1552
1553 * ospf_abr.c (ospf_area_range_lookup): New function is added for
1554 area range lookup in OSPF-MIB.
1555 (ospf_area_range_lookup_next): Likewise.
1556
15572000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1558
1559 * ospfd.c (no_router_ospf): Delete virtual link before deleting
1560 area structure.
1561
1562 * ospf_lsa.c (ospf_external_lsa_refresh_type): Check
1563 EXTERNAL_INFO(type).
1564
1565 * ospfd.c (no_router_ospf): Call ospf_vl_delete() instead of
1566 ospf_vl_data_free().
1567
1568 * ospf_interface.c (ospf_vl_shutdown): Execute ISM_InterfaceDown
1569 when ospf_vl_shutdown is called.
1570 (ospf_vl_delete): Call ospf_vl_shutdown() to delete virtual link
1571 interface's thread.
1572
15732000-09-21 Gleb Natapov <gleb@nbase.co.il>
1574
1575 * ospf_lsa.c: New implementation of OSPF refresh.
1576
15772000-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1578
1579 * ospf_snmp.c (ospfLsdbLookup): Add LSDB MIB implementation.
1580
15812000-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1582
1583 * ospf_snmp.c (ospfStubAreaEntry): Add OSPF stub area MIB.
1584
15852000-09-18 Gleb Natapov <gleb@nbase.co.il>
1586
1587 * ospf_route.h (route_standard): Change member from `struct area'
1588 to area_id.
1589
1590 * ospf_abr.c (ospf_abr_announce_network), (ospf_abr_should_announce),
1591 (ospf_abr_process_network_rt), (ospf_abr_announce_rtr),
1592 (ospf_abr_process_router_rt):
1593 * ospf_ase.c (ospf_find_asbr_route),
1594 (ospf_find_asbr_router_through_area),
1595 * ospf_ia.c (ospf_find_abr_route), (ospf_ia_router_route),
1596 (process_summary_lsa), (ospf_update_network_route),
1597 (ospf_update_router_route):
1598 * ospf_route.c (ospf_intra_route_add), (ospf_intra_add_router),
1599 (ospf_intra_add_transit), (ospf_intra_add_stub),
1600 (ospf_route_table_dump), (show_ip_ospf_route_network),
1601 (show_ip_ospf_route_router), (ospf_asbr_route_cmp),
1602 (ospf_prune_unreachable_routers):
1603 * ospf_spf.c (ospf_rtrs_print):
1604 * ospfd.c (ospf_rtrs_free): Fix the struct change above.
1605
16062000-09-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1607
1608 * ospf_network.c (ospf_serv_sock_init): Enclose SO_BINDTODEVICE
1609 with ifdef.
1610
16112000-09-13 Gleb Natapov <gleb@nbase.co.il>
1612
1613 * ospf_ism.c (ospf_elect_dr), (ospf_elect_bdr): Fix DR election.
1614
1615 * ospf_network.c (ospf_serv_sock_init): Add socket option
1616 SO_BINDTODEVICE on read socket.
1617
1618 * ospf_packet.c (ospf_hello): Ignore Hello packet if E-bit does
1619 not match.
1620
1621 * ospfd.c (ospf_area_check_free), (ospf_area_get),
1622 (ospf_area_add_if): New function added.
1623
16242000-09-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1625
1626 * ospf_route.c (ospf_intra_add_router): Update ABR and ASBR router
1627 count.
1628
1629 * ospf_spf.c (ospf_spf_init): Rest ABR and ASBR router count
1630 starting SPF calculation.
1631
1632 * ospfd.h (struct ospf_area): Add ABR and ASBR router count.
1633
16342000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1635
1636 * ospfd.c (ospf_area_id_cmp): New area structure is sorted by area
1637 ID.
1638
1639 * ospf_lsa.c (ospf_router_lsa_originate): For OSPF MIB update
1640 lsa_originate_count.
1641 (ospf_network_lsa_originate): Likewise.
1642 (ospf_summary_lsa_originate): Likewise.
1643 (ospf_summary_asbr_lsa_originate): Likewise.
1644 (ospf_external_lsa_originate): Likewise.
1645
16462000-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1647
1648 * ospf_snmp.c (ospf_variables): ospfRouterID's type RouterID
1649 syntax is IpAddress.
1650 (ospf_admin_stat): New function for OSPF administrative status
1651 check.
1652
16532000-09-10 Jochen Friedrich <jochen@scram.de>
1654
1655 * ospf_snmp.c: Implement OSPF MIB skeleton.
1656
16572000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1658
1659 * ospf_snmp.c: New file is added.
1660
16612000-09-07 David Lipovkov <davidl@nbase.co.il>
1662
1663 * ospf_zebra.c (ospf_interface_delete): Add pseudo interface
1664 treatment.
1665
1666 * ospf_interface.c (interface_config_write): Likewise.
1667
16682000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1669
1670 * zebra-0.88 is released.
1671
16722000-08-17 Michael Rozhavsky <mike@nbase.co.il>
1673
1674 * ospfd.c (ospf_area_free): Remove virtual link configuration only
1675 when Area is removed.
1676
16772000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1678
1679 * ospfd.c (network_area): Revert check for EXTERNAL_INFO
1680 (ZEBRA_ROUTE_CONNECT).
1681 (no_network_area): Likewise.
1682
16832000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1684
1685 * ospfd.h (struct ospf): Add distance_table and
1686 distance_{all,intra,inter,external}.
1687
1688 * ospf_zebra.c: Add OSPF distance related functions.
1689
16902000-08-15 Gleb Natapov <gleb@nbase.co.il>
1691
1692 * ospf_asbr.c (ospf_external_info_find_lsa): New function added.
1693
1694 * ospf_lsa.c (ospf_default_external_info),
1695 (ospf_default_originate_timer), (ospf_external_lsa_refresh_default):
1696 New function added.
1697
1698 * ospf_zebra.c
1699 (ospf_default_information_originate_metric_type_routemap),
1700 (ospf_default_information_originate_always_metric_type_routemap):
1701 Change name and add route-map function.
1702 (ospf_default_information_originate_metric_routemap),
1703 (ospf_default_information_originate_routemap),
1704 (ospf_default_information_originate_type_metric_routemap):
1705 New DEFUN added.
1706
17072000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1708
1709 * ospf_zebra.c (zebra_interface_if_set_value): Change ifindex
1710 restore size from two octet to four.
1711
17122000-08-14 Michael Rozhavsky <mike@nbase.co.il>
1713
1714 * ospf_ase.c (ospf_ase_incremental_update): Implement incremental
1715 AS-external-LSA in 16.6 of RFC2328.
1716
17172000-08-14 Matthew Grant <grantma@anathoth.gen.nz>
1718
1719 * ospf_interface.c (ospf_if_get_output_cost): Change cost
1720 calculation algorithm.
1721
1722 * ospf_packet (ospf_ls_upd): Fix problem of LSA retransmitting.
1723
17242000-08-11 Michael Rozhavsky <mike@nbase.co.il>
1725
1726 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix maxage remover for
1727 AS-external-LSAs.
1728
17292000-08-10 Toshiaki Takada <takada@zebra.org>
1730
1731 * ospfd.c (auto_cost_reference_bandwidth): New DEFUN added.
1732 `auto-cost reference-bandwidth' OSPF router command added.
1733
17342000-08-08 Gleb Natapov <gleb@nbase.co.il>
1735
1736 * ospf_routemap.c (ospf_route_map_update): New function added.
1737 Add route-map event hook.
1738
17392000-08-08 Toshiaki Takada <takada@zebra.org>
1740
1741 * ospf_zebra.c (ospf_distribute_check_connected): If redistribute
1742 prefix is connected route on OSPF enabled interface, suppress to
1743 announce it.
1744
17452000-08-08 Matthew Grant <grantma@anathoth.gen.nz>
1746
1747 * ospf_interface.c (ospf_if_get_output_cost):
1748 New function added. Handle bandwidth parameter for cost
1749 calculation.
1750
17512000-08-08 Michael Rozhavsky <mike@nbase.co.il>
1752
1753 * ospf_interface.c (interface_config_write): Show interface
1754 configuration regardless interface is down.
1755
1756 * ospf_ase.c (ospf_ase_caocluate_route): Whole rewritten external
1757 route calculate function.
1758
17592000-08-08 Gleb Natapov <gleb@nbase.co.il>
1760
1761 * ospf_routemap.c: New file added.
1762
1763 * ospf_asbr.c (ospf_reset_route_map_set_values),
1764 (ospf_route_map_set_compare): New function added.
1765
1766 * ospf_lsa.c (ospf_external_lsa_body_set): Set routemap metric
1767 with AS-external-LSA.
1768
17692000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1770
1771 * ospf_ase.c (ospf_ase_calculate_route_add): Pass new->cost to
1772 ospf_zebra_add as metric.
1773 (ospf_ase_calculate_route_add): Likewise.
1774
1775 * ospf_route.c (ospf_route_install): Pass or->cost to
1776 ospf_zebra_add as metric.
1777
1778 * ospf_zebra.c (ospf_zebra_add): Add metric arguemnt.
1779 (ospf_zebra_delete): Likewise.
1780
17812000-08-03 Matthew Grant <grantma@anathoth.gen.nz>
1782
1783 * ospf_flood.c (ospf_flood_delayed_lsa_ack): New function added.
1784 Dispatch delayed-ACK with flooding AS-external-LSA across virtual
1785 link.
1786
17872000-07-31 Matthew Grant <grantma@anathoth.gen.nz>
1788
1789 * ospfd.c (show_ip_ospf_area): Fix lack of VTY_NEWLINE when
1790 `show ip ospf'.
1791
1792 * ospf_interface.c (ospf_if_free): Fix bug of crash with
1793 Point-to-Point interface.
1794
17952000-07-27 Michael Rozhavsky <mike@nbase.co.il>
1796
1797 * ospf_flood.c (ospf_process_self_originated_lsa):
1798 Make sure to clear LSA->param (redistributed external information)
1799 before refreshment.
1800
18012000-07-27 Gleb Natapov <gleb@nbase.co.il>
1802
1803 * ospfd.c (refresh_group_limit), (refresh_per_slice),
1804 (refresh_age_diff): New defun added. Refresher related parameter
1805 can be configurable.
1806
18072000-07-27 Akihiro Mizutani <mizutani@dml.com>
1808
1809 * ospf_interface.c (interface_config_write): Print `description'
1810 config directive to work.
1811
18122000-07-24 Akihiro Mizutani <mizutani@dml.com>
1813
1814 * ospf_interface.c (ospf_if_init): Use install_default for
1815 INTERFACE_NODE.
1816
18172000-07-24 Gleb Natapov <gleb@nbase.co.il>
1818
1819 * ospf_packet.c (ospf_ls_upd_send_list), (ospf_ls_upd_send_event),
1820 (ospf_ls_ack_send_list), (ospf_ls_ack_send_event): New function added.
1821 This make sending always as many LS update/Ack combined in one ospf
1822 packet.
1823
18242000-07-24 Gleb Natapov <gleb@nbase.co.il>
1825
1826 * ospf_packet.c (ospf_ls_upd_list_lsa): Set NULL to lsa->area if
1827 LSA is AS-external-LSA.
1828
1829 * ospf_nsm.c (nsm_reset_nbr): Do not cancel Inactivity timer.
1830
18312000-07-21 Toshiaki Takada <takada@zebra.org>
1832
1833 * ospf_zebra.c (ospf_default_originate_timer): Set timer for
1834 `default-information originate'. Fix some default originate
1835 related functions.
1836
18372000-07-12 Toshiaki Takada <takada@zebra.org>
1838
1839 * ospf_lsa.c (stream_put_ospf_metric): New function added.
1840
18412000-07-12 Toshiaki Takada <takada@zebra.org>
1842
1843 * ospf_lsa.c (show_ip_ospf_database_router),
1844 (show_ip_ospf_database_network), (show_ip_ospf_database_summary),
1845 (show_ip_ospf_database_summary_asbr), (show_ip_ospf_database_externel),
1846 (show_router_lsa), (show_any_lsa), (show_router_lsa_self),
1847 (show_any_lsa_self): Functions removed.
1848
1849 (show_lsa_prefix_set), (show_lsa_detail_proc), (show_lsa_detail),
1850 (show_lsa_detail_adv_router_proc), (show_lsa_detail_adv_router):
1851 New functions added. Replace above functions.
1852
1853 (show_ip_ospf_database_all), (show_ip_ospf_database_self_originated):
1854 Functions removed.
1855 (show_ip_ospf_database_summary): New functions added. Replace
1856 above functions.
1857
1858 (show_ip_ospf_database_cmd): DEFUN rearranged.
1859 (show_ip_ospf_database_type_id_cmd),
1860 (show_ip_ospf_database_type_id_adv_router_cmd),
1861 (show_ip_ospf_database_type_is_self_cmd): New ALIASes added.
1862 (show_ip_ospf_database_type_adv_rotuer_cmd): New DEFUN added.
1863 (show_ip_ospf_database_type_self_cmd): New ALIAS added.
1864
18652000-07-11 Toshiaki Takada <takada@zebra.org>
1866
1867 * ospf_asbr.c (ospf_external_info_new),
1868 (ospf_external_info_free): New functions added.
1869
1870 * ospf_lsa.h (ospf_lsa): Add new member `void *param' to set
1871 origination parameter for external-LSA.
1872 Remove member `redistribute'.
1873
1874 * ospf_zebra.c (ospf_redistirbute_set): When `redistribute'
1875 command executed, metric and metric-type values are overridden.
1876 If one of those is changed refresh AS-external-LSAs for appropriate
1877 type.
1878
18792000-07-11 Michael Rozhavsky <mike@nbase.co.il>
1880
1881 * ospf_lsa.c (ospf_summary_lsa_refresh),
1882 (ospf_summary_asbr_lsa_refresh): Make sure to refresh summary-LSAs.
1883
1884 * ospf_abr.c (set_metric): New function added.
1885
18862000-07-07 Toshiaki Takada <takada@zebra.org>
1887
1888 * ospf_zebra.c (ospf_default_information_originate_metric_type),
1889 (ospf_default_information_originate_type_metric): New defun added.
1890 Metic and Metric type can be set to default route.
1891 (ospf_default_information_originate_always_metric_type):
1892 (ospf_default_information_originate_always_type_metric):
1893 New defun added. Metric and Metric type can be set to default
1894 always route.
1895
1896 * ospf_zebra.c (ospf_default_metric), (no_ospf_default_metric):
1897 New defun added.
1898
18992000-07-06 Gleb Natapov <gleb@nbase.co.il>
1900
1901 * ospf_flood.c (ospf_flood_through_area): Fix bug of considering
1902 on the same interface the LSA was received from.
1903
19042000-07-06 Michael Rozhavsky <mike@nbase.co.il>
1905
1906 * ospfd.c (ospf_config_write): Fix bug of printing `area stub'
1907 command with `write mem'.
1908
1909 * ospfd.c (no_router_ospf): Remove installed routes from zebra.
1910
1911 * ospf_zebra.c (ospf_interface_delete): Fix function to handle
1912 zebra interface delete event.
1913
19142000-07-06 Toshiaki Takada <takada@zebra.org>
1915
1916 * ospf_zebra.c (ospf_default_information_originate),
1917 (ospf_default_information_originate_always): New DEFUN added.
1918
19192000-07-05 Michael Rozhavsky <mike@nbase.co.il>
1920
1921 * ospf_route.c (ospf_terminate): Make sure to remove external route
1922 when SIGINT received.
1923
19242000-07-03 Gleb Natapov <gleb@nbase.co.il>
1925
1926 * ospf_flood.c, ospf_ism.c, ospf_lsa,c, ospfd.c: Make sure to free
1927 many structure with `no router ospf'.
1928
19292000-06-30 Gleb Natapov <gleb@nbase.co.il>
1930
1931 * ospf_neighbor.c (ospf_nbr_new),
1932 ospf_nsm.c (nsm_timer_set): Start LS update timer only
1933 when neighbor enters Exchange state.
1934
19352000-06-29 Gleb Natapov <gleb@nbase.co.il>
1936
1937 * ospf_nsm.c (nsm_timer_set), (nsm_exchange_done),
1938 ospf_packet.c (ospf_db_desc_proc):
1939 Do not cancel DD retransmit timer when Master.
1940
19412000-06-29 Gleb Natapov <gleb@nbase.co.il>
1942
1943 * ospf_abr.c (ospf_abr_announce_network_to_area),
1944 (ospf_abr_announce_rtr_to_area)
1945 ospf_ase.c (ospf_ase_rtrs_register_lsa),
1946 ospf_flood.c (ospf_process_self_originated_lsa),
1947 (ospf_flood_through_area), (ospf_ls_request_delete),
1948 ospf_interface.c (ospf_if_free),
1949 ospf_ism.c (ism_change_status),
1950 ospf_lsa.c (ospf_router_lsa_update_timer),
1951 (ospf_router_lsa_install), (ospf_network_lsa_install),
1952 (ospf_lsa_maxage_delete), (ospf_lsa_action),
1953 (ospf_schedule_lsa_flood_area),
1954 ospf_nsm.c (nsm_change_status),
1955 ospf_packet.c (ospf_make_ls_req_func), (ospf_make_ls_ack):
1956 Use ospf_lsa_{lock,unlock} for all looking-up of LSA.
1957
1958 * ospf_flood.c (ospf_ls_request_free): Function deleted.
1959
1960 * ospf_lsa.c (ospf_discard_from_db): New function added.
1961
19622000-06-26 Toshiaki Takada <takada@zebra.org>
1963
1964 * ospfd.h (ospf): struct member `external_lsa' name changed to
1965 `lsdb'.
1966
19672000-06-26 Toshiaki Takada <takada@zebra.org>
1968
1969 * ospf_lsa.c (ospf_lsa_install), (ospf_router_lsa_install),
1970 (ospf_network_lsa_install), (ospf_summary_lsa_install),
1971 (ospf_summary_asbr_lsa_install), (ospf_external_lsa_install):
1972 Functions re-arranged.
1973
1974 * ospf_lsa.c (IS_LSA_MAXAGE), (IS_LSA_SELF): Macro added.
1975
19762000-06-20 Michael Rozhavsky <mike@nbase.co.il>
1977
1978 * ospf_packet.c (ospf_ls_req), (ospf_ls_upd), (ospf_ls_ack): Add
1979 verification of LS type.
1980
19812000-06-20 Gleb Natapov <gleb@nbase.co.il>
1982
1983 * ospf_ase.c (ospf_ase_calculate_timer): Add more sanity check
1984 whether rn->info is NULL.
1985
19862000-06-20 Toshiaki Takada <takada@zebra.org>
1987
1988 * ospfd.c (show_ip_ospf_interface_sub): Show Router-ID of both
1989 DR and Backup correctly with `show ip ospf interface' command.
1990
19912000-06-20 Toshiaki Takada <takada@zebra.org>
1992
1993 * ospf_lsa.c (ospf_lsa_lock), (ospf_lsa_unlock),
1994 (ospf_lsa_discard): These functions are used for avoiding
1995 unexpected reference to freed LSAs.
1996
19972000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1998
1999 * ospf_packet.c (ospf_ls_upd): Initialize lsa by NULL to avoid
2000 warning.
2001
20022000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2003
2004 * ospf_ase.h (ospf_ase_rtrs_register_lsa): Add prototype.
2005
20062000-06-12 Toshiaki Takada <takada@zebra.org>
2007
2008 * ospf_lsa.c (ospf_external_lsa_install): Make sure to register
2009 LSA to rtrs_external when replacing AS-external-LSAs in LSDB.
2010 Fix core dump.
2011
20122000-06-10 Toshiaki Takada <takada@zebra.org>
2013
2014 * ospf_lsdb.c (id_to_prefix), (ospf_lsdb_hash_key),
2015 (ospf_lsdb_hash_cmp), (ospf_lsdb_new), (ospf_lsdb_iterator),
2016 (lsdb_free), (ospf_lsdb_free), (ospf_lsdb_add), (ospf_lsdb_delete),
2017 (find_lsa), (ospf_lsdb_lookup), (find_by_id),
2018 (ospf_lsdb_lookup_by_id), (ospf_lsdb_lookup_by_header): Functinos
2019 removed for migration to new_lsdb.
2020
2021 * ospf_lsa.c (ospf_summary_lsa_install),
2022 (ospf_summary_asbr_lsa_install), (ospf_maxage_lsa_remover),
2023 (ospf_lsa_maxage_walker), (ospf_lsa_lookup),
2024 (ospf_lsa_lookup_by_id): Use new_lsdb instead of ospf_lsdb.
2025 (count_lsa), (ospf_lsa_count_table), (ospf_lsa_count),
2026 (ospf_get_free_id_for_prefix): Funcitions removed.
2027
20282000-06-09 Gleb Natapov <gleb@nbase.co.il>
2029
2030 * ospf_ism.c (ism_interface_down): Prevent some unneeded DR changes.
2031
2032 * ospf_packet.c (ospf_db_desc_proc): Fix memory leak.
2033 (ospf_hello): Always copy router-ID when hello is received.
2034
20352000-06-08 Gleb Natapov <gleb@nbase.co.il>
2036
2037 * ospf_lsa.h (struct ospf_lsa): Add member of pointer to struct
2038 ospf_area.
2039
20402000-06-08 Michael Rozhavsky <mike@nbase.co.il>
2041
2042 * ospf_ase.c (ospf_asbr_route_same): New function added.
2043 This function makes sure external route calculation more
2044 precisely.
2045
20462000-06-07 Michael Rozhavsky <mike@nbase.co.il>
2047
2048 * ospf_ism.c (ism_change_status): Use ospf_lsa_flush_area for
2049 network-LSA deletion instead of using ospf_lsdb_delete.
2050 Also cancel network-LSA origination timer.
2051
20522000-06-07 Levi Harper <lharper@kennedytech.com>
2053
2054 * ospf_interface.c (ospf_if_down): Close read fd when an interface
2055 goes down.
2056
20572000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2058
2059 * ospf_asbr.c (ospf_external_info_lookup): Add explicit brace for
2060 avoid ambiguous else.
2061
2062 * ospf_flood.c (ospf_external_info_check): Likewise.
2063
20642000-06-05 Toshiaki Takada <takada@zebra.org>
2065
2066 * ospf_nsm.c (nsm_adj_ok): Fix bug of DR election.
2067
20682000-06-04 Toshiaki Takada <takada@zebra.org>
2069
2070 * ospf_zebra.c (ospf_default_information_originate),
2071 (no_ospf_default_information_originate): New DEFUN added.
2072
20732000-06-03 Toshiaki Takada <takada@zebra.org>
2074
2075 * ospf_lsa.h, ospf_asbr.h (external_info): Struct moved from
2076 ospf_lsa.h to ospf_asbr.h.
2077
2078 * ospf_lsa.c, ospf_asbr.c (ospf_external_info_add),
2079 (ospf_external_info_delete): Function moved from ospf_lsa.c
2080 to ospf_asbr.c.
2081
20822000-06-03 Toshiaki Takada <takada@zebra.org>
2083
2084 * ospf_flood.c (ospf_external_info_check): New function added.
2085 (ospf_process_self_orignated_lsa): Make sure to flush
2086 self-originated AS-external-LSA, when router reboot and no longer
2087 originate those AS-external-LSA.
2088
20892000-06-02 Toshiaki Takada <takada@zebra.org>
2090
2091 * ospf_network.c (ospf_serv_sock): Remove SO_DONTROUTE
2092 socket option.
2093
2094 * ospf_packet.c (ospf_write): Set MSG_DONTROUTE flag for
2095 unicast destination packets.
2096
20972000-06-02 Toshiaki Takada <takada@zebra.org>
2098
2099 * ospf_lsdb.c (new_lsdb_delete): Delete entry from LSDB only when
2100 specified LSA matches.
2101
21022000-06-02 Gleb Natapov <gleb@nbase.co.il>
2103
2104 * ospf_network.c (ospf_serv_sock): Set SO_DONTROUTE
2105 socket option.
2106
21072000-06-01 Akihiro Mizutani <mizutani@dml.com>
2108
2109 * ospf_dump.c: Replace string `Debugging functions\n' with DEBUG_STR.
2110 Replace string `OSPF information\n' with OSPF_STR.
2111
21122000-06-01 Toshiaki Takada <takada@zebra.org>
2113
2114 * ospf_lsdb.[ch]: Use new_lsdb struct for network-LSA instead of
2115 ospf_lsdb.
2116
21172000-06-01 Toshiaki Takada <takada@zebra.org>
2118
2119 * ospf_dump.c (config_debug_ospf_packet), (config_debug_ospf_event),
2120 (config_debug_ospf_ism), (config_debug_ospf_nsm),
2121 (config_debug_ospf_lsa), (config_debug_ospf_zebra),
2122 (term_debug_ospf_packet), (term_debug_ospf_event),
2123 (term_debug_ospf_ism), (term_debug_ospf_nsm),
2124 (term_debug_ospf_lsa), (term_debug_ospf_zebra): Repalce debug_ospf_*
2125 variable to use for debug option flags.
2126
2127 (debug_ospf_packet), (debug_ospf_ism), (debug_ospf_nsm),
2128 (debug_ospf_lsa), (debug_ospf_zebra): Set {config,term}_debug_*
2129 flags when vty->node is CONFIG_NODE, otherwise set only term_debug_*
2130 flags.
2131
2132 * ospf_dump.h (CONF_DEBUG_PACKET_ON), (CONF_DEBUG_PACKET_OFF),
2133 (TERM_DEBUG_PACKET_ON), (TERM_DEBUG_PACKET_OFF),
2134 (CONF_DEBUG_ON), (CONF_DEBUG_OFF), (IS_CONF_DEBUG_OSPF_PACKET),
2135 (IS_CONF_DEBUG_OSPF): New Macro added.
2136
21372000-05-31 Toshiaki Takada <takada@zebra.org>
2138
2139 * ospfd.c (clear_ip_ospf_neighbor): New DEFUN added.
2140 Currently this command is used for only debugging.
2141
2142 * ospf_nsm.c (nsm_change_status): Make sure thread cancellation
2143 for network-LSA when DR has no full neighbors.
2144
2145 * ospf_nsm.c (ospf_db_summary_clear): New function added.
2146
21472000-05-30 Toshiaki Takada <takada@zebra.org>
2148
2149 * ospf_lsdb.c (new_lsdb_insert): LSAs are always freed by
2150 maxage_lsa_remover when LSA is replaced.
2151
21522000-05-25 Gleb Natapov <gleb@nbase.co.il>
2153
2154 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all): Add argument
2155 `struct ospf_area' to remove LSA from Link State retransmission list
2156 of neighbor from only one Area.
2157
21582000-05-24 Michael Rozhavsky <mike@nbase.co.il>
2159
2160 * ospf_lsdb.c (ospf_lsdb_add): Preserve flags field when
2161 overriting old LSA with new LSA.
2162
21632000-05-24 Gleb Natapov <gleb@nbase.co.il>
2164
2165 * ospf_lsa.c (ospf_router_lsa_body_set): Fix bug of router-LSA
2166 size calculation.
2167
21682000-05-22 Michael Rozhavsky <mike@nbase.co.il>
2169
2170 * ospf_route.c (ospf_intra_add_stub):
2171 * ospf_spf.h (struct vertex): Use u_int32_t for distance (cost)
2172 value instead of u_int16_t.
2173
21742000-05-22 Axel Gerlach <agerlach@datus.datus.com>
2175
2176 * ospf_ia.c (ospf_ia_network_route): Fix bug of Inter-area route
2177 equal cost path calculation.
2178
21792000-05-21 Toshiaki Takada <takada@zebra.org>
2180
2181 * ospf_ase.c (ospf_ase_calculate_route_delete): New function added.
2182 Make sure, when rotuer route is deleted, related external routes
2183 are also deleted.
2184
21852000-05-20 Toshiaki Takada <takada@zebra.org>
2186
2187 * ospfd.c (ospf_interface_down): Make sure interface flag is disable
2188 and set fd to -1.
2189
21902000-05-16 Toshiaki Takada <takada@zebra.org>
2191
2192 * ospf_asbr.c (ospf_asbr_should_announce), (ospf_asbr_route_remove):
2193 Functions removed.
2194
2195 * ospfd.h (EXTERNAL_INFO): Macro added.
2196 Substitute `ospf_top->external_info[type]' with it.
2197
21982000-05-16 Toshiaki Takada <takada@zebra.org>
2199
2200 * ospf_lsa.c (ospf_rtrs_external_remove): New function added.
2201
22022000-05-14 Gleb Natapov <gleb@nbase.co.il>
2203
2204 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all)
2205 * ospf_lsdb.c (new_lsdb_insert)
2206 * ospf_packet.c (ospf_ls_ack): Fix database synchonization problem.
2207
22082000-05-14 Gleb Natapov <gleb@nbase.co.il>
2209
2210 * ospf_lsa.h (tv_adjust), (tv_ceil), (tv_floor), (int2tv),
2211 (tv_add), (tv_sub), (tv_cmp): Prototype definition added.
2212
2213 * ospf_nsm.h (ospf_db_summary_delete_all): Prototype definition added.
2214
22152000-05-13 Toshiaki Takada <takada@zebra.org>
2216
2217 * ospf_lsa.[ch] (ospf_lsa): struct timestamp type is changed from
2218 time_t to struct timeval.
2219 (tv_adjust), (tv_ceil), (tv_floor), (int2tv), (tv_add),
2220 (tv_sub), (tv_cmp): timeval utillity functions added.
2221
22222000-05-12 Toshiaki Takada <takada@zebra.org>
2223
2224 * ospf_lsa.[ch] (ospf_schedule_update_router_lsas): Delete function.
2225 Change to use macro OSPF_LSA_UPDATE_TIMER instead of using
2226 this function.
2227 router-LSA refresh timer related stuff is re-organized.
2228
22292000-05-10 Gleb Natapov <gleb@nbase.co.il>
2230
2231 * ospf_interface.c (ospf_vl_set_params):
2232 * ospf_packet.c (ospf_check_network_mask):
2233 * ospf_spf.[ch] (ospf_spf_next):
2234 Remove field address from `struct vertex', and search for peer
2235 address of virtual link in function `ospf_vl_set_params' instead.
2236
22372000-05-10 Gleb Natapov <gleb@nbase.co.il>
2238
2239 * ospf_packet.c (ospf_ls_upd): Fix some memory leak related LSA.
2240
22412000-05-08 Thomas Molkenbur <tmo@datus.com>
2242
2243 * ospf_packet.c (ospf_packet_dup): Replace ospf_steram_copy()
2244 with ospf_stream_dup() to fix memory leak.
2245
22462000-05-08 Michael Rozhavsky <mike@nbase.co.il>
2247
2248 * ospf_flood.c (ospf_flood_through_area): Fix the problem of
2249 LSA update without DROther.
2250
22512000-05-04 Gleb Natapov <gleb@nbase.co.il>
2252
2253 * ospf_spf.c (ospf_vertex_free): Fix memory leak of SPF calculation.
2254
22552000-05-03 Toshiaki Takada <takada@zebra.org>
2256
2257 * ospf_neighbor.c (ospf_db_summary_add): Use new_lsdb struct
2258 instead linked-list.
2259 (ospf_db_summary_count), (ospf_db_summary_isempty):
2260 New function added.
2261
2262 * ospf_lsa.c (ospf_rotuer_lsa): Re-arrange and divide functions.
2263
22642000-05-02 Gleb Natapov <gleb@nbase.co.il>
2265
2266 * ospf_lsdb.c (new_lsdb_cleanup): Fix memory leak. When LSDB are
2267 not needed any more, then free them.
2268
22692000-05-02 Toshiaki Takada <takada@zebra.org>
2270
2271 * ospfd.c (timers_spf), (no_timers_spf): New defun added.
2272 SPF calculation timers related stuff is rearranged.
2273
2274 * ospf_spf.c (ospf_spf_calculate_timer_add): Function removed.
2275 SPF timer is scheduled by SPF calculation delay and holdtime
2276 configuration variable.
2277
2278 * ospf_lsa.c (ospf_external_lsa_nexthop_get): Set AS-external-LSA's
2279 forwarding address when nexthop learned by other protocols is
2280 in the OSPF domain.
2281
2282 * ospf_zebra.c (ospf_redistribute_source_metric_type),
2283 (ospf_redistribute_source_type_metric): Re-arrange DEFUNs and
2284 ALIASes.
2285
22862000-05-01 Toshiaki Takada <takada@zebra.org>
2287
2288 * ospf_flood.c (ospf_ls_retransmit_count),
2289 (ospf_ls_retransmit_isempty): New function added.
2290
2291 (ospf_ls_retransmit_add), (ospf_ls_retransmit_delete),
2292 (ospf_ls_retransmit_clear), (ospf_ls_retransmit_lookup),
2293 (ospf_ls_retransmit_delete_all), (ospf_ls_retransmit_delete_nbr_all),
2294 (ospf_ls_retransmit_add_nbr_all): Replace these functions to use
2295 new_lsdb.
2296
22972000-04-29 Toshiaki Takada <takada@zebra.org>
2298
2299 * ospfd.c (no_network_area): Add check Area-ID whether specified
2300 Area-ID with prefix matches config.
2301
23022000-04-27 Toshiaki Takada <takada@zebra.org>
2303
2304 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix problem of
2305 remaining withdrawn routes on zebra.
2306
23072000-04-25 Michael Rozhavsky <mike@nbase.co.il>
2308
2309 * ospf_nsm.c (nsm_kill_nbr), (nsm_ll_down), (nsm_change_status),
2310 (ospf_nsm_event): Fix network-LSA re-origination problem.
2311
23122000-04-24 Toshiaki Takada <takada@zebra.org>
2313
2314 * ospf_nsm.c (ospf_db_desc_timer): Fix bug of segmentation fault
2315 with DD retransmission.
2316
2317 * ospf_nsm.c (nsm_kill_nbr): Fix bug of re-origination when
2318 a neighbor disappears.
2319
23202000-04-23 Michael Rozhavsky <mike@nbase.co.il>
2321
2322 * ospf_abr.c (ospf_abr_announce_network_to_area): Fix bug of
2323 summary-LSAs reorigination. Correctly copy OSPF_LSA_APPROVED
2324 flag to new LSA. when summary-LSA is reoriginatd.
2325
2326 * ospf_flood.c (ospf_flood_through_area): Fix bug of flooding
2327 procedure. Change the condition of interface selection.
2328
23292000-04-21 Toshiaki Takada <takada@zebra.org>
2330
2331 * ospf_lsa.c (ospf_refresher_register_lsa): Fix bug of refresh never
2332 occurs.
2333
2334 * ospfd.c (show_ip_ospf_neighbor_id): New defun added.
2335 `show ip ospf neighbor' related commands are re-arranged.
2336
23372000-04-20 Toshiaki Takada <takada@zebra.org>
2338
2339 * ospf_dump.c (debug_ospf_zebra): New defun added.
2340 Suppress zebra related debug information.
2341
23422000-04-19 Toshiaki Takada <takada@zebra.org>
2343
2344 * ospf_zebra.c (ospf_distribute_list_update_timer),
2345 (ospf_distribute_list_update), (ospf_filter_update):
2346 New function added. Re-organize `distribute-list' router ospf
2347 command.
2348
23492000-04-13 Michael Rozhavsky <mike@nbase.co.il>
2350
2351 * ospf_packet.c (ospf_make_ls_upd): Add check for MAX_AGE.
2352
23532000-04-14 Michael Rozhavsky <mike@nbase.co.il>
2354
2355 * ospf_packet.c (ospf_make_ls_upd): Increment LS age by configured
2356 interface transmit_delay.
2357
23582000-04-14 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2359
2360 * ospf_interface.c (ip_ospf_cost), (no_ip_ospf_cost):
2361 Add to schedule router_lsa origination when the interface cost changes.
2362
23632000-04-12 Toshiaki Takada <takada@zebra.org>
2364
2365 * ospf_lsa.c (ospf_refresher_register_lsa),
2366 (ospf_refresher_unregister_lsa): Fix bug of core dumped.
2367
2368 * ospfd.c (no_router_ospf): Fix bug of core dumped.
2369
23702000-03-29 Toshiaki Takada <takada@zebra.org>
2371
2372 * ospf_nsm.c (nsm_oneway_received): Fix bug of MS flag unset.
2373
23742000-03-29 Michael Rozhavsky <mike@nbase.co.il>
2375
2376 * ospf_lsa.c (ospf_network_lsa):
2377 * ospf_nsm.c (ospf_nsm_event): Fix bug of Network-LSA originated
2378 in stub network.
2379
23802000-03-28 Toshiaki Takada <takada@zebra.org>
2381
2382 * ospf_nsm.c (nsm_bad_ls_req), (nsm_seq_number_mismatch),
2383 (nsm_oneway_received): Fix bug of NSM state flapping between
2384 ExStart and Exchange.
2385
23862000-03-28 Toshiaki Takada <takada@zebra.org>
2387
2388 * ospf_packet.h (strcut ospf_header): Fix the size of ospf_header,
2389 change u_int8_t to u_char.
2390
23912000-03-27 Toshiaki Takada <takada@zebra.org>
2392
2393 * ospf_lsa.c (ospf_lsa_checksum): Take care of BIGENDIAN architecture.
2394
23952000-03-27 Toshiaki Takada <takada@zebra.org>
2396
2397 * ospfd.c (ospf_interface_run): Make sure Address family matches.
2398
23992000-03-26 Love <lha@s3.kth.se>
2400
2401 * ospf_packet.c (ospf_write): Chack result of sendto().
2402
24032000-03-26 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2404
2405 * ospf_nsm.c (nsm_oneway_received): Fix bug of 1-WayReceived in NSM.
2406
24072000-03-23 Libor Pechacek <farco@clnet.cz>
2408
2409 * ospf_lsa.c (ospf_network_lsa)
2410 * ospf_lsdb.c (new_lsdb_insert): Fix bug of accessing to
2411 unallocated memory.
2412
24132000-03-23 Toshiaki Takada <takada@zebra.org>
2414
2415 * ospfd.c (ospf_config_write): Fix bug of duplicate line for
2416 `area A.B.C.D authentication'.
2417
24182000-03-22 Toshiaki Takada <takada@zebra.org>
2419
2420 * ospf_debug.c (debug_ospf_lsa), (no_debug_ospf_lsa): Defun added.
2421 Suppress all zlog related to LSAs with this config option.
2422
24232000-03-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2424
2425 * ospf_nsm.c (ospf_nsm_event): Add check for NSM_InactivityTimer.
2426
24272000-03-21 Toshiaki Takada <takada@zebra.org>
2428
2429 * ospf_packet.c (ospf_ls_upd_timer), (ospf_ls_req):
2430 Fix bug of memory leak about linklist.
2431
2432 * ospf_flood.c (ospf_flood_through_area): Likewise.
2433
24342000-03-18 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2435
2436 * ospf_flood.c (ospf_ls_retransmit_lookup): Add checksum comparison
2437 to identify LSA uniquely. This fix routes lost.
2438
24392000-03-18 Toshiaki Takada <takada@zebra.org>
2440
2441 * ospf_ase.c (ospf_find_asbr_route): Add sanity check with router
2442 routing table.
2443
24442000-03-17 Alex Zinin <zinin@amt.ru>
2445
2446 * ospf_spf.[ch]: Bug fix.
2447 The 2nd stage of Dijkstra could consider one vertex
2448 more than once if there is more than one link
2449 between the routers, thus adding extra CPU overhead
2450 and extra next-hops.
2451 Fixed.
2452
24532000-03-15 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2454
2455 * ospf_nsm.c (nsm_inactivity_timer): Changed to call nsm_kill_nbr().
2456
24572000-03-14 Toshiaki Takada <takada@zebra.org>
2458
2459 * ospf_route.c (ospf_route_copy_nexthops): Fix bug of memory leak of
2460 ospf_path. Actually ignore merging ospf_route with completely same
2461 paths.
2462
24632000-03-12 Toshiaki Takada <takada@zebra.org>
2464
2465 * ospf_lsa.c (show_as_external_lsa_detail): fix bug of
2466 external route tag byte order.
2467
24682000-03-11 Toshiaki Takada <takada@zebra.org>
2469
2470 * ospf_lsdb.c (ospf_lsdb_insert): New function added.
2471
24722000-03-09 Toshiaki Takada <takada@zebra.org>
2473
2474 * ospf_lsa.c (ospf_external_lsa_install),
2475 (ospf_lsa_lookup), (show_ip_ospf_database_all),
2476 (show_ip_ospf_database_self_originate): Use struct new_lsdb for
2477 LSDB of AS-external-LSAs instead of ospf_lsdb.
2478
2479 * ospf_lsa.c (ospf_lsa_unique_id): New function added.
2480 Use for assigning Unique Link State ID instead of
2481 ospf_get_free_id_for_prefix().
2482
24832000-03-09 Toshiaki Takada <takada@zebra.org>
2484
2485 * ospf_ase.c (ospf_ase_calculate_timer): Fix bug of segmentation
2486 fault reported by George Bonser <george@siteROCK.com>.
2487
24882000-03-07 Libor Pechacek <farco@clnet.cz>
2489
2490 * ospfd.c (ospf_interface_down): Fix bug of segmentation fault.
2491
24922000-03-06 Toshiaki Takada <takada@zebra.org>
2493
2494 * ospf_route.c (ospf_route_cmp): Change meaning of return values.
2495
24962000-03-02 Alex Zinin <zinin@amt.ru>
2497 * ospfd.h, ospf_ia.h
2498 New Shortcut ABR code. Now area's flag can be configured
2499 with Default, Enable, and Disable values.
2500 More info will be in the new ver of I-D soon (see IETF web).
2501
25022000-02-25 Toshiaki Takada <takada@zebra.org>
2503
2504 * ospf_lsa.c (ospf_lsa_header_set), (ospf_external_lsa_body_set),
2505 (osfp_external_lsa_originate), (ospf_external_lsa_queue),
2506 (ospf_external_lsa_originate_from_queue): New function added.
2507 (ospf_external_lsa): Function removed.
2508
2509 * ospf_zebra.c (ospf_zebra_read_ipv4): Originate AS-external-LSA
2510 when listen a route from Zebra, instead creating external route.
2511
2512 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
2513 (ospf_asbr_route_add_queue_lsa),
2514 (ospf_asbr_route_install_lsa), (ospf_asbr_route_add):
2515 Functions removed.
2516
2517 * ospf_ase.c (process_ase_lsa): Function will not be used.
2518 (ospf_ase_calculate), (ospf_ase_calculate_route_add),
2519 (ospf_ase_calculate_new_route), (ospf_ase_caluculate_asbr_route):
2520 process_ase_lsa () is separated to these functions.
2521
2522 OSPF AS-external-LSA origination is whole re-organized.
2523
25242000-02-18 Toshiaki Takada <takada@zebra.org>
2525
2526 * ospf_packet.c (ospf_ls_upd): Fix bug of OSPF LSA memory leak.
2527
2528 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
2529 (ospf_asbr_route_add_queue_lsa): Fix bug of OSPF external route
2530 memory leak.
2531
25322000-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2533
2534 * ospf_asbr.c (ospf_asbr_route_install_lsa): Re-calculate LSA
2535 checksum after change Advertised Router field.
2536
25372000-02-09 Toshiaki Takada <takada@zebra.org>
2538
2539 * ospf_asbr.c (ospf_external_route_lookup): Add new function.
2540
25412000-02-08 Toshiaki Takada <takada@zebra.org>
2542
2543 * ospfd.c (ospf_router_id_get), (ospf_router_id_update),
2544 (ospf_router_id_update_timer): Router ID decision algorithm is changed.
2545 Router ID is chosen from all of eligible interface addresses even if
2546 it is not enable to OSPF.
2547
25482000-02-08 Toshiaki Takada <takada@zebra.org>
2549
2550 * ospf_asbr.c (ospf_asbr_route_add): Function divided to
2551 ospf_asbr_route_add_flood_lsa, ospf_asbr_route_add_queue_lsa and
2552 ospf_asbr_route_install_lsa. If Router-ID is not set, then LSA is
2553 waited to install to LSDB.
2554 `0.0.0.0 adv_router' AS-external-LSA origination bug was fixed.
2555
25562000-02-01 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2557
2558 * ospf_flood.c (ospf_ls_retransmit_lookup): Compare LS seqnum
2559 in the ACK before deleting.
2560
2561 * ospf_packet.c (ospf_hello): Reset the flags after a shutdown
2562 and no shutdown of the interface.
2563
25642000-01-31 Toshiaki Takada <takada@zebra.org>
2565
2566 * ospf_packet.c (ospf_ls_req): Send multiple Link State Update
2567 packets respond to a Link State Request packet.
2568
2569 * ospfd.c (show_ip_ospf_neighbor_detail_sub): Show thread state.
2570
2571 * ospf_interface.c (ospf_vl_new): Crash when backbone area
2572 is not configured and set virtual-link to no-backbone area,
2573 bug fixed.
2574
25752000-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2576
2577 * ospf_neighbor.h (struct ospf_neighbor): Add pointer to last send
2578 LS Request LSA.
2579
2580 * ospf_packet.c (ospf_ls_upd): Comment out LS request list
2581 treatment. That should be done in OSPF flooding procedure.
2582
2583 * ospf_flood.c (ospf_flood_through_area): Enclose
2584 ospf_check_nbr_loding inside if-else close.
2585
25862000-01-31 Toshiaki Takada <takada@zebra.org>
2587
2588 * ospf_packet.c (ospf_make_ls_upd): Fix bug of #LSAs counting.
2589
25902000-01-29 Toshiaki Takada <takada@zebra.org>
2591
2592 * ospf_packet.c (ospf_make_md5_digest): Fix bug of md5 authentication.
2593
25942000-01-28 Toshiaki Takada <takada@zebra.org>
2595
2596 * ospfd.c (show_ip_ospf): Show Number of ASE-LSAs.
2597
25982000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2599
2600 * ospf_packet.c (ospf_make_db_desc): Don't use rm_list for
2601 removing LSA from nbr->db_summary.
2602
26032000-01-27 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2604
2605 * ospf_packet.c (ospf_ls_upd_send): Set AllSPFRouters to
2606 destination when the link is point-to-point.
2607 (ospf_ls_ack_send_delayed): Likewise.
2608
26092000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2610
2611 * ospf_flood.c (ospf_ls_request_delete_all): Fix bug of next
2612 pointer lookup after the node is freed.
2613
26142000-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2615
2616 * ospf_asbr.c (ospf_asbr_route_add): Instead of scanning all AS
2617 external route, use ospf_top->external_self.
2618
26192000-01-27 Toshiaki Takada <takada@zebra.org>
2620
2621 * ospf_lsa.c (ospf_forward_address_get): New function added.
2622
2623 * ospf_asbr.c (ospf_asbr_check_lsas): Originate AS-external-LSA
2624 only when it should be replaced.
2625
26262000-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2627
2628 * ospf_flood.c (ospf_ls_retransmit_clear): Delete list node.
2629
2630 * ospf_lsa.c (ospf_lsa_free): Reduce logging message using
2631 ospf_zlog value.
2632
2633 * ospf_ism.c (ism_change_status): Fix bug of DR -> non DR status
2634 change. Self originated LSA is freed but not deleted from lsdb.
2635
26362000-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2637
2638 * ospf_ism.c (ism_interface_down): Don't use router_id for
2639 detecting self neighbor structure. Instead of that compare
2640 pointer itself.
2641
2642 * ospf_neighbor.c (ospf_nbr_free): Cancel all timer when neighbor
2643 is deleted.
2644 (ospf_nbr_free): Free last send packet.
2645
2646 * ospf_neighbor.h (struct ospf_neighbor): Remove host strucutre.
2647 Instead of that src is introduced.
2648
2649 * ospf_nsm.h: Enclose macro defenition with do {} while (0).
2650
26512000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2652
2653 * ospfd.c: Change part of passive interface implementation. For
2654 passive interface just disabling sending/receiving Hello on the
2655 interface.
2656
26572000-01-16 Kai Bankett <kai.bankett@vew-telnet.net>
2658
2659 * ospf_interface.h (OSPF_IF_PASSIVE): Add passive flag.
2660 * ospf_interface.c (ospf_if_lookup_by_name): Add new function.
2661 * ospf_lsa.c (ospf_router_lsa): Skip passive interface.
2662 * ospfd.c (passive_interface): New command passive-interface is
2663 added.
2664 (ospf_config_write): Print passive interface.
2665
26662000-01-15 Toshiaki Takada <takada@zebra.org>
2667
2668 * ospf_interface.h (crypt_key): New struct added to store
2669 multiple cryptographic autheitication keys.
2670 (ospf_interface): struct changed.
2671
2672 * ospf_interface.c: ospf_crypt_key_new, ospf_crypt_key_add,
2673 ospf_crypt_key_lookup, ospf_crypt_key_delete: new functions added.
2674
2675 * ospf_packet.c (ip_ospf_message_digest_key): Changed to store
2676 multiple cryptographic authentication keys.
2677
26782000-01-14 Toshiaki Takada <takada@zebra.org>
2679
2680 * ospf_interface.c: DEFUN (if_ospf_*) commands changed name to
2681 ip_ospf_* ().
2682 Old notation `ospf *' still remains backward compatibility.
2683
26841999-12-29 Alex Zinin <zinin@amt.ru>
2685 * ospf_lsa.c: ospf_lsa_more_recent() bug fix
2686 * ospf_nsm.c, ospf_packet.c: remove nbr data struct when
2687 int goes down, also check DD flags correctly (bug fix)
2688
26891999-12-28 Alex Zinin <zinin@amt.ru>
2690 * "redistribute <source> metric-type (1|2) metric <XXX>" added
2691
26921999-12-23 Alex Zinin <zinin@amt.ru>
2693 * added RFC1583Compatibility flag
2694 * added dynamic interface up/down functionality
2695
26961999-11-19 Toshiaki Takada <takada@zebra.org>
2697
2698 * ospf_neighbor.h (struct ospf_neighbor): Add member state_change
2699 for NSM state change statistics.
2700
27011999-11-19 Toshiaki Takada <takada@zebra.org>
2702
2703 * ospfd.c (show_ip_ospf_neighbor_detail),
2704 (show_ip_ospf_neighbor_int_detail): DEFUN Added.
2705
27061999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2707
2708 * ospf_asbr.c (ospf_asbr_check_lsas): Add check of
2709 lsa->refresh_list.
2710
27111999-11-11 Toshiaki Takada <takada@zebra.org>
2712
2713 * ospf_ia.[ch] (OSPF_EXAMINE_SUMMARIES_ALL): Macro added.
2714 This macro is expanded to ospf_examine_summaries ()
2715 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2716 (OSPF_EXAMINE_TRANSIT_SUMMARIES_ALL): Macro added.
2717 This macro is expanded to ospf_examine_transit_summaries ()
2718 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2719
27201999-11-11 Toshiaki Takada <takada@zebra.org>
2721
2722 * ospf_lsa.[ch] (ospf_find_self_summary_lsa_by_prefix): Changed to
2723 macro OSPF_SUMMARY_LSA_SELF_FIND_BY_PREFIX.
2724 (ospf_find_self_summary_asbr_lsa_by_prefix): Changed to
2725 macro OSPF_SUMMARY_ASBR_LSA_SELF_FIND_BY_PREFIX.
2726 (ospf_find_self_external_lsa_by_prefix): Changed to
2727 macro OSPF_EXTERNAL_LSA_SELF_FIND_BY_PREFIX.
2728
27291999-11-11 Toshiaki Takada <takada@zebra.org>
2730
2731 * ospfd.c (ospf_abr_type): ospf_abr_type_cisco, ospf_abr_type_ibm,
2732 ospf_abr_type_shortcut and ospf_abr_type_standard DEFUNs are
2733 combined.
2734 * ospfd.c (no_ospf_abr_type): no_ospf_abr_type_cisco,
2735 no_ospf_abr_type_ibm and no_ospf_abr_type_shortcut DEFUNS are
2736 combined.
2737
27381999-11-10 Toshiaki Takada <takada@zebra.org>
2739
2740 * ospf_route.c (ospf_lookup_int_by_prefix): Move function to
2741 ospf_interface.c and change name to ospf_if_lookup_by_prefix ().
2742
27431999-11-01 Alex Zinin <zinin@amt.ru>
2744 * ospf_packet.c
2745 some correction to LSU processing
2746
2747 * ospf_lsa.c ospfd.h
2748 randomize initial LSA refreshment interval
2749 and limit the size of LSA-group to 10
2750 to let randomization work more effectively.
2751
27521999-10-31 Alex Zinin <zinin@amt.ru>
2753 * ospf_interface.c
2754 cancel t_network_lsa_self
2755 when freeing int structure
2756
2757 * ospf_abr.c ospf_asbr.c ospf_flood.c ospf_lsa.c
2758 ospf_lsa.h ospf_lsdb.h ospfd.c ospfd.h
2759
2760 Summary and ASE LSA refreshment functions
2761 added---LSA refreshment is paced to 70 LSAs
2762 per sec to avoid link overflow. Refreshment events
2763 are further randomized within a 10 sec interval
2764 to avoid syncing.
2765
2766 Also the sigfault of memcmp() in ospf_lsa_is_different()
2767 is fixed.
2768
27691999-10-30 Alex Zinin <zinin@amt.ru>
2770 * ospf_nsm.c
2771 Fix the bug where MAX_AGE LSAs
2772 are included into the DB summary.
2773
2774 * ospf_interface.c
2775 allocate 2*MTU input buffer instead of just MTU
2776 for the cases when the other router mistakenly
2777 sends larger packets thus causing fragmentation, etc.
2778
2779 * ospf_nsm.c
2780 in nsm_reset_nbr() lists should be freed
2781 not when they are empty.
2782
27831999-10-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2784
2785 * ospf_zebra.c (ospf_acl_hook): Move OSPF_IS_ASBR and OSPF_IS_ABR
2786 check inside of if (ospf_top).
2787
27881999-10-29 Alex Zinin <zinin@amt.ru>
2789 * ospf_lsa.c ospf_lsdb.c :
2790 add assertion in lsa and lsa->data alloc functions,
2791 as well as in lsdb_add for new->data
2792
2793 * ospf_lsdb.c: free hash table correctly
2794
27951999-10-28 John Capo <jc@irbs.com>
2796
2797 * ospf_packet.h (OSPF_PACKET_MAX): Correct MAX packet length
2798 calculation
2799
28001999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2801
2802 * OSPF-TRAP-MIB.txt: New file added. Edited version of RFC1850.
2803
2804 * OSPF-MIB.txt: New file added. Edited version of RFC1850.
2805
28061999-10-27 Alex Zinin <zinin@amt.ru>
2807 * ospfd, ospf_zebra, ospf_abr
2808 "area import-list" command is added.
2809 This command allows to filter the inter-area routes
2810 injected into an area. Access list hook function
2811 extended to invalidate area exp/imp lists.
2812
28131999-10-25 Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
2814
2815 * ospfd.c (ospf_interface_run): Enable to detect P2P network
2816 on an OSPF interface.
2817
28181999-10-19 Jordan Mendelson <jordy@wserv.com>
2819
2820 * ospf_lsdb.c (ospf_lsdb_add): Fix bug of crash
2821 in ospf_ls_retransmit_lookup ().
2822
28231999-10-19 Vladimir B. Grebenschikov <vova@express.ru>
2824
2825 * ospf_route.c: Workaround about installation of OSPF routes into
2826 the zebra daemon. Add checking of existance routes. Free
2827 ospf_top->old_table if it exists.
2828
28291999-10-15 Jordan Mendelson <jordy@wserv.com>
2830
2831 * Add support for MD5 authentication.
2832
28331999-10-12 Alex Zinin <zinin@amt.ru>
2834 * ospfd.c, ospfd.h, ospf_abr.c:
2835 a new command "area export-list" was added, it allows
2836 the admin. to control which intra-area routes are
2837 announced to other areas by the ABR
2838
28391999-10-12 Alex Zinin <zinin@amt.ru>
2840 * ospf_asbr.c (ospf_asbr_check_lsas): Fix bug of coredump
2841 when "no redistribute" is used after a distribute list
2842 denying some networks was used
2843
28441999-10-05 Toshiaki Takada <takada@zebra.org>
2845
2846 * ospf_route.c (ospf_path_dup): New function added.
2847
28481999-10-05 Toshiaki Takada <takada@zebra.org>
2849
2850 * ospf_interface.[ch]: Some of VL related funciton name changed.
2851
28521999-09-27 Alex Zinin <zinin@amt.ru>
2853
2854 * ospf_zebra.c: Distribute-list functionality added
2855
28561999-09-27 Toshiaki Takada <takada@zebra.org>
2857
2858 * ospfd.c (show_ip_ospf): Fix bug of segmentation fault when no ospf
2859 instance exists.
2860
28611999-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2862
2863 * ospfd.c (ospf_interface_down): Fix bug of misusing nextnode()
2864 instead of node->next. Reported by Hiroki Ishibashi
2865 <ishibasi@dcd.abk.nec.co.jp>.
2866
2867 * ospf_route.c (show_ip_ospf_route): Add check for ospf is enabled
2868 or not.
2869
28701999-09-23 Alex Zinin <zinin@amt.ru>
2871
2872 * stub area support added
2873
28741999-09-23 Alex Zinin <zinin@amt.ru>
2875
2876 * fwd_addr in ASE-LSAs is now set correctly
2877 * ASE routing changed to check the fwd_addr
2878 and skip the route if the addr points to one
2879 of our interfaces to avoid loops.
2880
28811999-09-22 Alex Zinin <zinin@amt.ru>
2882
2883 * ospf_interface:
2884 ospf_vls_in_area() added, it returns
2885 the number of VLs configured through the area
2886
2887 * ospf_interface.c ospf_lsa.c ospf_lsdb.c ospfd.c
2888 honor correct mem alloc
2889
28901999-09-22 Alex Zinin <zinin@amt.ru>
2891
2892 * memory.[ch]:
2893 Some OSPF mem types added,
2894 plus more info in "show mem"
2895
28961999-09-21 Alex Zinin <zinin@amt.ru>
2897
2898 * ospfd.c:
2899 "area range substitute" added.
2900 It can be used on NAT-enabled (IP-masquarade)
2901 routers to announce private networks
2902 from an area as public ones into the outside
2903 world (not in the RFC, btw :)
2904
29051999-09-21 Alex Zinin <zinin@amt.ru>
2906
2907 * ospfd.c:
2908 "area range suppress" added.
2909 This command allows to instruct the router
2910 to be silent about specific ranges, i.e.,
2911 it is a method of route filtering on area
2912 borders
2913
29141999-09-21 Alex Zinin <zinin@amt.ru>
2915
2916 * ospfd.c VLs removed when "no network area" executed
2917
29181999-09-20 Alex Zinin <zinin@amt.ru>
2919
2920 * ospf_ase.c bug fix for not-zero fwd_addr
2921 and directly connected routes.
2922
29231999-09-20 Yon Uriarte <yon@plannet.de>
2924
2925 * ospf_packet.c (ospf_make_ls_req): Introduce delta value for
2926 checking the length of OSPF packet exceeds MTU or not.
2927
2928 * ospf_lsa.c (ospf_lsa_different): Apply ntohs for checking
2929 l1->data->length.
2930
29311999-09-18 Alex Zinin <zinin@amt.ru>
2932
2933 * ospf_lsa.c bug fix for ospf_network_lsa() to
2934 include itself into the RID list
2935
29361999-09-10 Alex Zinin <zinin@amt.ru>
2937
2938 * Alternative ABR behaviors IBM/Cisco/Shortcut
2939 implemented
2940
29411999-09-10 Alex Zinin <zinin@amt.ru>
2942
2943 * router and network-LSA origination
2944 changed to honor MinLSInterval
2945
29461999-09-08 Alex Zinin <zinin@amt.ru>
2947
2948 * modified ABR behavior to honor VLs and transit
2949 areas
2950
29511999-09-07 Alex Zinin <zinin@amt.ru>
2952
2953 * completed VL functionality
2954
29551999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2956
2957 * ospf_asbr.c: New file.
2958 ospf_asbr.h: New file.
2959
2960 * ospf_zebra.c (ospf_redistribute_connected): Add redistribute
2961 related stuff.
2962
29631999-09-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2964
2965 * ospfd.h (OSPF_FLAG_VIRTUAL_LINK): Change OSPF_FLAG_VEND to
2966 OSPF_FLAG_VIRTUAL_LINK for comprehensiveness.
2967
29681999-09-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2969
2970 * ospf_spf.c (ospf_spf_register): Change name from
2971 ospf_spf_route_add() to ospf_spf_register().
2972 Include "ospfd/ospf_abr.h" for ospf_abr_task() prototype.
2973
29741999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2975
2976 * ospf_lsa.c (ospf_external_lsa_install): Change to update
2977 lsa->data rather than install new one, when same id lsa is already
2978 installed.
2979
29801999-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2981
2982 * ospf_lsa.c (ospf_router_lsa_install): Return lsa value.
2983 (ospf_network_lsa_install): Likewise.
2984 (ospf_summary_lsa_install): Likewise.
2985 (ospf_summary_asbr_lsa_install): Likewise.
2986 (ospf_external_lsa_install): Likewise.
2987
2988 * ospf_spf.c (ospf_spf_calculate): Comment out debug function
2989 ospf_rtrs_print().
2990
29911999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2992
2993 * ospf_spf.c (ospf_rtrs_free): Add ospf_spf_calculate() for
2994 freeing rtrs.
2995
29961999-08-31 Toshiaki Takada <takada@zebra.org>
2997
2998 * ospf_lsa.c (show_ip_ospf_database_summary),
2999 (show_ip_ospf_database_summary_asbr),
3000 (show_ip_ospf_database_external): New function added.
3001 `show ip ospf database summary',
3002 `show ip ospf database asbr-summary'
3003 `show ip ospf database external' command can be used.
3004
3005 * ospf_lsa.c (ospf_lsa_count_table): New function added.
3006 (show_ip_ospf_database_all): show nothing if a type of LSA
3007 does not exist.
3008
30091999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
3010
3011 * ospf_lsa.c (ospf_maxage_lsa_remover): Preserve next pointer when
3012 the node is deleted.
3013
30141999-08-31 Toshiaki Takada <takada@zebra.org>
3015
3016 * ospf_flood.c (ospf_ls_retransmit_lookup): change to return
3017 struct ospf_lsa *.
3018 (ospf_ls_request_new), (ospf_ls_request_free),
3019 (ospf_ls_request_add), (ospf_ls_request_delete),
3020 (ospf_ls_request_delete_all), (ospf_ls_request_lookup):
3021 New function added.
3022
3023 * ospf_packet.c (ospf_ls_upd_send_lsa): New function added.
3024
3025 * ospf_lsa.h (LS_AGE): Slightly change macro definition.
3026
3027 * ospf_lsa.c (ospf_lsa_more_recent), (ospf_lsa_diffrent):
3028 Use LS_AGE macro.
3029
30301999-08-30 Alex Zinin <zinin@amt.ru>
3031
3032 * ospfd.c
3033 fix a bug with area range config write
3034 added "show ip ospf" command, it will be enhanced later on
3035
30361999-08-30 Alex Zinin <zinin@amt.ru>
3037
3038 * ospf_lsa.c
3039 updated ospf_router_lsa() to honor flags (B-bit)
3040
30411999-08-30 Alex Zinin <zinin@amt.ru>
3042
3043 * ospf_abr.c
3044 wrote major functions implementing ABR activity
3045
30461999-08-30 Alex Zinin <zinin@amt.ru>
3047
3048 * ospf_ia.c ospf_route.c ospf_route.h
3049 fixed the bug with ospf_route.origin field.
3050 Now it holds pointer to lsa_header
3051
30521999-08-30 Alex Zinin <zinin@amt.ru>
3053
3054 * ospf_flood.c ospf_flood.h:
3055 transformed ospf_flood_if_select into ospf_flood_through_area()
3056 added new ospf_flood_if_select() and ospf_flood_through_as()
3057
30581999-08-30 Toshiaki Takada <takada@zebra.org>
3059
3060 * ospf_flood.[ch]: New file added.
3061
3062 * ospf_packet.c (ospf_lsa_flooding),
3063 (ospf_lsa_flooding_select_if): functions move to ospf_flood.c
3064
3065 * ospf_neighbor.c (ospf_put_lsa_on_retransm_list),
3066 (ospf_remove_lsa_from_retransm_list),
3067 (ospf_nbr_remove_all_lsas_from_retransm_list),
3068 (ospf_lsa_remove_from_ls_retransmit):
3069 (ospf_lsa_retransmit): functions move to
3070 ospf_flood.c, and change function's name:
3071
3072 ospf_put_lsa_on_retransm_list ()
3073 -> ospf_ls_retransmit_add ()
3074 ospf_remove_lsa_from_retransm_list ()
3075 -> ospf_ls_retransmit_delete ()
3076 ospf_nbr_remove_all_lsas_from_retransm_list ()
3077 -> ospf_ls_retransmit_clear ()
3078 ospf_lsa_remove_from_ls_retransmit ()
3079 -> ospf_ls_retransmit_delete_nbr_all ()
3080 ospf_lsa_retransmit ()
3081 -> ospf_ls_retransmit_add_nbr_all ()
3082
3083 * ospf_lsa.c (ospf_lsa_lookup_from_list): function move to
3084 ospf_flood.c, and change name to ospf_ls_retransmit_lookup ().
3085
30861999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3087
3088 * ospf_neighbor.c (ospf_nbr_lookup_by_addr): Use
3089 route_node_lookup() instead of route_node_get().
3090
3091 * ospf_packet.c (ospf_ls_upd): Temporary comment out (6) check.
3092
30931999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3094
3095 * ospf_route.c (ospf_lookup_int_by_prefix): Add check of
3096 oi->address.
3097
30981999-08-29 Alex Zinin <zinin@amt.ru>
3099 * ospf_lsa.c
3100 MaxAge LSA deletion functions added.
3101
31021999-08-29 Alex Zinin <zinin@amt.ru>
3103 * ospf_neighbor.c
3104 ospf_nbr_lookup_by_addr(): added route_unlock_node()
3105 when function returns NULL if (rn->info == NULL)
3106
31071999-08-29 Alex Zinin <zinin@amt.ru>
3108 * ospfd.c
3109 added a hack for area range deletion
3110
31111999-08-29 Alex Zinin <zinin@amt.ru>
3112 * ospf_lsa.h
3113 included lsdb field into struct ospf_lsa, to find
3114 LSDB easier when removing MaxAge LSAs.
3115
31161999-08-29 Alex Zinin <zinin@amt.ru>
3117 * ospf_lsa.c ospf_neighbor.c ospf_nsm.c
3118 ospf_packet.c changed to honor new retransmit list
3119 management functions
3120
31211999-08-29 Alex Zinin <zinin@amt.ru>
3122 * ospf_neighbor.c , .h added new retransmit list functions.
3123
31241999-08-29 Alex Zinin <zinin@amt.ru>
3125 * Makefile.in
3126 added ospf_ase, ospf_abr, ospf_ia
3127
31281999-08-29 Alex Zinin <zinin@amt.ru>
3129 * ospf_spf.c:
3130 - changed ospf_next_hop_calculation() to include interface
3131 and nexthop addr for directly connected routers---more informative
3132 and solves problem with route installation into the kernel
3133 - changed ospf_nexthop_out_if_addr() to support routers, not only
3134 transit networks
3135 - added ospf_process_stubs();
3136
31371999-08-29 Alex Zinin <zinin@amt.ru>
3138 * ospf_lsa.c:
3139 - changed ospf_router_lsa() to provide correct links
3140 for p-t-p interfaces;
3141 - changed ospf_summary_lsa_install() to support table
3142 of self-originated summary-LSAs;
3143 - added ospf_summary_asbr_lsa_install() and ospf_external_lsa_install()
3144 - changed ospf_lsa_install() accordingly
3145 - changed show_ip_ospf_database_router_links() to support p-t-p
3146
31471999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3148
3149 * ospf_packet.c (ospf_make_db_desc): Only master can clear more
3150 flag.
3151
31521999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3153
3154 * ospf_packet.c (ospf_read): Add check of IP src address.
3155
31561999-08-28 Alex Zinin <zinin@amt.ru>
3157 * ospf_neighbor.h
3158 added ospf_nbr_lookup_by_routerid()
3159
31601999-08-28 Alex Zinin <zinin@amt.ru>
3161 * ospfd.h
3162 added ABR/ASBR flag definitions and fields;
3163 added iflist field to area structure;
3164 summary_lsa_self and summary_lsa_asbr_self are changed
3165 to be route tables;
3166 added ranges field---configured area ranges;
3167 A separate Routers RT added;
3168 area range config commands and config write added
3169
3170
31711999-08-28 Alex Zinin <zinin@amt.ru>
3172 * ospf_route.c :
3173 ospf_route_free()--added code to free the list of paths;
3174 The following functions added:
3175 ospf_intra_add_router();
3176 ospf_intra_add_transit();
3177 ospf_intra_add_stub();
3178 the last function uses new ospf_int_lookup_by_prefix();
3179 show_ip_ospf_route_cmd()--changed to support new RT structure;
3180 added ospf_cmp_routes()--general route comparision function;
3181 added ospf_route_copy_nexthops() and ospf_route_copy_nexthops_from_vertex()
3182 they are used in ASE and IA routing;
3183 added ospf_subst_route() and ospf_add_route();
3184
31851999-08-28 Alex Zinin <zinin@amt.ru>
3186 * ospf_route.h :
3187 changed struct ospf_path to include output interface,
3188 changed struct ospf_route to support IA and ASE routing.
3189 added prototypes of the function used in IA and ASE modules.
3190
31911999-08-28 Alex Zinin <zinin@amt.ru>
3192 * ospf_lsa.h ospf_lsa.c :
3193 added ospf_my_lsa(), an interface independent version of
3194 ospf_lsa_is_self_originated(), it will be used in ASE and IA-routing.
3195
31961999-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3197
3198 * ospf_interface.c (interface_config_write): Add check for
3199 oi->nbr_self.
3200
32011999-08-25 Toshiaki Takada <takada@zebra.org>
3202
3203 * ospf_lsa.c (ospf_lsa_dup): New function added.
3204
3205 * ospf_packet.c (ospf_write), (ospf_read): Print send/recv
3206 interface in debug message.
3207
32081999-08-25 Toshiaki Takada <takada@zebra.org>
3209
3210 * ospf_packet.c (ospf_ls_ack_send): The name is changed from
3211 `ospf_ls_ack_send'.
3212 (ospf_ls_ack_send_delayed) (ospf_ls_ack_timer): New function added.
3213 Delayed Link State Acknowledgment is scheduled by timer.
3214
32151999-08-25 Alex Zinin <zinin@amt.ru>
3216
3217 * ospf_lsa.c (ospf_router_lsa): Incorrectly included link to
3218 a stub network instead of link to a transit network into
3219 originated router-LSA, bug fixed.
3220
32211999-08-24 Toshiaki Takada <takada@zebra.org>
3222
3223 * ospfd.c (ospf_update_router_id): New function added.
3224
3225 * ospf_network.c (ospf_write): Create new socket per transmission.
3226 And select outgoing interface whether dst is unicast or multicast.
3227
3228 * ospf_packet.c: LSA flooding will work.
3229
32301999-08-24 VOP <vop@unity.net>
3231
3232 * ospf_route.c: Include "sockunion.h"
3233
32341999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
3235
3236 * ospf_network.c (ospf_serv_sock_init): Enclose
3237 IPTOS_PREC_INTERNETCONTROL setting with #ifdef for OS which does
3238 not have the definition.
3239
32401999-08-23 Toshiaki Takada <takada@zebra.org>
3241
3242 * ospf_packet.c: Fix bug of DD processing.
3243
32441999-08-18 Toshiaki Takada <takada@zebra.org>
3245
3246 * ospf_lsa.c (show_ip_ospf_database): Show actual `LS age'.
3247
32481999-08-17 Toshiaki Takada <takada@zebra.org>
3249
3250 * ospf_lsa.h (OSPF_MAX_LSA): The value of OSPF_MAX_LSA is
3251 corrected. The bug of `mes_lookup' is fixed.
3252 This had been reported by Poul-Henning Kamp <phk@freebsd.org>.
3253
3254 * ospf_lsa.c (ospf_router_lsa_install): The name is changed from
3255 `ospf_add_router_lsa'.
3256 (ospf_network_lsa_install): The name is changed from
3257 `ospf_add_network_lsa'.
3258
3259 * ospf_interface.h (ospf_interface): Add member `nbr_self'.
3260
3261 * ospf_interface.c (ospf_if_is_enable): New function added.
3262
32631999-08-16 Toshiaki Takada <takada@zebra.org>
3264
3265 * ospf_lsa.h (struct lsa_header): The name is changed from
3266 `struct ospf_lsa'.
3267 (struct ospf_lsa): New struct added to control each LSA's aging
3268 and timers.
3269
3270 * ospf_lsa.c (ospf_lsa_data_free): The name is change from
3271 `ospf_lsa_free'.
3272 (ospf_lsa_data_new), (ospf_lsa_new), (ospf_lsa_free),
3273 (ospf_lsa_different), (ospf_lsa_install): New function added.
3274
3275 * ospf_packet.c (ospf_ls_upd_list_lsa): New function added.
3276
32771999-08-12 Toshiaki Takada <takada@zebra.org>
3278
3279 * ospf_nsm.c (nsm_reset_nbr): New function added.
3280 KillNbr and LLDown neighbor event call this function.
3281
32821999-08-10 Toshiaki Takada <takada@zebra.org>
3283
3284 * ospf_packet.c (ospf_ls_retransmit)
3285 (ospf_ls_upd_timer): New function added.
3286 Set retransmission timer for Link State Update.
3287
32881999-07-29 Toshiaki Takada <takada@zebra.org>
3289
3290 * ospf_ism.c (ospf_dr_election): Fix bug of DR election.
3291
32921999-07-28 Toshiaki Takada <takada@zebra.org>
3293
3294 * ospf_network.c (ospf_serv_sock_init): Set IP precedence field
3295 with IPTOS_PREC_INTERNET_CONTROL.
3296
3297 * ospf_nsm.c (nsm_change_status): Schedule NeighborChange event
3298 if NSM status change.
3299
3300 * ospf_packet.c (ospf_make_hello): Never include a neighbor in
3301 Hello packet, when the neighbor goes down.
3302
33031999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
3304
3305 * Makefile.am (noinst_HEADERS): Add ospf_route.h.
3306
3307 * ospf_route.c (show_ip_ospf_route): Add `show ip ospf route'
3308 command.
3309
33101999-07-25 Toshiaki Takada <takada@zebra.org>
3311
3312 * ospf_lsa.c (ospf_router_lsa): Fix bug of LS sequence number
3313 assignement.
3314
33151999-07-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3316
3317 * ospf_route.c (ospf_route_table_free): New function added.
3318
3319 * ospf_spf.c (ospf_spf_next): Free vertex w when cw's and w's
3320 distance is same.
3321
3322 * ospfd.h (struct ospf): Add old_table.
3323
3324 * ospf_main.c (sighup): Call of log_rotate () removed.
3325
3326 * ospf_lsa.c (ospf_lsa_is_self_originated): Fix bug of checking
3327 area->lsa as self LSA. This should be area->lsa_self.
3328
33291999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
3330
3331 * ospf_zebra.c (ospf_zebra_add): ospf_zebra_add
3332 (),ospf_zebra_delete () added.
3333
3334 * ospf_spf.c (ospf_spf_calculate): Call ospf_intra_route_add ().
3335
33361999-07-24 Toshiaki Takada <takada@zebra.org>
3337
3338 * ospf_lsa.c: Change LS sequence number treatment.
3339 (ospf_lsa_is_self_originated): New function added.
3340 (show_ip_ospf_database_self_originated): New DEFUN added.
3341
33421999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3343
3344 * ospf_interface.c (ospf_if_lookup_by_addr): Add loopback check.
3345
33461999-07-22 Toshiaki Takada <takada@zebra.org>
3347
3348 * ospf_spf.c (ospf_nexthop_new), (ospf_nexthop_free),
3349 (ospf_nexthop_dup): function added.
3350 (ospf_nexthop_calculation): function changed.
3351
3352 * ospf_interface.c (ospf_if_lookup_by_addr): function added.
3353
33541999-07-21 Toshiaki Takada <takada@zebra.org>
3355
3356 * ospf_spf.c (ospf_spf_closest_vertex): function removed.
3357
33581999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
3359
3360 * ospf_spf.c (ospf_spf_next): Apply ntohs for fetching metric.
3361
33621999-07-21 Toshiaki Takada <takada@zebra.org>
3363
3364 * ospf_neighbor.c (ospf_nbr_lookup_by_router_id): fundtion removed.
3365
3366 * ospf_lsa.c (show_ip_ospf_database_router): describe each
3367 connected link.
3368
33691999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
3370
3371 * ospf_spf.c (ospf_spf_next): V is router LSA or network LSA so
3372 change behavior according to LSA type.
3373 (ospf_lsa_has_link): Link check function is added.
3374
33751999-07-20 Kunihiro Ishiguro <kunihiro@zebra.org>
3376
3377 * ospf_spf.c (ospf_spf_calculate_schedule): Add new function for
3378 SPF calcultion schedule addtition.
3379 (ospf_spf_calculate_timer_add): Rough 30 sec interval SPF calc
3380 timer is added.
3381 (ospf_spf_next_router): Delete ospf_spf_next_network ().
3382
3383 * ospf_lsa.c (show_ip_ospf_database_all): Network-LSA display
3384 header typo correction. Display of router LSA's #link added.
3385
33861999-07-19 Toshiaki Takada <takada@zebra.org>
3387
3388 * ospf_packet.c (ospf_check_network_mask): Added new function for
3389 receiving Raw IP packet on an appropriate interface.
3390
33911999-07-16 Toshiaki Takada <takada@zebra.org>
3392
3393 * ospfd.c (ospf_router_id): new DEFUN added.
3394
33951999-07-15 Toshiaki Takada <takada@zebra.org>
3396
3397 * ospf_spf.c (ospf_spf_init), (ospf_spf_free),
3398 (ospf_spf_has_vertex), (ospf_vertex_lookup),
3399 (ospf_spf_next_router), (ospf_spf_next_network),
3400 (ospf_spf_closest_vertex), (ospf_spf_calculate):
3401 function added.
3402
34031999-07-13 Toshiaki Takada <takada@zebra.org>
3404
3405 * ospf_ism.c: fix bug of DR Election.
3406
3407 * ospf_nsm.c: fix bug of adjacency forming.
3408
34091999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
3410
3411 * ospfd.c (ospf_init): Change to use install_default.
3412
34131999-07-01 Rick Payne <rickp@rossfell.co.uk>
3414
3415 * ospf_zebra.c (zebra_init): Install standard commands to
3416 ZEBRA_NODE.
3417
34181999-06-30 Toshiaki Takada <takada@zebra.org>
3419
3420 * ospf_dump.c: Whole debug command is improved.
3421 (ISM|NSM) (events|status|timers) debug option added.
3422 (show_debugging_ospf): new DEFUN added.
3423
34241999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3425
3426 * ospf_lsa.c (ospf_lsa_lookup_from_list): Change !IPV4_ADDR_CMP to
3427 IPV4_ADDR_SAME.
3428
34291999-06-29 Toshiaki Takada <takada@zebra.org>
3430
3431 * ospf_dump.c (ospf_summary_lsa_dump): Add summary-LSA dump routine.
3432 (ospf_as_external_lsa_dump): Add AS-external-LSA dump routine.
3433
3434 * ospf_nsm.c (nsm_twoway_received): fix condtion of adjacnet.
3435
3436 * ospf_ism.c (ospf_dr_election): fix DR Election.
3437
3438 * ospf_dump.c (ospf_nbr_state_message): fix `show ip ospf neighbor'
3439 command's state.
3440
34411999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3442
3443 * ospf_dump.c (ospf_router_lsa_dump): Add router-LSA dump routine.
3444
34451999-06-28 Toshiaki Takada <takada@zebra.org>
3446
3447 * ospf_lsa.c (show_ip_ospf_database_network): fix bug of
3448 `show ip ospf database network' command output.
3449
3450 * ospf_nsm.c (nsm_inactivity_timer): Clear list of Link State
3451 Retransmission, Database Summary and Link State Request.
3452
3453 * ospf_packet.c (ospf_ls_req_timer): New function added.
3454 Set Link State Request retransmission timer.
3455
34561999-06-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3457
3458 * ospf_main.c (main): Change default output from ZLOG_SYSLOG to
3459 ZLOG_STDOUT.
3460
3461 * ospfd.c (ospf_init): Register show_ip_ospf_interface_cmd and
3462 show_ip_ospf_neighbor_cmd to VIEW_NODE.
3463
3464 * ospf_lsa.c (ospf_lsa_init): Register show_ip_ospf_database_cmd
3465 and show_ip_ospf_database_type_cmd to VIEW_NODE.
3466
34671999-06-25 Toshiaki Takada <takada@zebra.org>
3468
3469 * ospf_packet.c: fix bug of DD making.
3470 fix bug of LS-Update reading.
3471
34721999-06-23 Toshiaki Takada <takada@zebra.org>
3473
3474 * ospf_packet.c: All type of packets are changed to use
3475 fifo queue structure.
3476 (ospf_fill_header) function added.
3477
34781999-06-22 Toshiaki Takada <takada@zebra.org>
3479
3480 * ospf_packet.c (ospf_packet_new): New function added to handle
3481 sending ospf packet by fifo queue structure.
3482 (ospf_packet_free), (ospf_fifo_new), (ospf_fifo_push),
3483 (ospf_fifo_pop), (ospf_fifo_head), (ospf_fifo_flush),
3484 (ospf_fifo_free): Likewise.
3485
34861999-06-21 Toshiaki Takada <takada@zebra.org>
3487
3488 * ospf_nsm.c (ospf_db_desc_timer): function added.
3489 (nsm_timer_set) function added.
3490 * ospf_dump.c (ospf_option_dump): function added.
3491 * ospf_packet.c (ospf_ls_req) (ospf_make_ls_req): function added.
3492
34931999-06-20 Toshiaki Takada <takada@zebra.org>
3494
3495 * ospf_lsa.c (ospf_lsa_more_recent): function added.
3496 * ospf_neighbor.h (struct ospf_neighbor): Change member ms_flag
3497 to dd_flags.
3498
34991999-06-19 Toshiaki Takada <takada@zebra.org>
3500
3501 * ospf_lsa.c: DEFUN (show_ip_ospf_database) Added.
3502 * ospf_interface.c (if_ospf_cost), (if_ospf_dead_interval),
3503 (if_ospf_hello_interval), (if_ospf_priority),
3504 (if_ospf_retransmit_interval), (if_ospf_transmit_delay)
3505 argument changed from NUMBER to <range>.
3506 DEFUN (if_ospf_network_broadcast),
3507 DEFUN (if_ospf_network_non_broadcast),
3508 DEFUN (if_ospf_network_point_to_multipoint),
3509 DEFUN (if_ospf_network_point_to_point) functions are combined to
3510 DEFUN (if_ospf_network).
3511
35121999-06-18 Toshiaki Takada <takada@zebra.org>
3513
3514 * ospf_lsa.c: ospf_add_router_lsa (), ospf_add_network_lsa (),
3515 ospf_lsa_lookup (), ospf_lsa_count () Added.
3516
35171999-06-15 Toshiaki Takada <takada@zebra.org>
3518
3519 * DEFUN (ospf_debug_ism), DEFUN (ospf_debug_nsm),
3520 DEFUN (no_ospf_debug_ism), DEFUN (no_ospf_debug_nsm) Added.
3521 `debug ospf ism' command shows debug message.
3522 `debuf ospf nsm' command shows debug message.
3523
35241999-06-14 Toshiaki Takada <takada@zebra.org>
3525
3526 * ospf_lsa.c: ospf_network_lsa () Added.
3527 ospf_lsa_checksum () Added.
3528 * DEFUN (ospf_debug_packet), DEFUN (no_ospf_debug_packet) Added.
3529 `debug ospf packet' command shows debug message.
3530
35311999-06-13 Toshiaki Takada <takada@zebra.org>
3532
3533 * ospf_packet.h: Remove struct ospf_ls_req {}, ospf_ls_upd {},
3534 ospf_ls_ack {}.
3535
35361999-06-11 Toshiaki Takada <takada@zebra.org>
3537
3538 * ospf_dump.c: fix IP packet length treatment.
3539
35401999-06-10 Toshiaki Takada <takada@zebra.org>
3541
3542 * ospf_ism.h: Add OSPF_ISM_EVENT_EXECUTE() Macro Added.
3543 * ospf_nsm.h: Add OSPF_NSM_EVENT_EXECUTE() Macro Added.
3544
3545 * ospf_packet.c: ospf_db_desc (), ospf_db_desc_send () Added.
3546 ospf_make_hello (), ospf_make_db_desc () Added.
3547 ospf_db_desc_proc () Added.n
3548
3549 * Database Description packet can be processed.
3550
35511999-06-08 Toshiaki Takada <takada@zebra.org>
3552
3553 * ospf_lsa.c: New file.
3554
35551999-06-07 Toshiaki Takada <takada@zebra.org>
3556
3557 * ospf_neighbor.c: ospf_fully_adjacent_count () Added.
3558
35591999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
3560
3561 * ospf_spf.[ch]: New file.
3562
35631999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3564
3565 * ospf_zebra.c: Changed to use lib/zclient.c routines.
3566
3567 * ospf_zebra.h (zebra_start): Remove struct zebra.
3568
35691999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3570
3571 * ospfd.c (ospf_config_write): Add cast (unsigned long int) to
3572 ntohl for sprintf warning.
3573
35741999-05-19 Toshiaki Takada <takada@zebra.org>
3575
3576 * ospf_ism.c (ospf_dr_election): Join AllDRouters Multicast group
3577 if interface state changes to DR or BDR.
3578
35791999-05-14 Stephen R. van den Berg <srb@cuci.nl>
3580
3581 * ospf_main.c (signal_init): SIGTERM call sigint.
3582 (sigint): Logging more better message.
3583
35841999-05-12 Toshiaki Takada <takada@zebra.org>
3585
3586 * ospfd.c: Fix bug of `no router ospf' statement, it will work.
3587
35881999-05-11 Toshiaki Takada <takada@zebra.org>
3589
3590 * ospf_neighbor.c: ospf_nbr_free () Added.
3591
35921999-05-10 Toshiaki Takada <takada@zebra.org>
3593
3594 * ospfd.h: struct ospf_area { }, struct ospf_network { } Changed.
3595 * Fix bug of `no network' statement, it will work.
3596
35971999-05-07 Toshiaki Takada <takada@zebra.org>
3598
3599 * ospf_interface.c, ospf_zebra.c: Fix bug of last interface is not
3600 updated by ospf_if_update ().
3601
36021999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3603
3604 * Makefile.am (noinst_HEADERS): Add ospf_lsa.h for distribution.
3605
36061999-04-25 Toshiaki Takada <takada@zebra.org>
3607
3608 * ospf_interface.c: DEFUN (no_if_ospf_cost),
3609 DEFUN (no_if_ospf_dead_interval),
3610 DEFUN (no_if_ospf_hello_interval),
3611 DEFUN (no_if_ospf_priority),
3612 DEFUN (no_if_ospf_retransmit_interval),
3613 DEFUN (no_if_ospf_transmit_delay) Added.
3614
3615 interface_config_write () suppress showing interface
3616 default values.
3617
36181999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3619
3620 * ospf_dump.c (ospf_timer_dump): If thread is NULL return "inactive".
3621
3622 * ospfd.c (ospf_if_update): Fix bug of using ospf_area { } instead
3623 of ospf_network { }. So `router ospf' statement in ospfd.conf
3624 works again.
3625 (ospf_if_update): Call ospf_get_router_id for updating router ID.
3626
36271999-04-25 Toshiaki Takada <takada@zebra.org>
3628
3629 * ospf_interface.c: DEFUN (if_ospf_network) deleted.
3630 DEFUN (if_ospf_network_broadcast),
3631 DEFUN (if_ospf_network_non_broadcast),
3632 DEFUN (if_ospf_network_point_to_multipoint),
3633 DEFUN (if_ospf_network_point_to_point),
3634 DEFUN (no_if_ospf_network) Added.
3635
36361999-04-23 Toshiaki Takada <takada@zebra.org>
3637
3638 * ospfd.h: struct area { } changed to struct ospf_network { }.
3639 Add struct ospf_area { }.
3640 * ospfd.c: Add ospf_area_lookup_by_area_id (), ospf_network_new (),
3641 and ospf_network_free ().
3642 DEFUN (area_authentication), DEFUN (no_area_authentication) Added.
3643
36441999-04-22 Toshiaki Takada <takada@zebra.org>
3645
3646 * ospf_lsa.h: New file.
3647 * ospf_packet.h: LSA related struct definition are moved to
3648 ospf_lsa.h.
3649 * ospf_packet.c: ospf_verify_header () Added.
3650
36511999-04-21 Toshiaki Takada <takada@zebra.org>
3652
3653 * ospf_ism.c: ospf_elect_dr () and related function is changed.
3654 DR Election bug fixed.
3655 * ospf_dump.c: ospf_nbr_state_message (), ospf_timer_dump () Added.
3656 * ospfd.c: DEFUN (show_ip_ospf_neighbor) Added.
3657
36581999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
3659
3660 * ospf_main.c (main): access_list_init () is added for vty
3661 connection filtering.
3662
36631999-04-16 Toshiaki Takada <takada@zebra.org>
3664
3665 * ospfd.c: DEFUN (show_ip_ospf_interface) Added.
3666 * ospf_neighbor.c: ospf_nbr_count () Added.
3667
36681999-04-15 Toshiaki Takada <takada@zebra.org>
3669
3670 * ospfd.h: struct ospf { } Changed.
3671 * ospfd.c: ospf_lookup_by_process_id () Deleted.
3672 * ospf_ism.c: ospf_wait_timer () Added. WaitTimer will work.
3673
36741999-04-14 Toshiaki Takada <takada@zebra.org>
3675
3676 * ospf_ism.c: ospf_elect_dr () Added.
3677 * ospf_network.c: ospf_if_ipmulticast () Added.
3678
36791999-04-11 Toshiaki Takada <takada@zebra.org>
3680
3681 * ospf_interface.c: interface_config_write (),
3682 DEFUN (if_ip_ospf_cost),
3683 DEFUN (if_ip_ospf_dead_interval),
3684 DEFUN (if_ip_ospf_hello_interval),
3685 DEFUN (if_ip_ospf_priority),
3686 DEFUN (if_ip_ospf_retransmit_interval) and
3687 DEFUN (if_ip_ospf_transmit_delay) Added.
3688
36891999-04-08 Toshiaki Takada <takada@zebra.org>
3690
3691 * ospf_dump.c: ospf_packet_db_desc_dump () Added.
3692 * ospf_neighbor.c: ospf_nbr_bidirectional () Added.
3693 * ospf_nsm.c: nsm_twoway_received () Added.
3694
36951999-04-02 Toshiaki Takada <takada@zebra.org>
3696
3697 * ospf_neighbor.c: New file.
3698 * ospf_neighbor.h: New file.
3699 * ospf_nsm.c: New file.
3700 * ospf_nsm.h: New file.
3701 * ospf_packet.c: Add ospf_make_header (), ospf_hello () and
3702 ospf_hello_send (). Now OSPFd can receive Hello and send Hello.
3703
37041999-03-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3705
3706 * ospf_packet.c: Add ospf_recv_packet (). Now OSPF Hello can receive.
3707
37081999-03-19 Toshiaki Takada <takada@zebra.org>
3709
3710 * ospf_packet.c: New file.
3711 * ospf_packet.h: New file.
3712 * ospf_network.c: New file.
3713 * ospf_network.h: New file.
3714 * ospfd.h: move OSPF message structure has moved to ospf_packet.h.
3715
37161999-03-17 Kunihiro Ishiguro <kunihiro@zebra.org>
3717
3718 * ospf_zebra.c (ospf_zebra_get_interface): Fix for IPv6 interface
3719 address.
3720
3721 * Makefile.am (install-sysconfDATA): Overwrite install-sysconfDATA
3722 for install ospfd.conf.sample as owner read only file.
3723
3724 * ospf_main.c (usage): Change to use ZEBRA_BUG_ADDRESS.
3725
37261999-03-15 Toshiaki Takada <takada@zebra.org>
3727
3728 * ospf_ism.c: New file.
3729 * ospf_ism.h: New file.
3730 * ospf_dump.c: New file.
3731 * ospf_dump.h: New file.
3732
3733 * ospfd.h: Add (struct ospf), (struct config_network),
3734 (struct message) structure.
3735
3736 * ospf_interface.c: Add ospf_if_match_network ().
3737 * ospf_interface.h (struct ospf_interface): Change struct members.
3738
3739 * ospfd.c: ospf_lookup_by_process_id (), ospf_network_new (),
3740 DEFUN (network_area): Added.
3741
3742 * ospfd.conf.sample: Change sample configuration.
3743
37441999-03-05 Toshiaki Takada <takada@zebra.org>
3745
3746 * ospf_interface.c: New file.
3747 * ospf_interface.h: New file.
3748 * ospf_zebra.h: New file.
3749 * ospf_zebra.c: Add interface function for zebra daemon.
3750 * ospfd.c: New file.
3751
37521999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3753
3754 * Move IPv6 codes and files to ospf6d directory.
3755
37561999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
3757
3758 * syslog support added
3759
37601998-12-22 Toshiaki Takada <takada@zebra.org>
3761
3762 * ospfd.h: New file.
3763 * ospf_lsa.h: New file.
3764
37651998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
3766
3767 * Makefile.am: New file.
3768 * ospf_main.c: New file.
3769