blob: 209027e7d923d2870bd02d6f59501945b59b37f0 [file] [log] [blame]
paul42c98192005-05-07 02:22:51 +000012005-05-07 Yar Tikhiy <yar@comp.chem.msu.su>
2
3 * ospf_network.c: Log ifindex on multicast membership leave/join
4 events.
5
paul4dadc292005-05-06 21:37:42 +000062005-05-06 Paul Jakma <paul.jakma@sun.com>
7
8 * (general) extern and static qualifiers added.
9 unspecified arguments in definitions fixed, typically they should
10 be 'void'.
11 function casts added for callbacks.
12 Guards added to headers which lacked them.
13 Proper headers included rather than relying on incomplete
14 definitions.
15 gcc noreturn function attribute where appropriate.
16 * ospf_opaque.c: remove the private definition of ospf_lsa's
17 ospf_lsa_refresh_delay.
18 * ospf_lsa.h: export ospf_lsa_refresh_delay
19 * ospf_packet.c: (ospf_make_md5_digest) make *auth_key const,
20 correct thing to do - removes need for the casts later.
21 * ospf_vty.c: Use vty.h's VTY_GET_INTEGER rather than ospf_vty's
22 home-brewed versions, shuts up several warnings.
23 * ospf_vty.h: remove VTY_GET_UINT32. VTY_GET_IPV4_ADDRESS and
24 VTY_GET_IPV4_PREFIX moved to lib/vty.h.
25 * ospf_zebra.c: (ospf_distribute_list_update_timer) hacky
26 overloading of the THREAD_ARG pointer should at least use
27 uintptr_t.
28
paul9e67dc22005-04-15 12:10:17 +0000292005-04-15 Zhipeng Gong <zpgong@cdc.3upsystems.com>
30
31 * ospf_abr.c: (ospf_abr_announce_network_to_area) dont forget
32 to approve LSAs for the case where metric has changed, lsa gets
33 flushed otherwise. (backport candidate).
34
ajs634f9ea2005-04-11 15:51:40 +0000352005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
36
37 * ospf_zebra.c (ospf_zebra_add): Call zclient_send_message instead
38 of writen.
39
ajsd2fc8892005-04-02 18:38:43 +0000402005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
41
ajse4319de2005-04-02 23:23:55 +000042 * ospf_interface.h: (ospf_if_lookup_by_name) Remove declaration of a
43 function that does not exist.
44
452005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
46
ajs21fefa92005-04-02 23:16:41 +000047 * ospf_zebra.c: (zebra_interface_if_lookup) Must use
48 if_lookup_by_name_len.
49
502005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
51
ajsa3491982005-04-02 22:50:38 +000052 * ospf_interface.c: (ospf_vl_new) Use strnlen to fix call to if_create.
53
542005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
55
ajsd2fc8892005-04-02 18:38:43 +000056 * ospf_vty.c: (show_ip_ospf_interface_sub) Show ifindex and interface
57 flags to help with debugging.
58 * ospf_zebra.c: (ospf_interface_delete) After deleting, set ifp->ifindex
59 to IFINDEX_INTERNAL.
60 (zebra_interface_if_lookup) Make function static. Tighten up code.
61
ajsaca72fd2005-03-31 15:18:21 +0000622005-03-31 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
63
64 * ospf_dump.c: (show_debugging_ospf) Show if ospf event debugging
65 is turned on.
66
ajsfd651fa2005-03-29 16:08:16 +0000672005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
68
ajsa608bbf2005-03-29 17:03:49 +000069 * ospf_zebra.c: (ospf_interface_state_up) If the MTU of an operative
70 interface changes, print a debug message and call ospf_if_reset()
71 to simulate down/up on the interface.
72 * ospf_interface.h: Declare new function ospf_if_reset().
73 * ospf_interface.c: (ospf_if_reset) New function to call ospf_if_down
74 and ospf_if_up for all ospf interfaces attached to an interface.
75
762005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
77
ajs5dcbdf82005-03-29 16:13:49 +000078 * ospf_packet.c: (ospf_write_frags) Enhance error message to
79 show MTU. Also make function static.
80 (ospf_write) Enhance error message to show interface name and MTU.
81 Also make function static.
82
832005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
84
85 * ospf_vty.c: (show_ip_ospf_interface_sub) Display interface MTU and
86 bandwidth; this is useful for debugging problems. Also, the function
87 should be static.
ajsfd651fa2005-03-29 16:08:16 +000088
hasso1b639042005-03-27 13:32:25 +0000892005-03-27 Hasso Tepper <hasso at quagga.net>
90
91 * ospf_snmp.c: Don't crash in snmp query if ospf instance doesn't
92 exist at all.
93
hasso343f5cc2005-03-25 19:48:40 +0000942005-03-25 Hasso Tepper <hasso at quagga.net>
95
96 * ospfd.h: Include log.h, fixes compile with gcc-4.0.
97
ajs9dbc7972005-03-13 19:27:22 +0000982005-03-13 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
99
100 * ospf_lsa.c: (ospf_lsa_refresh_walker) If the system clock jumps
101 backward, then current time may be less than
102 ospf->lsa_refresher_started. This was causing invalid values
103 for ospf->lsa_refresh_queue.index resulting in infinite loops.
104 Problem fixed by casting the expression to unsigned before taking
105 the modulus.
106
ajs5c333492005-02-23 15:43:01 +00001072005-02-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
108
109 * ospfd.h: Add new field struct stream *ibuf to struct ospf.
110 * ospfd.c: (ospf_new) Check return code from ospf_sock_init.
111 Allocate ibuf using stream_new(OSPF_MAX_PACKET_SIZE+1).
112 (ospf_finish) Call stream_free(ospf->ibuf.
113 * ospf_packet.c: (ospf_read) Call stream_reset(ospf->ibuf) and then
114 pass it to ospf_recv_packet for use in receiving the packet
115 (instead of allocating a new stream for each packet received).
116 Eliminate all calls to stream_free(ibuf).
117 (ospf_recv_packet) The struct stream *ibuf is now passed in as
118 an argument. No need to use recvfrom to peek at the packet
119 header (to see how big it is), just use ospf->ibuf which is
120 always large enough (this eliminates a system call to recvfrom).
121 Therefore, no need to allocate a stream just for this packet,
122 and no need to free it when done.
123
hasso462f20d2005-02-23 11:29:02 +00001242005-02-23 Vincenzo Eramo <eramo at infocom.ing.uniroma1.it>
125
126 * ospf_lsa.h: New flag to the LSA structure for the SPF calculation.
127 * ospf_lsdb.h: Export ospf_lsdb_clean_stat() function.
128 * ospf_spf.h: Add link to the LSA stat structure into vertex.
129 * ospf_spf.c: New functions cmp() and update_stat() to manage
130 candidates. Remove ospf_spf_has_vertex(), ospf_vertex_lookup(),
131 ospf_install_candidate() and ospf_spf_register() functions not needed
132 any more. Update ospf_vertex_new(), ospf_spf_next() and
133 ospf_spf_calculate() functions to use pqueue instead of linked list.
134
hassoe40dcce2005-02-21 14:58:42 +00001352005-02-21 Hasso Tepper <hasso at quagga.net>
136
137 * ospf_ase.c: Don't show messages related to the ase calculations if
138 we are not debugging.
139
hasso306541b2005-02-19 17:58:40 +00001402005-02-19 Hasso Tepper <hasso at quagga.net>
141
142 * ospf_api.h: char isn't always signed, but it has to be it here.
143
paulfa81b712005-02-19 01:19:20 +00001442005-02-19 Paul Jakma <paul.jakma@sun.com>
145
146 * ospf_packet.c: (ospf_stream_copy) remove
147 (ospf_packet_dup) use stream_copy instead of ospf_stream_copy
148
ajs038163f2005-02-17 19:55:59 +00001492005-02-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
150
151 * ospf_packet.c: (ospf_recv_packet) If there is somehow a runt
152 packet in the queue, it must be discarded. Improve warning messages.
153 Fix scope to static.
154 (ospf_read) Fix bug: should reset the read thread in all cases
155 to make sure we continue to get incoming messages.
156
paul658b03a2005-02-15 10:10:55 +00001572005-02-15 Paul Jakma <paul.jakma@sun.com>
158
159 * ospf_packet.c: (ospf_recv_packet) Fix silly error wrt allocating
160 ibuf. Thanks Andrew.
161
paulbfdc44a2005-02-14 23:48:42 +00001622005-02-14 Paul Jakma <paul.jakma@sun.com>
163
164 * ospf_packet.c: (ospf_recv_packet) use stream_recvmsg.
165
hasso082253f2005-02-11 08:31:54 +00001662005-02-11 Hasso Tepper <hasso at quagga.net>
167
168 * ospf_lsdb.c: Fix sum of checksums calculation.
169
ajs083ee9d2005-02-09 15:35:50 +00001702005-02-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
171
172 * ospf_packet.c: (ospf_write) If sendmsg fails, give more info in the
173 error message.
174
ajsba6454e2005-02-08 15:37:30 +00001752005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
176
ajs8cfde372005-02-08 15:59:16 +0000177 * ospf_interface.h: Reduce structure padding by putting new u_char
178 field multicast_memberships in a better spot (grouped with
179 other u_char fields type and state).
180
1812005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
182
ajsba6454e2005-02-08 15:37:30 +0000183 * ospf_interface.h: Improve passive_interface comment. Add new
184 multicast_memberships bitmask to struct ospf_interface to track
185 active multicast subscriptions. Declare new function
186 ospf_if_set_multicast.
187 * ospf_interface.c: (ospf_if_set_multicast) New function to configure
188 multicast memberships properly based on the current
189 multicast_memberships status and the current values of the
190 ospf_interface state, type, and passive_interface status.
191 (ospf_if_up) Remove call to ospf_if_add_allspfrouters (this is
192 now handled by ism_change_state's call to ospf_if_set_multicast).
193 (ospf_if_down) Remove call to ospf_if_drop_allspfrouters (now
194 handled by ism_change_state).
195 * ospf_ism.c: (ospf_dr_election) Remove logic to join or leave
196 the DRouters multicast group (now handled by ism_change_state's call
197 to ospf_if_set_multicast).
198 (ism_change_state) Add call to ospf_if_set_multicast to change
199 multicast memberships as necessary to reflect the new interface state.
200 * ospf_packet.c: (ospf_hello) When a Hello packet is received on a
201 passive interface: 1. Increase the severity of the error message
202 from LOG_INFO to LOG_WARNING; 2. Add more information to the error
203 message (packet destination address and interface address);
204 and 3. If the packet was sent to ospf-all-routers, then try
205 to fix the multicast group memberships.
206 (ospf_read) When a packet is received on an interface whose state
207 is ISM_Down, enhance the warning message to show the packet
208 destination address, and try to update/fix the multicast group
209 memberships if the packet was sent to a multicast address.
210 When a packet is received for ospf-designated-routers, but the
211 current interface state is not DR or BDR, then increase the
212 severity level of the error message from LOG_INFO to LOG_WARNING,
213 and try to fix the multicast group memberships.
214 * ospf_vty.c: (ospf_passive_interface) Call ospf_if_set_multicast for
215 any ospf interface that may have changed from active to passive.
216 (no_ospf_passive_interface) Call ospf_if_set_multicast for
217 any ospf interface that may have changed from passive to active.
218 (show_ip_ospf_interface_sub) Show multicast group memberships.
219
paul3a9eb092005-02-08 11:29:41 +00002202005-02-08 Paul Jakma <paul@dishone.st>
221
222 * ospf_packet.c: (various) Remove unneeded stream_set_putp abuse.
223
ajs847947f2005-02-02 18:38:48 +00002242005-02-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
225
226 * ospf_packet.c: (ospf_read) Fix bug: must check for state ISM_Down,
227 not for event ISM_InterfaceDown. And improve the message by
228 adding the interface flags.
229
ajs0b7d97d2005-01-30 17:24:02 +00002302005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
231
232 * ospf_network.c: (ospf_sock_init) Save errno before calling
233 ospfd_privs.change.
234
ajsc3eab872005-01-29 15:52:07 +00002352005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
236
237 * ospf_packet.c: (ospf_packet_add) If oi->obuf is NULL, print
238 an error message and return.
239 (ospf_read) If the interface state is ISM_InterfaceDown, issue
240 a warning message and ignore the packet.
241
gdt86f1fd92005-01-10 14:20:43 +00002422005-01-10 Greg Troxel <gdt@fnord.ir.bbn.com>
243
244 * ospf_packet.h: Remove commented out definition of
245 OSPF_MAX_PACKET; neither it or the uncommented one are used any more.
246
247 * ospf_packet.c (ospf_make_ls_upd): Leave room for authentication
248 when deciding if an update will fit.
249 (ospf_packet_authspace): Factor out calculation of size required
250 for authentication.
251 (ospf_make_db_desc): Use ospf_max_packet, not OSPF_MAX_PACKET.
252 Don't confuse readers that there is a macro.
253
ajs3dc56b52004-12-30 15:11:19 +00002542004-12-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
255
256 * ospf_network.c: Improve all setsockopt error messages to give detailed
257 information on the arguments.
258
ajsb87f7722004-12-29 20:41:26 +00002592004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
260
ajs17eaa722004-12-29 21:04:48 +0000261 * ospf_packet.c: (ospf_db_desc) Reduce severity of "Negotiation done"
262 messages from LOG_WARNING to LOG_INFO, since this seems to be
263 normal.
264
2652004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
266
ajsb87f7722004-12-29 20:41:26 +0000267 * ospf_packet.c: (ospf_read) Always look up the interface if
268 ospf_recv_packet returns NULL ifp, since some platforms such
269 as Solaris 8 appear to support ifindex retrieval but don't.
270
hasso1d806282004-12-22 09:43:20 +00002712004-12-22 Hasso Tepper <hasso at quagga.net>
272
273 * ospf_dump.c: Show debug configuration in vtysh.
hassoc6b87812004-12-22 13:09:59 +0000274 * ospf_vty.c: Fix "show ip ospf" output. Router can't be elected in
275 any case if it's configured as "translate-never".
hassofe71a972004-12-22 16:16:02 +0000276 * ospf_lsdb.[ch]: New function to calculate sum of checksums.
277 * ospf_vty.c: Bugfix to show really number of AS external LSAs, not
278 number of all LSAs with AS scope, this includes opaque as LSAs as
279 well, show this number separately. Show numbers and sums of
280 checksums for each type of LSAs.
281 * ospf_lsa.c: Calculate checksum before putting LSA into database.
hasso1d806282004-12-22 09:43:20 +0000282
ajsbc18d612004-12-15 15:07:19 +00002832004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
284
285 * ospf_interface.h: Declare new function ospf_default_iftype.
286 * ospf_interface.c: (ospf_default_iftype) New function to centralize
287 this logic in one place.
288 * ospf_zebra.c: (ospf_interface_add) Use new function
289 ospf_default_iftype.
290 * ospf_vty.c: (no_ip_ospf_network,config_write_interface) Fix logic
291 by using new function ospf_default_iftype.
292
ajs3aa8d5f2004-12-11 18:00:06 +00002932004-12-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
294
295 * ospf_packet.c: (ospf_db_desc) Should be static, not global.
296 (ospf_hello,ospf_db_desc,ospf_ls_upd,ospf_ls_ack) Improve warning
297 messages to include identifying information (e.g. router id).
298 * ospf_nsm.c: (nsm_change_state) Improve info message to include
299 router id and state names.
300
gdt91f3e522004-12-09 14:51:03 +00003012004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
302
gdt3fb9de72004-12-09 16:30:04 +0000303 * ospf_apiserver.c (ospf_apiserver_term): Obtain struct
304 ospf_apiserver * from listnode. Remove unused variables. Follows
305 suggestion from Jay Fenlason.
gdt91f3e522004-12-09 14:51:03 +0000306
ajs9b0e25c2004-12-08 19:06:51 +00003072004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
308
309 * *.c: Change level of debug messages to LOG_DEBUG.
310
ajs274a4a42004-12-07 15:39:31 +00003112004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
312
313 * ospf_main.c: (main) The 2nd argument to openzlog has been removed.
314
ajs887c44a2004-12-03 16:36:46 +00003152004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
316
ajs1210fa62004-12-03 16:43:24 +0000317 * ospf_packet.c: (ospf_db_desc) Reduce priority on a debug message
318 from LOG_NOTICE to LOG_DEBUG.
319
3202004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
321
ajs887c44a2004-12-03 16:36:46 +0000322 * ospf_main.c: (sigint) Use zlog_notice for termination message.
323 (main) Issue a startup announcement using zlog_notice.
324
ajsbec595a2004-11-30 22:38:43 +00003252004-11-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
326
327 * ospf_packet.c: (ospf_db_desc_proc) Fix spelling of packet in warning
328 message and in comment.
329 (ospf_db_desc) Warning message that a packet is being discarded
330 should give the router id of the packet source. Fix spelling
331 of packet in two warning messages.
332 (ospf_ls_req) Warning message that a link state request is being
333 discarded should give the router id of the neighbor that sent it.
334
ajs5b85fac2004-11-26 19:36:42 +00003352004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
336
337 * ospf_main.c: Remove #include "debug.h" (was not being used, and
338 lib/debug.h has now been deleted).
339
hassoc0652302004-11-25 19:33:48 +00003402004-11-25 Hasso Tepper <hasso at quagga.net>
341
342 * ospf_main.c: Make group to run as configurable.
343
gdt69e13252004-11-15 18:51:15 +00003442004-11-15 Greg Troxel <gdt@fnord.ir.bbn.com>
345
346 * ospf_packet.c (ospf_recv_packet): Assume CMSG_SPACE is present
347 and works (lib/zebra.h provides if OS doesn't).
348
paul788dab12004-11-15 11:48:37 +00003492004-11-15 Paul Jakma <paul@dishone.st>
350
351 * ospf_{apiserver,te}.c: ospf_lsa_free's should be ospf_lsa_unlock.
352
paul05e85fa2004-11-12 10:52:19 +00003532004-11-12 Paul Jakma <paul@dishone.st>
354
355 * ospf_ia.c: (process_summary_lsa) Only an ABR has any reason to
356 ignore stub area summary default. Even so it seems a strange
357 check, add a comment to that effect.
358
paulf3ae74c2004-11-04 20:35:31 +00003592004-11-04 Paul Jakma <paul@dishone.st>
360
361 * ospfd.c: (ospf_network_match_iface) revert to previous network
362 statement match behaviour.
363
paul62d8e962004-11-02 20:26:45 +00003642004-11-02 Paul Jakma <paul@dishone.st>
365
366 * ospf_packet.c: (ospf_write_frags) remove iov arg, msg already points
367 to it. Add convenience pointer to msg->msg_iov[1], and use this,
368 fixing the unfortunate borkenness introduced in moving of this code
369 to a function.
370 (ospf_write) remove iovp and fix up call to previous.
371 (ospf_ls_upd_packet_new) cast size to long int - unfortunately
372 glibc's size_t format modifier is not portable.
373
paul37ccfa32004-10-31 11:24:51 +00003742004-10-31 Paul Jakma <paul@dishone.st>
375
376 * ospf_packet.c: (ospf_write_frags) Add debug output
377 (ospf_write) set type early, so we can pass it to
378 ospf_write_frags.
379 (ospf_ls_upd_packet_new) print size in debug output when too large
380 packet is encountered.
paul64511f32004-10-31 18:01:13 +0000381 * ospf_zebra.c: (ospf_distribute_list_update_timer) Ugly misuse of
382 THREAD_ARG to store an integer, but it should at least use same
383 same type to retrieve the value. Assert value is sane.
paul37ccfa32004-10-31 11:24:51 +0000384
paulac191232004-10-22 12:05:17 +00003852004-10-22 Paul Jakma <paul@dishone.st>
386
387 * ospf_network.c: (ospf_sock_init) call neutral setsock_ifindex()
388 function.
389 * ospf_packet.c: (ospf_read) manually look up ifindex
paul4ccb2c42004-10-22 22:52:33 +0000390 if system could not have returned one, eg openbsd, thanks to Rivo
391 Nurges for highlighting problem and fix.
paul06f953f2004-10-22 17:00:38 +0000392 Change setsockopt_pktinfo to setsockopt_ifindex.
paulac191232004-10-22 12:05:17 +0000393
hasso3fb9cd62004-10-19 19:44:43 +00003942004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
395
396 * ospf_snmp.c: (ospf_snmp_if_update) Fix logic to handle PtP links
397 with dedicated subnets properly.
398 * ospf_lsa.c: (lsa_link_ptop_set) ditto.
399 * ospfd.c: (ospf_network_match_iface) ditto.
400 (ospf_network_run) ditto.
401 * ospf_interface.c: (ospf_if_is_configured) ditto.
402 (ospf_if_lookup_by_prefix) ditto.
403 (ospf_if_lookup_recv_if) ditto.
404 * ospf_vty.c: (show_ip_ospf_interface_sub) Display the peer or
405 broadcast address if present.
406
hassod68614d2004-10-13 09:32:48 +00004072004-10-13 Hasso Tepper <hasso at quagga.net>
408
409 * ospf_main.c: Unbreak compilation with ospfapi disabled.
hassoc75105a2004-10-13 10:33:26 +0000410 * ospf_snmp.c: Remove defaults used to initialize smux connection to
411 snmpd. Connection is initialized only if smux peer is configured.
hassod68614d2004-10-13 09:32:48 +0000412
hassof4d58ce2004-10-12 06:13:54 +00004132004-10-12 Hasso Tepper <hasso at quagga.net>
414
415 * ospf_main.c, ospf_opaque.c: Unbreak ospfclient compilation - move
416 static variable from ospf_main.c into ospf_opaque.c.
417
hassoc3abdb72004-10-11 16:27:03 +00004182004-10-11 Hasso Tepper <hasso at quagga.net>
419
420 * ospf_main.c, ospf_opaque.c: Disable ospfapi init by default. New
421 command line switch to enable it.
422
paul6b333612004-10-11 10:11:25 +00004232004-10-11 Paul Jakma <paul@dishone.st>
424
425 * ospf_dump.c: (ospf_ip_header_dump) Assume header is in host order
426 remove ntohs that should have dissappeared. Take struct ip
427 as argument, caller has to know there's an IP header at start of
428 stream anyway.
429 * ospf_dump.h: update declaration of ospf_ip_header_dump.
430 * ospf_packet.c: (ospf_write) correct call to
431 sockopt_iphdrincl_swab_htosys which was munging the header.
432 (ospf_recv_packet) ip_len is needed for old OpenBSD fixup.
433 (ospf_read) sockopt_iphdrincl_swab_systoh ip header as soon as
434 we have it.
paul6c835672004-10-11 11:00:30 +0000435 * (global) Const char update and signed/unsigned fixes.
436 * (various headers) size defines should be unsigned.
437 * ospf_interface.h: remove duplicated defines, include the
438 authoritative header - though, these defines should probably
439 be moved to a dedicated header, or ospfd.h.
440 * ospf_lsa.h: (struct lsa) ls_seqnum should be unsigned.
441 * ospf_packet.c: (ospf_write) cast result of shift to unsigned.
paul6b333612004-10-11 10:11:25 +0000442
hassoeb1ce602004-10-08 08:17:22 +00004432004-10-08 Hasso Tepper <hasso at quagga.net>
444
445 * *.[c|h]: Fix compiler warnings: make some strings const, signed ->
446 unsigned, remove unused variables etc.
447
gdt54ade992004-10-07 19:38:20 +00004482004-10-07 Greg Troxel <gdt@claude.ir.bbn.com>
449
450 * ospf_apiserver.c (ospf_apiserver_unregister_opaque_type): Don't
451 use of variable names 'node' and 'nextnode' to avoid possible
452 conflict with list macros. Move variable declaration inside for
453 loop after a statement to top of function.
454
paulaa20c6f2004-10-07 14:19:36 +00004552004-10-07 Paul Jakma <paul@dishone.st>
456
457 * ospf_snmp.c: Missed list typedef update
458 * ospf_dump.c: Include sockopt.h for header swab functions.
459
paul18b12c32004-10-05 14:38:29 +00004602004-10-05 Paul Jakma <paul@dishone.st>
461
462 * ospf_packet.c: replace ospf_swap_iph_to... with
463 sockopt_iphdrincl_swab_...
464
hasso18a6dce2004-10-03 18:18:34 +00004652004-10-03 James R. Leu <jleu at mindspring.com>
466
467 * ospf_zebra.c: Read router id related messages from zebra daemon.
468 Schedule router-id update thread if it's changed.
469 * ospfd.c: Remove own router-id selection function. Use router id from
470 zebra daemon if it isn't manually overriden in configuration.
471
paul68defd62004-09-27 07:27:13 +00004722004-09-27 Paul Jakma <paul@dishone.st>
473
paul6a99f832004-09-27 12:56:30 +0000474 * ospf_dump.c: (ospf_ip_header_dump) Use HAVE_IP_HDRINCL_BSD_ORDER
475 Apply to offset too. Print ip_cksum, lets not worry about
476 possible 2.0.37 compile problems.
477 * ospf_packet.c: (ospf_swap_iph_to{n,h}) Use
478 HAVE_IP_HDRINCL_BSD_ORDER.
479 (ospf_recv_packet) ditto.
480 (ospf_write) Fixup iov argument to ospf_write_frags.
481 (struct msghdr).msg_name is caddr_t on most platforms.
paul68defd62004-09-27 07:27:13 +0000482 (ospf_recv_packet) ditto. And msg_flags is not always there
483 memset struct then set fields we care about rather than
484 initialise all fields individually.
485
hassoc9e52be2004-09-26 16:09:34 +00004862004-09-26 Hasso Tepper <hasso at quagga.net>
487
488 * ospf_abr.c, ospf_dump.c, ospf_lsa.c, ospf_packet.c, ospf_vty.c,
489 ospf_zebra.c: Fix compiler warnings.
490
paul87d6f872004-09-24 08:01:38 +00004912004-09-24 Paul Jakma <paul@dishone.st>
492
493 * ospf_apiserver.{c,h}: lists typedef removal cleanup.
494 update some list loops to LIST_LOOP. some miscellaneous indent
495 fixups.
496 (ospf_apiserver_unregister_opaque_type) fix listnode_delete of
497 referenced node in loop.
paul1603c062004-09-24 08:23:24 +0000498 (ospf_apiserver_term) loops calling ospf_apiserver_free, which
499 deletes referenced nodes from apiserver_list, fixed.
paul87d6f872004-09-24 08:01:38 +0000500 * ospf_interface.h: lists typedef removal cleanup.
501 * ospf_opaque.{c,h}: lists typedef removal cleanup. update some list
502 loops to LIST_LOOP. miscellaneous style and indent fixups.
503 * ospf_te.{c,h}: ditto
504 * ospf_packet.c: lists typedef removal cleanup.
paula2570682004-09-24 08:09:57 +0000505 (ospf_write) ifdef fragmentation support. move actual
506 fragmentation out to a new, similarly ifdefed, function.
507 (ospf_write_frags) fragmented write support, moved from previous.
paul87d6f872004-09-24 08:01:38 +0000508
hasso52dc7ee2004-09-23 19:18:23 +00005092004-09-23 Hasso Tepper <hasso at quagga.net>
510
511 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
512
paul68b73392004-09-12 14:21:37 +00005132004-09-12 Paul Jakma <paul@dishone.st>
514
515 * ospf_packet.c: Fix bugzilla #107
516 (ospf_packet_max) get rid of the magic 88 constant
517 (ospf_swab_iph_ton) new function. set ip header to network order,
518 taking BSDisms into account.
519 (ospf_swab_iph_toh) the inverse.
520 (ospf_write) Add support for IP fragmentation, will only work on
521 linux though, other kernels make it impossible. get rid of the
522 magic 4 constant.
523 (ospf_make_ls_upd) Bound check to end of stream, not to
524 interface mtu.
525 (ospf_ls_upd_packet_new) New function, allocate upd packet
526 taking oversized LSAs into account.
527 (ospf_ls_upd_queue_send) use ospf_ls_upd_packet_new to allocate,
528 rather than statically allocating mtu sized packet buffer, which
529 actually was wrong - it didnt take ip header into account, which
530 should not be included in packet buffer.
531 (ospf_ls_upd_send_queue_event) minor tweaks and remove
532 TODO comment.
533
gdt630e4802004-08-31 17:28:41 +00005342004-08-31 David Wiggins <dwiggins@bbn.com>
535
536 * ospf_spf.c (ospf_spf_calculate): Many more comments and debug
537 print statements. New function ospf_vertex_dump used in debugging.
538
5392004-08-31 David Wiggins <dwiggins@bbn.com>
540
541 * ospf_spf.h (struct vertex): Comments for flags and structure members.
542
5432004-08-31 David Wiggins <dwiggins@bbn.com>
544
545 * ospf_route.c: When finding an alternate route, log cost as well.
546
5472004-08-31 David Wiggins <dwiggins@bbn.com>
548
549 * ospf_interface.c (ospf_lookup_if_params): Initialize af in
550 struct prefix allocated on stack.
551
5522004-08-31 David Wiggins <dwiggins@bbn.com>
553
554 * ospf_packet.c (ospf_ls_ack_send_delayed): In p2mp mode, send
555 acks to AllSPFRouters, rather than All-DR.
556
hasso7b901432004-08-31 13:37:42 +00005572004-08-27 Hasso Tepper <hasso at quagga.net>
558
559 * ospf_vty.c: Don't print ospf network type under interface only
560 if interface is in broadcast mode and interface type really is
561 broadcast. Fixes Bugzilla #108.
562
gdtd7d93992004-08-27 12:03:42 +00005632004-08-27 David Wiggins <dwiggins@bbn.com>
564
565 * ospf_spf.c (ospf_nexthop_calculation): Initialize address family
566 in on-stack struct prefix_ipv4. Fixes point-to-multipoint SPF
567 calculation.
568
gdtd0deca62004-08-26 13:14:07 +00005692004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
570
571 * ospf_packet.c (ospf_recv_packet): adjust size declaration of
gdtd7d93992004-08-27 12:03:42 +0000572 buffer used to get interface index so that it compiles on other
573 than Linux and includes the required alignment space. Probably
574 this was only working on sparc/sparc64 because most of
575 sockaddr_dl was not being written.
gdtd0deca62004-08-26 13:14:07 +0000576
paul863082d2004-08-19 04:43:43 +00005772004-08-19 Paul Jakma <paul@dishone.st>
578
579 * ospf_packet.c: update to match sockopt renames.
580
paul75ee0b82004-08-05 09:10:31 +00005812004-08-04 Paul Jakma <paul@dishone.st>
582
583 * ospf_spf.c: (ospf_spf_consider_nexthop) Add comment about issue.
584 Compare only against list head - all nexthops must be same cost
585 anyway, fixes a reference-listnode-after-delete bug noted by
586 Kir Kostuchenko.
587 (ospf_nexthop_calculation) Use ospf_spf_consider_nexthop for all
588 candidates attached to root.
589
paul36c64ef2004-07-27 11:19:11 +00005902004-07-27 Paul Jakma <paul@dishone.st>
591
paul48fe13b2004-07-27 17:40:44 +0000592 * ospf_packet.c: (ospf_ls_upd_send_queue_event) fix thinko from
593 last fix for ospfd wedging due to oversize LSAs: dont list loop on
594 ospf_ls_upd_queue_send() - guaranteed segfault.
595
5962004-07-27 Paul Jakma <paul@dishone.st>
597
paul36c64ef2004-07-27 11:19:11 +0000598 * ospf_opaque.c: (ospf_opaque_lsa_flush_schedule) do not NULL out
599 the LSA as then free_opaque_info_per_id() can never unlock (and
600 free) the LSA. Reported by Gunnar Stigen.
601
paul2dd8bb42004-07-23 15:13:48 +00006022004-07-23 Paul Jakma <paul@dishone.st>
603
604 * ospf_network.c: Replace PKTINFO/RECVIF with call to
605 setsockopt_pktinfo
606 * ospf_packet.c: Use getsockopt_pktinfo_ifindex and
607 SOPT_SIZE_CMSG_PKTINFO_IPV4.
608
paul59ea14c2004-07-14 20:50:36 +00006092004-07-14 Paul Jakma <paul@dishone.st>
610
611 * ospf_packet.c: (ospf_ls_upd_send_queue_event) Partial fix for
612 problem reported by Peter Frost amongst others, where function
613 will spin indefinitely if update list contains LSAs greater than
614 MTU-headers or other condition leading to update list never being
615 cleared. Problem of what to do with these LSAs remains.
616 (ospf_make_ls_upd) add comment about large LSA problem,
617 indentation cleanup.
618
gdtb2c1b282004-07-01 12:35:36 +00006192004-07-01 Greg Troxel <gdt@fnord.ir.bbn.com>
620
621 * Makefile.am (lib_LTLIBRARIES): make libospf shared
622
gdt87efd642004-06-30 17:36:11 +00006232004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
624
625 * Makefile.am: Add shlib support.
626
hassobeebba72004-06-20 21:00:27 +00006272004-06-10 Hasso Tepper <hasso@estpak.ee>
628
629 * *: Removed ifdefs HAVE_NSSA.
630
paul553ff112004-06-06 09:41:00 +00006312004-06-06 Paul Jakma <paul@dishone.st>
632
633 * ospf_dump.c,ospf_lsa.c: Fix typos of merge of previous.
634 ospf_flood.c: (ospf_process_self_originated_lsa) fix zlog format
635
paul0c2be262004-05-31 14:16:54 +00006362004-05-31 Sagun Shakya <sagun.shakya@sun.com>
637
638 * ospf_dump.c: (ospf_lsa_header_dump) LOOKUP can return null if
639 index is out of range.
640 ospf_flood.c: endianness fix
641 ospf_lsa.c: Missing ntohl's on (struct lsa *)->data->ls_seqnum
642 in various places.
643
hassodd669bb2004-05-10 07:43:59 +00006442004-05-10 Hasso Tepper <hasso@estpak.ee>
645
646 * ospf_zebra.c, ospfd.c: Move ospf_prefix_list_update() function
647 to ospf_zebra.c from ospfd.c and add redistribution updates if
648 route-map is used in redistribution.
649 * ospf_main.c: Remove now useless call to ospf_init().
650
paul0a589352004-05-08 11:48:26 +00006512004-05-08 Paul Jakma <paul@dishone.st>
652
653 * ospf_zebra.c: Sync with lib/zclient changes
654
pauld3f0d622004-05-05 15:27:15 +00006552004-05-05 Paul Jakma <paul@dishone.st>
656
paul5bd41892004-05-05 17:29:24 +0000657 * ospf_network.c: (ospf_sock_init) Check whether IP_HDRINCL is
658 defined. Warn at compile and runtime. Use
659 IPTOS_PREC_INTERNETCONTROL otherwise.
pauld3f0d622004-05-05 15:27:15 +0000660 * ospf_packet.c: (ospf_associate_packet_vl) cleanup, move
661 some of the checks up to ospf_read, return either a
662 virtual link oi, or NULL.
663 (ospf_read) Cleanup, make it responsible for checks. Remove
664 the nbr lookup - moved to ospf_neighbor. Adjust all nbr
665 lookups to use new wrappers exported by ospf_neighbor.
666 * ospf_neighbor.h: Add ospf_neigbour_get and ospf_nbr_lookup.
667 * ospf_neighbor.c: (ospf_neigbour_get) Index ospf_interface
668 neighbour table by router-id for virtual-link ospf_interfaces,
669 not by peer_addr (which breaks for asymmetric vlinks)
670 (ospf_nbr_lookup) add a wrapper for nbr lookups to deal with
671 above.
paulcd59da62004-05-05 17:26:55 +0000672 * ospf_interface.c: (ospf_vl_set_params) Catch changes of interface
673 address for either end of a virtual-link, and hence potential cost
674 changes.
675
hassoa0a39762004-04-23 08:51:10 +00006762004-04-22 Hasso Tepper <hasso@estpak.ee>
677
678 * ospf_zebra.c: Don't ignore reject/bh routes, it's the only way
679 to "summarize" routes in ASBR at the moment.
680
hasso8585d4e2004-04-20 17:25:12 +00006812004-04-20 Hasso Tepper <hasso@estpak.ee>
682
683 * ospfd.c: Unset NP flag if area is going to be normal or stub.
684 Fixes UNH OSPF_NSSA.1.2a comment.
685 * ospf_abr.c: Originate default into stub/nssa area even if
686 summaries are disabled.
687 * ospf_zebra.c: Don't attempt to redistribute 127.0.0.0/8.
688
hassoc266ac72004-04-19 17:31:00 +00006892004-04-19 Hasso Tepper <hasso@estpak.ee>
690
691 * ospf_vty.c: Don't warn that export- and import-list can't be
692 configured to backbone area if they are applied and are working
693 fine.
694
hasso128d31d2004-04-04 12:52:33 +00006952004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
696
697 * ospf_packet.c: Don't drop packets in Solaris x86.
698 [quagga-dev 1005].
699
hasso0d85b992004-03-18 19:18:33 +00007002004-03-18 Amir Guindehi <amir@datacore.ch>
701
702 * ospf_opaque.c: Attempt to correct the incorrect behavior of
703 Quagga's ospfd in the special situation that a node's opaque
704 capability has changed as "ON -> OFF -> ON". [quagga-dev 843].
705
paul7f352b82004-02-19 19:37:47 +00007062004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
707
708 * ospf_abr.c: (ospf_abr_update_aggregate) UNH 3.12b,c, address range
709 should be configured with the highest cost path within the range,
710 not lowest.
711
paul940b01a2004-02-17 20:07:30 +00007122004-02-17 Paul Jakma <paul@dishone.st>
713
714 * ospf_zebra.c: (ospf_interface_delete) Do not delete the interface
715 params, nor the interface structure, if an interface delete
716 message is received from zebra.
717 * ospf_interface.c: (ospf_if_delete_hook) Delete the interface
718 params and interface, ie that which was previously removed in
719 (ospf_interface_delete) above.
720
hasso2db3d052004-02-11 21:52:13 +00007212004-02-11 Hasso Tepper <hasso@estpak.ee>
722 * ospf_interface.c, ospf_zebra.c: Don't attempt to read path->oi->ifp
723 if oi doesn't exist any more.
724
hassocb05eb22004-02-11 21:10:19 +00007252004-02-11 Vadim Suraev <vadim.suraev@terayon.com>
726 * ospf_packet.c (ospf_ls_upd): Router should flush received network
727 LSA if it was originated with older router-id ([zebra 14710] #6).
728
7292003-12-08 Mattias Amnefelt <mattiasa@kth.se>
paul239aecc2003-12-08 10:34:54 +0000730
731 * ospf_packet.c: (ospf_recv_packet) OpenBSD now leaves iph.ip_len
732 network byte order.
733
gdt8f40e892003-12-05 14:01:43 +00007342003-12-05 Greg Troxel <gdt@poblano.ir.bbn.com>
735
736 * ospfd.c (ospf_network_match_iface): Rewrite code for clarity
737 while trying not to change semantics. Add ifdefed-out code to
738 avoid matching ppp interfaces whose destination address does not
739 also match the prefix under consideration, to help out people with
740 problems due to as-yet-unfixed bugs with p2p interfaces coming and
741 going.
742
paul736d3442003-07-24 23:22:57 +00007432003-07-25 kamatchi soundaram <kamatchi@tdd.sj.nec.com>
744
745 * ospf_packet.c (ospf_ls_upd_send_queue_event): get next route
746 node in body of the loop to avoid chance that route node
747 is unlocked and deleted before the next iteration tries to
748 get next route node.
749
paul0a825c72003-05-24 13:48:16 +00007502003-05-24 Kenji Yabuuchi
751
752 * ospf_interface.c(ospf_if_lookup_recv_if): Use the most specific
753 match for interface lookup.
754
paul551a8972003-05-18 15:22:55 +00007552003-05-18 Hasso Tepper <hasso@estpak.ee>
paul445f1432003-05-16 19:00:31 +0000756
paul551a8972003-05-18 15:22:55 +0000757 * ospf_vty.c: Show NSSA LSA route info in "show ip ospf database"
758 output
paul445f1432003-05-16 19:00:31 +0000759
pauld7480322003-05-16 17:31:51 +00007602003-05-16 Hasso Tepper <hasso@estpak.ee>
761
762 * ospf_lsa.c: Fix handling of NSSA
763
paul551a8972003-05-18 15:22:55 +00007642003-04-23 Hasso Tepper <hasso@estpak.ee>
765
766 * ospf_vty.c: fix "router xxx" node commands in vtysh
767
paul445f1432003-05-16 19:00:31 +00007682003-04-19 Hasso Tepper <hasso@estpak.ee>
769
770 * {ospf_abr,ospfd}.c: area id's DECIMAL -> ADDRESS
771 * ospf_routemap.c: sync daemon's route-map commands to have same
772 syntax.
773
7742003-04-19 Sergey Vyshnevetskiy <serg@vostok.net>
775
776 * ospf_packet.c: Add missing param to zlog
777 * ospf_flood.c: remove unused vars
778
7792003-04-17 Denis Ovsienko <zebra@pilot.org.ua>
780
781 * ospf_interface.c: fix incorrect memset
782
paul28a13842003-05-16 20:30:37 +00007832003-04-10 Amir Guindehi <amir@datacore.ch>
paul445f1432003-05-16 19:00:31 +0000784
785 * ospf_lsa.[ch]: opaque LSA fix, use ospf_lookup.
786
7872003-04-03 David Watson <dwatson@eecs.umich.edu>
788
789 * ospf_lsa.c: byte order fix
790
paul07661cb2003-03-18 00:03:05 +00007912002-03-17 Amir Guindehi <amir@datacore.ch>
792
793 * ospf_apiserver.[ch]: Merge Ralph Keller's OSPFAPI support.
794 * ospf_api.[ch]: Merge Ralph Keller's OSPFAPI support.
795 * ospfclient: OSPFAPI demonstration client.
796
7972003-01-23 Masahiko Endo <endo@suri.co.jp>
798
799 * ospf_ism.c: NSM event schedule bug fix.
800
8012002-10-30 Greg Troxel <gdt@ir.bbn.com>
802
803 * ospf_packet.c (ospf_make_md5_digest): MD5 length fix.
804
paul718e3742002-12-13 20:15:29 +00008052002-10-23 endo@suri.co.jp (Masahiko Endo)
806
807 * ospf_opaque.c: Update Opaque LSA patch.
808
8092002-10-23 Ralph Keller <keller@tik.ee.ethz.ch>
810
811 * ospf_vty.c (show_ip_ospf_database): Fix CLI parse.
812
8132002-10-23 Juris Kalnins <juris@mt.lv>
814
815 * ospf_interface.c (ospf_if_stream_unset): When write queue
816 becomes empty stop write timer.
817
8182002-10-10 Greg Troxel <gdt@ir.bbn.com>
819
820 * ospf_packet.c (ospf_check_md5_digest): Change >= to > to make it
821 conform to RFC.
822
8232002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
824
825 * zebra-0.93 released.
826
8272002-06-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
828
829 * ospf_spf.c (ospf_nexthop_calculation): Add NULL set to oi and
830 check of l2. Reported by: Daniel Drown <dan-zebra@drown.org>
831 (ospf_lsa_has_link): LSA Length calculation fix. Reported by:
832 Paul Jakma <paulj@alphyra.ie>.
833
834 * ospfd.c (ospf_if_update): Fix nextnode reference bug. Reported
835 by: juris@mt.lv.
836
8372002-01-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
838
839 * ospfd.c: Merge [zebra 11445] Masahiko ENDO's Opaque-LSA support.
840
8412001-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
842
843 * ospf_interface.c (ospf_add_to_if): Use /32 address to register
844 OSPF interface information.
845 (ospf_delete_from_if): Likewise.
846
847 * ospf_zebra.c (ospf_interface_address_delete): Likewise.
848
8492001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
850
851 * ospf_zebra.c (ospf_redistribute_unset): When redistribute type
852 is OSPF, do not unset redistribute flag.
853
8542001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
855
856 * zebra-0.92a released.
857
8582001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
859
860 * zebra-0.92 released.
861
8622001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
863
864 * ospfd.c (ospf_config_write): auto-cost reference-bandwidth
865 configuration display.
866
8672001-07-24 David Watson <dwatson@eecs.umich.edu>
868
869 * ospf_spf.c (ospf_spf_next): Modify ospf_vertex_add_parent to
870 check for an existing link before connecting the parent and child.
871 ospf_nexthop_calculation is also modified to check for duplicate
872 entries when copying from the parent. Finally, ospf_spf_next
873 removes duplicates when it merges two equal cost candidates.
874
8752001-07-23 itojun@iijlab.net
876
877 * ospfd.c (show_ip_ospf_neighbor): Check ospf_top before use it
878 [zebra 8549].
879
8802001-07-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
881
882 * ospf_packet.c (ospf_write): Remove defined(__OpenBSD__) to make
883 it work on OpenBSD.
884
8852001-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
886
887 * ospf_zebra.c (config_write_ospf_default_metric): Display
888 default-metric configuration.
889
8902001-06-18 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
891
892 * ospf_ia.h (OSPF_EXAMINE_SUMMARIES_ALL): Remove old macros.
893
8942001-05-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
895
896 * ospf_snmp.c (ospfIfEntry): Fix interface lookup bug to avoid
897 crush.
898 (ospfIfMetricEntry): Likewise.
899
9002001-03-18 Kunihiro Ishiguro <kunihiro@zebra.org>
901
902 * ospf_packet.c (ospf_read): Fix typo. Reported by: "Jen B
903 Lin'Kova" <jen@stack.net>.
904
9052001-03-15 Gleb Natapov <gleb@nbase.co.il>
906
907 * ospf_interface.c (ip_ospf_network): Set interface parameter.
908 (interface_config_write): Add check for OSPF_IFTYPE_LOOPBACK.
909
910 * ospf_zebra.c (ospf_interface_add): Set interface parameter.
911
9122001-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
913
914 * ospf_packet.c (ospf_recv_packet): Solaris also need to add
915 (iph.ip_hl << 2) to iph.ip_len.
916
9172001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
918
919 * ospfd.h (OSPF_LS_REFRESH_TIME): Fix OSPF_LS_REFRESH_TIME value.
920 Suggested by: David Watson <dwatson@eecs.umich.edu>.
921
922 * ospf_zebra.c (zebra_init): Remove zebra node.
923
924 * ospfd.c (ospf_area_range_set): Function name is changed from
925 ospf_ara_range_cmd.
926 (ospf_area_range_unset): New function which separated from DEFUN.
927 New commands are added:
928 "no area A.B.C.D range A.B.C.D/M advertise"
929 "no area <0-4294967295> range A.B.C.D/M advertise"
930 "no area A.B.C.D range A.B.C.D/M not-advertise"
931 "no area <0-4294967295> range A.B.C.D/M not-advertise"
932
933 * ospf_lsa.c (ospf_lsa_more_recent): Fix previous change.
934
9352001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
936
937 * ospf_network.c (ospf_if_add_allspfrouters): Use
938 setsockopt_multicast_ipv4.
939 (ospf_if_drop_allspfrouters): Likewise.
940
941 * ospf_lsa.c (ospf_router_lsa_install): Add rt_recalc flag.
942 (ospf_network_lsa_install): Likewise.
943 (ospf_summary_lsa_install): Likewise.
944 (ospf_summary_asbr_lsa_install): Likewise.
945 (ospf_external_lsa_install): Likewise.
946 (ospf_lsa_install): Call ospf_lsa_different to check this LSA is
947 new one or not.
948
9492001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
950
951 * ospf_zebra.c (ospf_interface_delete): Do not free interface
952 structure when ospfd receive interface delete message to support
953 pseudo interface.
954
9552001-02-01 Dick Glasspool <dick@ipinfusion.com>
956
957 * ospfd.c (area_range_notadvertise): Change area range "suppress"
958 command to "not-advertise".
959
960 * ospfd.h (OSPF_LS_REFRESH_TIME): Change OSPF_LS_REFRESH_TIME from
961 1800 to 60.
962
963 * ospf_abr.c (ospf_abr_update_aggregate): When update_aggregate is
964 updating the area-range, the lowest cost is now saved.
965
966 * ospf_lsa.c (ospf_lsa_more_recent): Routing to compare sequence
967 numbers rather than creating overflow during calculation.
968
9692001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
970
971 * zebra-0.91 is released.
972
9732001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
974
975 * ospf_packet.c (ospf_db_desc_proc): Do not continue process when
976 NSM_SeqNumberMismatch is scheduled.
977 (ospf_ls_req): Free ls_upd when return from this function.
978 (ospf_ls_upd_timer): When update list is empty do not call
979 ospf_ls_upd_send(). Suggested by: endo@suri.co.jp (Masahiko
980 Endo).
981
9822001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
983
984 * ospf_lsa.c (ospf_maxage_flood): Flood LSA when it reaches
985 MaxAge. RFC2328 Section 14.
986 (ospf_maxage_lsa_remover): Call above function during removing
987 MaxAge LSA.
988
9892001-01-26 Dick Glasspool <dick@ipinfusion.com>
990
991 * ospf_flood.c (ospf_flood_through_as): Function is updated for
992 NSSA Translations now done at ospf_abr.c with no change in P-bit.
993
994 * ospf_lsa.c (ospf_get_nssa_ip): Get 1st IP connection for Forward
995 Addr.
996 (ospf_install_flood_nssa): Leave Type-7 LSA at Lock Count = 2.
997
998 * ospf_ase.c (ospf_ase_calculate_route): Add debug codes.
999
1000 * ospf_abr.c (ospf_abr_translate_nssa): Recalculate LSA checksum.
1001
1002 * ospf_packet.h (OSPF_SEND_PACKET_LOOP): Added for test packet.
1003
1004 * ospf_dump.c (ospf_lsa_type_msg): Add OSPF_GROUP_MEMBER_LSA and
1005 OSPF_AS_NSSA_LSA.
1006
1007 * ospfd.c (data_injection): Function to inject LSA. This is
1008 debugging command.
1009
10102001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1011
1012 * ospf_route.c (ospf_route_match_same): Remove function.
1013 (ospf_route_match_same_new): Renamed to ospf_route_match_same.
1014
1015 * ospf_zebra.c (ospf_interface_address_delete): Add check for
1016 oi->address. Suggested by Matthew Grant
1017 <grantma@anathoth.gen.nz>.
1018 (ospf_zebra_add): Remove function.
1019 (ospf_zebra_add_multipath): Rename to ospf_zebra_add.
1020
1021 * ospf_interface.c: Remove HAVE_IF_PSEUDO part.
1022
1023 * ospf_zebra.c: Likewise.
1024
10252001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1026
1027 * ospf_ase.c: Remove OLD_RIB part.
1028
1029 * ospf_route.c: Likewise.
1030
1031 * zebra-0.90 is released.
1032
1033 * ospf_packet.c (ospf_recv_packet): Use ip_len adjestment code to
1034 NetBSD.
1035
10362001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1037
1038 * ospf_route.c (ospf_route_delete): Use
1039 ospf_zebra_delete_multipath.
1040
10412001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1042
1043 * ospf_interface.c (ospf_if_cleanup): Function name is renamed
1044 from ospf_if_free(). Rewrite whole procudure to support primary
1045 address deletion.
1046
1047 * ospf_zebra.c (ospf_interface_address_delete): Add primary
1048 address deletion process.
1049
10502001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1051
1052 * ospf_packet.c (ospf_recv_packet): OpenBSD has same ip_len
1053 treatment like FreeBSD.
1054
10552001-01-09 endo@suri.co.jp (Masahiko Endo)
1056
1057 * ospf_packet.c (ospf_recv_packet): FreeBSD kernel network code
1058 strips IP header size from receiving IP Packet. So we adjust
1059 ip_len to whole IP packet size by adding IP header size.
1060
10612001-01-08 endo@suri.co.jp (Masahiko Endo)
1062
1063 * ospf_network.c (ospf_serv_sock): When socket() is failed return
1064 immediately.
1065 (ospf_serv_sock): Close socket when it is not used.
1066
1067 * ospf_packet.c (ospf_write): Set sin_len when HAVE_SIN_LEN is
1068 defined.
1069 (ospf_write): When bind is fined, close sock.
1070
10712001-01-07 Gleb Natapov <gleb@nbase.co.il>
1072
1073 * ospf_zebra.c (ospf_interface_state_up): Fixes coredump that
1074 appears when you try to configure bandwidth on the ppp interface
1075 that is not yet configured in ospfd.
1076
10772001-01-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1078
1079 * ospf_route.c (show_ip_ospf_route_external): "show ip ospf route"
1080 will print nexthops for AS-external routes.
1081
1082 * ospf_ase.c (ospf_ase_route_match_same): New function to compare
1083 ASE route under multipath environment.
1084 (ospf_ase_compare_tables): Likewise.
1085
10862001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1087
1088 * ospfd.h (OSPF_VTYSH_PATH): Change "/tmp/ospfd" to "/tmp/.ospfd".
1089
10902000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1091
1092 * ospf_route.c (ospf_route_install): Install multipath information
1093 to zebra daemon.
1094
1095 * ospf_zebra.c (ospf_zebra_add_multipath): Function for passing
1096 multipath information to zebra daemon.
1097
10982000-12-25 Dick Glasspool <dick@ipinfusion.com>
1099
1100 * ospf_packet.c (ospf_write): Call ospf_packet_delete when sendto
1101 fail.
1102 (DISCARD_LSA): Add argument N for logging point of DISCARD_LSA is
1103 called.
1104
1105 * ospf_lsa.c (ospf_external_lsa_refresh): NSSA install_flood will
1106 leave Type-7 LSA at Lock Count = 2.
1107
1108 * ospf_flood.c (ospf_flood_through): Flood_though_as updated for
1109 NSSA no P-bit off during Area flooding, but P-bit is turned off
1110 for mulitple NSSA AS flooding.
1111
1112 * ospf_ase.c (ospf_ase_calculate_timer): Added calculations for
1113 Type-7 LSDB.
1114
1115 * ospf_abr.c (ospf_abr_translate_nssa): Removed one unlock call.
1116 (ospf_abr_announce_nssa_defaults): Corrected Debug from EVENT to
1117 NSSA.
1118
11192000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1120
1121 * ospf_zebra.c (ospf_zebra_read_ipv4): Checking the age of the
1122 found LSA and if the LSA is MAXAGE we should call refresh instead
1123 of originate.
1124
11252000-12-18 Dick Glasspool <dick@ipinfusion.com>
1126
1127 * ospf_abr.c: Removed redundant "...flood" in
1128 announce_network_to_area(). Repaired nssa Unlock by using
1129 discard.
1130
1131 * ospf_packet.c: Removed old NSSA translate during mk_ls_update.
1132
1133 * ospfd.c: Free up all data bases including NSSA.
1134
1135 * ospf_lsa.c: Now allow removal of XLATE LSA's Check in
1136 discard_callback. Added routine to get ip addr from within the
1137 ifp.
1138
1139 * ospf_flood.c: Now set Forward Address for outgoing Type-7.
1140
1141 * ospf_lsa.h: Added prototype for the below. struct in_addr
1142 ospf_get_ip_from_ifp (struct interface *ifp).
1143
11442000-12-14 Gleb Natapov <gleb@nbase.co.il>
1145
1146 * ospf_packet.c (ospf_recv_packet): New OSPF pakcet read method.
1147 Now maximum packet length may be 65535 bytes (maximum IP packet
1148 length).
1149
1150 * ospf_interface.c (ospf_if_stream_set): Don't make input buffer.
1151
1152 * ospfd.c (config_write_network_area): Remove unnecessary area
1153 lookup code.
1154
11552000-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1156
1157 * ospf_packet.c (ospf_read): Accept packet bigger than MTU value.
1158
11592000-12-13 Gleb Natapov <gleb@nbase.co.il>
1160
1161 * ospfd.c (config_write_network_area): Fix bug in
1162 config_write_network_area function.
1163
11642000-12-12 Gleb Natapov <gleb@nbase.co.il>
1165
1166 * ospf_abr.c (ospf_abr_announce_network_to_area): Make Summary
1167 LSA's origination and refreshment as same as other type of LSA.
1168
1169 * ospf_lsa.c (ospf_summary_lsa_refresh): Return struct ospf_lsa *.
1170
1171 * ospf_lsa.c (ospf_summary_asbr_lsa_refresh): Likewise.
1172
11732000-12-08 Dick Glasspool <dick@ipinfusion.com>
1174
1175 The bulk of NSSA changes are contained herein; This version will
1176 require manual setting of "always" for NSSA Translator, and will
1177 not perform aggregation yet.
1178
1179 * ospf_dump.c: "debug ospf nssa" is added.
1180
1181 * ospf_dump.h: Likewise.
1182
1183 * ospf_packet.c (ospf_hello): Display router ID on Bad NSSA Hello.
1184
1185 * ospfd.c: Discard_LSA to stay away from LOCAL_XLT Process NSSA
1186 'never, candidate, always'. Change "suppress" to "not-advertise".
1187
1188 * ospfd.h: Add TranslatorRole to struct ospf_area. Add anyNSSA to
1189 struct ospf.
1190
1191 * ospf_ase.c (ospf_ase_calculate_route): External to stay away
1192 from LOCAL_XLT
1193
1194 * ospf_nsm.c (ospf_db_summary_add): External to stay away from
1195 LOCAL_XLT
1196
1197 * ospf_abr.c: Major logic added for abr_nssa_task(). If ABR, and
1198 NSSA translator, then do it. Approve the global list, and flush
1199 any unapproved.
1200
1201 * ospf_lsa.h: New LSA flag OSPF_LSA_LOCAL_XLT to indicate that the
1202 Type-5 resulted from a Local Type-7 translation; not used for
1203 flooding, but used for flushing.
1204
1205 * ospf_flood.c: New NSSA flooding.
1206
12072000-12-08 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1208
1209 * ospfd.c (ospf_find_vl_data): New function for looking up virtual
1210 link data.
1211 (ospf_vl_set_security): Virtual link configuration with
1212 authentication.
1213 (ospf_vl_set_timers): Set timers for virtual link.
1214
1215 * New commands are added.
1216 "area A.B.C.D virtual-link A.B.C.D"
1217 "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>"
1218 "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"
1219 "area A.B.C.D virtual-link A.B.C.D authentication-key AUTH_KEY"
1220 "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"
1221 "area A.B.C.D virtual-link A.B.C.D message-digest-key <1-255> md5 KEY"
1222
1223 * ospf_packet.c (ospf_check_md5_digest): Add neighbor's
1224 cryptographic sequence number treatment.
1225 (ospf_check_auth): OSPF input buffer is added to argument.
1226 (ospf_read): Save neighbor's cryptographic sequence number.
1227
1228 * ospf_nsm.c (nsm_change_status): Clear cryptographic sequence
1229 number when neighbor status is changed to NSM down.
1230
1231 * ospf_neighbor.c (ospf_nbr_new): Set zero to crypt_seqnum.
1232
1233 * ospf_neighbor.h (struct ospf_neighbor): Add cryptographic
1234 sequence number to neighbor structure.
1235
12362000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1237
1238 * ospf_snmp.c (ospfIfLookup): OSPF MIB updates.
1239 (ospfExtLsdbEntry): Add OspfExtLsdbTable treatment.
1240
12412000-11-28 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1242
1243 * ospfd.c (ospf_interface_down): Clear a ls_upd_queue queue of the
1244 interface.
1245 (ospf_ls_upd_queue_empty): New function to empty ls update queue
1246 of the OSPF interface.
1247 (no_router_ospf): 'no router ospf' unregister redistribution
1248 requests from zebra.
1249
12502000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1251
1252 * ospf_ism.c (ism_change_status): Increment status change number.
1253
1254 * ospf_interface.h (struct ospf_interface): Add new member for
1255 status change statistics.
1256
1257 * Makefile.am: Update dependencies.
1258
1259 * ospf_zebra.c (ospf_interface_add): OSPF SNMP interface update.
1260 (ospf_interface_delete): OSPF SNMP interface delete.
1261
1262 * ospf_snmp.h: New file is added.
1263
12642000-11-23 Dick Glasspool <dick@ipinfusion.com>
1265
1266 * ospfd.h: Add new ospf_area structure member for
1267 NSSATranslatorRole and NSSATranslator state.
1268
1269 * ospfd.c: Provided for eventual commands to specify NSSA
1270 elections for "translator- ALWAYS/NEVER/CANDIDATE". Provided for
1271 decimal integer version of area-suppress.
1272
1273 * ospf_flood.c: Flood Type-7's only into NSSA (not AS).
1274
1275 * ospf_lsa.c: Undo some previous changes for NSSA. If NSSA
1276 translator, advertise Nt bit.
1277
1278 * ospf_route.c: 1st version of "sh ip os border-routers".
1279
12802000-11-23 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1281
1282 * ospfd.c (area_vlink): Virtual link can not configured in stub
1283 area.
1284
12852000-11-23 Gleb Natapov <gleb@nbase.co.il>
1286
1287 * ospf_packet.c (ospf_db_desc): In states Loading and Full the
1288 slave must resend its last Database Description packet in response
1289 to duplicate Database Description packets received from the
1290 master. For this reason the slave must wait RouterDeadInterval
1291 seconds before freeing the last Database Description packet.
1292 Reception of a Database Description packet from the master after
1293 this interval will generate a SeqNumberMismatch neighbor
1294 event. RFC2328 Section 10.8
1295 (ospf_make_db_desc): DD Master flag treatment.
1296
1297 * ospf_nsm.c (nsm_twoway_received): Move DD related procedure to
1298 nsm_change_status().
1299 (nsm_bad_ls_req): Likewise.
1300 (nsm_adj_ok): Likewise.
1301 (nsm_seq_number_mismatch): Likewise.
1302 (nsm_oneway_received): Likewise.
1303
1304 * ospf_neighbor.h (struct ospf_neighbor): New structure member
1305 last_send_ts for timestemp when last Database Description packet
1306 was sent.
1307
1308 * ospf_nsm.c (ospf_db_desc_timer): Make it sure nbr->last_send is
1309 there. Call ospf_db_desc_resend() in any case.
1310
13112000-11-16 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1312
1313 * ospf_lsa.c (lsa_link_broadcast_set): When there is no DR on
1314 network (suppose you have only one router with interface priority
1315 0). It's router LSA does not contain the link information about
1316 this network.
1317
1318 * ospf_nsm.c (nsm_timer_set): When you change a priority of
1319 interface from/to 0 ISM_NeighborChange event should be scheduled
1320 in order to elect new DR/BDR on the network.
1321
1322 * ospf_interface.c (ip_ospf_priority): Likewise.
1323
1324 * ospf_flood.c (ospf_ls_retransmit_add): When we add some LSA into
1325 retransmit list we need to check whether the present old LSA in
1326 retransmit list is not more recent than the new
1327 one.
1328
13292000-11-09 Dick Glasspool <dick@ipinfusion.com>
1330
1331 * ospf_packet.c: Allows for NSSA Type-7 LSA's throughout the NSSA
1332 area. Any that exit the NSSA area are translated to type-5 LSA's.
1333 The instantiated image is restored after translation.
1334 (ospf_ls_upd_send_list): Renamed to ospf_ls_upd_queu_send().
1335 (ospf_ls_upd_send): Old function which enclosed by #ifdef 0 is
1336 removed.
1337 (ospf_ls_ack_send): Likewise.
1338
1339 * ospf_flood.c: NSSA-LSA's without P-bit will be restricted to
1340 local area. Otherwise they are allowed out the area to be
1341 translated by ospf_packet.c.
1342
1343 * ospf_lsa.c: Undo some previous changes for NSSA.
1344
1345 * ospf_lsdb.h: New access for type 7.
1346
13472000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1348
1349 * ospf_route.c (ospf_path_exist): New function to check nexthop
1350 and interface are in current OSPF path or not.
1351 (ospf_route_copy_nexthops_from_vertex): Add nexthop to OSPF path
1352 when it is not there. Reported by Michael Rozhavsky
1353 <mrozhavsky@opticalaccess.com>
1354
13552000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1356
1357 * ospf_dump.c (config_write_debug): Add seventh string "detail" is
1358 added for flag is OSPF_DEBUG_SEND | OSPF_DEBUG_RECV |
1359 OSPF_DEBUG_DETAIL.
1360
13612000-11-06 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1362
1363 * ospf_lsa.c (router_lsa_flags): ASBR can't exit in stub area.
1364
13652000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1366
1367 * ospf_lsa.c (ospf_router_lsa_originate): Reduce unconditional
1368 logging.
1369
13702000-11-06 Dick Glasspool <dick@ipinfusion.com>
1371
1372 * ospfd.h: Add ait_ntoa function prototype.
1373
1374 * ospfd.c (ait_ntoa): New function for displaying area ID and
1375 Stub/NSSA status.
1376 (show_ip_ospf_interface_sub): Use ait_ntoa.
1377 (show_ip_ospf_nbr_static_detail_sub): Likewise.
1378 (show_ip_ospf_neighbor_detail_sub): Likewise.
1379
1380 * ospf_route.c (ospf_intra_route_add): Set external routing type
1381 to ospf route.
1382 (ospf_intra_add_router): Likewise.
1383 (ospf_intra_add_transit): Likewise.
1384 (ospf_intra_add_stub): Likewise.
1385 (ospf_add_discard_route): Likewise.
1386 (show_ip_ospf_route_network): Use ait_ntoa.
1387 (show_ip_ospf_route_network): Likewise.
1388 (show_ip_ospf_route_router): Likewise.
1389
1390 * ospf_lsa.c (show_lsa_detail): Use ait_ntoa.
1391 (show_lsa_detail_adv_router): Likewise.
1392 (show_ip_ospf_database_summary): Likewise.
1393
1394 * ospf_route.h (struct route_standard): Add new member
1395 external_routing.
1396
1397 * ospf_ia.c (process_summary_lsa): Set external routing tyep to ospf
1398 route.
1399 (ospf_update_network_route): Likewise.
1400 (ospf_update_router_route): Likewise.
1401
14022000-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1403
1404 * ospf_flood.c (ospf_process_self_originated_lsa): Enclose
1405 OSPF_AS_NSSA_LSA treatment with #ifdef HAVE_NSSA.
1406
14072000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1408
1409 * Unconditional logging is enclosed with if (IS_DEBUG_OSPF_EVENT).
1410 Please specify "debug ospf event" for enable logging.
1411
1412 * ospf_ism.c: Do not extern debug flag varible. It is done by
1413 ospf_debug.h
1414 * ospf_asbr.c: Likewise.
1415 * ospf_lsa.c: Likewise.
1416 * ospf_nsm.c: Likewise.
1417 * ospf_zebra.c: Likewise.
1418
1419 * ospf_dump.c (debug_ospf_event): New command "debug ospf event"
1420 is added.
1421
1422 * ospfd.c (router_ospf): Change logging from vty_out() to
1423 zlog_info().
1424 (ospf_area_stub_cmd): Likewise.
1425
1426 * ospf_dump.h: Extern term_debug flags.
1427 (OSPF_DEBUG_EVENT): Add new flag.
1428 (IS_DEBUG_OSPF_EVENT): Add new macro.
1429
14302000-11-03 Dick Glasspool <dick@ipinfusion.com>
1431
1432 * ospf_flood.c (ospf_process_self_originated_lsa):
1433 OSPF_AS_NSSA_LSA is treated as same as OSPF_AS_EXTERNAL_LSA.
1434 (ospf_flood): Type-5's have no change. Type-7's can be received,
1435 and will Flood the AS as Type-5's They will also flood the local
1436 NSSA Area as Type-7's. The LSDB will be updated as Type-5's, and
1437 during re-fresh will be converted back to Type-7's (if within an
1438 NSSA).
1439 (ospf_flood_through): Incoming Type-7's were allowed here if our
1440 neighbor was an NSSA. So Flood our area with the Type-7 and also
1441 if we are an ABR, flood thru AS as Type-5.
1442
1443 * ospf_lsa.c (ospf_external_lsa_refresh): Flood NSSA both NSSA
1444 area and other area.
1445
1446 * ospf_packet.c (ospf_db_desc_proc): When AS External LSA is
1447 exists in DD packet, make it sure that this area is not stub.
1448 (ospf_ls_upd_list_lsa): When LSA type is NSSA then set lsa's area
1449 to NULL.
1450 (ospf_ls_upd): If the LSA is AS External LSA and the area is stub
1451 then discard the lsa. If the LSA is NSSA LSA and the area is not
1452 NSSA then discard the lsa.
1453
14542000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1455
1456 * ospfd.c (ospf_interface_run): Fix bug of Hello packet's option
1457 is not properly set when interface comes up.
1458
14592000-11-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1460
1461 * ospfd.h (OSPF_OPTION_O): Add new hello header option.
1462
14632000-11-01 Dick Glasspool <dick@ipinfusion.com>
1464
1465 * ospf_lsa.h: Define OSPF_MAX_LSA to 8 when HAVE_NSSA is enabled.
1466 (OSPF_GROUP_MEMBER_LSA): Define OSPF_GROUP_MEMBER_LSA.
1467
1468 * ospf_lsa.c (show_database_desc): Add "Group Membership LSA"
1469 string.
1470
14712000-10-31 Dick Glasspool <dick@ipinfusion.com>
1472
1473 * ospf_lsa.h (OSPF_AS_NSSA_LSA): Define OSPF_AS_NSSA_LSA.
1474
1475 * ospf_lsa.c (show_ip_ospf_database): NSSA database display
1476 function is added. ALIASES which have "show ip ospf database
1477 nssa-external" is added.
1478 (show_ip_ospf_border_routers): New command "show ip ospf
1479 border-routers" is added.
1480
14812000-10-30 Dick Glasspool <dick@ipinfusion.com>
1482
1483 * ospfd.c (router_ospf): NSSA Enabled message is added for
1484 testing.
1485 (ospf_area_type_set): Are type set for NSSA area.
1486 (ospf_area_stub_cmd): Special translation of no_summary into NSSA
1487 and summary information. If NSSA is enabled pass the information
1488 to ospf_area_type_set().
1489 (area_nssa): New commands are added:
1490 "area A.B.C.D nssa"
1491 "area <0-4294967295> nssa"
1492 "area A.B.C.D nssa no-summary"
1493 "area <0-4294967295> nssa no-summary"
1494 (ospf_no_area_stub_cmd): Special translation of no_summary into
1495 NSSA and summary information. If external_routing is
1496 OSPF_AREA_NSSA unset area with ospf_area_type_set (area,
1497 OSPF_AREA_DEFAULT).
1498 (show_ip_ospf_area): Display NSSA status.
1499 (config_write_ospf_area): Show NSSA configuration.
1500
1501 * ospf_packet.c (ospf_hello): For NSSA support, ensure that NP is
1502 on and E is off.
1503
15042000-10-26 Gleb Natapov <gleb@nbase.co.il>
1505
1506 * ospf_lsa.c (ospf_network_lsa_body_set): The network-LSA lists
1507 those routers that are fully adjacent to the Designated Router;
1508 each fully adjacent router is identified by its OSPF Router ID.
1509 The Designated Router includes itself in this list. RFC2328,
1510 Section 12.4.2.
1511
15122000-10-23 Jochen Friedrich <jochen@scram.de>
1513
1514 * ospf_snmp.c: ospf_oid and ospfd_oid are used in smux_open after
1515 it is registered. So those variables must be static.
1516
15172000-10-18 K N Sridhar <sridhar@euler.ece.iisc.ernet.in>
1518
1519 * ospfd.c: Add area_default_cost_decimal_cmd and
1520 no_area_default_cost_decimal_cmd alias.
1521
15222000-10-05 Gleb Natapov <gleb@nbase.co.il>
1523
1524 * ospfd.c (ospf_network_new): Fix setting area format.
1525 (no_router_ospf): Check area existance when calling
1526 ospf_interface_down().
1527
1528 * ospf_flood.c (ospf_external_info_check): Fix bug of refreshing
1529 default route.
1530
15312000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1532
1533 * zebra-0.89 is released.
1534
15352000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1536
1537 * ospf_snmp.c (ospfHostEntry): OSPF Host MIB is implemented.
1538
1539 * ospfd.c (ospf_nbr_static_cmp): OSPF neighbor is sorted by it's
1540 address.
1541
15422000-09-28 Michael Rozhavsky <mike@nbase.co.il>
1543
1544 * ospf_interface.c (ospf_if_free): Fix deleting self neighbor twice.
1545
15462000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1547
1548 * ospf_packet.c (ospf_read): Solaris on x86 has ip_len with host
1549 byte order.
1550
15512000-09-25 Toshiaki Takada <takada@zebra.org>
1552
1553 * ospfd.c (ospf_compatible_rfc1583), (no_ospf_compatible_rfc1583):
1554 Add CISCO compatible command.
1555
15562000-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1557
1558 * ospf_abr.c (ospf_area_range_lookup): New function is added for
1559 area range lookup in OSPF-MIB.
1560 (ospf_area_range_lookup_next): Likewise.
1561
15622000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1563
1564 * ospfd.c (no_router_ospf): Delete virtual link before deleting
1565 area structure.
1566
1567 * ospf_lsa.c (ospf_external_lsa_refresh_type): Check
1568 EXTERNAL_INFO(type).
1569
1570 * ospfd.c (no_router_ospf): Call ospf_vl_delete() instead of
1571 ospf_vl_data_free().
1572
1573 * ospf_interface.c (ospf_vl_shutdown): Execute ISM_InterfaceDown
1574 when ospf_vl_shutdown is called.
1575 (ospf_vl_delete): Call ospf_vl_shutdown() to delete virtual link
1576 interface's thread.
1577
15782000-09-21 Gleb Natapov <gleb@nbase.co.il>
1579
1580 * ospf_lsa.c: New implementation of OSPF refresh.
1581
15822000-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1583
1584 * ospf_snmp.c (ospfLsdbLookup): Add LSDB MIB implementation.
1585
15862000-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1587
1588 * ospf_snmp.c (ospfStubAreaEntry): Add OSPF stub area MIB.
1589
15902000-09-18 Gleb Natapov <gleb@nbase.co.il>
1591
1592 * ospf_route.h (route_standard): Change member from `struct area'
1593 to area_id.
1594
1595 * ospf_abr.c (ospf_abr_announce_network), (ospf_abr_should_announce),
1596 (ospf_abr_process_network_rt), (ospf_abr_announce_rtr),
1597 (ospf_abr_process_router_rt):
1598 * ospf_ase.c (ospf_find_asbr_route),
1599 (ospf_find_asbr_router_through_area),
1600 * ospf_ia.c (ospf_find_abr_route), (ospf_ia_router_route),
1601 (process_summary_lsa), (ospf_update_network_route),
1602 (ospf_update_router_route):
1603 * ospf_route.c (ospf_intra_route_add), (ospf_intra_add_router),
1604 (ospf_intra_add_transit), (ospf_intra_add_stub),
1605 (ospf_route_table_dump), (show_ip_ospf_route_network),
1606 (show_ip_ospf_route_router), (ospf_asbr_route_cmp),
1607 (ospf_prune_unreachable_routers):
1608 * ospf_spf.c (ospf_rtrs_print):
1609 * ospfd.c (ospf_rtrs_free): Fix the struct change above.
1610
16112000-09-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1612
1613 * ospf_network.c (ospf_serv_sock_init): Enclose SO_BINDTODEVICE
1614 with ifdef.
1615
16162000-09-13 Gleb Natapov <gleb@nbase.co.il>
1617
1618 * ospf_ism.c (ospf_elect_dr), (ospf_elect_bdr): Fix DR election.
1619
1620 * ospf_network.c (ospf_serv_sock_init): Add socket option
1621 SO_BINDTODEVICE on read socket.
1622
1623 * ospf_packet.c (ospf_hello): Ignore Hello packet if E-bit does
1624 not match.
1625
1626 * ospfd.c (ospf_area_check_free), (ospf_area_get),
1627 (ospf_area_add_if): New function added.
1628
16292000-09-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1630
1631 * ospf_route.c (ospf_intra_add_router): Update ABR and ASBR router
1632 count.
1633
1634 * ospf_spf.c (ospf_spf_init): Rest ABR and ASBR router count
1635 starting SPF calculation.
1636
1637 * ospfd.h (struct ospf_area): Add ABR and ASBR router count.
1638
16392000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1640
1641 * ospfd.c (ospf_area_id_cmp): New area structure is sorted by area
1642 ID.
1643
1644 * ospf_lsa.c (ospf_router_lsa_originate): For OSPF MIB update
1645 lsa_originate_count.
1646 (ospf_network_lsa_originate): Likewise.
1647 (ospf_summary_lsa_originate): Likewise.
1648 (ospf_summary_asbr_lsa_originate): Likewise.
1649 (ospf_external_lsa_originate): Likewise.
1650
16512000-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1652
1653 * ospf_snmp.c (ospf_variables): ospfRouterID's type RouterID
1654 syntax is IpAddress.
1655 (ospf_admin_stat): New function for OSPF administrative status
1656 check.
1657
16582000-09-10 Jochen Friedrich <jochen@scram.de>
1659
1660 * ospf_snmp.c: Implement OSPF MIB skeleton.
1661
16622000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1663
1664 * ospf_snmp.c: New file is added.
1665
16662000-09-07 David Lipovkov <davidl@nbase.co.il>
1667
1668 * ospf_zebra.c (ospf_interface_delete): Add pseudo interface
1669 treatment.
1670
1671 * ospf_interface.c (interface_config_write): Likewise.
1672
16732000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1674
1675 * zebra-0.88 is released.
1676
16772000-08-17 Michael Rozhavsky <mike@nbase.co.il>
1678
1679 * ospfd.c (ospf_area_free): Remove virtual link configuration only
1680 when Area is removed.
1681
16822000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1683
1684 * ospfd.c (network_area): Revert check for EXTERNAL_INFO
1685 (ZEBRA_ROUTE_CONNECT).
1686 (no_network_area): Likewise.
1687
16882000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1689
1690 * ospfd.h (struct ospf): Add distance_table and
1691 distance_{all,intra,inter,external}.
1692
1693 * ospf_zebra.c: Add OSPF distance related functions.
1694
16952000-08-15 Gleb Natapov <gleb@nbase.co.il>
1696
1697 * ospf_asbr.c (ospf_external_info_find_lsa): New function added.
1698
1699 * ospf_lsa.c (ospf_default_external_info),
1700 (ospf_default_originate_timer), (ospf_external_lsa_refresh_default):
1701 New function added.
1702
1703 * ospf_zebra.c
1704 (ospf_default_information_originate_metric_type_routemap),
1705 (ospf_default_information_originate_always_metric_type_routemap):
1706 Change name and add route-map function.
1707 (ospf_default_information_originate_metric_routemap),
1708 (ospf_default_information_originate_routemap),
1709 (ospf_default_information_originate_type_metric_routemap):
1710 New DEFUN added.
1711
17122000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1713
1714 * ospf_zebra.c (zebra_interface_if_set_value): Change ifindex
1715 restore size from two octet to four.
1716
17172000-08-14 Michael Rozhavsky <mike@nbase.co.il>
1718
1719 * ospf_ase.c (ospf_ase_incremental_update): Implement incremental
1720 AS-external-LSA in 16.6 of RFC2328.
1721
17222000-08-14 Matthew Grant <grantma@anathoth.gen.nz>
1723
1724 * ospf_interface.c (ospf_if_get_output_cost): Change cost
1725 calculation algorithm.
1726
1727 * ospf_packet (ospf_ls_upd): Fix problem of LSA retransmitting.
1728
17292000-08-11 Michael Rozhavsky <mike@nbase.co.il>
1730
1731 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix maxage remover for
1732 AS-external-LSAs.
1733
17342000-08-10 Toshiaki Takada <takada@zebra.org>
1735
1736 * ospfd.c (auto_cost_reference_bandwidth): New DEFUN added.
1737 `auto-cost reference-bandwidth' OSPF router command added.
1738
17392000-08-08 Gleb Natapov <gleb@nbase.co.il>
1740
1741 * ospf_routemap.c (ospf_route_map_update): New function added.
1742 Add route-map event hook.
1743
17442000-08-08 Toshiaki Takada <takada@zebra.org>
1745
1746 * ospf_zebra.c (ospf_distribute_check_connected): If redistribute
1747 prefix is connected route on OSPF enabled interface, suppress to
1748 announce it.
1749
17502000-08-08 Matthew Grant <grantma@anathoth.gen.nz>
1751
1752 * ospf_interface.c (ospf_if_get_output_cost):
1753 New function added. Handle bandwidth parameter for cost
1754 calculation.
1755
17562000-08-08 Michael Rozhavsky <mike@nbase.co.il>
1757
1758 * ospf_interface.c (interface_config_write): Show interface
1759 configuration regardless interface is down.
1760
1761 * ospf_ase.c (ospf_ase_caocluate_route): Whole rewritten external
1762 route calculate function.
1763
17642000-08-08 Gleb Natapov <gleb@nbase.co.il>
1765
1766 * ospf_routemap.c: New file added.
1767
1768 * ospf_asbr.c (ospf_reset_route_map_set_values),
1769 (ospf_route_map_set_compare): New function added.
1770
1771 * ospf_lsa.c (ospf_external_lsa_body_set): Set routemap metric
1772 with AS-external-LSA.
1773
17742000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1775
1776 * ospf_ase.c (ospf_ase_calculate_route_add): Pass new->cost to
1777 ospf_zebra_add as metric.
1778 (ospf_ase_calculate_route_add): Likewise.
1779
1780 * ospf_route.c (ospf_route_install): Pass or->cost to
1781 ospf_zebra_add as metric.
1782
1783 * ospf_zebra.c (ospf_zebra_add): Add metric arguemnt.
1784 (ospf_zebra_delete): Likewise.
1785
17862000-08-03 Matthew Grant <grantma@anathoth.gen.nz>
1787
1788 * ospf_flood.c (ospf_flood_delayed_lsa_ack): New function added.
1789 Dispatch delayed-ACK with flooding AS-external-LSA across virtual
1790 link.
1791
17922000-07-31 Matthew Grant <grantma@anathoth.gen.nz>
1793
1794 * ospfd.c (show_ip_ospf_area): Fix lack of VTY_NEWLINE when
1795 `show ip ospf'.
1796
1797 * ospf_interface.c (ospf_if_free): Fix bug of crash with
1798 Point-to-Point interface.
1799
18002000-07-27 Michael Rozhavsky <mike@nbase.co.il>
1801
1802 * ospf_flood.c (ospf_process_self_originated_lsa):
1803 Make sure to clear LSA->param (redistributed external information)
1804 before refreshment.
1805
18062000-07-27 Gleb Natapov <gleb@nbase.co.il>
1807
1808 * ospfd.c (refresh_group_limit), (refresh_per_slice),
1809 (refresh_age_diff): New defun added. Refresher related parameter
1810 can be configurable.
1811
18122000-07-27 Akihiro Mizutani <mizutani@dml.com>
1813
1814 * ospf_interface.c (interface_config_write): Print `description'
1815 config directive to work.
1816
18172000-07-24 Akihiro Mizutani <mizutani@dml.com>
1818
1819 * ospf_interface.c (ospf_if_init): Use install_default for
1820 INTERFACE_NODE.
1821
18222000-07-24 Gleb Natapov <gleb@nbase.co.il>
1823
1824 * ospf_packet.c (ospf_ls_upd_send_list), (ospf_ls_upd_send_event),
1825 (ospf_ls_ack_send_list), (ospf_ls_ack_send_event): New function added.
1826 This make sending always as many LS update/Ack combined in one ospf
1827 packet.
1828
18292000-07-24 Gleb Natapov <gleb@nbase.co.il>
1830
1831 * ospf_packet.c (ospf_ls_upd_list_lsa): Set NULL to lsa->area if
1832 LSA is AS-external-LSA.
1833
1834 * ospf_nsm.c (nsm_reset_nbr): Do not cancel Inactivity timer.
1835
18362000-07-21 Toshiaki Takada <takada@zebra.org>
1837
1838 * ospf_zebra.c (ospf_default_originate_timer): Set timer for
1839 `default-information originate'. Fix some default originate
1840 related functions.
1841
18422000-07-12 Toshiaki Takada <takada@zebra.org>
1843
1844 * ospf_lsa.c (stream_put_ospf_metric): New function added.
1845
18462000-07-12 Toshiaki Takada <takada@zebra.org>
1847
1848 * ospf_lsa.c (show_ip_ospf_database_router),
1849 (show_ip_ospf_database_network), (show_ip_ospf_database_summary),
1850 (show_ip_ospf_database_summary_asbr), (show_ip_ospf_database_externel),
1851 (show_router_lsa), (show_any_lsa), (show_router_lsa_self),
1852 (show_any_lsa_self): Functions removed.
1853
1854 (show_lsa_prefix_set), (show_lsa_detail_proc), (show_lsa_detail),
1855 (show_lsa_detail_adv_router_proc), (show_lsa_detail_adv_router):
1856 New functions added. Replace above functions.
1857
1858 (show_ip_ospf_database_all), (show_ip_ospf_database_self_originated):
1859 Functions removed.
1860 (show_ip_ospf_database_summary): New functions added. Replace
1861 above functions.
1862
1863 (show_ip_ospf_database_cmd): DEFUN rearranged.
1864 (show_ip_ospf_database_type_id_cmd),
1865 (show_ip_ospf_database_type_id_adv_router_cmd),
1866 (show_ip_ospf_database_type_is_self_cmd): New ALIASes added.
1867 (show_ip_ospf_database_type_adv_rotuer_cmd): New DEFUN added.
1868 (show_ip_ospf_database_type_self_cmd): New ALIAS added.
1869
18702000-07-11 Toshiaki Takada <takada@zebra.org>
1871
1872 * ospf_asbr.c (ospf_external_info_new),
1873 (ospf_external_info_free): New functions added.
1874
1875 * ospf_lsa.h (ospf_lsa): Add new member `void *param' to set
1876 origination parameter for external-LSA.
1877 Remove member `redistribute'.
1878
1879 * ospf_zebra.c (ospf_redistirbute_set): When `redistribute'
1880 command executed, metric and metric-type values are overridden.
1881 If one of those is changed refresh AS-external-LSAs for appropriate
1882 type.
1883
18842000-07-11 Michael Rozhavsky <mike@nbase.co.il>
1885
1886 * ospf_lsa.c (ospf_summary_lsa_refresh),
1887 (ospf_summary_asbr_lsa_refresh): Make sure to refresh summary-LSAs.
1888
1889 * ospf_abr.c (set_metric): New function added.
1890
18912000-07-07 Toshiaki Takada <takada@zebra.org>
1892
1893 * ospf_zebra.c (ospf_default_information_originate_metric_type),
1894 (ospf_default_information_originate_type_metric): New defun added.
1895 Metic and Metric type can be set to default route.
1896 (ospf_default_information_originate_always_metric_type):
1897 (ospf_default_information_originate_always_type_metric):
1898 New defun added. Metric and Metric type can be set to default
1899 always route.
1900
1901 * ospf_zebra.c (ospf_default_metric), (no_ospf_default_metric):
1902 New defun added.
1903
19042000-07-06 Gleb Natapov <gleb@nbase.co.il>
1905
1906 * ospf_flood.c (ospf_flood_through_area): Fix bug of considering
1907 on the same interface the LSA was received from.
1908
19092000-07-06 Michael Rozhavsky <mike@nbase.co.il>
1910
1911 * ospfd.c (ospf_config_write): Fix bug of printing `area stub'
1912 command with `write mem'.
1913
1914 * ospfd.c (no_router_ospf): Remove installed routes from zebra.
1915
1916 * ospf_zebra.c (ospf_interface_delete): Fix function to handle
1917 zebra interface delete event.
1918
19192000-07-06 Toshiaki Takada <takada@zebra.org>
1920
1921 * ospf_zebra.c (ospf_default_information_originate),
1922 (ospf_default_information_originate_always): New DEFUN added.
1923
19242000-07-05 Michael Rozhavsky <mike@nbase.co.il>
1925
1926 * ospf_route.c (ospf_terminate): Make sure to remove external route
1927 when SIGINT received.
1928
19292000-07-03 Gleb Natapov <gleb@nbase.co.il>
1930
1931 * ospf_flood.c, ospf_ism.c, ospf_lsa,c, ospfd.c: Make sure to free
1932 many structure with `no router ospf'.
1933
19342000-06-30 Gleb Natapov <gleb@nbase.co.il>
1935
1936 * ospf_neighbor.c (ospf_nbr_new),
1937 ospf_nsm.c (nsm_timer_set): Start LS update timer only
1938 when neighbor enters Exchange state.
1939
19402000-06-29 Gleb Natapov <gleb@nbase.co.il>
1941
1942 * ospf_nsm.c (nsm_timer_set), (nsm_exchange_done),
1943 ospf_packet.c (ospf_db_desc_proc):
1944 Do not cancel DD retransmit timer when Master.
1945
19462000-06-29 Gleb Natapov <gleb@nbase.co.il>
1947
1948 * ospf_abr.c (ospf_abr_announce_network_to_area),
1949 (ospf_abr_announce_rtr_to_area)
1950 ospf_ase.c (ospf_ase_rtrs_register_lsa),
1951 ospf_flood.c (ospf_process_self_originated_lsa),
1952 (ospf_flood_through_area), (ospf_ls_request_delete),
1953 ospf_interface.c (ospf_if_free),
1954 ospf_ism.c (ism_change_status),
1955 ospf_lsa.c (ospf_router_lsa_update_timer),
1956 (ospf_router_lsa_install), (ospf_network_lsa_install),
1957 (ospf_lsa_maxage_delete), (ospf_lsa_action),
1958 (ospf_schedule_lsa_flood_area),
1959 ospf_nsm.c (nsm_change_status),
1960 ospf_packet.c (ospf_make_ls_req_func), (ospf_make_ls_ack):
1961 Use ospf_lsa_{lock,unlock} for all looking-up of LSA.
1962
1963 * ospf_flood.c (ospf_ls_request_free): Function deleted.
1964
1965 * ospf_lsa.c (ospf_discard_from_db): New function added.
1966
19672000-06-26 Toshiaki Takada <takada@zebra.org>
1968
1969 * ospfd.h (ospf): struct member `external_lsa' name changed to
1970 `lsdb'.
1971
19722000-06-26 Toshiaki Takada <takada@zebra.org>
1973
1974 * ospf_lsa.c (ospf_lsa_install), (ospf_router_lsa_install),
1975 (ospf_network_lsa_install), (ospf_summary_lsa_install),
1976 (ospf_summary_asbr_lsa_install), (ospf_external_lsa_install):
1977 Functions re-arranged.
1978
1979 * ospf_lsa.c (IS_LSA_MAXAGE), (IS_LSA_SELF): Macro added.
1980
19812000-06-20 Michael Rozhavsky <mike@nbase.co.il>
1982
1983 * ospf_packet.c (ospf_ls_req), (ospf_ls_upd), (ospf_ls_ack): Add
1984 verification of LS type.
1985
19862000-06-20 Gleb Natapov <gleb@nbase.co.il>
1987
1988 * ospf_ase.c (ospf_ase_calculate_timer): Add more sanity check
1989 whether rn->info is NULL.
1990
19912000-06-20 Toshiaki Takada <takada@zebra.org>
1992
1993 * ospfd.c (show_ip_ospf_interface_sub): Show Router-ID of both
1994 DR and Backup correctly with `show ip ospf interface' command.
1995
19962000-06-20 Toshiaki Takada <takada@zebra.org>
1997
1998 * ospf_lsa.c (ospf_lsa_lock), (ospf_lsa_unlock),
1999 (ospf_lsa_discard): These functions are used for avoiding
2000 unexpected reference to freed LSAs.
2001
20022000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2003
2004 * ospf_packet.c (ospf_ls_upd): Initialize lsa by NULL to avoid
2005 warning.
2006
20072000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2008
2009 * ospf_ase.h (ospf_ase_rtrs_register_lsa): Add prototype.
2010
20112000-06-12 Toshiaki Takada <takada@zebra.org>
2012
2013 * ospf_lsa.c (ospf_external_lsa_install): Make sure to register
2014 LSA to rtrs_external when replacing AS-external-LSAs in LSDB.
2015 Fix core dump.
2016
20172000-06-10 Toshiaki Takada <takada@zebra.org>
2018
2019 * ospf_lsdb.c (id_to_prefix), (ospf_lsdb_hash_key),
2020 (ospf_lsdb_hash_cmp), (ospf_lsdb_new), (ospf_lsdb_iterator),
2021 (lsdb_free), (ospf_lsdb_free), (ospf_lsdb_add), (ospf_lsdb_delete),
2022 (find_lsa), (ospf_lsdb_lookup), (find_by_id),
2023 (ospf_lsdb_lookup_by_id), (ospf_lsdb_lookup_by_header): Functinos
2024 removed for migration to new_lsdb.
2025
2026 * ospf_lsa.c (ospf_summary_lsa_install),
2027 (ospf_summary_asbr_lsa_install), (ospf_maxage_lsa_remover),
2028 (ospf_lsa_maxage_walker), (ospf_lsa_lookup),
2029 (ospf_lsa_lookup_by_id): Use new_lsdb instead of ospf_lsdb.
2030 (count_lsa), (ospf_lsa_count_table), (ospf_lsa_count),
2031 (ospf_get_free_id_for_prefix): Funcitions removed.
2032
20332000-06-09 Gleb Natapov <gleb@nbase.co.il>
2034
2035 * ospf_ism.c (ism_interface_down): Prevent some unneeded DR changes.
2036
2037 * ospf_packet.c (ospf_db_desc_proc): Fix memory leak.
2038 (ospf_hello): Always copy router-ID when hello is received.
2039
20402000-06-08 Gleb Natapov <gleb@nbase.co.il>
2041
2042 * ospf_lsa.h (struct ospf_lsa): Add member of pointer to struct
2043 ospf_area.
2044
20452000-06-08 Michael Rozhavsky <mike@nbase.co.il>
2046
2047 * ospf_ase.c (ospf_asbr_route_same): New function added.
2048 This function makes sure external route calculation more
2049 precisely.
2050
20512000-06-07 Michael Rozhavsky <mike@nbase.co.il>
2052
2053 * ospf_ism.c (ism_change_status): Use ospf_lsa_flush_area for
2054 network-LSA deletion instead of using ospf_lsdb_delete.
2055 Also cancel network-LSA origination timer.
2056
20572000-06-07 Levi Harper <lharper@kennedytech.com>
2058
2059 * ospf_interface.c (ospf_if_down): Close read fd when an interface
2060 goes down.
2061
20622000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2063
2064 * ospf_asbr.c (ospf_external_info_lookup): Add explicit brace for
2065 avoid ambiguous else.
2066
2067 * ospf_flood.c (ospf_external_info_check): Likewise.
2068
20692000-06-05 Toshiaki Takada <takada@zebra.org>
2070
2071 * ospf_nsm.c (nsm_adj_ok): Fix bug of DR election.
2072
20732000-06-04 Toshiaki Takada <takada@zebra.org>
2074
2075 * ospf_zebra.c (ospf_default_information_originate),
2076 (no_ospf_default_information_originate): New DEFUN added.
2077
20782000-06-03 Toshiaki Takada <takada@zebra.org>
2079
2080 * ospf_lsa.h, ospf_asbr.h (external_info): Struct moved from
2081 ospf_lsa.h to ospf_asbr.h.
2082
2083 * ospf_lsa.c, ospf_asbr.c (ospf_external_info_add),
2084 (ospf_external_info_delete): Function moved from ospf_lsa.c
2085 to ospf_asbr.c.
2086
20872000-06-03 Toshiaki Takada <takada@zebra.org>
2088
2089 * ospf_flood.c (ospf_external_info_check): New function added.
2090 (ospf_process_self_orignated_lsa): Make sure to flush
2091 self-originated AS-external-LSA, when router reboot and no longer
2092 originate those AS-external-LSA.
2093
20942000-06-02 Toshiaki Takada <takada@zebra.org>
2095
2096 * ospf_network.c (ospf_serv_sock): Remove SO_DONTROUTE
2097 socket option.
2098
2099 * ospf_packet.c (ospf_write): Set MSG_DONTROUTE flag for
2100 unicast destination packets.
2101
21022000-06-02 Toshiaki Takada <takada@zebra.org>
2103
2104 * ospf_lsdb.c (new_lsdb_delete): Delete entry from LSDB only when
2105 specified LSA matches.
2106
21072000-06-02 Gleb Natapov <gleb@nbase.co.il>
2108
2109 * ospf_network.c (ospf_serv_sock): Set SO_DONTROUTE
2110 socket option.
2111
21122000-06-01 Akihiro Mizutani <mizutani@dml.com>
2113
2114 * ospf_dump.c: Replace string `Debugging functions\n' with DEBUG_STR.
2115 Replace string `OSPF information\n' with OSPF_STR.
2116
21172000-06-01 Toshiaki Takada <takada@zebra.org>
2118
2119 * ospf_lsdb.[ch]: Use new_lsdb struct for network-LSA instead of
2120 ospf_lsdb.
2121
21222000-06-01 Toshiaki Takada <takada@zebra.org>
2123
2124 * ospf_dump.c (config_debug_ospf_packet), (config_debug_ospf_event),
2125 (config_debug_ospf_ism), (config_debug_ospf_nsm),
2126 (config_debug_ospf_lsa), (config_debug_ospf_zebra),
2127 (term_debug_ospf_packet), (term_debug_ospf_event),
2128 (term_debug_ospf_ism), (term_debug_ospf_nsm),
2129 (term_debug_ospf_lsa), (term_debug_ospf_zebra): Repalce debug_ospf_*
2130 variable to use for debug option flags.
2131
2132 (debug_ospf_packet), (debug_ospf_ism), (debug_ospf_nsm),
2133 (debug_ospf_lsa), (debug_ospf_zebra): Set {config,term}_debug_*
2134 flags when vty->node is CONFIG_NODE, otherwise set only term_debug_*
2135 flags.
2136
2137 * ospf_dump.h (CONF_DEBUG_PACKET_ON), (CONF_DEBUG_PACKET_OFF),
2138 (TERM_DEBUG_PACKET_ON), (TERM_DEBUG_PACKET_OFF),
2139 (CONF_DEBUG_ON), (CONF_DEBUG_OFF), (IS_CONF_DEBUG_OSPF_PACKET),
2140 (IS_CONF_DEBUG_OSPF): New Macro added.
2141
21422000-05-31 Toshiaki Takada <takada@zebra.org>
2143
2144 * ospfd.c (clear_ip_ospf_neighbor): New DEFUN added.
2145 Currently this command is used for only debugging.
2146
2147 * ospf_nsm.c (nsm_change_status): Make sure thread cancellation
2148 for network-LSA when DR has no full neighbors.
2149
2150 * ospf_nsm.c (ospf_db_summary_clear): New function added.
2151
21522000-05-30 Toshiaki Takada <takada@zebra.org>
2153
2154 * ospf_lsdb.c (new_lsdb_insert): LSAs are always freed by
2155 maxage_lsa_remover when LSA is replaced.
2156
21572000-05-25 Gleb Natapov <gleb@nbase.co.il>
2158
2159 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all): Add argument
2160 `struct ospf_area' to remove LSA from Link State retransmission list
2161 of neighbor from only one Area.
2162
21632000-05-24 Michael Rozhavsky <mike@nbase.co.il>
2164
2165 * ospf_lsdb.c (ospf_lsdb_add): Preserve flags field when
2166 overriting old LSA with new LSA.
2167
21682000-05-24 Gleb Natapov <gleb@nbase.co.il>
2169
2170 * ospf_lsa.c (ospf_router_lsa_body_set): Fix bug of router-LSA
2171 size calculation.
2172
21732000-05-22 Michael Rozhavsky <mike@nbase.co.il>
2174
2175 * ospf_route.c (ospf_intra_add_stub):
2176 * ospf_spf.h (struct vertex): Use u_int32_t for distance (cost)
2177 value instead of u_int16_t.
2178
21792000-05-22 Axel Gerlach <agerlach@datus.datus.com>
2180
2181 * ospf_ia.c (ospf_ia_network_route): Fix bug of Inter-area route
2182 equal cost path calculation.
2183
21842000-05-21 Toshiaki Takada <takada@zebra.org>
2185
2186 * ospf_ase.c (ospf_ase_calculate_route_delete): New function added.
2187 Make sure, when rotuer route is deleted, related external routes
2188 are also deleted.
2189
21902000-05-20 Toshiaki Takada <takada@zebra.org>
2191
2192 * ospfd.c (ospf_interface_down): Make sure interface flag is disable
2193 and set fd to -1.
2194
21952000-05-16 Toshiaki Takada <takada@zebra.org>
2196
2197 * ospf_asbr.c (ospf_asbr_should_announce), (ospf_asbr_route_remove):
2198 Functions removed.
2199
2200 * ospfd.h (EXTERNAL_INFO): Macro added.
2201 Substitute `ospf_top->external_info[type]' with it.
2202
22032000-05-16 Toshiaki Takada <takada@zebra.org>
2204
2205 * ospf_lsa.c (ospf_rtrs_external_remove): New function added.
2206
22072000-05-14 Gleb Natapov <gleb@nbase.co.il>
2208
2209 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all)
2210 * ospf_lsdb.c (new_lsdb_insert)
2211 * ospf_packet.c (ospf_ls_ack): Fix database synchonization problem.
2212
22132000-05-14 Gleb Natapov <gleb@nbase.co.il>
2214
2215 * ospf_lsa.h (tv_adjust), (tv_ceil), (tv_floor), (int2tv),
2216 (tv_add), (tv_sub), (tv_cmp): Prototype definition added.
2217
2218 * ospf_nsm.h (ospf_db_summary_delete_all): Prototype definition added.
2219
22202000-05-13 Toshiaki Takada <takada@zebra.org>
2221
2222 * ospf_lsa.[ch] (ospf_lsa): struct timestamp type is changed from
2223 time_t to struct timeval.
2224 (tv_adjust), (tv_ceil), (tv_floor), (int2tv), (tv_add),
2225 (tv_sub), (tv_cmp): timeval utillity functions added.
2226
22272000-05-12 Toshiaki Takada <takada@zebra.org>
2228
2229 * ospf_lsa.[ch] (ospf_schedule_update_router_lsas): Delete function.
2230 Change to use macro OSPF_LSA_UPDATE_TIMER instead of using
2231 this function.
2232 router-LSA refresh timer related stuff is re-organized.
2233
22342000-05-10 Gleb Natapov <gleb@nbase.co.il>
2235
2236 * ospf_interface.c (ospf_vl_set_params):
2237 * ospf_packet.c (ospf_check_network_mask):
2238 * ospf_spf.[ch] (ospf_spf_next):
2239 Remove field address from `struct vertex', and search for peer
2240 address of virtual link in function `ospf_vl_set_params' instead.
2241
22422000-05-10 Gleb Natapov <gleb@nbase.co.il>
2243
2244 * ospf_packet.c (ospf_ls_upd): Fix some memory leak related LSA.
2245
22462000-05-08 Thomas Molkenbur <tmo@datus.com>
2247
2248 * ospf_packet.c (ospf_packet_dup): Replace ospf_steram_copy()
2249 with ospf_stream_dup() to fix memory leak.
2250
22512000-05-08 Michael Rozhavsky <mike@nbase.co.il>
2252
2253 * ospf_flood.c (ospf_flood_through_area): Fix the problem of
2254 LSA update without DROther.
2255
22562000-05-04 Gleb Natapov <gleb@nbase.co.il>
2257
2258 * ospf_spf.c (ospf_vertex_free): Fix memory leak of SPF calculation.
2259
22602000-05-03 Toshiaki Takada <takada@zebra.org>
2261
2262 * ospf_neighbor.c (ospf_db_summary_add): Use new_lsdb struct
2263 instead linked-list.
2264 (ospf_db_summary_count), (ospf_db_summary_isempty):
2265 New function added.
2266
2267 * ospf_lsa.c (ospf_rotuer_lsa): Re-arrange and divide functions.
2268
22692000-05-02 Gleb Natapov <gleb@nbase.co.il>
2270
2271 * ospf_lsdb.c (new_lsdb_cleanup): Fix memory leak. When LSDB are
2272 not needed any more, then free them.
2273
22742000-05-02 Toshiaki Takada <takada@zebra.org>
2275
2276 * ospfd.c (timers_spf), (no_timers_spf): New defun added.
2277 SPF calculation timers related stuff is rearranged.
2278
2279 * ospf_spf.c (ospf_spf_calculate_timer_add): Function removed.
2280 SPF timer is scheduled by SPF calculation delay and holdtime
2281 configuration variable.
2282
2283 * ospf_lsa.c (ospf_external_lsa_nexthop_get): Set AS-external-LSA's
2284 forwarding address when nexthop learned by other protocols is
2285 in the OSPF domain.
2286
2287 * ospf_zebra.c (ospf_redistribute_source_metric_type),
2288 (ospf_redistribute_source_type_metric): Re-arrange DEFUNs and
2289 ALIASes.
2290
22912000-05-01 Toshiaki Takada <takada@zebra.org>
2292
2293 * ospf_flood.c (ospf_ls_retransmit_count),
2294 (ospf_ls_retransmit_isempty): New function added.
2295
2296 (ospf_ls_retransmit_add), (ospf_ls_retransmit_delete),
2297 (ospf_ls_retransmit_clear), (ospf_ls_retransmit_lookup),
2298 (ospf_ls_retransmit_delete_all), (ospf_ls_retransmit_delete_nbr_all),
2299 (ospf_ls_retransmit_add_nbr_all): Replace these functions to use
2300 new_lsdb.
2301
23022000-04-29 Toshiaki Takada <takada@zebra.org>
2303
2304 * ospfd.c (no_network_area): Add check Area-ID whether specified
2305 Area-ID with prefix matches config.
2306
23072000-04-27 Toshiaki Takada <takada@zebra.org>
2308
2309 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix problem of
2310 remaining withdrawn routes on zebra.
2311
23122000-04-25 Michael Rozhavsky <mike@nbase.co.il>
2313
2314 * ospf_nsm.c (nsm_kill_nbr), (nsm_ll_down), (nsm_change_status),
2315 (ospf_nsm_event): Fix network-LSA re-origination problem.
2316
23172000-04-24 Toshiaki Takada <takada@zebra.org>
2318
2319 * ospf_nsm.c (ospf_db_desc_timer): Fix bug of segmentation fault
2320 with DD retransmission.
2321
2322 * ospf_nsm.c (nsm_kill_nbr): Fix bug of re-origination when
2323 a neighbor disappears.
2324
23252000-04-23 Michael Rozhavsky <mike@nbase.co.il>
2326
2327 * ospf_abr.c (ospf_abr_announce_network_to_area): Fix bug of
2328 summary-LSAs reorigination. Correctly copy OSPF_LSA_APPROVED
2329 flag to new LSA. when summary-LSA is reoriginatd.
2330
2331 * ospf_flood.c (ospf_flood_through_area): Fix bug of flooding
2332 procedure. Change the condition of interface selection.
2333
23342000-04-21 Toshiaki Takada <takada@zebra.org>
2335
2336 * ospf_lsa.c (ospf_refresher_register_lsa): Fix bug of refresh never
2337 occurs.
2338
2339 * ospfd.c (show_ip_ospf_neighbor_id): New defun added.
2340 `show ip ospf neighbor' related commands are re-arranged.
2341
23422000-04-20 Toshiaki Takada <takada@zebra.org>
2343
2344 * ospf_dump.c (debug_ospf_zebra): New defun added.
2345 Suppress zebra related debug information.
2346
23472000-04-19 Toshiaki Takada <takada@zebra.org>
2348
2349 * ospf_zebra.c (ospf_distribute_list_update_timer),
2350 (ospf_distribute_list_update), (ospf_filter_update):
2351 New function added. Re-organize `distribute-list' router ospf
2352 command.
2353
23542000-04-13 Michael Rozhavsky <mike@nbase.co.il>
2355
2356 * ospf_packet.c (ospf_make_ls_upd): Add check for MAX_AGE.
2357
23582000-04-14 Michael Rozhavsky <mike@nbase.co.il>
2359
2360 * ospf_packet.c (ospf_make_ls_upd): Increment LS age by configured
2361 interface transmit_delay.
2362
23632000-04-14 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2364
2365 * ospf_interface.c (ip_ospf_cost), (no_ip_ospf_cost):
2366 Add to schedule router_lsa origination when the interface cost changes.
2367
23682000-04-12 Toshiaki Takada <takada@zebra.org>
2369
2370 * ospf_lsa.c (ospf_refresher_register_lsa),
2371 (ospf_refresher_unregister_lsa): Fix bug of core dumped.
2372
2373 * ospfd.c (no_router_ospf): Fix bug of core dumped.
2374
23752000-03-29 Toshiaki Takada <takada@zebra.org>
2376
2377 * ospf_nsm.c (nsm_oneway_received): Fix bug of MS flag unset.
2378
23792000-03-29 Michael Rozhavsky <mike@nbase.co.il>
2380
2381 * ospf_lsa.c (ospf_network_lsa):
2382 * ospf_nsm.c (ospf_nsm_event): Fix bug of Network-LSA originated
2383 in stub network.
2384
23852000-03-28 Toshiaki Takada <takada@zebra.org>
2386
2387 * ospf_nsm.c (nsm_bad_ls_req), (nsm_seq_number_mismatch),
2388 (nsm_oneway_received): Fix bug of NSM state flapping between
2389 ExStart and Exchange.
2390
23912000-03-28 Toshiaki Takada <takada@zebra.org>
2392
2393 * ospf_packet.h (strcut ospf_header): Fix the size of ospf_header,
2394 change u_int8_t to u_char.
2395
23962000-03-27 Toshiaki Takada <takada@zebra.org>
2397
2398 * ospf_lsa.c (ospf_lsa_checksum): Take care of BIGENDIAN architecture.
2399
24002000-03-27 Toshiaki Takada <takada@zebra.org>
2401
2402 * ospfd.c (ospf_interface_run): Make sure Address family matches.
2403
24042000-03-26 Love <lha@s3.kth.se>
2405
2406 * ospf_packet.c (ospf_write): Chack result of sendto().
2407
24082000-03-26 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2409
2410 * ospf_nsm.c (nsm_oneway_received): Fix bug of 1-WayReceived in NSM.
2411
24122000-03-23 Libor Pechacek <farco@clnet.cz>
2413
2414 * ospf_lsa.c (ospf_network_lsa)
2415 * ospf_lsdb.c (new_lsdb_insert): Fix bug of accessing to
2416 unallocated memory.
2417
24182000-03-23 Toshiaki Takada <takada@zebra.org>
2419
2420 * ospfd.c (ospf_config_write): Fix bug of duplicate line for
2421 `area A.B.C.D authentication'.
2422
24232000-03-22 Toshiaki Takada <takada@zebra.org>
2424
2425 * ospf_debug.c (debug_ospf_lsa), (no_debug_ospf_lsa): Defun added.
2426 Suppress all zlog related to LSAs with this config option.
2427
24282000-03-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2429
2430 * ospf_nsm.c (ospf_nsm_event): Add check for NSM_InactivityTimer.
2431
24322000-03-21 Toshiaki Takada <takada@zebra.org>
2433
2434 * ospf_packet.c (ospf_ls_upd_timer), (ospf_ls_req):
2435 Fix bug of memory leak about linklist.
2436
2437 * ospf_flood.c (ospf_flood_through_area): Likewise.
2438
24392000-03-18 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2440
2441 * ospf_flood.c (ospf_ls_retransmit_lookup): Add checksum comparison
2442 to identify LSA uniquely. This fix routes lost.
2443
24442000-03-18 Toshiaki Takada <takada@zebra.org>
2445
2446 * ospf_ase.c (ospf_find_asbr_route): Add sanity check with router
2447 routing table.
2448
24492000-03-17 Alex Zinin <zinin@amt.ru>
2450
2451 * ospf_spf.[ch]: Bug fix.
2452 The 2nd stage of Dijkstra could consider one vertex
2453 more than once if there is more than one link
2454 between the routers, thus adding extra CPU overhead
2455 and extra next-hops.
2456 Fixed.
2457
24582000-03-15 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2459
2460 * ospf_nsm.c (nsm_inactivity_timer): Changed to call nsm_kill_nbr().
2461
24622000-03-14 Toshiaki Takada <takada@zebra.org>
2463
2464 * ospf_route.c (ospf_route_copy_nexthops): Fix bug of memory leak of
2465 ospf_path. Actually ignore merging ospf_route with completely same
2466 paths.
2467
24682000-03-12 Toshiaki Takada <takada@zebra.org>
2469
2470 * ospf_lsa.c (show_as_external_lsa_detail): fix bug of
2471 external route tag byte order.
2472
24732000-03-11 Toshiaki Takada <takada@zebra.org>
2474
2475 * ospf_lsdb.c (ospf_lsdb_insert): New function added.
2476
24772000-03-09 Toshiaki Takada <takada@zebra.org>
2478
2479 * ospf_lsa.c (ospf_external_lsa_install),
2480 (ospf_lsa_lookup), (show_ip_ospf_database_all),
2481 (show_ip_ospf_database_self_originate): Use struct new_lsdb for
2482 LSDB of AS-external-LSAs instead of ospf_lsdb.
2483
2484 * ospf_lsa.c (ospf_lsa_unique_id): New function added.
2485 Use for assigning Unique Link State ID instead of
2486 ospf_get_free_id_for_prefix().
2487
24882000-03-09 Toshiaki Takada <takada@zebra.org>
2489
2490 * ospf_ase.c (ospf_ase_calculate_timer): Fix bug of segmentation
2491 fault reported by George Bonser <george@siteROCK.com>.
2492
24932000-03-07 Libor Pechacek <farco@clnet.cz>
2494
2495 * ospfd.c (ospf_interface_down): Fix bug of segmentation fault.
2496
24972000-03-06 Toshiaki Takada <takada@zebra.org>
2498
2499 * ospf_route.c (ospf_route_cmp): Change meaning of return values.
2500
25012000-03-02 Alex Zinin <zinin@amt.ru>
2502 * ospfd.h, ospf_ia.h
2503 New Shortcut ABR code. Now area's flag can be configured
2504 with Default, Enable, and Disable values.
2505 More info will be in the new ver of I-D soon (see IETF web).
2506
25072000-02-25 Toshiaki Takada <takada@zebra.org>
2508
2509 * ospf_lsa.c (ospf_lsa_header_set), (ospf_external_lsa_body_set),
2510 (osfp_external_lsa_originate), (ospf_external_lsa_queue),
2511 (ospf_external_lsa_originate_from_queue): New function added.
2512 (ospf_external_lsa): Function removed.
2513
2514 * ospf_zebra.c (ospf_zebra_read_ipv4): Originate AS-external-LSA
2515 when listen a route from Zebra, instead creating external route.
2516
2517 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
2518 (ospf_asbr_route_add_queue_lsa),
2519 (ospf_asbr_route_install_lsa), (ospf_asbr_route_add):
2520 Functions removed.
2521
2522 * ospf_ase.c (process_ase_lsa): Function will not be used.
2523 (ospf_ase_calculate), (ospf_ase_calculate_route_add),
2524 (ospf_ase_calculate_new_route), (ospf_ase_caluculate_asbr_route):
2525 process_ase_lsa () is separated to these functions.
2526
2527 OSPF AS-external-LSA origination is whole re-organized.
2528
25292000-02-18 Toshiaki Takada <takada@zebra.org>
2530
2531 * ospf_packet.c (ospf_ls_upd): Fix bug of OSPF LSA memory leak.
2532
2533 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
2534 (ospf_asbr_route_add_queue_lsa): Fix bug of OSPF external route
2535 memory leak.
2536
25372000-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2538
2539 * ospf_asbr.c (ospf_asbr_route_install_lsa): Re-calculate LSA
2540 checksum after change Advertised Router field.
2541
25422000-02-09 Toshiaki Takada <takada@zebra.org>
2543
2544 * ospf_asbr.c (ospf_external_route_lookup): Add new function.
2545
25462000-02-08 Toshiaki Takada <takada@zebra.org>
2547
2548 * ospfd.c (ospf_router_id_get), (ospf_router_id_update),
2549 (ospf_router_id_update_timer): Router ID decision algorithm is changed.
2550 Router ID is chosen from all of eligible interface addresses even if
2551 it is not enable to OSPF.
2552
25532000-02-08 Toshiaki Takada <takada@zebra.org>
2554
2555 * ospf_asbr.c (ospf_asbr_route_add): Function divided to
2556 ospf_asbr_route_add_flood_lsa, ospf_asbr_route_add_queue_lsa and
2557 ospf_asbr_route_install_lsa. If Router-ID is not set, then LSA is
2558 waited to install to LSDB.
2559 `0.0.0.0 adv_router' AS-external-LSA origination bug was fixed.
2560
25612000-02-01 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2562
2563 * ospf_flood.c (ospf_ls_retransmit_lookup): Compare LS seqnum
2564 in the ACK before deleting.
2565
2566 * ospf_packet.c (ospf_hello): Reset the flags after a shutdown
2567 and no shutdown of the interface.
2568
25692000-01-31 Toshiaki Takada <takada@zebra.org>
2570
2571 * ospf_packet.c (ospf_ls_req): Send multiple Link State Update
2572 packets respond to a Link State Request packet.
2573
2574 * ospfd.c (show_ip_ospf_neighbor_detail_sub): Show thread state.
2575
2576 * ospf_interface.c (ospf_vl_new): Crash when backbone area
2577 is not configured and set virtual-link to no-backbone area,
2578 bug fixed.
2579
25802000-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2581
2582 * ospf_neighbor.h (struct ospf_neighbor): Add pointer to last send
2583 LS Request LSA.
2584
2585 * ospf_packet.c (ospf_ls_upd): Comment out LS request list
2586 treatment. That should be done in OSPF flooding procedure.
2587
2588 * ospf_flood.c (ospf_flood_through_area): Enclose
2589 ospf_check_nbr_loding inside if-else close.
2590
25912000-01-31 Toshiaki Takada <takada@zebra.org>
2592
2593 * ospf_packet.c (ospf_make_ls_upd): Fix bug of #LSAs counting.
2594
25952000-01-29 Toshiaki Takada <takada@zebra.org>
2596
2597 * ospf_packet.c (ospf_make_md5_digest): Fix bug of md5 authentication.
2598
25992000-01-28 Toshiaki Takada <takada@zebra.org>
2600
2601 * ospfd.c (show_ip_ospf): Show Number of ASE-LSAs.
2602
26032000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2604
2605 * ospf_packet.c (ospf_make_db_desc): Don't use rm_list for
2606 removing LSA from nbr->db_summary.
2607
26082000-01-27 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2609
2610 * ospf_packet.c (ospf_ls_upd_send): Set AllSPFRouters to
2611 destination when the link is point-to-point.
2612 (ospf_ls_ack_send_delayed): Likewise.
2613
26142000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2615
2616 * ospf_flood.c (ospf_ls_request_delete_all): Fix bug of next
2617 pointer lookup after the node is freed.
2618
26192000-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2620
2621 * ospf_asbr.c (ospf_asbr_route_add): Instead of scanning all AS
2622 external route, use ospf_top->external_self.
2623
26242000-01-27 Toshiaki Takada <takada@zebra.org>
2625
2626 * ospf_lsa.c (ospf_forward_address_get): New function added.
2627
2628 * ospf_asbr.c (ospf_asbr_check_lsas): Originate AS-external-LSA
2629 only when it should be replaced.
2630
26312000-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2632
2633 * ospf_flood.c (ospf_ls_retransmit_clear): Delete list node.
2634
2635 * ospf_lsa.c (ospf_lsa_free): Reduce logging message using
2636 ospf_zlog value.
2637
2638 * ospf_ism.c (ism_change_status): Fix bug of DR -> non DR status
2639 change. Self originated LSA is freed but not deleted from lsdb.
2640
26412000-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2642
2643 * ospf_ism.c (ism_interface_down): Don't use router_id for
2644 detecting self neighbor structure. Instead of that compare
2645 pointer itself.
2646
2647 * ospf_neighbor.c (ospf_nbr_free): Cancel all timer when neighbor
2648 is deleted.
2649 (ospf_nbr_free): Free last send packet.
2650
2651 * ospf_neighbor.h (struct ospf_neighbor): Remove host strucutre.
2652 Instead of that src is introduced.
2653
2654 * ospf_nsm.h: Enclose macro defenition with do {} while (0).
2655
26562000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2657
2658 * ospfd.c: Change part of passive interface implementation. For
2659 passive interface just disabling sending/receiving Hello on the
2660 interface.
2661
26622000-01-16 Kai Bankett <kai.bankett@vew-telnet.net>
2663
2664 * ospf_interface.h (OSPF_IF_PASSIVE): Add passive flag.
2665 * ospf_interface.c (ospf_if_lookup_by_name): Add new function.
2666 * ospf_lsa.c (ospf_router_lsa): Skip passive interface.
2667 * ospfd.c (passive_interface): New command passive-interface is
2668 added.
2669 (ospf_config_write): Print passive interface.
2670
26712000-01-15 Toshiaki Takada <takada@zebra.org>
2672
2673 * ospf_interface.h (crypt_key): New struct added to store
2674 multiple cryptographic autheitication keys.
2675 (ospf_interface): struct changed.
2676
2677 * ospf_interface.c: ospf_crypt_key_new, ospf_crypt_key_add,
2678 ospf_crypt_key_lookup, ospf_crypt_key_delete: new functions added.
2679
2680 * ospf_packet.c (ip_ospf_message_digest_key): Changed to store
2681 multiple cryptographic authentication keys.
2682
26832000-01-14 Toshiaki Takada <takada@zebra.org>
2684
2685 * ospf_interface.c: DEFUN (if_ospf_*) commands changed name to
2686 ip_ospf_* ().
2687 Old notation `ospf *' still remains backward compatibility.
2688
26891999-12-29 Alex Zinin <zinin@amt.ru>
2690 * ospf_lsa.c: ospf_lsa_more_recent() bug fix
2691 * ospf_nsm.c, ospf_packet.c: remove nbr data struct when
2692 int goes down, also check DD flags correctly (bug fix)
2693
26941999-12-28 Alex Zinin <zinin@amt.ru>
2695 * "redistribute <source> metric-type (1|2) metric <XXX>" added
2696
26971999-12-23 Alex Zinin <zinin@amt.ru>
2698 * added RFC1583Compatibility flag
2699 * added dynamic interface up/down functionality
2700
27011999-11-19 Toshiaki Takada <takada@zebra.org>
2702
2703 * ospf_neighbor.h (struct ospf_neighbor): Add member state_change
2704 for NSM state change statistics.
2705
27061999-11-19 Toshiaki Takada <takada@zebra.org>
2707
2708 * ospfd.c (show_ip_ospf_neighbor_detail),
2709 (show_ip_ospf_neighbor_int_detail): DEFUN Added.
2710
27111999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2712
2713 * ospf_asbr.c (ospf_asbr_check_lsas): Add check of
2714 lsa->refresh_list.
2715
27161999-11-11 Toshiaki Takada <takada@zebra.org>
2717
2718 * ospf_ia.[ch] (OSPF_EXAMINE_SUMMARIES_ALL): Macro added.
2719 This macro is expanded to ospf_examine_summaries ()
2720 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2721 (OSPF_EXAMINE_TRANSIT_SUMMARIES_ALL): Macro added.
2722 This macro is expanded to ospf_examine_transit_summaries ()
2723 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2724
27251999-11-11 Toshiaki Takada <takada@zebra.org>
2726
2727 * ospf_lsa.[ch] (ospf_find_self_summary_lsa_by_prefix): Changed to
2728 macro OSPF_SUMMARY_LSA_SELF_FIND_BY_PREFIX.
2729 (ospf_find_self_summary_asbr_lsa_by_prefix): Changed to
2730 macro OSPF_SUMMARY_ASBR_LSA_SELF_FIND_BY_PREFIX.
2731 (ospf_find_self_external_lsa_by_prefix): Changed to
2732 macro OSPF_EXTERNAL_LSA_SELF_FIND_BY_PREFIX.
2733
27341999-11-11 Toshiaki Takada <takada@zebra.org>
2735
2736 * ospfd.c (ospf_abr_type): ospf_abr_type_cisco, ospf_abr_type_ibm,
2737 ospf_abr_type_shortcut and ospf_abr_type_standard DEFUNs are
2738 combined.
2739 * ospfd.c (no_ospf_abr_type): no_ospf_abr_type_cisco,
2740 no_ospf_abr_type_ibm and no_ospf_abr_type_shortcut DEFUNS are
2741 combined.
2742
27431999-11-10 Toshiaki Takada <takada@zebra.org>
2744
2745 * ospf_route.c (ospf_lookup_int_by_prefix): Move function to
2746 ospf_interface.c and change name to ospf_if_lookup_by_prefix ().
2747
27481999-11-01 Alex Zinin <zinin@amt.ru>
2749 * ospf_packet.c
2750 some correction to LSU processing
2751
2752 * ospf_lsa.c ospfd.h
2753 randomize initial LSA refreshment interval
2754 and limit the size of LSA-group to 10
2755 to let randomization work more effectively.
2756
27571999-10-31 Alex Zinin <zinin@amt.ru>
2758 * ospf_interface.c
2759 cancel t_network_lsa_self
2760 when freeing int structure
2761
2762 * ospf_abr.c ospf_asbr.c ospf_flood.c ospf_lsa.c
2763 ospf_lsa.h ospf_lsdb.h ospfd.c ospfd.h
2764
2765 Summary and ASE LSA refreshment functions
2766 added---LSA refreshment is paced to 70 LSAs
2767 per sec to avoid link overflow. Refreshment events
2768 are further randomized within a 10 sec interval
2769 to avoid syncing.
2770
2771 Also the sigfault of memcmp() in ospf_lsa_is_different()
2772 is fixed.
2773
27741999-10-30 Alex Zinin <zinin@amt.ru>
2775 * ospf_nsm.c
2776 Fix the bug where MAX_AGE LSAs
2777 are included into the DB summary.
2778
2779 * ospf_interface.c
2780 allocate 2*MTU input buffer instead of just MTU
2781 for the cases when the other router mistakenly
2782 sends larger packets thus causing fragmentation, etc.
2783
2784 * ospf_nsm.c
2785 in nsm_reset_nbr() lists should be freed
2786 not when they are empty.
2787
27881999-10-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2789
2790 * ospf_zebra.c (ospf_acl_hook): Move OSPF_IS_ASBR and OSPF_IS_ABR
2791 check inside of if (ospf_top).
2792
27931999-10-29 Alex Zinin <zinin@amt.ru>
2794 * ospf_lsa.c ospf_lsdb.c :
2795 add assertion in lsa and lsa->data alloc functions,
2796 as well as in lsdb_add for new->data
2797
2798 * ospf_lsdb.c: free hash table correctly
2799
28001999-10-28 John Capo <jc@irbs.com>
2801
2802 * ospf_packet.h (OSPF_PACKET_MAX): Correct MAX packet length
2803 calculation
2804
28051999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2806
2807 * OSPF-TRAP-MIB.txt: New file added. Edited version of RFC1850.
2808
2809 * OSPF-MIB.txt: New file added. Edited version of RFC1850.
2810
28111999-10-27 Alex Zinin <zinin@amt.ru>
2812 * ospfd, ospf_zebra, ospf_abr
2813 "area import-list" command is added.
2814 This command allows to filter the inter-area routes
2815 injected into an area. Access list hook function
2816 extended to invalidate area exp/imp lists.
2817
28181999-10-25 Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
2819
2820 * ospfd.c (ospf_interface_run): Enable to detect P2P network
2821 on an OSPF interface.
2822
28231999-10-19 Jordan Mendelson <jordy@wserv.com>
2824
2825 * ospf_lsdb.c (ospf_lsdb_add): Fix bug of crash
2826 in ospf_ls_retransmit_lookup ().
2827
28281999-10-19 Vladimir B. Grebenschikov <vova@express.ru>
2829
2830 * ospf_route.c: Workaround about installation of OSPF routes into
2831 the zebra daemon. Add checking of existance routes. Free
2832 ospf_top->old_table if it exists.
2833
28341999-10-15 Jordan Mendelson <jordy@wserv.com>
2835
2836 * Add support for MD5 authentication.
2837
28381999-10-12 Alex Zinin <zinin@amt.ru>
2839 * ospfd.c, ospfd.h, ospf_abr.c:
2840 a new command "area export-list" was added, it allows
2841 the admin. to control which intra-area routes are
2842 announced to other areas by the ABR
2843
28441999-10-12 Alex Zinin <zinin@amt.ru>
2845 * ospf_asbr.c (ospf_asbr_check_lsas): Fix bug of coredump
2846 when "no redistribute" is used after a distribute list
2847 denying some networks was used
2848
28491999-10-05 Toshiaki Takada <takada@zebra.org>
2850
2851 * ospf_route.c (ospf_path_dup): New function added.
2852
28531999-10-05 Toshiaki Takada <takada@zebra.org>
2854
2855 * ospf_interface.[ch]: Some of VL related funciton name changed.
2856
28571999-09-27 Alex Zinin <zinin@amt.ru>
2858
2859 * ospf_zebra.c: Distribute-list functionality added
2860
28611999-09-27 Toshiaki Takada <takada@zebra.org>
2862
2863 * ospfd.c (show_ip_ospf): Fix bug of segmentation fault when no ospf
2864 instance exists.
2865
28661999-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2867
2868 * ospfd.c (ospf_interface_down): Fix bug of misusing nextnode()
2869 instead of node->next. Reported by Hiroki Ishibashi
2870 <ishibasi@dcd.abk.nec.co.jp>.
2871
2872 * ospf_route.c (show_ip_ospf_route): Add check for ospf is enabled
2873 or not.
2874
28751999-09-23 Alex Zinin <zinin@amt.ru>
2876
2877 * stub area support added
2878
28791999-09-23 Alex Zinin <zinin@amt.ru>
2880
2881 * fwd_addr in ASE-LSAs is now set correctly
2882 * ASE routing changed to check the fwd_addr
2883 and skip the route if the addr points to one
2884 of our interfaces to avoid loops.
2885
28861999-09-22 Alex Zinin <zinin@amt.ru>
2887
2888 * ospf_interface:
2889 ospf_vls_in_area() added, it returns
2890 the number of VLs configured through the area
2891
2892 * ospf_interface.c ospf_lsa.c ospf_lsdb.c ospfd.c
2893 honor correct mem alloc
2894
28951999-09-22 Alex Zinin <zinin@amt.ru>
2896
2897 * memory.[ch]:
2898 Some OSPF mem types added,
2899 plus more info in "show mem"
2900
29011999-09-21 Alex Zinin <zinin@amt.ru>
2902
2903 * ospfd.c:
2904 "area range substitute" added.
2905 It can be used on NAT-enabled (IP-masquarade)
2906 routers to announce private networks
2907 from an area as public ones into the outside
2908 world (not in the RFC, btw :)
2909
29101999-09-21 Alex Zinin <zinin@amt.ru>
2911
2912 * ospfd.c:
2913 "area range suppress" added.
2914 This command allows to instruct the router
2915 to be silent about specific ranges, i.e.,
2916 it is a method of route filtering on area
2917 borders
2918
29191999-09-21 Alex Zinin <zinin@amt.ru>
2920
2921 * ospfd.c VLs removed when "no network area" executed
2922
29231999-09-20 Alex Zinin <zinin@amt.ru>
2924
2925 * ospf_ase.c bug fix for not-zero fwd_addr
2926 and directly connected routes.
2927
29281999-09-20 Yon Uriarte <yon@plannet.de>
2929
2930 * ospf_packet.c (ospf_make_ls_req): Introduce delta value for
2931 checking the length of OSPF packet exceeds MTU or not.
2932
2933 * ospf_lsa.c (ospf_lsa_different): Apply ntohs for checking
2934 l1->data->length.
2935
29361999-09-18 Alex Zinin <zinin@amt.ru>
2937
2938 * ospf_lsa.c bug fix for ospf_network_lsa() to
2939 include itself into the RID list
2940
29411999-09-10 Alex Zinin <zinin@amt.ru>
2942
2943 * Alternative ABR behaviors IBM/Cisco/Shortcut
2944 implemented
2945
29461999-09-10 Alex Zinin <zinin@amt.ru>
2947
2948 * router and network-LSA origination
2949 changed to honor MinLSInterval
2950
29511999-09-08 Alex Zinin <zinin@amt.ru>
2952
2953 * modified ABR behavior to honor VLs and transit
2954 areas
2955
29561999-09-07 Alex Zinin <zinin@amt.ru>
2957
2958 * completed VL functionality
2959
29601999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2961
2962 * ospf_asbr.c: New file.
2963 ospf_asbr.h: New file.
2964
2965 * ospf_zebra.c (ospf_redistribute_connected): Add redistribute
2966 related stuff.
2967
29681999-09-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2969
2970 * ospfd.h (OSPF_FLAG_VIRTUAL_LINK): Change OSPF_FLAG_VEND to
2971 OSPF_FLAG_VIRTUAL_LINK for comprehensiveness.
2972
29731999-09-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2974
2975 * ospf_spf.c (ospf_spf_register): Change name from
2976 ospf_spf_route_add() to ospf_spf_register().
2977 Include "ospfd/ospf_abr.h" for ospf_abr_task() prototype.
2978
29791999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2980
2981 * ospf_lsa.c (ospf_external_lsa_install): Change to update
2982 lsa->data rather than install new one, when same id lsa is already
2983 installed.
2984
29851999-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2986
2987 * ospf_lsa.c (ospf_router_lsa_install): Return lsa value.
2988 (ospf_network_lsa_install): Likewise.
2989 (ospf_summary_lsa_install): Likewise.
2990 (ospf_summary_asbr_lsa_install): Likewise.
2991 (ospf_external_lsa_install): Likewise.
2992
2993 * ospf_spf.c (ospf_spf_calculate): Comment out debug function
2994 ospf_rtrs_print().
2995
29961999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2997
2998 * ospf_spf.c (ospf_rtrs_free): Add ospf_spf_calculate() for
2999 freeing rtrs.
3000
30011999-08-31 Toshiaki Takada <takada@zebra.org>
3002
3003 * ospf_lsa.c (show_ip_ospf_database_summary),
3004 (show_ip_ospf_database_summary_asbr),
3005 (show_ip_ospf_database_external): New function added.
3006 `show ip ospf database summary',
3007 `show ip ospf database asbr-summary'
3008 `show ip ospf database external' command can be used.
3009
3010 * ospf_lsa.c (ospf_lsa_count_table): New function added.
3011 (show_ip_ospf_database_all): show nothing if a type of LSA
3012 does not exist.
3013
30141999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
3015
3016 * ospf_lsa.c (ospf_maxage_lsa_remover): Preserve next pointer when
3017 the node is deleted.
3018
30191999-08-31 Toshiaki Takada <takada@zebra.org>
3020
3021 * ospf_flood.c (ospf_ls_retransmit_lookup): change to return
3022 struct ospf_lsa *.
3023 (ospf_ls_request_new), (ospf_ls_request_free),
3024 (ospf_ls_request_add), (ospf_ls_request_delete),
3025 (ospf_ls_request_delete_all), (ospf_ls_request_lookup):
3026 New function added.
3027
3028 * ospf_packet.c (ospf_ls_upd_send_lsa): New function added.
3029
3030 * ospf_lsa.h (LS_AGE): Slightly change macro definition.
3031
3032 * ospf_lsa.c (ospf_lsa_more_recent), (ospf_lsa_diffrent):
3033 Use LS_AGE macro.
3034
30351999-08-30 Alex Zinin <zinin@amt.ru>
3036
3037 * ospfd.c
3038 fix a bug with area range config write
3039 added "show ip ospf" command, it will be enhanced later on
3040
30411999-08-30 Alex Zinin <zinin@amt.ru>
3042
3043 * ospf_lsa.c
3044 updated ospf_router_lsa() to honor flags (B-bit)
3045
30461999-08-30 Alex Zinin <zinin@amt.ru>
3047
3048 * ospf_abr.c
3049 wrote major functions implementing ABR activity
3050
30511999-08-30 Alex Zinin <zinin@amt.ru>
3052
3053 * ospf_ia.c ospf_route.c ospf_route.h
3054 fixed the bug with ospf_route.origin field.
3055 Now it holds pointer to lsa_header
3056
30571999-08-30 Alex Zinin <zinin@amt.ru>
3058
3059 * ospf_flood.c ospf_flood.h:
3060 transformed ospf_flood_if_select into ospf_flood_through_area()
3061 added new ospf_flood_if_select() and ospf_flood_through_as()
3062
30631999-08-30 Toshiaki Takada <takada@zebra.org>
3064
3065 * ospf_flood.[ch]: New file added.
3066
3067 * ospf_packet.c (ospf_lsa_flooding),
3068 (ospf_lsa_flooding_select_if): functions move to ospf_flood.c
3069
3070 * ospf_neighbor.c (ospf_put_lsa_on_retransm_list),
3071 (ospf_remove_lsa_from_retransm_list),
3072 (ospf_nbr_remove_all_lsas_from_retransm_list),
3073 (ospf_lsa_remove_from_ls_retransmit):
3074 (ospf_lsa_retransmit): functions move to
3075 ospf_flood.c, and change function's name:
3076
3077 ospf_put_lsa_on_retransm_list ()
3078 -> ospf_ls_retransmit_add ()
3079 ospf_remove_lsa_from_retransm_list ()
3080 -> ospf_ls_retransmit_delete ()
3081 ospf_nbr_remove_all_lsas_from_retransm_list ()
3082 -> ospf_ls_retransmit_clear ()
3083 ospf_lsa_remove_from_ls_retransmit ()
3084 -> ospf_ls_retransmit_delete_nbr_all ()
3085 ospf_lsa_retransmit ()
3086 -> ospf_ls_retransmit_add_nbr_all ()
3087
3088 * ospf_lsa.c (ospf_lsa_lookup_from_list): function move to
3089 ospf_flood.c, and change name to ospf_ls_retransmit_lookup ().
3090
30911999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3092
3093 * ospf_neighbor.c (ospf_nbr_lookup_by_addr): Use
3094 route_node_lookup() instead of route_node_get().
3095
3096 * ospf_packet.c (ospf_ls_upd): Temporary comment out (6) check.
3097
30981999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3099
3100 * ospf_route.c (ospf_lookup_int_by_prefix): Add check of
3101 oi->address.
3102
31031999-08-29 Alex Zinin <zinin@amt.ru>
3104 * ospf_lsa.c
3105 MaxAge LSA deletion functions added.
3106
31071999-08-29 Alex Zinin <zinin@amt.ru>
3108 * ospf_neighbor.c
3109 ospf_nbr_lookup_by_addr(): added route_unlock_node()
3110 when function returns NULL if (rn->info == NULL)
3111
31121999-08-29 Alex Zinin <zinin@amt.ru>
3113 * ospfd.c
3114 added a hack for area range deletion
3115
31161999-08-29 Alex Zinin <zinin@amt.ru>
3117 * ospf_lsa.h
3118 included lsdb field into struct ospf_lsa, to find
3119 LSDB easier when removing MaxAge LSAs.
3120
31211999-08-29 Alex Zinin <zinin@amt.ru>
3122 * ospf_lsa.c ospf_neighbor.c ospf_nsm.c
3123 ospf_packet.c changed to honor new retransmit list
3124 management functions
3125
31261999-08-29 Alex Zinin <zinin@amt.ru>
3127 * ospf_neighbor.c , .h added new retransmit list functions.
3128
31291999-08-29 Alex Zinin <zinin@amt.ru>
3130 * Makefile.in
3131 added ospf_ase, ospf_abr, ospf_ia
3132
31331999-08-29 Alex Zinin <zinin@amt.ru>
3134 * ospf_spf.c:
3135 - changed ospf_next_hop_calculation() to include interface
3136 and nexthop addr for directly connected routers---more informative
3137 and solves problem with route installation into the kernel
3138 - changed ospf_nexthop_out_if_addr() to support routers, not only
3139 transit networks
3140 - added ospf_process_stubs();
3141
31421999-08-29 Alex Zinin <zinin@amt.ru>
3143 * ospf_lsa.c:
3144 - changed ospf_router_lsa() to provide correct links
3145 for p-t-p interfaces;
3146 - changed ospf_summary_lsa_install() to support table
3147 of self-originated summary-LSAs;
3148 - added ospf_summary_asbr_lsa_install() and ospf_external_lsa_install()
3149 - changed ospf_lsa_install() accordingly
3150 - changed show_ip_ospf_database_router_links() to support p-t-p
3151
31521999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3153
3154 * ospf_packet.c (ospf_make_db_desc): Only master can clear more
3155 flag.
3156
31571999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3158
3159 * ospf_packet.c (ospf_read): Add check of IP src address.
3160
31611999-08-28 Alex Zinin <zinin@amt.ru>
3162 * ospf_neighbor.h
3163 added ospf_nbr_lookup_by_routerid()
3164
31651999-08-28 Alex Zinin <zinin@amt.ru>
3166 * ospfd.h
3167 added ABR/ASBR flag definitions and fields;
3168 added iflist field to area structure;
3169 summary_lsa_self and summary_lsa_asbr_self are changed
3170 to be route tables;
3171 added ranges field---configured area ranges;
3172 A separate Routers RT added;
3173 area range config commands and config write added
3174
3175
31761999-08-28 Alex Zinin <zinin@amt.ru>
3177 * ospf_route.c :
3178 ospf_route_free()--added code to free the list of paths;
3179 The following functions added:
3180 ospf_intra_add_router();
3181 ospf_intra_add_transit();
3182 ospf_intra_add_stub();
3183 the last function uses new ospf_int_lookup_by_prefix();
3184 show_ip_ospf_route_cmd()--changed to support new RT structure;
3185 added ospf_cmp_routes()--general route comparision function;
3186 added ospf_route_copy_nexthops() and ospf_route_copy_nexthops_from_vertex()
3187 they are used in ASE and IA routing;
3188 added ospf_subst_route() and ospf_add_route();
3189
31901999-08-28 Alex Zinin <zinin@amt.ru>
3191 * ospf_route.h :
3192 changed struct ospf_path to include output interface,
3193 changed struct ospf_route to support IA and ASE routing.
3194 added prototypes of the function used in IA and ASE modules.
3195
31961999-08-28 Alex Zinin <zinin@amt.ru>
3197 * ospf_lsa.h ospf_lsa.c :
3198 added ospf_my_lsa(), an interface independent version of
3199 ospf_lsa_is_self_originated(), it will be used in ASE and IA-routing.
3200
32011999-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3202
3203 * ospf_interface.c (interface_config_write): Add check for
3204 oi->nbr_self.
3205
32061999-08-25 Toshiaki Takada <takada@zebra.org>
3207
3208 * ospf_lsa.c (ospf_lsa_dup): New function added.
3209
3210 * ospf_packet.c (ospf_write), (ospf_read): Print send/recv
3211 interface in debug message.
3212
32131999-08-25 Toshiaki Takada <takada@zebra.org>
3214
3215 * ospf_packet.c (ospf_ls_ack_send): The name is changed from
3216 `ospf_ls_ack_send'.
3217 (ospf_ls_ack_send_delayed) (ospf_ls_ack_timer): New function added.
3218 Delayed Link State Acknowledgment is scheduled by timer.
3219
32201999-08-25 Alex Zinin <zinin@amt.ru>
3221
3222 * ospf_lsa.c (ospf_router_lsa): Incorrectly included link to
3223 a stub network instead of link to a transit network into
3224 originated router-LSA, bug fixed.
3225
32261999-08-24 Toshiaki Takada <takada@zebra.org>
3227
3228 * ospfd.c (ospf_update_router_id): New function added.
3229
3230 * ospf_network.c (ospf_write): Create new socket per transmission.
3231 And select outgoing interface whether dst is unicast or multicast.
3232
3233 * ospf_packet.c: LSA flooding will work.
3234
32351999-08-24 VOP <vop@unity.net>
3236
3237 * ospf_route.c: Include "sockunion.h"
3238
32391999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
3240
3241 * ospf_network.c (ospf_serv_sock_init): Enclose
3242 IPTOS_PREC_INTERNETCONTROL setting with #ifdef for OS which does
3243 not have the definition.
3244
32451999-08-23 Toshiaki Takada <takada@zebra.org>
3246
3247 * ospf_packet.c: Fix bug of DD processing.
3248
32491999-08-18 Toshiaki Takada <takada@zebra.org>
3250
3251 * ospf_lsa.c (show_ip_ospf_database): Show actual `LS age'.
3252
32531999-08-17 Toshiaki Takada <takada@zebra.org>
3254
3255 * ospf_lsa.h (OSPF_MAX_LSA): The value of OSPF_MAX_LSA is
3256 corrected. The bug of `mes_lookup' is fixed.
3257 This had been reported by Poul-Henning Kamp <phk@freebsd.org>.
3258
3259 * ospf_lsa.c (ospf_router_lsa_install): The name is changed from
3260 `ospf_add_router_lsa'.
3261 (ospf_network_lsa_install): The name is changed from
3262 `ospf_add_network_lsa'.
3263
3264 * ospf_interface.h (ospf_interface): Add member `nbr_self'.
3265
3266 * ospf_interface.c (ospf_if_is_enable): New function added.
3267
32681999-08-16 Toshiaki Takada <takada@zebra.org>
3269
3270 * ospf_lsa.h (struct lsa_header): The name is changed from
3271 `struct ospf_lsa'.
3272 (struct ospf_lsa): New struct added to control each LSA's aging
3273 and timers.
3274
3275 * ospf_lsa.c (ospf_lsa_data_free): The name is change from
3276 `ospf_lsa_free'.
3277 (ospf_lsa_data_new), (ospf_lsa_new), (ospf_lsa_free),
3278 (ospf_lsa_different), (ospf_lsa_install): New function added.
3279
3280 * ospf_packet.c (ospf_ls_upd_list_lsa): New function added.
3281
32821999-08-12 Toshiaki Takada <takada@zebra.org>
3283
3284 * ospf_nsm.c (nsm_reset_nbr): New function added.
3285 KillNbr and LLDown neighbor event call this function.
3286
32871999-08-10 Toshiaki Takada <takada@zebra.org>
3288
3289 * ospf_packet.c (ospf_ls_retransmit)
3290 (ospf_ls_upd_timer): New function added.
3291 Set retransmission timer for Link State Update.
3292
32931999-07-29 Toshiaki Takada <takada@zebra.org>
3294
3295 * ospf_ism.c (ospf_dr_election): Fix bug of DR election.
3296
32971999-07-28 Toshiaki Takada <takada@zebra.org>
3298
3299 * ospf_network.c (ospf_serv_sock_init): Set IP precedence field
3300 with IPTOS_PREC_INTERNET_CONTROL.
3301
3302 * ospf_nsm.c (nsm_change_status): Schedule NeighborChange event
3303 if NSM status change.
3304
3305 * ospf_packet.c (ospf_make_hello): Never include a neighbor in
3306 Hello packet, when the neighbor goes down.
3307
33081999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
3309
3310 * Makefile.am (noinst_HEADERS): Add ospf_route.h.
3311
3312 * ospf_route.c (show_ip_ospf_route): Add `show ip ospf route'
3313 command.
3314
33151999-07-25 Toshiaki Takada <takada@zebra.org>
3316
3317 * ospf_lsa.c (ospf_router_lsa): Fix bug of LS sequence number
3318 assignement.
3319
33201999-07-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3321
3322 * ospf_route.c (ospf_route_table_free): New function added.
3323
3324 * ospf_spf.c (ospf_spf_next): Free vertex w when cw's and w's
3325 distance is same.
3326
3327 * ospfd.h (struct ospf): Add old_table.
3328
3329 * ospf_main.c (sighup): Call of log_rotate () removed.
3330
3331 * ospf_lsa.c (ospf_lsa_is_self_originated): Fix bug of checking
3332 area->lsa as self LSA. This should be area->lsa_self.
3333
33341999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
3335
3336 * ospf_zebra.c (ospf_zebra_add): ospf_zebra_add
3337 (),ospf_zebra_delete () added.
3338
3339 * ospf_spf.c (ospf_spf_calculate): Call ospf_intra_route_add ().
3340
33411999-07-24 Toshiaki Takada <takada@zebra.org>
3342
3343 * ospf_lsa.c: Change LS sequence number treatment.
3344 (ospf_lsa_is_self_originated): New function added.
3345 (show_ip_ospf_database_self_originated): New DEFUN added.
3346
33471999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3348
3349 * ospf_interface.c (ospf_if_lookup_by_addr): Add loopback check.
3350
33511999-07-22 Toshiaki Takada <takada@zebra.org>
3352
3353 * ospf_spf.c (ospf_nexthop_new), (ospf_nexthop_free),
3354 (ospf_nexthop_dup): function added.
3355 (ospf_nexthop_calculation): function changed.
3356
3357 * ospf_interface.c (ospf_if_lookup_by_addr): function added.
3358
33591999-07-21 Toshiaki Takada <takada@zebra.org>
3360
3361 * ospf_spf.c (ospf_spf_closest_vertex): function removed.
3362
33631999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
3364
3365 * ospf_spf.c (ospf_spf_next): Apply ntohs for fetching metric.
3366
33671999-07-21 Toshiaki Takada <takada@zebra.org>
3368
3369 * ospf_neighbor.c (ospf_nbr_lookup_by_router_id): fundtion removed.
3370
3371 * ospf_lsa.c (show_ip_ospf_database_router): describe each
3372 connected link.
3373
33741999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
3375
3376 * ospf_spf.c (ospf_spf_next): V is router LSA or network LSA so
3377 change behavior according to LSA type.
3378 (ospf_lsa_has_link): Link check function is added.
3379
33801999-07-20 Kunihiro Ishiguro <kunihiro@zebra.org>
3381
3382 * ospf_spf.c (ospf_spf_calculate_schedule): Add new function for
3383 SPF calcultion schedule addtition.
3384 (ospf_spf_calculate_timer_add): Rough 30 sec interval SPF calc
3385 timer is added.
3386 (ospf_spf_next_router): Delete ospf_spf_next_network ().
3387
3388 * ospf_lsa.c (show_ip_ospf_database_all): Network-LSA display
3389 header typo correction. Display of router LSA's #link added.
3390
33911999-07-19 Toshiaki Takada <takada@zebra.org>
3392
3393 * ospf_packet.c (ospf_check_network_mask): Added new function for
3394 receiving Raw IP packet on an appropriate interface.
3395
33961999-07-16 Toshiaki Takada <takada@zebra.org>
3397
3398 * ospfd.c (ospf_router_id): new DEFUN added.
3399
34001999-07-15 Toshiaki Takada <takada@zebra.org>
3401
3402 * ospf_spf.c (ospf_spf_init), (ospf_spf_free),
3403 (ospf_spf_has_vertex), (ospf_vertex_lookup),
3404 (ospf_spf_next_router), (ospf_spf_next_network),
3405 (ospf_spf_closest_vertex), (ospf_spf_calculate):
3406 function added.
3407
34081999-07-13 Toshiaki Takada <takada@zebra.org>
3409
3410 * ospf_ism.c: fix bug of DR Election.
3411
3412 * ospf_nsm.c: fix bug of adjacency forming.
3413
34141999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
3415
3416 * ospfd.c (ospf_init): Change to use install_default.
3417
34181999-07-01 Rick Payne <rickp@rossfell.co.uk>
3419
3420 * ospf_zebra.c (zebra_init): Install standard commands to
3421 ZEBRA_NODE.
3422
34231999-06-30 Toshiaki Takada <takada@zebra.org>
3424
3425 * ospf_dump.c: Whole debug command is improved.
3426 (ISM|NSM) (events|status|timers) debug option added.
3427 (show_debugging_ospf): new DEFUN added.
3428
34291999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3430
3431 * ospf_lsa.c (ospf_lsa_lookup_from_list): Change !IPV4_ADDR_CMP to
3432 IPV4_ADDR_SAME.
3433
34341999-06-29 Toshiaki Takada <takada@zebra.org>
3435
3436 * ospf_dump.c (ospf_summary_lsa_dump): Add summary-LSA dump routine.
3437 (ospf_as_external_lsa_dump): Add AS-external-LSA dump routine.
3438
3439 * ospf_nsm.c (nsm_twoway_received): fix condtion of adjacnet.
3440
3441 * ospf_ism.c (ospf_dr_election): fix DR Election.
3442
3443 * ospf_dump.c (ospf_nbr_state_message): fix `show ip ospf neighbor'
3444 command's state.
3445
34461999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3447
3448 * ospf_dump.c (ospf_router_lsa_dump): Add router-LSA dump routine.
3449
34501999-06-28 Toshiaki Takada <takada@zebra.org>
3451
3452 * ospf_lsa.c (show_ip_ospf_database_network): fix bug of
3453 `show ip ospf database network' command output.
3454
3455 * ospf_nsm.c (nsm_inactivity_timer): Clear list of Link State
3456 Retransmission, Database Summary and Link State Request.
3457
3458 * ospf_packet.c (ospf_ls_req_timer): New function added.
3459 Set Link State Request retransmission timer.
3460
34611999-06-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3462
3463 * ospf_main.c (main): Change default output from ZLOG_SYSLOG to
3464 ZLOG_STDOUT.
3465
3466 * ospfd.c (ospf_init): Register show_ip_ospf_interface_cmd and
3467 show_ip_ospf_neighbor_cmd to VIEW_NODE.
3468
3469 * ospf_lsa.c (ospf_lsa_init): Register show_ip_ospf_database_cmd
3470 and show_ip_ospf_database_type_cmd to VIEW_NODE.
3471
34721999-06-25 Toshiaki Takada <takada@zebra.org>
3473
3474 * ospf_packet.c: fix bug of DD making.
3475 fix bug of LS-Update reading.
3476
34771999-06-23 Toshiaki Takada <takada@zebra.org>
3478
3479 * ospf_packet.c: All type of packets are changed to use
3480 fifo queue structure.
3481 (ospf_fill_header) function added.
3482
34831999-06-22 Toshiaki Takada <takada@zebra.org>
3484
3485 * ospf_packet.c (ospf_packet_new): New function added to handle
3486 sending ospf packet by fifo queue structure.
3487 (ospf_packet_free), (ospf_fifo_new), (ospf_fifo_push),
3488 (ospf_fifo_pop), (ospf_fifo_head), (ospf_fifo_flush),
3489 (ospf_fifo_free): Likewise.
3490
34911999-06-21 Toshiaki Takada <takada@zebra.org>
3492
3493 * ospf_nsm.c (ospf_db_desc_timer): function added.
3494 (nsm_timer_set) function added.
3495 * ospf_dump.c (ospf_option_dump): function added.
3496 * ospf_packet.c (ospf_ls_req) (ospf_make_ls_req): function added.
3497
34981999-06-20 Toshiaki Takada <takada@zebra.org>
3499
3500 * ospf_lsa.c (ospf_lsa_more_recent): function added.
3501 * ospf_neighbor.h (struct ospf_neighbor): Change member ms_flag
3502 to dd_flags.
3503
35041999-06-19 Toshiaki Takada <takada@zebra.org>
3505
3506 * ospf_lsa.c: DEFUN (show_ip_ospf_database) Added.
3507 * ospf_interface.c (if_ospf_cost), (if_ospf_dead_interval),
3508 (if_ospf_hello_interval), (if_ospf_priority),
3509 (if_ospf_retransmit_interval), (if_ospf_transmit_delay)
3510 argument changed from NUMBER to <range>.
3511 DEFUN (if_ospf_network_broadcast),
3512 DEFUN (if_ospf_network_non_broadcast),
3513 DEFUN (if_ospf_network_point_to_multipoint),
3514 DEFUN (if_ospf_network_point_to_point) functions are combined to
3515 DEFUN (if_ospf_network).
3516
35171999-06-18 Toshiaki Takada <takada@zebra.org>
3518
3519 * ospf_lsa.c: ospf_add_router_lsa (), ospf_add_network_lsa (),
3520 ospf_lsa_lookup (), ospf_lsa_count () Added.
3521
35221999-06-15 Toshiaki Takada <takada@zebra.org>
3523
3524 * DEFUN (ospf_debug_ism), DEFUN (ospf_debug_nsm),
3525 DEFUN (no_ospf_debug_ism), DEFUN (no_ospf_debug_nsm) Added.
3526 `debug ospf ism' command shows debug message.
3527 `debuf ospf nsm' command shows debug message.
3528
35291999-06-14 Toshiaki Takada <takada@zebra.org>
3530
3531 * ospf_lsa.c: ospf_network_lsa () Added.
3532 ospf_lsa_checksum () Added.
3533 * DEFUN (ospf_debug_packet), DEFUN (no_ospf_debug_packet) Added.
3534 `debug ospf packet' command shows debug message.
3535
35361999-06-13 Toshiaki Takada <takada@zebra.org>
3537
3538 * ospf_packet.h: Remove struct ospf_ls_req {}, ospf_ls_upd {},
3539 ospf_ls_ack {}.
3540
35411999-06-11 Toshiaki Takada <takada@zebra.org>
3542
3543 * ospf_dump.c: fix IP packet length treatment.
3544
35451999-06-10 Toshiaki Takada <takada@zebra.org>
3546
3547 * ospf_ism.h: Add OSPF_ISM_EVENT_EXECUTE() Macro Added.
3548 * ospf_nsm.h: Add OSPF_NSM_EVENT_EXECUTE() Macro Added.
3549
3550 * ospf_packet.c: ospf_db_desc (), ospf_db_desc_send () Added.
3551 ospf_make_hello (), ospf_make_db_desc () Added.
3552 ospf_db_desc_proc () Added.n
3553
3554 * Database Description packet can be processed.
3555
35561999-06-08 Toshiaki Takada <takada@zebra.org>
3557
3558 * ospf_lsa.c: New file.
3559
35601999-06-07 Toshiaki Takada <takada@zebra.org>
3561
3562 * ospf_neighbor.c: ospf_fully_adjacent_count () Added.
3563
35641999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
3565
3566 * ospf_spf.[ch]: New file.
3567
35681999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3569
3570 * ospf_zebra.c: Changed to use lib/zclient.c routines.
3571
3572 * ospf_zebra.h (zebra_start): Remove struct zebra.
3573
35741999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3575
3576 * ospfd.c (ospf_config_write): Add cast (unsigned long int) to
3577 ntohl for sprintf warning.
3578
35791999-05-19 Toshiaki Takada <takada@zebra.org>
3580
3581 * ospf_ism.c (ospf_dr_election): Join AllDRouters Multicast group
3582 if interface state changes to DR or BDR.
3583
35841999-05-14 Stephen R. van den Berg <srb@cuci.nl>
3585
3586 * ospf_main.c (signal_init): SIGTERM call sigint.
3587 (sigint): Logging more better message.
3588
35891999-05-12 Toshiaki Takada <takada@zebra.org>
3590
3591 * ospfd.c: Fix bug of `no router ospf' statement, it will work.
3592
35931999-05-11 Toshiaki Takada <takada@zebra.org>
3594
3595 * ospf_neighbor.c: ospf_nbr_free () Added.
3596
35971999-05-10 Toshiaki Takada <takada@zebra.org>
3598
3599 * ospfd.h: struct ospf_area { }, struct ospf_network { } Changed.
3600 * Fix bug of `no network' statement, it will work.
3601
36021999-05-07 Toshiaki Takada <takada@zebra.org>
3603
3604 * ospf_interface.c, ospf_zebra.c: Fix bug of last interface is not
3605 updated by ospf_if_update ().
3606
36071999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3608
3609 * Makefile.am (noinst_HEADERS): Add ospf_lsa.h for distribution.
3610
36111999-04-25 Toshiaki Takada <takada@zebra.org>
3612
3613 * ospf_interface.c: DEFUN (no_if_ospf_cost),
3614 DEFUN (no_if_ospf_dead_interval),
3615 DEFUN (no_if_ospf_hello_interval),
3616 DEFUN (no_if_ospf_priority),
3617 DEFUN (no_if_ospf_retransmit_interval),
3618 DEFUN (no_if_ospf_transmit_delay) Added.
3619
3620 interface_config_write () suppress showing interface
3621 default values.
3622
36231999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3624
3625 * ospf_dump.c (ospf_timer_dump): If thread is NULL return "inactive".
3626
3627 * ospfd.c (ospf_if_update): Fix bug of using ospf_area { } instead
3628 of ospf_network { }. So `router ospf' statement in ospfd.conf
3629 works again.
3630 (ospf_if_update): Call ospf_get_router_id for updating router ID.
3631
36321999-04-25 Toshiaki Takada <takada@zebra.org>
3633
3634 * ospf_interface.c: DEFUN (if_ospf_network) deleted.
3635 DEFUN (if_ospf_network_broadcast),
3636 DEFUN (if_ospf_network_non_broadcast),
3637 DEFUN (if_ospf_network_point_to_multipoint),
3638 DEFUN (if_ospf_network_point_to_point),
3639 DEFUN (no_if_ospf_network) Added.
3640
36411999-04-23 Toshiaki Takada <takada@zebra.org>
3642
3643 * ospfd.h: struct area { } changed to struct ospf_network { }.
3644 Add struct ospf_area { }.
3645 * ospfd.c: Add ospf_area_lookup_by_area_id (), ospf_network_new (),
3646 and ospf_network_free ().
3647 DEFUN (area_authentication), DEFUN (no_area_authentication) Added.
3648
36491999-04-22 Toshiaki Takada <takada@zebra.org>
3650
3651 * ospf_lsa.h: New file.
3652 * ospf_packet.h: LSA related struct definition are moved to
3653 ospf_lsa.h.
3654 * ospf_packet.c: ospf_verify_header () Added.
3655
36561999-04-21 Toshiaki Takada <takada@zebra.org>
3657
3658 * ospf_ism.c: ospf_elect_dr () and related function is changed.
3659 DR Election bug fixed.
3660 * ospf_dump.c: ospf_nbr_state_message (), ospf_timer_dump () Added.
3661 * ospfd.c: DEFUN (show_ip_ospf_neighbor) Added.
3662
36631999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
3664
3665 * ospf_main.c (main): access_list_init () is added for vty
3666 connection filtering.
3667
36681999-04-16 Toshiaki Takada <takada@zebra.org>
3669
3670 * ospfd.c: DEFUN (show_ip_ospf_interface) Added.
3671 * ospf_neighbor.c: ospf_nbr_count () Added.
3672
36731999-04-15 Toshiaki Takada <takada@zebra.org>
3674
3675 * ospfd.h: struct ospf { } Changed.
3676 * ospfd.c: ospf_lookup_by_process_id () Deleted.
3677 * ospf_ism.c: ospf_wait_timer () Added. WaitTimer will work.
3678
36791999-04-14 Toshiaki Takada <takada@zebra.org>
3680
3681 * ospf_ism.c: ospf_elect_dr () Added.
3682 * ospf_network.c: ospf_if_ipmulticast () Added.
3683
36841999-04-11 Toshiaki Takada <takada@zebra.org>
3685
3686 * ospf_interface.c: interface_config_write (),
3687 DEFUN (if_ip_ospf_cost),
3688 DEFUN (if_ip_ospf_dead_interval),
3689 DEFUN (if_ip_ospf_hello_interval),
3690 DEFUN (if_ip_ospf_priority),
3691 DEFUN (if_ip_ospf_retransmit_interval) and
3692 DEFUN (if_ip_ospf_transmit_delay) Added.
3693
36941999-04-08 Toshiaki Takada <takada@zebra.org>
3695
3696 * ospf_dump.c: ospf_packet_db_desc_dump () Added.
3697 * ospf_neighbor.c: ospf_nbr_bidirectional () Added.
3698 * ospf_nsm.c: nsm_twoway_received () Added.
3699
37001999-04-02 Toshiaki Takada <takada@zebra.org>
3701
3702 * ospf_neighbor.c: New file.
3703 * ospf_neighbor.h: New file.
3704 * ospf_nsm.c: New file.
3705 * ospf_nsm.h: New file.
3706 * ospf_packet.c: Add ospf_make_header (), ospf_hello () and
3707 ospf_hello_send (). Now OSPFd can receive Hello and send Hello.
3708
37091999-03-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3710
3711 * ospf_packet.c: Add ospf_recv_packet (). Now OSPF Hello can receive.
3712
37131999-03-19 Toshiaki Takada <takada@zebra.org>
3714
3715 * ospf_packet.c: New file.
3716 * ospf_packet.h: New file.
3717 * ospf_network.c: New file.
3718 * ospf_network.h: New file.
3719 * ospfd.h: move OSPF message structure has moved to ospf_packet.h.
3720
37211999-03-17 Kunihiro Ishiguro <kunihiro@zebra.org>
3722
3723 * ospf_zebra.c (ospf_zebra_get_interface): Fix for IPv6 interface
3724 address.
3725
3726 * Makefile.am (install-sysconfDATA): Overwrite install-sysconfDATA
3727 for install ospfd.conf.sample as owner read only file.
3728
3729 * ospf_main.c (usage): Change to use ZEBRA_BUG_ADDRESS.
3730
37311999-03-15 Toshiaki Takada <takada@zebra.org>
3732
3733 * ospf_ism.c: New file.
3734 * ospf_ism.h: New file.
3735 * ospf_dump.c: New file.
3736 * ospf_dump.h: New file.
3737
3738 * ospfd.h: Add (struct ospf), (struct config_network),
3739 (struct message) structure.
3740
3741 * ospf_interface.c: Add ospf_if_match_network ().
3742 * ospf_interface.h (struct ospf_interface): Change struct members.
3743
3744 * ospfd.c: ospf_lookup_by_process_id (), ospf_network_new (),
3745 DEFUN (network_area): Added.
3746
3747 * ospfd.conf.sample: Change sample configuration.
3748
37491999-03-05 Toshiaki Takada <takada@zebra.org>
3750
3751 * ospf_interface.c: New file.
3752 * ospf_interface.h: New file.
3753 * ospf_zebra.h: New file.
3754 * ospf_zebra.c: Add interface function for zebra daemon.
3755 * ospfd.c: New file.
3756
37571999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3758
3759 * Move IPv6 codes and files to ospf6d directory.
3760
37611999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
3762
3763 * syslog support added
3764
37651998-12-22 Toshiaki Takada <takada@zebra.org>
3766
3767 * ospfd.h: New file.
3768 * ospf_lsa.h: New file.
3769
37701998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
3771
3772 * Makefile.am: New file.
3773 * ospf_main.c: New file.
3774