]> git.proxmox.com Git - mirror_frr.git/blob - ospfd/ChangeLog
2005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
[mirror_frr.git] / ospfd / ChangeLog
1 2005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
2
3 * ospf_interface.h: Reduce structure padding by putting new u_char
4 field multicast_memberships in a better spot (grouped with
5 other u_char fields type and state).
6
7 2005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
8
9 * ospf_interface.h: Improve passive_interface comment. Add new
10 multicast_memberships bitmask to struct ospf_interface to track
11 active multicast subscriptions. Declare new function
12 ospf_if_set_multicast.
13 * ospf_interface.c: (ospf_if_set_multicast) New function to configure
14 multicast memberships properly based on the current
15 multicast_memberships status and the current values of the
16 ospf_interface state, type, and passive_interface status.
17 (ospf_if_up) Remove call to ospf_if_add_allspfrouters (this is
18 now handled by ism_change_state's call to ospf_if_set_multicast).
19 (ospf_if_down) Remove call to ospf_if_drop_allspfrouters (now
20 handled by ism_change_state).
21 * ospf_ism.c: (ospf_dr_election) Remove logic to join or leave
22 the DRouters multicast group (now handled by ism_change_state's call
23 to ospf_if_set_multicast).
24 (ism_change_state) Add call to ospf_if_set_multicast to change
25 multicast memberships as necessary to reflect the new interface state.
26 * ospf_packet.c: (ospf_hello) When a Hello packet is received on a
27 passive interface: 1. Increase the severity of the error message
28 from LOG_INFO to LOG_WARNING; 2. Add more information to the error
29 message (packet destination address and interface address);
30 and 3. If the packet was sent to ospf-all-routers, then try
31 to fix the multicast group memberships.
32 (ospf_read) When a packet is received on an interface whose state
33 is ISM_Down, enhance the warning message to show the packet
34 destination address, and try to update/fix the multicast group
35 memberships if the packet was sent to a multicast address.
36 When a packet is received for ospf-designated-routers, but the
37 current interface state is not DR or BDR, then increase the
38 severity level of the error message from LOG_INFO to LOG_WARNING,
39 and try to fix the multicast group memberships.
40 * ospf_vty.c: (ospf_passive_interface) Call ospf_if_set_multicast for
41 any ospf interface that may have changed from active to passive.
42 (no_ospf_passive_interface) Call ospf_if_set_multicast for
43 any ospf interface that may have changed from passive to active.
44 (show_ip_ospf_interface_sub) Show multicast group memberships.
45
46 2005-02-08 Paul Jakma <paul@dishone.st>
47
48 * ospf_packet.c: (various) Remove unneeded stream_set_putp abuse.
49
50 2005-02-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
51
52 * ospf_packet.c: (ospf_read) Fix bug: must check for state ISM_Down,
53 not for event ISM_InterfaceDown. And improve the message by
54 adding the interface flags.
55
56 2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
57
58 * ospf_network.c: (ospf_sock_init) Save errno before calling
59 ospfd_privs.change.
60
61 2005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
62
63 * ospf_packet.c: (ospf_packet_add) If oi->obuf is NULL, print
64 an error message and return.
65 (ospf_read) If the interface state is ISM_InterfaceDown, issue
66 a warning message and ignore the packet.
67
68 2005-01-10 Greg Troxel <gdt@fnord.ir.bbn.com>
69
70 * ospf_packet.h: Remove commented out definition of
71 OSPF_MAX_PACKET; neither it or the uncommented one are used any more.
72
73 * ospf_packet.c (ospf_make_ls_upd): Leave room for authentication
74 when deciding if an update will fit.
75 (ospf_packet_authspace): Factor out calculation of size required
76 for authentication.
77 (ospf_make_db_desc): Use ospf_max_packet, not OSPF_MAX_PACKET.
78 Don't confuse readers that there is a macro.
79
80 2004-12-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
81
82 * ospf_network.c: Improve all setsockopt error messages to give detailed
83 information on the arguments.
84
85 2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
86
87 * ospf_packet.c: (ospf_db_desc) Reduce severity of "Negotiation done"
88 messages from LOG_WARNING to LOG_INFO, since this seems to be
89 normal.
90
91 2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
92
93 * ospf_packet.c: (ospf_read) Always look up the interface if
94 ospf_recv_packet returns NULL ifp, since some platforms such
95 as Solaris 8 appear to support ifindex retrieval but don't.
96
97 2004-12-22 Hasso Tepper <hasso at quagga.net>
98
99 * ospf_dump.c: Show debug configuration in vtysh.
100 * ospf_vty.c: Fix "show ip ospf" output. Router can't be elected in
101 any case if it's configured as "translate-never".
102 * ospf_lsdb.[ch]: New function to calculate sum of checksums.
103 * ospf_vty.c: Bugfix to show really number of AS external LSAs, not
104 number of all LSAs with AS scope, this includes opaque as LSAs as
105 well, show this number separately. Show numbers and sums of
106 checksums for each type of LSAs.
107 * ospf_lsa.c: Calculate checksum before putting LSA into database.
108
109 2004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
110
111 * ospf_interface.h: Declare new function ospf_default_iftype.
112 * ospf_interface.c: (ospf_default_iftype) New function to centralize
113 this logic in one place.
114 * ospf_zebra.c: (ospf_interface_add) Use new function
115 ospf_default_iftype.
116 * ospf_vty.c: (no_ip_ospf_network,config_write_interface) Fix logic
117 by using new function ospf_default_iftype.
118
119 2004-12-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
120
121 * ospf_packet.c: (ospf_db_desc) Should be static, not global.
122 (ospf_hello,ospf_db_desc,ospf_ls_upd,ospf_ls_ack) Improve warning
123 messages to include identifying information (e.g. router id).
124 * ospf_nsm.c: (nsm_change_state) Improve info message to include
125 router id and state names.
126
127 2004-12-09 Greg Troxel <gdt@fnord.ir.bbn.com>
128
129 * ospf_apiserver.c (ospf_apiserver_term): Obtain struct
130 ospf_apiserver * from listnode. Remove unused variables. Follows
131 suggestion from Jay Fenlason.
132
133 2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
134
135 * *.c: Change level of debug messages to LOG_DEBUG.
136
137 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
138
139 * ospf_main.c: (main) The 2nd argument to openzlog has been removed.
140
141 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
142
143 * ospf_packet.c: (ospf_db_desc) Reduce priority on a debug message
144 from LOG_NOTICE to LOG_DEBUG.
145
146 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
147
148 * ospf_main.c: (sigint) Use zlog_notice for termination message.
149 (main) Issue a startup announcement using zlog_notice.
150
151 2004-11-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
152
153 * ospf_packet.c: (ospf_db_desc_proc) Fix spelling of packet in warning
154 message and in comment.
155 (ospf_db_desc) Warning message that a packet is being discarded
156 should give the router id of the packet source. Fix spelling
157 of packet in two warning messages.
158 (ospf_ls_req) Warning message that a link state request is being
159 discarded should give the router id of the neighbor that sent it.
160
161 2004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
162
163 * ospf_main.c: Remove #include "debug.h" (was not being used, and
164 lib/debug.h has now been deleted).
165
166 2004-11-25 Hasso Tepper <hasso at quagga.net>
167
168 * ospf_main.c: Make group to run as configurable.
169
170 2004-11-15 Greg Troxel <gdt@fnord.ir.bbn.com>
171
172 * ospf_packet.c (ospf_recv_packet): Assume CMSG_SPACE is present
173 and works (lib/zebra.h provides if OS doesn't).
174
175 2004-11-15 Paul Jakma <paul@dishone.st>
176
177 * ospf_{apiserver,te}.c: ospf_lsa_free's should be ospf_lsa_unlock.
178
179 2004-11-12 Paul Jakma <paul@dishone.st>
180
181 * ospf_ia.c: (process_summary_lsa) Only an ABR has any reason to
182 ignore stub area summary default. Even so it seems a strange
183 check, add a comment to that effect.
184
185 2004-11-04 Paul Jakma <paul@dishone.st>
186
187 * ospfd.c: (ospf_network_match_iface) revert to previous network
188 statement match behaviour.
189
190 2004-11-02 Paul Jakma <paul@dishone.st>
191
192 * ospf_packet.c: (ospf_write_frags) remove iov arg, msg already points
193 to it. Add convenience pointer to msg->msg_iov[1], and use this,
194 fixing the unfortunate borkenness introduced in moving of this code
195 to a function.
196 (ospf_write) remove iovp and fix up call to previous.
197 (ospf_ls_upd_packet_new) cast size to long int - unfortunately
198 glibc's size_t format modifier is not portable.
199
200 2004-10-31 Paul Jakma <paul@dishone.st>
201
202 * ospf_packet.c: (ospf_write_frags) Add debug output
203 (ospf_write) set type early, so we can pass it to
204 ospf_write_frags.
205 (ospf_ls_upd_packet_new) print size in debug output when too large
206 packet is encountered.
207 * ospf_zebra.c: (ospf_distribute_list_update_timer) Ugly misuse of
208 THREAD_ARG to store an integer, but it should at least use same
209 same type to retrieve the value. Assert value is sane.
210
211 2004-10-22 Paul Jakma <paul@dishone.st>
212
213 * ospf_network.c: (ospf_sock_init) call neutral setsock_ifindex()
214 function.
215 * ospf_packet.c: (ospf_read) manually look up ifindex
216 if system could not have returned one, eg openbsd, thanks to Rivo
217 Nurges for highlighting problem and fix.
218 Change setsockopt_pktinfo to setsockopt_ifindex.
219
220 2004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
221
222 * ospf_snmp.c: (ospf_snmp_if_update) Fix logic to handle PtP links
223 with dedicated subnets properly.
224 * ospf_lsa.c: (lsa_link_ptop_set) ditto.
225 * ospfd.c: (ospf_network_match_iface) ditto.
226 (ospf_network_run) ditto.
227 * ospf_interface.c: (ospf_if_is_configured) ditto.
228 (ospf_if_lookup_by_prefix) ditto.
229 (ospf_if_lookup_recv_if) ditto.
230 * ospf_vty.c: (show_ip_ospf_interface_sub) Display the peer or
231 broadcast address if present.
232
233 2004-10-13 Hasso Tepper <hasso at quagga.net>
234
235 * ospf_main.c: Unbreak compilation with ospfapi disabled.
236 * ospf_snmp.c: Remove defaults used to initialize smux connection to
237 snmpd. Connection is initialized only if smux peer is configured.
238
239 2004-10-12 Hasso Tepper <hasso at quagga.net>
240
241 * ospf_main.c, ospf_opaque.c: Unbreak ospfclient compilation - move
242 static variable from ospf_main.c into ospf_opaque.c.
243
244 2004-10-11 Hasso Tepper <hasso at quagga.net>
245
246 * ospf_main.c, ospf_opaque.c: Disable ospfapi init by default. New
247 command line switch to enable it.
248
249 2004-10-11 Paul Jakma <paul@dishone.st>
250
251 * ospf_dump.c: (ospf_ip_header_dump) Assume header is in host order
252 remove ntohs that should have dissappeared. Take struct ip
253 as argument, caller has to know there's an IP header at start of
254 stream anyway.
255 * ospf_dump.h: update declaration of ospf_ip_header_dump.
256 * ospf_packet.c: (ospf_write) correct call to
257 sockopt_iphdrincl_swab_htosys which was munging the header.
258 (ospf_recv_packet) ip_len is needed for old OpenBSD fixup.
259 (ospf_read) sockopt_iphdrincl_swab_systoh ip header as soon as
260 we have it.
261 * (global) Const char update and signed/unsigned fixes.
262 * (various headers) size defines should be unsigned.
263 * ospf_interface.h: remove duplicated defines, include the
264 authoritative header - though, these defines should probably
265 be moved to a dedicated header, or ospfd.h.
266 * ospf_lsa.h: (struct lsa) ls_seqnum should be unsigned.
267 * ospf_packet.c: (ospf_write) cast result of shift to unsigned.
268
269 2004-10-08 Hasso Tepper <hasso at quagga.net>
270
271 * *.[c|h]: Fix compiler warnings: make some strings const, signed ->
272 unsigned, remove unused variables etc.
273
274 2004-10-07 Greg Troxel <gdt@claude.ir.bbn.com>
275
276 * ospf_apiserver.c (ospf_apiserver_unregister_opaque_type): Don't
277 use of variable names 'node' and 'nextnode' to avoid possible
278 conflict with list macros. Move variable declaration inside for
279 loop after a statement to top of function.
280
281 2004-10-07 Paul Jakma <paul@dishone.st>
282
283 * ospf_snmp.c: Missed list typedef update
284 * ospf_dump.c: Include sockopt.h for header swab functions.
285
286 2004-10-05 Paul Jakma <paul@dishone.st>
287
288 * ospf_packet.c: replace ospf_swap_iph_to... with
289 sockopt_iphdrincl_swab_...
290
291 2004-10-03 James R. Leu <jleu at mindspring.com>
292
293 * ospf_zebra.c: Read router id related messages from zebra daemon.
294 Schedule router-id update thread if it's changed.
295 * ospfd.c: Remove own router-id selection function. Use router id from
296 zebra daemon if it isn't manually overriden in configuration.
297
298 2004-09-27 Paul Jakma <paul@dishone.st>
299
300 * ospf_dump.c: (ospf_ip_header_dump) Use HAVE_IP_HDRINCL_BSD_ORDER
301 Apply to offset too. Print ip_cksum, lets not worry about
302 possible 2.0.37 compile problems.
303 * ospf_packet.c: (ospf_swap_iph_to{n,h}) Use
304 HAVE_IP_HDRINCL_BSD_ORDER.
305 (ospf_recv_packet) ditto.
306 (ospf_write) Fixup iov argument to ospf_write_frags.
307 (struct msghdr).msg_name is caddr_t on most platforms.
308 (ospf_recv_packet) ditto. And msg_flags is not always there
309 memset struct then set fields we care about rather than
310 initialise all fields individually.
311
312 2004-09-26 Hasso Tepper <hasso at quagga.net>
313
314 * ospf_abr.c, ospf_dump.c, ospf_lsa.c, ospf_packet.c, ospf_vty.c,
315 ospf_zebra.c: Fix compiler warnings.
316
317 2004-09-24 Paul Jakma <paul@dishone.st>
318
319 * ospf_apiserver.{c,h}: lists typedef removal cleanup.
320 update some list loops to LIST_LOOP. some miscellaneous indent
321 fixups.
322 (ospf_apiserver_unregister_opaque_type) fix listnode_delete of
323 referenced node in loop.
324 (ospf_apiserver_term) loops calling ospf_apiserver_free, which
325 deletes referenced nodes from apiserver_list, fixed.
326 * ospf_interface.h: lists typedef removal cleanup.
327 * ospf_opaque.{c,h}: lists typedef removal cleanup. update some list
328 loops to LIST_LOOP. miscellaneous style and indent fixups.
329 * ospf_te.{c,h}: ditto
330 * ospf_packet.c: lists typedef removal cleanup.
331 (ospf_write) ifdef fragmentation support. move actual
332 fragmentation out to a new, similarly ifdefed, function.
333 (ospf_write_frags) fragmented write support, moved from previous.
334
335 2004-09-23 Hasso Tepper <hasso at quagga.net>
336
337 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
338
339 2004-09-12 Paul Jakma <paul@dishone.st>
340
341 * ospf_packet.c: Fix bugzilla #107
342 (ospf_packet_max) get rid of the magic 88 constant
343 (ospf_swab_iph_ton) new function. set ip header to network order,
344 taking BSDisms into account.
345 (ospf_swab_iph_toh) the inverse.
346 (ospf_write) Add support for IP fragmentation, will only work on
347 linux though, other kernels make it impossible. get rid of the
348 magic 4 constant.
349 (ospf_make_ls_upd) Bound check to end of stream, not to
350 interface mtu.
351 (ospf_ls_upd_packet_new) New function, allocate upd packet
352 taking oversized LSAs into account.
353 (ospf_ls_upd_queue_send) use ospf_ls_upd_packet_new to allocate,
354 rather than statically allocating mtu sized packet buffer, which
355 actually was wrong - it didnt take ip header into account, which
356 should not be included in packet buffer.
357 (ospf_ls_upd_send_queue_event) minor tweaks and remove
358 TODO comment.
359
360 2004-08-31 David Wiggins <dwiggins@bbn.com>
361
362 * ospf_spf.c (ospf_spf_calculate): Many more comments and debug
363 print statements. New function ospf_vertex_dump used in debugging.
364
365 2004-08-31 David Wiggins <dwiggins@bbn.com>
366
367 * ospf_spf.h (struct vertex): Comments for flags and structure members.
368
369 2004-08-31 David Wiggins <dwiggins@bbn.com>
370
371 * ospf_route.c: When finding an alternate route, log cost as well.
372
373 2004-08-31 David Wiggins <dwiggins@bbn.com>
374
375 * ospf_interface.c (ospf_lookup_if_params): Initialize af in
376 struct prefix allocated on stack.
377
378 2004-08-31 David Wiggins <dwiggins@bbn.com>
379
380 * ospf_packet.c (ospf_ls_ack_send_delayed): In p2mp mode, send
381 acks to AllSPFRouters, rather than All-DR.
382
383 2004-08-27 Hasso Tepper <hasso at quagga.net>
384
385 * ospf_vty.c: Don't print ospf network type under interface only
386 if interface is in broadcast mode and interface type really is
387 broadcast. Fixes Bugzilla #108.
388
389 2004-08-27 David Wiggins <dwiggins@bbn.com>
390
391 * ospf_spf.c (ospf_nexthop_calculation): Initialize address family
392 in on-stack struct prefix_ipv4. Fixes point-to-multipoint SPF
393 calculation.
394
395 2004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
396
397 * ospf_packet.c (ospf_recv_packet): adjust size declaration of
398 buffer used to get interface index so that it compiles on other
399 than Linux and includes the required alignment space. Probably
400 this was only working on sparc/sparc64 because most of
401 sockaddr_dl was not being written.
402
403 2004-08-19 Paul Jakma <paul@dishone.st>
404
405 * ospf_packet.c: update to match sockopt renames.
406
407 2004-08-04 Paul Jakma <paul@dishone.st>
408
409 * ospf_spf.c: (ospf_spf_consider_nexthop) Add comment about issue.
410 Compare only against list head - all nexthops must be same cost
411 anyway, fixes a reference-listnode-after-delete bug noted by
412 Kir Kostuchenko.
413 (ospf_nexthop_calculation) Use ospf_spf_consider_nexthop for all
414 candidates attached to root.
415
416 2004-07-27 Paul Jakma <paul@dishone.st>
417
418 * ospf_packet.c: (ospf_ls_upd_send_queue_event) fix thinko from
419 last fix for ospfd wedging due to oversize LSAs: dont list loop on
420 ospf_ls_upd_queue_send() - guaranteed segfault.
421
422 2004-07-27 Paul Jakma <paul@dishone.st>
423
424 * ospf_opaque.c: (ospf_opaque_lsa_flush_schedule) do not NULL out
425 the LSA as then free_opaque_info_per_id() can never unlock (and
426 free) the LSA. Reported by Gunnar Stigen.
427
428 2004-07-23 Paul Jakma <paul@dishone.st>
429
430 * ospf_network.c: Replace PKTINFO/RECVIF with call to
431 setsockopt_pktinfo
432 * ospf_packet.c: Use getsockopt_pktinfo_ifindex and
433 SOPT_SIZE_CMSG_PKTINFO_IPV4.
434
435 2004-07-14 Paul Jakma <paul@dishone.st>
436
437 * ospf_packet.c: (ospf_ls_upd_send_queue_event) Partial fix for
438 problem reported by Peter Frost amongst others, where function
439 will spin indefinitely if update list contains LSAs greater than
440 MTU-headers or other condition leading to update list never being
441 cleared. Problem of what to do with these LSAs remains.
442 (ospf_make_ls_upd) add comment about large LSA problem,
443 indentation cleanup.
444
445 2004-07-01 Greg Troxel <gdt@fnord.ir.bbn.com>
446
447 * Makefile.am (lib_LTLIBRARIES): make libospf shared
448
449 2004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
450
451 * Makefile.am: Add shlib support.
452
453 2004-06-10 Hasso Tepper <hasso@estpak.ee>
454
455 * *: Removed ifdefs HAVE_NSSA.
456
457 2004-06-06 Paul Jakma <paul@dishone.st>
458
459 * ospf_dump.c,ospf_lsa.c: Fix typos of merge of previous.
460 ospf_flood.c: (ospf_process_self_originated_lsa) fix zlog format
461
462 2004-05-31 Sagun Shakya <sagun.shakya@sun.com>
463
464 * ospf_dump.c: (ospf_lsa_header_dump) LOOKUP can return null if
465 index is out of range.
466 ospf_flood.c: endianness fix
467 ospf_lsa.c: Missing ntohl's on (struct lsa *)->data->ls_seqnum
468 in various places.
469
470 2004-05-10 Hasso Tepper <hasso@estpak.ee>
471
472 * ospf_zebra.c, ospfd.c: Move ospf_prefix_list_update() function
473 to ospf_zebra.c from ospfd.c and add redistribution updates if
474 route-map is used in redistribution.
475 * ospf_main.c: Remove now useless call to ospf_init().
476
477 2004-05-08 Paul Jakma <paul@dishone.st>
478
479 * ospf_zebra.c: Sync with lib/zclient changes
480
481 2004-05-05 Paul Jakma <paul@dishone.st>
482
483 * ospf_network.c: (ospf_sock_init) Check whether IP_HDRINCL is
484 defined. Warn at compile and runtime. Use
485 IPTOS_PREC_INTERNETCONTROL otherwise.
486 * ospf_packet.c: (ospf_associate_packet_vl) cleanup, move
487 some of the checks up to ospf_read, return either a
488 virtual link oi, or NULL.
489 (ospf_read) Cleanup, make it responsible for checks. Remove
490 the nbr lookup - moved to ospf_neighbor. Adjust all nbr
491 lookups to use new wrappers exported by ospf_neighbor.
492 * ospf_neighbor.h: Add ospf_neigbour_get and ospf_nbr_lookup.
493 * ospf_neighbor.c: (ospf_neigbour_get) Index ospf_interface
494 neighbour table by router-id for virtual-link ospf_interfaces,
495 not by peer_addr (which breaks for asymmetric vlinks)
496 (ospf_nbr_lookup) add a wrapper for nbr lookups to deal with
497 above.
498 * ospf_interface.c: (ospf_vl_set_params) Catch changes of interface
499 address for either end of a virtual-link, and hence potential cost
500 changes.
501
502 2004-04-22 Hasso Tepper <hasso@estpak.ee>
503
504 * ospf_zebra.c: Don't ignore reject/bh routes, it's the only way
505 to "summarize" routes in ASBR at the moment.
506
507 2004-04-20 Hasso Tepper <hasso@estpak.ee>
508
509 * ospfd.c: Unset NP flag if area is going to be normal or stub.
510 Fixes UNH OSPF_NSSA.1.2a comment.
511 * ospf_abr.c: Originate default into stub/nssa area even if
512 summaries are disabled.
513 * ospf_zebra.c: Don't attempt to redistribute 127.0.0.0/8.
514
515 2004-04-19 Hasso Tepper <hasso@estpak.ee>
516
517 * ospf_vty.c: Don't warn that export- and import-list can't be
518 configured to backbone area if they are applied and are working
519 fine.
520
521 2004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
522
523 * ospf_packet.c: Don't drop packets in Solaris x86.
524 [quagga-dev 1005].
525
526 2004-03-18 Amir Guindehi <amir@datacore.ch>
527
528 * ospf_opaque.c: Attempt to correct the incorrect behavior of
529 Quagga's ospfd in the special situation that a node's opaque
530 capability has changed as "ON -> OFF -> ON". [quagga-dev 843].
531
532 2004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>
533
534 * ospf_abr.c: (ospf_abr_update_aggregate) UNH 3.12b,c, address range
535 should be configured with the highest cost path within the range,
536 not lowest.
537
538 2004-02-17 Paul Jakma <paul@dishone.st>
539
540 * ospf_zebra.c: (ospf_interface_delete) Do not delete the interface
541 params, nor the interface structure, if an interface delete
542 message is received from zebra.
543 * ospf_interface.c: (ospf_if_delete_hook) Delete the interface
544 params and interface, ie that which was previously removed in
545 (ospf_interface_delete) above.
546
547 2004-02-11 Hasso Tepper <hasso@estpak.ee>
548 * ospf_interface.c, ospf_zebra.c: Don't attempt to read path->oi->ifp
549 if oi doesn't exist any more.
550
551 2004-02-11 Vadim Suraev <vadim.suraev@terayon.com>
552 * ospf_packet.c (ospf_ls_upd): Router should flush received network
553 LSA if it was originated with older router-id ([zebra 14710] #6).
554
555 2003-12-08 Mattias Amnefelt <mattiasa@kth.se>
556
557 * ospf_packet.c: (ospf_recv_packet) OpenBSD now leaves iph.ip_len
558 network byte order.
559
560 2003-12-05 Greg Troxel <gdt@poblano.ir.bbn.com>
561
562 * ospfd.c (ospf_network_match_iface): Rewrite code for clarity
563 while trying not to change semantics. Add ifdefed-out code to
564 avoid matching ppp interfaces whose destination address does not
565 also match the prefix under consideration, to help out people with
566 problems due to as-yet-unfixed bugs with p2p interfaces coming and
567 going.
568
569 2003-07-25 kamatchi soundaram <kamatchi@tdd.sj.nec.com>
570
571 * ospf_packet.c (ospf_ls_upd_send_queue_event): get next route
572 node in body of the loop to avoid chance that route node
573 is unlocked and deleted before the next iteration tries to
574 get next route node.
575
576 2003-05-24 Kenji Yabuuchi
577
578 * ospf_interface.c(ospf_if_lookup_recv_if): Use the most specific
579 match for interface lookup.
580
581 2003-05-18 Hasso Tepper <hasso@estpak.ee>
582
583 * ospf_vty.c: Show NSSA LSA route info in "show ip ospf database"
584 output
585
586 2003-05-16 Hasso Tepper <hasso@estpak.ee>
587
588 * ospf_lsa.c: Fix handling of NSSA
589
590 2003-04-23 Hasso Tepper <hasso@estpak.ee>
591
592 * ospf_vty.c: fix "router xxx" node commands in vtysh
593
594 2003-04-19 Hasso Tepper <hasso@estpak.ee>
595
596 * {ospf_abr,ospfd}.c: area id's DECIMAL -> ADDRESS
597 * ospf_routemap.c: sync daemon's route-map commands to have same
598 syntax.
599
600 2003-04-19 Sergey Vyshnevetskiy <serg@vostok.net>
601
602 * ospf_packet.c: Add missing param to zlog
603 * ospf_flood.c: remove unused vars
604
605 2003-04-17 Denis Ovsienko <zebra@pilot.org.ua>
606
607 * ospf_interface.c: fix incorrect memset
608
609 2003-04-10 Amir Guindehi <amir@datacore.ch>
610
611 * ospf_lsa.[ch]: opaque LSA fix, use ospf_lookup.
612
613 2003-04-03 David Watson <dwatson@eecs.umich.edu>
614
615 * ospf_lsa.c: byte order fix
616
617 2002-03-17 Amir Guindehi <amir@datacore.ch>
618
619 * ospf_apiserver.[ch]: Merge Ralph Keller's OSPFAPI support.
620 * ospf_api.[ch]: Merge Ralph Keller's OSPFAPI support.
621 * ospfclient: OSPFAPI demonstration client.
622
623 2003-01-23 Masahiko Endo <endo@suri.co.jp>
624
625 * ospf_ism.c: NSM event schedule bug fix.
626
627 2002-10-30 Greg Troxel <gdt@ir.bbn.com>
628
629 * ospf_packet.c (ospf_make_md5_digest): MD5 length fix.
630
631 2002-10-23 endo@suri.co.jp (Masahiko Endo)
632
633 * ospf_opaque.c: Update Opaque LSA patch.
634
635 2002-10-23 Ralph Keller <keller@tik.ee.ethz.ch>
636
637 * ospf_vty.c (show_ip_ospf_database): Fix CLI parse.
638
639 2002-10-23 Juris Kalnins <juris@mt.lv>
640
641 * ospf_interface.c (ospf_if_stream_unset): When write queue
642 becomes empty stop write timer.
643
644 2002-10-10 Greg Troxel <gdt@ir.bbn.com>
645
646 * ospf_packet.c (ospf_check_md5_digest): Change >= to > to make it
647 conform to RFC.
648
649 2002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
650
651 * zebra-0.93 released.
652
653 2002-06-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
654
655 * ospf_spf.c (ospf_nexthop_calculation): Add NULL set to oi and
656 check of l2. Reported by: Daniel Drown <dan-zebra@drown.org>
657 (ospf_lsa_has_link): LSA Length calculation fix. Reported by:
658 Paul Jakma <paulj@alphyra.ie>.
659
660 * ospfd.c (ospf_if_update): Fix nextnode reference bug. Reported
661 by: juris@mt.lv.
662
663 2002-01-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
664
665 * ospfd.c: Merge [zebra 11445] Masahiko ENDO's Opaque-LSA support.
666
667 2001-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
668
669 * ospf_interface.c (ospf_add_to_if): Use /32 address to register
670 OSPF interface information.
671 (ospf_delete_from_if): Likewise.
672
673 * ospf_zebra.c (ospf_interface_address_delete): Likewise.
674
675 2001-08-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
676
677 * ospf_zebra.c (ospf_redistribute_unset): When redistribute type
678 is OSPF, do not unset redistribute flag.
679
680 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
681
682 * zebra-0.92a released.
683
684 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
685
686 * zebra-0.92 released.
687
688 2001-08-12 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
689
690 * ospfd.c (ospf_config_write): auto-cost reference-bandwidth
691 configuration display.
692
693 2001-07-24 David Watson <dwatson@eecs.umich.edu>
694
695 * ospf_spf.c (ospf_spf_next): Modify ospf_vertex_add_parent to
696 check for an existing link before connecting the parent and child.
697 ospf_nexthop_calculation is also modified to check for duplicate
698 entries when copying from the parent. Finally, ospf_spf_next
699 removes duplicates when it merges two equal cost candidates.
700
701 2001-07-23 itojun@iijlab.net
702
703 * ospfd.c (show_ip_ospf_neighbor): Check ospf_top before use it
704 [zebra 8549].
705
706 2001-07-23 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
707
708 * ospf_packet.c (ospf_write): Remove defined(__OpenBSD__) to make
709 it work on OpenBSD.
710
711 2001-06-26 Kunihiro Ishiguro <kunihiro@zebra.org>
712
713 * ospf_zebra.c (config_write_ospf_default_metric): Display
714 default-metric configuration.
715
716 2001-06-18 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
717
718 * ospf_ia.h (OSPF_EXAMINE_SUMMARIES_ALL): Remove old macros.
719
720 2001-05-28 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
721
722 * ospf_snmp.c (ospfIfEntry): Fix interface lookup bug to avoid
723 crush.
724 (ospfIfMetricEntry): Likewise.
725
726 2001-03-18 Kunihiro Ishiguro <kunihiro@zebra.org>
727
728 * ospf_packet.c (ospf_read): Fix typo. Reported by: "Jen B
729 Lin'Kova" <jen@stack.net>.
730
731 2001-03-15 Gleb Natapov <gleb@nbase.co.il>
732
733 * ospf_interface.c (ip_ospf_network): Set interface parameter.
734 (interface_config_write): Add check for OSPF_IFTYPE_LOOPBACK.
735
736 * ospf_zebra.c (ospf_interface_add): Set interface parameter.
737
738 2001-02-21 Kunihiro Ishiguro <kunihiro@zebra.org>
739
740 * ospf_packet.c (ospf_recv_packet): Solaris also need to add
741 (iph.ip_hl << 2) to iph.ip_len.
742
743 2001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
744
745 * ospfd.h (OSPF_LS_REFRESH_TIME): Fix OSPF_LS_REFRESH_TIME value.
746 Suggested by: David Watson <dwatson@eecs.umich.edu>.
747
748 * ospf_zebra.c (zebra_init): Remove zebra node.
749
750 * ospfd.c (ospf_area_range_set): Function name is changed from
751 ospf_ara_range_cmd.
752 (ospf_area_range_unset): New function which separated from DEFUN.
753 New commands are added:
754 "no area A.B.C.D range A.B.C.D/M advertise"
755 "no area <0-4294967295> range A.B.C.D/M advertise"
756 "no area A.B.C.D range A.B.C.D/M not-advertise"
757 "no area <0-4294967295> range A.B.C.D/M not-advertise"
758
759 * ospf_lsa.c (ospf_lsa_more_recent): Fix previous change.
760
761 2001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
762
763 * ospf_network.c (ospf_if_add_allspfrouters): Use
764 setsockopt_multicast_ipv4.
765 (ospf_if_drop_allspfrouters): Likewise.
766
767 * ospf_lsa.c (ospf_router_lsa_install): Add rt_recalc flag.
768 (ospf_network_lsa_install): Likewise.
769 (ospf_summary_lsa_install): Likewise.
770 (ospf_summary_asbr_lsa_install): Likewise.
771 (ospf_external_lsa_install): Likewise.
772 (ospf_lsa_install): Call ospf_lsa_different to check this LSA is
773 new one or not.
774
775 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
776
777 * ospf_zebra.c (ospf_interface_delete): Do not free interface
778 structure when ospfd receive interface delete message to support
779 pseudo interface.
780
781 2001-02-01 Dick Glasspool <dick@ipinfusion.com>
782
783 * ospfd.c (area_range_notadvertise): Change area range "suppress"
784 command to "not-advertise".
785
786 * ospfd.h (OSPF_LS_REFRESH_TIME): Change OSPF_LS_REFRESH_TIME from
787 1800 to 60.
788
789 * ospf_abr.c (ospf_abr_update_aggregate): When update_aggregate is
790 updating the area-range, the lowest cost is now saved.
791
792 * ospf_lsa.c (ospf_lsa_more_recent): Routing to compare sequence
793 numbers rather than creating overflow during calculation.
794
795 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
796
797 * zebra-0.91 is released.
798
799 2001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
800
801 * ospf_packet.c (ospf_db_desc_proc): Do not continue process when
802 NSM_SeqNumberMismatch is scheduled.
803 (ospf_ls_req): Free ls_upd when return from this function.
804 (ospf_ls_upd_timer): When update list is empty do not call
805 ospf_ls_upd_send(). Suggested by: endo@suri.co.jp (Masahiko
806 Endo).
807
808 2001-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
809
810 * ospf_lsa.c (ospf_maxage_flood): Flood LSA when it reaches
811 MaxAge. RFC2328 Section 14.
812 (ospf_maxage_lsa_remover): Call above function during removing
813 MaxAge LSA.
814
815 2001-01-26 Dick Glasspool <dick@ipinfusion.com>
816
817 * ospf_flood.c (ospf_flood_through_as): Function is updated for
818 NSSA Translations now done at ospf_abr.c with no change in P-bit.
819
820 * ospf_lsa.c (ospf_get_nssa_ip): Get 1st IP connection for Forward
821 Addr.
822 (ospf_install_flood_nssa): Leave Type-7 LSA at Lock Count = 2.
823
824 * ospf_ase.c (ospf_ase_calculate_route): Add debug codes.
825
826 * ospf_abr.c (ospf_abr_translate_nssa): Recalculate LSA checksum.
827
828 * ospf_packet.h (OSPF_SEND_PACKET_LOOP): Added for test packet.
829
830 * ospf_dump.c (ospf_lsa_type_msg): Add OSPF_GROUP_MEMBER_LSA and
831 OSPF_AS_NSSA_LSA.
832
833 * ospfd.c (data_injection): Function to inject LSA. This is
834 debugging command.
835
836 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
837
838 * ospf_route.c (ospf_route_match_same): Remove function.
839 (ospf_route_match_same_new): Renamed to ospf_route_match_same.
840
841 * ospf_zebra.c (ospf_interface_address_delete): Add check for
842 oi->address. Suggested by Matthew Grant
843 <grantma@anathoth.gen.nz>.
844 (ospf_zebra_add): Remove function.
845 (ospf_zebra_add_multipath): Rename to ospf_zebra_add.
846
847 * ospf_interface.c: Remove HAVE_IF_PSEUDO part.
848
849 * ospf_zebra.c: Likewise.
850
851 2001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
852
853 * ospf_ase.c: Remove OLD_RIB part.
854
855 * ospf_route.c: Likewise.
856
857 * zebra-0.90 is released.
858
859 * ospf_packet.c (ospf_recv_packet): Use ip_len adjestment code to
860 NetBSD.
861
862 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
863
864 * ospf_route.c (ospf_route_delete): Use
865 ospf_zebra_delete_multipath.
866
867 2001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
868
869 * ospf_interface.c (ospf_if_cleanup): Function name is renamed
870 from ospf_if_free(). Rewrite whole procudure to support primary
871 address deletion.
872
873 * ospf_zebra.c (ospf_interface_address_delete): Add primary
874 address deletion process.
875
876 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
877
878 * ospf_packet.c (ospf_recv_packet): OpenBSD has same ip_len
879 treatment like FreeBSD.
880
881 2001-01-09 endo@suri.co.jp (Masahiko Endo)
882
883 * ospf_packet.c (ospf_recv_packet): FreeBSD kernel network code
884 strips IP header size from receiving IP Packet. So we adjust
885 ip_len to whole IP packet size by adding IP header size.
886
887 2001-01-08 endo@suri.co.jp (Masahiko Endo)
888
889 * ospf_network.c (ospf_serv_sock): When socket() is failed return
890 immediately.
891 (ospf_serv_sock): Close socket when it is not used.
892
893 * ospf_packet.c (ospf_write): Set sin_len when HAVE_SIN_LEN is
894 defined.
895 (ospf_write): When bind is fined, close sock.
896
897 2001-01-07 Gleb Natapov <gleb@nbase.co.il>
898
899 * ospf_zebra.c (ospf_interface_state_up): Fixes coredump that
900 appears when you try to configure bandwidth on the ppp interface
901 that is not yet configured in ospfd.
902
903 2001-01-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
904
905 * ospf_route.c (show_ip_ospf_route_external): "show ip ospf route"
906 will print nexthops for AS-external routes.
907
908 * ospf_ase.c (ospf_ase_route_match_same): New function to compare
909 ASE route under multipath environment.
910 (ospf_ase_compare_tables): Likewise.
911
912 2001-01-01 Kunihiro Ishiguro <kunihiro@zebra.org>
913
914 * ospfd.h (OSPF_VTYSH_PATH): Change "/tmp/ospfd" to "/tmp/.ospfd".
915
916 2000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
917
918 * ospf_route.c (ospf_route_install): Install multipath information
919 to zebra daemon.
920
921 * ospf_zebra.c (ospf_zebra_add_multipath): Function for passing
922 multipath information to zebra daemon.
923
924 2000-12-25 Dick Glasspool <dick@ipinfusion.com>
925
926 * ospf_packet.c (ospf_write): Call ospf_packet_delete when sendto
927 fail.
928 (DISCARD_LSA): Add argument N for logging point of DISCARD_LSA is
929 called.
930
931 * ospf_lsa.c (ospf_external_lsa_refresh): NSSA install_flood will
932 leave Type-7 LSA at Lock Count = 2.
933
934 * ospf_flood.c (ospf_flood_through): Flood_though_as updated for
935 NSSA no P-bit off during Area flooding, but P-bit is turned off
936 for mulitple NSSA AS flooding.
937
938 * ospf_ase.c (ospf_ase_calculate_timer): Added calculations for
939 Type-7 LSDB.
940
941 * ospf_abr.c (ospf_abr_translate_nssa): Removed one unlock call.
942 (ospf_abr_announce_nssa_defaults): Corrected Debug from EVENT to
943 NSSA.
944
945 2000-12-25 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
946
947 * ospf_zebra.c (ospf_zebra_read_ipv4): Checking the age of the
948 found LSA and if the LSA is MAXAGE we should call refresh instead
949 of originate.
950
951 2000-12-18 Dick Glasspool <dick@ipinfusion.com>
952
953 * ospf_abr.c: Removed redundant "...flood" in
954 announce_network_to_area(). Repaired nssa Unlock by using
955 discard.
956
957 * ospf_packet.c: Removed old NSSA translate during mk_ls_update.
958
959 * ospfd.c: Free up all data bases including NSSA.
960
961 * ospf_lsa.c: Now allow removal of XLATE LSA's Check in
962 discard_callback. Added routine to get ip addr from within the
963 ifp.
964
965 * ospf_flood.c: Now set Forward Address for outgoing Type-7.
966
967 * ospf_lsa.h: Added prototype for the below. struct in_addr
968 ospf_get_ip_from_ifp (struct interface *ifp).
969
970 2000-12-14 Gleb Natapov <gleb@nbase.co.il>
971
972 * ospf_packet.c (ospf_recv_packet): New OSPF pakcet read method.
973 Now maximum packet length may be 65535 bytes (maximum IP packet
974 length).
975
976 * ospf_interface.c (ospf_if_stream_set): Don't make input buffer.
977
978 * ospfd.c (config_write_network_area): Remove unnecessary area
979 lookup code.
980
981 2000-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
982
983 * ospf_packet.c (ospf_read): Accept packet bigger than MTU value.
984
985 2000-12-13 Gleb Natapov <gleb@nbase.co.il>
986
987 * ospfd.c (config_write_network_area): Fix bug in
988 config_write_network_area function.
989
990 2000-12-12 Gleb Natapov <gleb@nbase.co.il>
991
992 * ospf_abr.c (ospf_abr_announce_network_to_area): Make Summary
993 LSA's origination and refreshment as same as other type of LSA.
994
995 * ospf_lsa.c (ospf_summary_lsa_refresh): Return struct ospf_lsa *.
996
997 * ospf_lsa.c (ospf_summary_asbr_lsa_refresh): Likewise.
998
999 2000-12-08 Dick Glasspool <dick@ipinfusion.com>
1000
1001 The bulk of NSSA changes are contained herein; This version will
1002 require manual setting of "always" for NSSA Translator, and will
1003 not perform aggregation yet.
1004
1005 * ospf_dump.c: "debug ospf nssa" is added.
1006
1007 * ospf_dump.h: Likewise.
1008
1009 * ospf_packet.c (ospf_hello): Display router ID on Bad NSSA Hello.
1010
1011 * ospfd.c: Discard_LSA to stay away from LOCAL_XLT Process NSSA
1012 'never, candidate, always'. Change "suppress" to "not-advertise".
1013
1014 * ospfd.h: Add TranslatorRole to struct ospf_area. Add anyNSSA to
1015 struct ospf.
1016
1017 * ospf_ase.c (ospf_ase_calculate_route): External to stay away
1018 from LOCAL_XLT
1019
1020 * ospf_nsm.c (ospf_db_summary_add): External to stay away from
1021 LOCAL_XLT
1022
1023 * ospf_abr.c: Major logic added for abr_nssa_task(). If ABR, and
1024 NSSA translator, then do it. Approve the global list, and flush
1025 any unapproved.
1026
1027 * ospf_lsa.h: New LSA flag OSPF_LSA_LOCAL_XLT to indicate that the
1028 Type-5 resulted from a Local Type-7 translation; not used for
1029 flooding, but used for flushing.
1030
1031 * ospf_flood.c: New NSSA flooding.
1032
1033 2000-12-08 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1034
1035 * ospfd.c (ospf_find_vl_data): New function for looking up virtual
1036 link data.
1037 (ospf_vl_set_security): Virtual link configuration with
1038 authentication.
1039 (ospf_vl_set_timers): Set timers for virtual link.
1040
1041 * New commands are added.
1042 "area A.B.C.D virtual-link A.B.C.D"
1043 "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>"
1044 "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"
1045 "area A.B.C.D virtual-link A.B.C.D authentication-key AUTH_KEY"
1046 "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"
1047 "area A.B.C.D virtual-link A.B.C.D message-digest-key <1-255> md5 KEY"
1048
1049 * ospf_packet.c (ospf_check_md5_digest): Add neighbor's
1050 cryptographic sequence number treatment.
1051 (ospf_check_auth): OSPF input buffer is added to argument.
1052 (ospf_read): Save neighbor's cryptographic sequence number.
1053
1054 * ospf_nsm.c (nsm_change_status): Clear cryptographic sequence
1055 number when neighbor status is changed to NSM down.
1056
1057 * ospf_neighbor.c (ospf_nbr_new): Set zero to crypt_seqnum.
1058
1059 * ospf_neighbor.h (struct ospf_neighbor): Add cryptographic
1060 sequence number to neighbor structure.
1061
1062 2000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1063
1064 * ospf_snmp.c (ospfIfLookup): OSPF MIB updates.
1065 (ospfExtLsdbEntry): Add OspfExtLsdbTable treatment.
1066
1067 2000-11-28 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1068
1069 * ospfd.c (ospf_interface_down): Clear a ls_upd_queue queue of the
1070 interface.
1071 (ospf_ls_upd_queue_empty): New function to empty ls update queue
1072 of the OSPF interface.
1073 (no_router_ospf): 'no router ospf' unregister redistribution
1074 requests from zebra.
1075
1076 2000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1077
1078 * ospf_ism.c (ism_change_status): Increment status change number.
1079
1080 * ospf_interface.h (struct ospf_interface): Add new member for
1081 status change statistics.
1082
1083 * Makefile.am: Update dependencies.
1084
1085 * ospf_zebra.c (ospf_interface_add): OSPF SNMP interface update.
1086 (ospf_interface_delete): OSPF SNMP interface delete.
1087
1088 * ospf_snmp.h: New file is added.
1089
1090 2000-11-23 Dick Glasspool <dick@ipinfusion.com>
1091
1092 * ospfd.h: Add new ospf_area structure member for
1093 NSSATranslatorRole and NSSATranslator state.
1094
1095 * ospfd.c: Provided for eventual commands to specify NSSA
1096 elections for "translator- ALWAYS/NEVER/CANDIDATE". Provided for
1097 decimal integer version of area-suppress.
1098
1099 * ospf_flood.c: Flood Type-7's only into NSSA (not AS).
1100
1101 * ospf_lsa.c: Undo some previous changes for NSSA. If NSSA
1102 translator, advertise Nt bit.
1103
1104 * ospf_route.c: 1st version of "sh ip os border-routers".
1105
1106 2000-11-23 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1107
1108 * ospfd.c (area_vlink): Virtual link can not configured in stub
1109 area.
1110
1111 2000-11-23 Gleb Natapov <gleb@nbase.co.il>
1112
1113 * ospf_packet.c (ospf_db_desc): In states Loading and Full the
1114 slave must resend its last Database Description packet in response
1115 to duplicate Database Description packets received from the
1116 master. For this reason the slave must wait RouterDeadInterval
1117 seconds before freeing the last Database Description packet.
1118 Reception of a Database Description packet from the master after
1119 this interval will generate a SeqNumberMismatch neighbor
1120 event. RFC2328 Section 10.8
1121 (ospf_make_db_desc): DD Master flag treatment.
1122
1123 * ospf_nsm.c (nsm_twoway_received): Move DD related procedure to
1124 nsm_change_status().
1125 (nsm_bad_ls_req): Likewise.
1126 (nsm_adj_ok): Likewise.
1127 (nsm_seq_number_mismatch): Likewise.
1128 (nsm_oneway_received): Likewise.
1129
1130 * ospf_neighbor.h (struct ospf_neighbor): New structure member
1131 last_send_ts for timestemp when last Database Description packet
1132 was sent.
1133
1134 * ospf_nsm.c (ospf_db_desc_timer): Make it sure nbr->last_send is
1135 there. Call ospf_db_desc_resend() in any case.
1136
1137 2000-11-16 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1138
1139 * ospf_lsa.c (lsa_link_broadcast_set): When there is no DR on
1140 network (suppose you have only one router with interface priority
1141 0). It's router LSA does not contain the link information about
1142 this network.
1143
1144 * ospf_nsm.c (nsm_timer_set): When you change a priority of
1145 interface from/to 0 ISM_NeighborChange event should be scheduled
1146 in order to elect new DR/BDR on the network.
1147
1148 * ospf_interface.c (ip_ospf_priority): Likewise.
1149
1150 * ospf_flood.c (ospf_ls_retransmit_add): When we add some LSA into
1151 retransmit list we need to check whether the present old LSA in
1152 retransmit list is not more recent than the new
1153 one.
1154
1155 2000-11-09 Dick Glasspool <dick@ipinfusion.com>
1156
1157 * ospf_packet.c: Allows for NSSA Type-7 LSA's throughout the NSSA
1158 area. Any that exit the NSSA area are translated to type-5 LSA's.
1159 The instantiated image is restored after translation.
1160 (ospf_ls_upd_send_list): Renamed to ospf_ls_upd_queu_send().
1161 (ospf_ls_upd_send): Old function which enclosed by #ifdef 0 is
1162 removed.
1163 (ospf_ls_ack_send): Likewise.
1164
1165 * ospf_flood.c: NSSA-LSA's without P-bit will be restricted to
1166 local area. Otherwise they are allowed out the area to be
1167 translated by ospf_packet.c.
1168
1169 * ospf_lsa.c: Undo some previous changes for NSSA.
1170
1171 * ospf_lsdb.h: New access for type 7.
1172
1173 2000-11-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1174
1175 * ospf_route.c (ospf_path_exist): New function to check nexthop
1176 and interface are in current OSPF path or not.
1177 (ospf_route_copy_nexthops_from_vertex): Add nexthop to OSPF path
1178 when it is not there. Reported by Michael Rozhavsky
1179 <mrozhavsky@opticalaccess.com>
1180
1181 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1182
1183 * ospf_dump.c (config_write_debug): Add seventh string "detail" is
1184 added for flag is OSPF_DEBUG_SEND | OSPF_DEBUG_RECV |
1185 OSPF_DEBUG_DETAIL.
1186
1187 2000-11-06 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1188
1189 * ospf_lsa.c (router_lsa_flags): ASBR can't exit in stub area.
1190
1191 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1192
1193 * ospf_lsa.c (ospf_router_lsa_originate): Reduce unconditional
1194 logging.
1195
1196 2000-11-06 Dick Glasspool <dick@ipinfusion.com>
1197
1198 * ospfd.h: Add ait_ntoa function prototype.
1199
1200 * ospfd.c (ait_ntoa): New function for displaying area ID and
1201 Stub/NSSA status.
1202 (show_ip_ospf_interface_sub): Use ait_ntoa.
1203 (show_ip_ospf_nbr_static_detail_sub): Likewise.
1204 (show_ip_ospf_neighbor_detail_sub): Likewise.
1205
1206 * ospf_route.c (ospf_intra_route_add): Set external routing type
1207 to ospf route.
1208 (ospf_intra_add_router): Likewise.
1209 (ospf_intra_add_transit): Likewise.
1210 (ospf_intra_add_stub): Likewise.
1211 (ospf_add_discard_route): Likewise.
1212 (show_ip_ospf_route_network): Use ait_ntoa.
1213 (show_ip_ospf_route_network): Likewise.
1214 (show_ip_ospf_route_router): Likewise.
1215
1216 * ospf_lsa.c (show_lsa_detail): Use ait_ntoa.
1217 (show_lsa_detail_adv_router): Likewise.
1218 (show_ip_ospf_database_summary): Likewise.
1219
1220 * ospf_route.h (struct route_standard): Add new member
1221 external_routing.
1222
1223 * ospf_ia.c (process_summary_lsa): Set external routing tyep to ospf
1224 route.
1225 (ospf_update_network_route): Likewise.
1226 (ospf_update_router_route): Likewise.
1227
1228 2000-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1229
1230 * ospf_flood.c (ospf_process_self_originated_lsa): Enclose
1231 OSPF_AS_NSSA_LSA treatment with #ifdef HAVE_NSSA.
1232
1233 2000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1234
1235 * Unconditional logging is enclosed with if (IS_DEBUG_OSPF_EVENT).
1236 Please specify "debug ospf event" for enable logging.
1237
1238 * ospf_ism.c: Do not extern debug flag varible. It is done by
1239 ospf_debug.h
1240 * ospf_asbr.c: Likewise.
1241 * ospf_lsa.c: Likewise.
1242 * ospf_nsm.c: Likewise.
1243 * ospf_zebra.c: Likewise.
1244
1245 * ospf_dump.c (debug_ospf_event): New command "debug ospf event"
1246 is added.
1247
1248 * ospfd.c (router_ospf): Change logging from vty_out() to
1249 zlog_info().
1250 (ospf_area_stub_cmd): Likewise.
1251
1252 * ospf_dump.h: Extern term_debug flags.
1253 (OSPF_DEBUG_EVENT): Add new flag.
1254 (IS_DEBUG_OSPF_EVENT): Add new macro.
1255
1256 2000-11-03 Dick Glasspool <dick@ipinfusion.com>
1257
1258 * ospf_flood.c (ospf_process_self_originated_lsa):
1259 OSPF_AS_NSSA_LSA is treated as same as OSPF_AS_EXTERNAL_LSA.
1260 (ospf_flood): Type-5's have no change. Type-7's can be received,
1261 and will Flood the AS as Type-5's They will also flood the local
1262 NSSA Area as Type-7's. The LSDB will be updated as Type-5's, and
1263 during re-fresh will be converted back to Type-7's (if within an
1264 NSSA).
1265 (ospf_flood_through): Incoming Type-7's were allowed here if our
1266 neighbor was an NSSA. So Flood our area with the Type-7 and also
1267 if we are an ABR, flood thru AS as Type-5.
1268
1269 * ospf_lsa.c (ospf_external_lsa_refresh): Flood NSSA both NSSA
1270 area and other area.
1271
1272 * ospf_packet.c (ospf_db_desc_proc): When AS External LSA is
1273 exists in DD packet, make it sure that this area is not stub.
1274 (ospf_ls_upd_list_lsa): When LSA type is NSSA then set lsa's area
1275 to NULL.
1276 (ospf_ls_upd): If the LSA is AS External LSA and the area is stub
1277 then discard the lsa. If the LSA is NSSA LSA and the area is not
1278 NSSA then discard the lsa.
1279
1280 2000-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1281
1282 * ospfd.c (ospf_interface_run): Fix bug of Hello packet's option
1283 is not properly set when interface comes up.
1284
1285 2000-11-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1286
1287 * ospfd.h (OSPF_OPTION_O): Add new hello header option.
1288
1289 2000-11-01 Dick Glasspool <dick@ipinfusion.com>
1290
1291 * ospf_lsa.h: Define OSPF_MAX_LSA to 8 when HAVE_NSSA is enabled.
1292 (OSPF_GROUP_MEMBER_LSA): Define OSPF_GROUP_MEMBER_LSA.
1293
1294 * ospf_lsa.c (show_database_desc): Add "Group Membership LSA"
1295 string.
1296
1297 2000-10-31 Dick Glasspool <dick@ipinfusion.com>
1298
1299 * ospf_lsa.h (OSPF_AS_NSSA_LSA): Define OSPF_AS_NSSA_LSA.
1300
1301 * ospf_lsa.c (show_ip_ospf_database): NSSA database display
1302 function is added. ALIASES which have "show ip ospf database
1303 nssa-external" is added.
1304 (show_ip_ospf_border_routers): New command "show ip ospf
1305 border-routers" is added.
1306
1307 2000-10-30 Dick Glasspool <dick@ipinfusion.com>
1308
1309 * ospfd.c (router_ospf): NSSA Enabled message is added for
1310 testing.
1311 (ospf_area_type_set): Are type set for NSSA area.
1312 (ospf_area_stub_cmd): Special translation of no_summary into NSSA
1313 and summary information. If NSSA is enabled pass the information
1314 to ospf_area_type_set().
1315 (area_nssa): New commands are added:
1316 "area A.B.C.D nssa"
1317 "area <0-4294967295> nssa"
1318 "area A.B.C.D nssa no-summary"
1319 "area <0-4294967295> nssa no-summary"
1320 (ospf_no_area_stub_cmd): Special translation of no_summary into
1321 NSSA and summary information. If external_routing is
1322 OSPF_AREA_NSSA unset area with ospf_area_type_set (area,
1323 OSPF_AREA_DEFAULT).
1324 (show_ip_ospf_area): Display NSSA status.
1325 (config_write_ospf_area): Show NSSA configuration.
1326
1327 * ospf_packet.c (ospf_hello): For NSSA support, ensure that NP is
1328 on and E is off.
1329
1330 2000-10-26 Gleb Natapov <gleb@nbase.co.il>
1331
1332 * ospf_lsa.c (ospf_network_lsa_body_set): The network-LSA lists
1333 those routers that are fully adjacent to the Designated Router;
1334 each fully adjacent router is identified by its OSPF Router ID.
1335 The Designated Router includes itself in this list. RFC2328,
1336 Section 12.4.2.
1337
1338 2000-10-23 Jochen Friedrich <jochen@scram.de>
1339
1340 * ospf_snmp.c: ospf_oid and ospfd_oid are used in smux_open after
1341 it is registered. So those variables must be static.
1342
1343 2000-10-18 K N Sridhar <sridhar@euler.ece.iisc.ernet.in>
1344
1345 * ospfd.c: Add area_default_cost_decimal_cmd and
1346 no_area_default_cost_decimal_cmd alias.
1347
1348 2000-10-05 Gleb Natapov <gleb@nbase.co.il>
1349
1350 * ospfd.c (ospf_network_new): Fix setting area format.
1351 (no_router_ospf): Check area existance when calling
1352 ospf_interface_down().
1353
1354 * ospf_flood.c (ospf_external_info_check): Fix bug of refreshing
1355 default route.
1356
1357 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1358
1359 * zebra-0.89 is released.
1360
1361 2000-09-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1362
1363 * ospf_snmp.c (ospfHostEntry): OSPF Host MIB is implemented.
1364
1365 * ospfd.c (ospf_nbr_static_cmp): OSPF neighbor is sorted by it's
1366 address.
1367
1368 2000-09-28 Michael Rozhavsky <mike@nbase.co.il>
1369
1370 * ospf_interface.c (ospf_if_free): Fix deleting self neighbor twice.
1371
1372 2000-09-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1373
1374 * ospf_packet.c (ospf_read): Solaris on x86 has ip_len with host
1375 byte order.
1376
1377 2000-09-25 Toshiaki Takada <takada@zebra.org>
1378
1379 * ospfd.c (ospf_compatible_rfc1583), (no_ospf_compatible_rfc1583):
1380 Add CISCO compatible command.
1381
1382 2000-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1383
1384 * ospf_abr.c (ospf_area_range_lookup): New function is added for
1385 area range lookup in OSPF-MIB.
1386 (ospf_area_range_lookup_next): Likewise.
1387
1388 2000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1389
1390 * ospfd.c (no_router_ospf): Delete virtual link before deleting
1391 area structure.
1392
1393 * ospf_lsa.c (ospf_external_lsa_refresh_type): Check
1394 EXTERNAL_INFO(type).
1395
1396 * ospfd.c (no_router_ospf): Call ospf_vl_delete() instead of
1397 ospf_vl_data_free().
1398
1399 * ospf_interface.c (ospf_vl_shutdown): Execute ISM_InterfaceDown
1400 when ospf_vl_shutdown is called.
1401 (ospf_vl_delete): Call ospf_vl_shutdown() to delete virtual link
1402 interface's thread.
1403
1404 2000-09-21 Gleb Natapov <gleb@nbase.co.il>
1405
1406 * ospf_lsa.c: New implementation of OSPF refresh.
1407
1408 2000-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1409
1410 * ospf_snmp.c (ospfLsdbLookup): Add LSDB MIB implementation.
1411
1412 2000-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1413
1414 * ospf_snmp.c (ospfStubAreaEntry): Add OSPF stub area MIB.
1415
1416 2000-09-18 Gleb Natapov <gleb@nbase.co.il>
1417
1418 * ospf_route.h (route_standard): Change member from `struct area'
1419 to area_id.
1420
1421 * ospf_abr.c (ospf_abr_announce_network), (ospf_abr_should_announce),
1422 (ospf_abr_process_network_rt), (ospf_abr_announce_rtr),
1423 (ospf_abr_process_router_rt):
1424 * ospf_ase.c (ospf_find_asbr_route),
1425 (ospf_find_asbr_router_through_area),
1426 * ospf_ia.c (ospf_find_abr_route), (ospf_ia_router_route),
1427 (process_summary_lsa), (ospf_update_network_route),
1428 (ospf_update_router_route):
1429 * ospf_route.c (ospf_intra_route_add), (ospf_intra_add_router),
1430 (ospf_intra_add_transit), (ospf_intra_add_stub),
1431 (ospf_route_table_dump), (show_ip_ospf_route_network),
1432 (show_ip_ospf_route_router), (ospf_asbr_route_cmp),
1433 (ospf_prune_unreachable_routers):
1434 * ospf_spf.c (ospf_rtrs_print):
1435 * ospfd.c (ospf_rtrs_free): Fix the struct change above.
1436
1437 2000-09-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1438
1439 * ospf_network.c (ospf_serv_sock_init): Enclose SO_BINDTODEVICE
1440 with ifdef.
1441
1442 2000-09-13 Gleb Natapov <gleb@nbase.co.il>
1443
1444 * ospf_ism.c (ospf_elect_dr), (ospf_elect_bdr): Fix DR election.
1445
1446 * ospf_network.c (ospf_serv_sock_init): Add socket option
1447 SO_BINDTODEVICE on read socket.
1448
1449 * ospf_packet.c (ospf_hello): Ignore Hello packet if E-bit does
1450 not match.
1451
1452 * ospfd.c (ospf_area_check_free), (ospf_area_get),
1453 (ospf_area_add_if): New function added.
1454
1455 2000-09-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1456
1457 * ospf_route.c (ospf_intra_add_router): Update ABR and ASBR router
1458 count.
1459
1460 * ospf_spf.c (ospf_spf_init): Rest ABR and ASBR router count
1461 starting SPF calculation.
1462
1463 * ospfd.h (struct ospf_area): Add ABR and ASBR router count.
1464
1465 2000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1466
1467 * ospfd.c (ospf_area_id_cmp): New area structure is sorted by area
1468 ID.
1469
1470 * ospf_lsa.c (ospf_router_lsa_originate): For OSPF MIB update
1471 lsa_originate_count.
1472 (ospf_network_lsa_originate): Likewise.
1473 (ospf_summary_lsa_originate): Likewise.
1474 (ospf_summary_asbr_lsa_originate): Likewise.
1475 (ospf_external_lsa_originate): Likewise.
1476
1477 2000-09-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1478
1479 * ospf_snmp.c (ospf_variables): ospfRouterID's type RouterID
1480 syntax is IpAddress.
1481 (ospf_admin_stat): New function for OSPF administrative status
1482 check.
1483
1484 2000-09-10 Jochen Friedrich <jochen@scram.de>
1485
1486 * ospf_snmp.c: Implement OSPF MIB skeleton.
1487
1488 2000-09-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1489
1490 * ospf_snmp.c: New file is added.
1491
1492 2000-09-07 David Lipovkov <davidl@nbase.co.il>
1493
1494 * ospf_zebra.c (ospf_interface_delete): Add pseudo interface
1495 treatment.
1496
1497 * ospf_interface.c (interface_config_write): Likewise.
1498
1499 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1500
1501 * zebra-0.88 is released.
1502
1503 2000-08-17 Michael Rozhavsky <mike@nbase.co.il>
1504
1505 * ospfd.c (ospf_area_free): Remove virtual link configuration only
1506 when Area is removed.
1507
1508 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1509
1510 * ospfd.c (network_area): Revert check for EXTERNAL_INFO
1511 (ZEBRA_ROUTE_CONNECT).
1512 (no_network_area): Likewise.
1513
1514 2000-08-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1515
1516 * ospfd.h (struct ospf): Add distance_table and
1517 distance_{all,intra,inter,external}.
1518
1519 * ospf_zebra.c: Add OSPF distance related functions.
1520
1521 2000-08-15 Gleb Natapov <gleb@nbase.co.il>
1522
1523 * ospf_asbr.c (ospf_external_info_find_lsa): New function added.
1524
1525 * ospf_lsa.c (ospf_default_external_info),
1526 (ospf_default_originate_timer), (ospf_external_lsa_refresh_default):
1527 New function added.
1528
1529 * ospf_zebra.c
1530 (ospf_default_information_originate_metric_type_routemap),
1531 (ospf_default_information_originate_always_metric_type_routemap):
1532 Change name and add route-map function.
1533 (ospf_default_information_originate_metric_routemap),
1534 (ospf_default_information_originate_routemap),
1535 (ospf_default_information_originate_type_metric_routemap):
1536 New DEFUN added.
1537
1538 2000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1539
1540 * ospf_zebra.c (zebra_interface_if_set_value): Change ifindex
1541 restore size from two octet to four.
1542
1543 2000-08-14 Michael Rozhavsky <mike@nbase.co.il>
1544
1545 * ospf_ase.c (ospf_ase_incremental_update): Implement incremental
1546 AS-external-LSA in 16.6 of RFC2328.
1547
1548 2000-08-14 Matthew Grant <grantma@anathoth.gen.nz>
1549
1550 * ospf_interface.c (ospf_if_get_output_cost): Change cost
1551 calculation algorithm.
1552
1553 * ospf_packet (ospf_ls_upd): Fix problem of LSA retransmitting.
1554
1555 2000-08-11 Michael Rozhavsky <mike@nbase.co.il>
1556
1557 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix maxage remover for
1558 AS-external-LSAs.
1559
1560 2000-08-10 Toshiaki Takada <takada@zebra.org>
1561
1562 * ospfd.c (auto_cost_reference_bandwidth): New DEFUN added.
1563 `auto-cost reference-bandwidth' OSPF router command added.
1564
1565 2000-08-08 Gleb Natapov <gleb@nbase.co.il>
1566
1567 * ospf_routemap.c (ospf_route_map_update): New function added.
1568 Add route-map event hook.
1569
1570 2000-08-08 Toshiaki Takada <takada@zebra.org>
1571
1572 * ospf_zebra.c (ospf_distribute_check_connected): If redistribute
1573 prefix is connected route on OSPF enabled interface, suppress to
1574 announce it.
1575
1576 2000-08-08 Matthew Grant <grantma@anathoth.gen.nz>
1577
1578 * ospf_interface.c (ospf_if_get_output_cost):
1579 New function added. Handle bandwidth parameter for cost
1580 calculation.
1581
1582 2000-08-08 Michael Rozhavsky <mike@nbase.co.il>
1583
1584 * ospf_interface.c (interface_config_write): Show interface
1585 configuration regardless interface is down.
1586
1587 * ospf_ase.c (ospf_ase_caocluate_route): Whole rewritten external
1588 route calculate function.
1589
1590 2000-08-08 Gleb Natapov <gleb@nbase.co.il>
1591
1592 * ospf_routemap.c: New file added.
1593
1594 * ospf_asbr.c (ospf_reset_route_map_set_values),
1595 (ospf_route_map_set_compare): New function added.
1596
1597 * ospf_lsa.c (ospf_external_lsa_body_set): Set routemap metric
1598 with AS-external-LSA.
1599
1600 2000-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1601
1602 * ospf_ase.c (ospf_ase_calculate_route_add): Pass new->cost to
1603 ospf_zebra_add as metric.
1604 (ospf_ase_calculate_route_add): Likewise.
1605
1606 * ospf_route.c (ospf_route_install): Pass or->cost to
1607 ospf_zebra_add as metric.
1608
1609 * ospf_zebra.c (ospf_zebra_add): Add metric arguemnt.
1610 (ospf_zebra_delete): Likewise.
1611
1612 2000-08-03 Matthew Grant <grantma@anathoth.gen.nz>
1613
1614 * ospf_flood.c (ospf_flood_delayed_lsa_ack): New function added.
1615 Dispatch delayed-ACK with flooding AS-external-LSA across virtual
1616 link.
1617
1618 2000-07-31 Matthew Grant <grantma@anathoth.gen.nz>
1619
1620 * ospfd.c (show_ip_ospf_area): Fix lack of VTY_NEWLINE when
1621 `show ip ospf'.
1622
1623 * ospf_interface.c (ospf_if_free): Fix bug of crash with
1624 Point-to-Point interface.
1625
1626 2000-07-27 Michael Rozhavsky <mike@nbase.co.il>
1627
1628 * ospf_flood.c (ospf_process_self_originated_lsa):
1629 Make sure to clear LSA->param (redistributed external information)
1630 before refreshment.
1631
1632 2000-07-27 Gleb Natapov <gleb@nbase.co.il>
1633
1634 * ospfd.c (refresh_group_limit), (refresh_per_slice),
1635 (refresh_age_diff): New defun added. Refresher related parameter
1636 can be configurable.
1637
1638 2000-07-27 Akihiro Mizutani <mizutani@dml.com>
1639
1640 * ospf_interface.c (interface_config_write): Print `description'
1641 config directive to work.
1642
1643 2000-07-24 Akihiro Mizutani <mizutani@dml.com>
1644
1645 * ospf_interface.c (ospf_if_init): Use install_default for
1646 INTERFACE_NODE.
1647
1648 2000-07-24 Gleb Natapov <gleb@nbase.co.il>
1649
1650 * ospf_packet.c (ospf_ls_upd_send_list), (ospf_ls_upd_send_event),
1651 (ospf_ls_ack_send_list), (ospf_ls_ack_send_event): New function added.
1652 This make sending always as many LS update/Ack combined in one ospf
1653 packet.
1654
1655 2000-07-24 Gleb Natapov <gleb@nbase.co.il>
1656
1657 * ospf_packet.c (ospf_ls_upd_list_lsa): Set NULL to lsa->area if
1658 LSA is AS-external-LSA.
1659
1660 * ospf_nsm.c (nsm_reset_nbr): Do not cancel Inactivity timer.
1661
1662 2000-07-21 Toshiaki Takada <takada@zebra.org>
1663
1664 * ospf_zebra.c (ospf_default_originate_timer): Set timer for
1665 `default-information originate'. Fix some default originate
1666 related functions.
1667
1668 2000-07-12 Toshiaki Takada <takada@zebra.org>
1669
1670 * ospf_lsa.c (stream_put_ospf_metric): New function added.
1671
1672 2000-07-12 Toshiaki Takada <takada@zebra.org>
1673
1674 * ospf_lsa.c (show_ip_ospf_database_router),
1675 (show_ip_ospf_database_network), (show_ip_ospf_database_summary),
1676 (show_ip_ospf_database_summary_asbr), (show_ip_ospf_database_externel),
1677 (show_router_lsa), (show_any_lsa), (show_router_lsa_self),
1678 (show_any_lsa_self): Functions removed.
1679
1680 (show_lsa_prefix_set), (show_lsa_detail_proc), (show_lsa_detail),
1681 (show_lsa_detail_adv_router_proc), (show_lsa_detail_adv_router):
1682 New functions added. Replace above functions.
1683
1684 (show_ip_ospf_database_all), (show_ip_ospf_database_self_originated):
1685 Functions removed.
1686 (show_ip_ospf_database_summary): New functions added. Replace
1687 above functions.
1688
1689 (show_ip_ospf_database_cmd): DEFUN rearranged.
1690 (show_ip_ospf_database_type_id_cmd),
1691 (show_ip_ospf_database_type_id_adv_router_cmd),
1692 (show_ip_ospf_database_type_is_self_cmd): New ALIASes added.
1693 (show_ip_ospf_database_type_adv_rotuer_cmd): New DEFUN added.
1694 (show_ip_ospf_database_type_self_cmd): New ALIAS added.
1695
1696 2000-07-11 Toshiaki Takada <takada@zebra.org>
1697
1698 * ospf_asbr.c (ospf_external_info_new),
1699 (ospf_external_info_free): New functions added.
1700
1701 * ospf_lsa.h (ospf_lsa): Add new member `void *param' to set
1702 origination parameter for external-LSA.
1703 Remove member `redistribute'.
1704
1705 * ospf_zebra.c (ospf_redistirbute_set): When `redistribute'
1706 command executed, metric and metric-type values are overridden.
1707 If one of those is changed refresh AS-external-LSAs for appropriate
1708 type.
1709
1710 2000-07-11 Michael Rozhavsky <mike@nbase.co.il>
1711
1712 * ospf_lsa.c (ospf_summary_lsa_refresh),
1713 (ospf_summary_asbr_lsa_refresh): Make sure to refresh summary-LSAs.
1714
1715 * ospf_abr.c (set_metric): New function added.
1716
1717 2000-07-07 Toshiaki Takada <takada@zebra.org>
1718
1719 * ospf_zebra.c (ospf_default_information_originate_metric_type),
1720 (ospf_default_information_originate_type_metric): New defun added.
1721 Metic and Metric type can be set to default route.
1722 (ospf_default_information_originate_always_metric_type):
1723 (ospf_default_information_originate_always_type_metric):
1724 New defun added. Metric and Metric type can be set to default
1725 always route.
1726
1727 * ospf_zebra.c (ospf_default_metric), (no_ospf_default_metric):
1728 New defun added.
1729
1730 2000-07-06 Gleb Natapov <gleb@nbase.co.il>
1731
1732 * ospf_flood.c (ospf_flood_through_area): Fix bug of considering
1733 on the same interface the LSA was received from.
1734
1735 2000-07-06 Michael Rozhavsky <mike@nbase.co.il>
1736
1737 * ospfd.c (ospf_config_write): Fix bug of printing `area stub'
1738 command with `write mem'.
1739
1740 * ospfd.c (no_router_ospf): Remove installed routes from zebra.
1741
1742 * ospf_zebra.c (ospf_interface_delete): Fix function to handle
1743 zebra interface delete event.
1744
1745 2000-07-06 Toshiaki Takada <takada@zebra.org>
1746
1747 * ospf_zebra.c (ospf_default_information_originate),
1748 (ospf_default_information_originate_always): New DEFUN added.
1749
1750 2000-07-05 Michael Rozhavsky <mike@nbase.co.il>
1751
1752 * ospf_route.c (ospf_terminate): Make sure to remove external route
1753 when SIGINT received.
1754
1755 2000-07-03 Gleb Natapov <gleb@nbase.co.il>
1756
1757 * ospf_flood.c, ospf_ism.c, ospf_lsa,c, ospfd.c: Make sure to free
1758 many structure with `no router ospf'.
1759
1760 2000-06-30 Gleb Natapov <gleb@nbase.co.il>
1761
1762 * ospf_neighbor.c (ospf_nbr_new),
1763 ospf_nsm.c (nsm_timer_set): Start LS update timer only
1764 when neighbor enters Exchange state.
1765
1766 2000-06-29 Gleb Natapov <gleb@nbase.co.il>
1767
1768 * ospf_nsm.c (nsm_timer_set), (nsm_exchange_done),
1769 ospf_packet.c (ospf_db_desc_proc):
1770 Do not cancel DD retransmit timer when Master.
1771
1772 2000-06-29 Gleb Natapov <gleb@nbase.co.il>
1773
1774 * ospf_abr.c (ospf_abr_announce_network_to_area),
1775 (ospf_abr_announce_rtr_to_area)
1776 ospf_ase.c (ospf_ase_rtrs_register_lsa),
1777 ospf_flood.c (ospf_process_self_originated_lsa),
1778 (ospf_flood_through_area), (ospf_ls_request_delete),
1779 ospf_interface.c (ospf_if_free),
1780 ospf_ism.c (ism_change_status),
1781 ospf_lsa.c (ospf_router_lsa_update_timer),
1782 (ospf_router_lsa_install), (ospf_network_lsa_install),
1783 (ospf_lsa_maxage_delete), (ospf_lsa_action),
1784 (ospf_schedule_lsa_flood_area),
1785 ospf_nsm.c (nsm_change_status),
1786 ospf_packet.c (ospf_make_ls_req_func), (ospf_make_ls_ack):
1787 Use ospf_lsa_{lock,unlock} for all looking-up of LSA.
1788
1789 * ospf_flood.c (ospf_ls_request_free): Function deleted.
1790
1791 * ospf_lsa.c (ospf_discard_from_db): New function added.
1792
1793 2000-06-26 Toshiaki Takada <takada@zebra.org>
1794
1795 * ospfd.h (ospf): struct member `external_lsa' name changed to
1796 `lsdb'.
1797
1798 2000-06-26 Toshiaki Takada <takada@zebra.org>
1799
1800 * ospf_lsa.c (ospf_lsa_install), (ospf_router_lsa_install),
1801 (ospf_network_lsa_install), (ospf_summary_lsa_install),
1802 (ospf_summary_asbr_lsa_install), (ospf_external_lsa_install):
1803 Functions re-arranged.
1804
1805 * ospf_lsa.c (IS_LSA_MAXAGE), (IS_LSA_SELF): Macro added.
1806
1807 2000-06-20 Michael Rozhavsky <mike@nbase.co.il>
1808
1809 * ospf_packet.c (ospf_ls_req), (ospf_ls_upd), (ospf_ls_ack): Add
1810 verification of LS type.
1811
1812 2000-06-20 Gleb Natapov <gleb@nbase.co.il>
1813
1814 * ospf_ase.c (ospf_ase_calculate_timer): Add more sanity check
1815 whether rn->info is NULL.
1816
1817 2000-06-20 Toshiaki Takada <takada@zebra.org>
1818
1819 * ospfd.c (show_ip_ospf_interface_sub): Show Router-ID of both
1820 DR and Backup correctly with `show ip ospf interface' command.
1821
1822 2000-06-20 Toshiaki Takada <takada@zebra.org>
1823
1824 * ospf_lsa.c (ospf_lsa_lock), (ospf_lsa_unlock),
1825 (ospf_lsa_discard): These functions are used for avoiding
1826 unexpected reference to freed LSAs.
1827
1828 2000-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1829
1830 * ospf_packet.c (ospf_ls_upd): Initialize lsa by NULL to avoid
1831 warning.
1832
1833 2000-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1834
1835 * ospf_ase.h (ospf_ase_rtrs_register_lsa): Add prototype.
1836
1837 2000-06-12 Toshiaki Takada <takada@zebra.org>
1838
1839 * ospf_lsa.c (ospf_external_lsa_install): Make sure to register
1840 LSA to rtrs_external when replacing AS-external-LSAs in LSDB.
1841 Fix core dump.
1842
1843 2000-06-10 Toshiaki Takada <takada@zebra.org>
1844
1845 * ospf_lsdb.c (id_to_prefix), (ospf_lsdb_hash_key),
1846 (ospf_lsdb_hash_cmp), (ospf_lsdb_new), (ospf_lsdb_iterator),
1847 (lsdb_free), (ospf_lsdb_free), (ospf_lsdb_add), (ospf_lsdb_delete),
1848 (find_lsa), (ospf_lsdb_lookup), (find_by_id),
1849 (ospf_lsdb_lookup_by_id), (ospf_lsdb_lookup_by_header): Functinos
1850 removed for migration to new_lsdb.
1851
1852 * ospf_lsa.c (ospf_summary_lsa_install),
1853 (ospf_summary_asbr_lsa_install), (ospf_maxage_lsa_remover),
1854 (ospf_lsa_maxage_walker), (ospf_lsa_lookup),
1855 (ospf_lsa_lookup_by_id): Use new_lsdb instead of ospf_lsdb.
1856 (count_lsa), (ospf_lsa_count_table), (ospf_lsa_count),
1857 (ospf_get_free_id_for_prefix): Funcitions removed.
1858
1859 2000-06-09 Gleb Natapov <gleb@nbase.co.il>
1860
1861 * ospf_ism.c (ism_interface_down): Prevent some unneeded DR changes.
1862
1863 * ospf_packet.c (ospf_db_desc_proc): Fix memory leak.
1864 (ospf_hello): Always copy router-ID when hello is received.
1865
1866 2000-06-08 Gleb Natapov <gleb@nbase.co.il>
1867
1868 * ospf_lsa.h (struct ospf_lsa): Add member of pointer to struct
1869 ospf_area.
1870
1871 2000-06-08 Michael Rozhavsky <mike@nbase.co.il>
1872
1873 * ospf_ase.c (ospf_asbr_route_same): New function added.
1874 This function makes sure external route calculation more
1875 precisely.
1876
1877 2000-06-07 Michael Rozhavsky <mike@nbase.co.il>
1878
1879 * ospf_ism.c (ism_change_status): Use ospf_lsa_flush_area for
1880 network-LSA deletion instead of using ospf_lsdb_delete.
1881 Also cancel network-LSA origination timer.
1882
1883 2000-06-07 Levi Harper <lharper@kennedytech.com>
1884
1885 * ospf_interface.c (ospf_if_down): Close read fd when an interface
1886 goes down.
1887
1888 2000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1889
1890 * ospf_asbr.c (ospf_external_info_lookup): Add explicit brace for
1891 avoid ambiguous else.
1892
1893 * ospf_flood.c (ospf_external_info_check): Likewise.
1894
1895 2000-06-05 Toshiaki Takada <takada@zebra.org>
1896
1897 * ospf_nsm.c (nsm_adj_ok): Fix bug of DR election.
1898
1899 2000-06-04 Toshiaki Takada <takada@zebra.org>
1900
1901 * ospf_zebra.c (ospf_default_information_originate),
1902 (no_ospf_default_information_originate): New DEFUN added.
1903
1904 2000-06-03 Toshiaki Takada <takada@zebra.org>
1905
1906 * ospf_lsa.h, ospf_asbr.h (external_info): Struct moved from
1907 ospf_lsa.h to ospf_asbr.h.
1908
1909 * ospf_lsa.c, ospf_asbr.c (ospf_external_info_add),
1910 (ospf_external_info_delete): Function moved from ospf_lsa.c
1911 to ospf_asbr.c.
1912
1913 2000-06-03 Toshiaki Takada <takada@zebra.org>
1914
1915 * ospf_flood.c (ospf_external_info_check): New function added.
1916 (ospf_process_self_orignated_lsa): Make sure to flush
1917 self-originated AS-external-LSA, when router reboot and no longer
1918 originate those AS-external-LSA.
1919
1920 2000-06-02 Toshiaki Takada <takada@zebra.org>
1921
1922 * ospf_network.c (ospf_serv_sock): Remove SO_DONTROUTE
1923 socket option.
1924
1925 * ospf_packet.c (ospf_write): Set MSG_DONTROUTE flag for
1926 unicast destination packets.
1927
1928 2000-06-02 Toshiaki Takada <takada@zebra.org>
1929
1930 * ospf_lsdb.c (new_lsdb_delete): Delete entry from LSDB only when
1931 specified LSA matches.
1932
1933 2000-06-02 Gleb Natapov <gleb@nbase.co.il>
1934
1935 * ospf_network.c (ospf_serv_sock): Set SO_DONTROUTE
1936 socket option.
1937
1938 2000-06-01 Akihiro Mizutani <mizutani@dml.com>
1939
1940 * ospf_dump.c: Replace string `Debugging functions\n' with DEBUG_STR.
1941 Replace string `OSPF information\n' with OSPF_STR.
1942
1943 2000-06-01 Toshiaki Takada <takada@zebra.org>
1944
1945 * ospf_lsdb.[ch]: Use new_lsdb struct for network-LSA instead of
1946 ospf_lsdb.
1947
1948 2000-06-01 Toshiaki Takada <takada@zebra.org>
1949
1950 * ospf_dump.c (config_debug_ospf_packet), (config_debug_ospf_event),
1951 (config_debug_ospf_ism), (config_debug_ospf_nsm),
1952 (config_debug_ospf_lsa), (config_debug_ospf_zebra),
1953 (term_debug_ospf_packet), (term_debug_ospf_event),
1954 (term_debug_ospf_ism), (term_debug_ospf_nsm),
1955 (term_debug_ospf_lsa), (term_debug_ospf_zebra): Repalce debug_ospf_*
1956 variable to use for debug option flags.
1957
1958 (debug_ospf_packet), (debug_ospf_ism), (debug_ospf_nsm),
1959 (debug_ospf_lsa), (debug_ospf_zebra): Set {config,term}_debug_*
1960 flags when vty->node is CONFIG_NODE, otherwise set only term_debug_*
1961 flags.
1962
1963 * ospf_dump.h (CONF_DEBUG_PACKET_ON), (CONF_DEBUG_PACKET_OFF),
1964 (TERM_DEBUG_PACKET_ON), (TERM_DEBUG_PACKET_OFF),
1965 (CONF_DEBUG_ON), (CONF_DEBUG_OFF), (IS_CONF_DEBUG_OSPF_PACKET),
1966 (IS_CONF_DEBUG_OSPF): New Macro added.
1967
1968 2000-05-31 Toshiaki Takada <takada@zebra.org>
1969
1970 * ospfd.c (clear_ip_ospf_neighbor): New DEFUN added.
1971 Currently this command is used for only debugging.
1972
1973 * ospf_nsm.c (nsm_change_status): Make sure thread cancellation
1974 for network-LSA when DR has no full neighbors.
1975
1976 * ospf_nsm.c (ospf_db_summary_clear): New function added.
1977
1978 2000-05-30 Toshiaki Takada <takada@zebra.org>
1979
1980 * ospf_lsdb.c (new_lsdb_insert): LSAs are always freed by
1981 maxage_lsa_remover when LSA is replaced.
1982
1983 2000-05-25 Gleb Natapov <gleb@nbase.co.il>
1984
1985 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all): Add argument
1986 `struct ospf_area' to remove LSA from Link State retransmission list
1987 of neighbor from only one Area.
1988
1989 2000-05-24 Michael Rozhavsky <mike@nbase.co.il>
1990
1991 * ospf_lsdb.c (ospf_lsdb_add): Preserve flags field when
1992 overriting old LSA with new LSA.
1993
1994 2000-05-24 Gleb Natapov <gleb@nbase.co.il>
1995
1996 * ospf_lsa.c (ospf_router_lsa_body_set): Fix bug of router-LSA
1997 size calculation.
1998
1999 2000-05-22 Michael Rozhavsky <mike@nbase.co.il>
2000
2001 * ospf_route.c (ospf_intra_add_stub):
2002 * ospf_spf.h (struct vertex): Use u_int32_t for distance (cost)
2003 value instead of u_int16_t.
2004
2005 2000-05-22 Axel Gerlach <agerlach@datus.datus.com>
2006
2007 * ospf_ia.c (ospf_ia_network_route): Fix bug of Inter-area route
2008 equal cost path calculation.
2009
2010 2000-05-21 Toshiaki Takada <takada@zebra.org>
2011
2012 * ospf_ase.c (ospf_ase_calculate_route_delete): New function added.
2013 Make sure, when rotuer route is deleted, related external routes
2014 are also deleted.
2015
2016 2000-05-20 Toshiaki Takada <takada@zebra.org>
2017
2018 * ospfd.c (ospf_interface_down): Make sure interface flag is disable
2019 and set fd to -1.
2020
2021 2000-05-16 Toshiaki Takada <takada@zebra.org>
2022
2023 * ospf_asbr.c (ospf_asbr_should_announce), (ospf_asbr_route_remove):
2024 Functions removed.
2025
2026 * ospfd.h (EXTERNAL_INFO): Macro added.
2027 Substitute `ospf_top->external_info[type]' with it.
2028
2029 2000-05-16 Toshiaki Takada <takada@zebra.org>
2030
2031 * ospf_lsa.c (ospf_rtrs_external_remove): New function added.
2032
2033 2000-05-14 Gleb Natapov <gleb@nbase.co.il>
2034
2035 * ospf_flood.c (ospf_ls_retransmit_delete_nbr_all)
2036 * ospf_lsdb.c (new_lsdb_insert)
2037 * ospf_packet.c (ospf_ls_ack): Fix database synchonization problem.
2038
2039 2000-05-14 Gleb Natapov <gleb@nbase.co.il>
2040
2041 * ospf_lsa.h (tv_adjust), (tv_ceil), (tv_floor), (int2tv),
2042 (tv_add), (tv_sub), (tv_cmp): Prototype definition added.
2043
2044 * ospf_nsm.h (ospf_db_summary_delete_all): Prototype definition added.
2045
2046 2000-05-13 Toshiaki Takada <takada@zebra.org>
2047
2048 * ospf_lsa.[ch] (ospf_lsa): struct timestamp type is changed from
2049 time_t to struct timeval.
2050 (tv_adjust), (tv_ceil), (tv_floor), (int2tv), (tv_add),
2051 (tv_sub), (tv_cmp): timeval utillity functions added.
2052
2053 2000-05-12 Toshiaki Takada <takada@zebra.org>
2054
2055 * ospf_lsa.[ch] (ospf_schedule_update_router_lsas): Delete function.
2056 Change to use macro OSPF_LSA_UPDATE_TIMER instead of using
2057 this function.
2058 router-LSA refresh timer related stuff is re-organized.
2059
2060 2000-05-10 Gleb Natapov <gleb@nbase.co.il>
2061
2062 * ospf_interface.c (ospf_vl_set_params):
2063 * ospf_packet.c (ospf_check_network_mask):
2064 * ospf_spf.[ch] (ospf_spf_next):
2065 Remove field address from `struct vertex', and search for peer
2066 address of virtual link in function `ospf_vl_set_params' instead.
2067
2068 2000-05-10 Gleb Natapov <gleb@nbase.co.il>
2069
2070 * ospf_packet.c (ospf_ls_upd): Fix some memory leak related LSA.
2071
2072 2000-05-08 Thomas Molkenbur <tmo@datus.com>
2073
2074 * ospf_packet.c (ospf_packet_dup): Replace ospf_steram_copy()
2075 with ospf_stream_dup() to fix memory leak.
2076
2077 2000-05-08 Michael Rozhavsky <mike@nbase.co.il>
2078
2079 * ospf_flood.c (ospf_flood_through_area): Fix the problem of
2080 LSA update without DROther.
2081
2082 2000-05-04 Gleb Natapov <gleb@nbase.co.il>
2083
2084 * ospf_spf.c (ospf_vertex_free): Fix memory leak of SPF calculation.
2085
2086 2000-05-03 Toshiaki Takada <takada@zebra.org>
2087
2088 * ospf_neighbor.c (ospf_db_summary_add): Use new_lsdb struct
2089 instead linked-list.
2090 (ospf_db_summary_count), (ospf_db_summary_isempty):
2091 New function added.
2092
2093 * ospf_lsa.c (ospf_rotuer_lsa): Re-arrange and divide functions.
2094
2095 2000-05-02 Gleb Natapov <gleb@nbase.co.il>
2096
2097 * ospf_lsdb.c (new_lsdb_cleanup): Fix memory leak. When LSDB are
2098 not needed any more, then free them.
2099
2100 2000-05-02 Toshiaki Takada <takada@zebra.org>
2101
2102 * ospfd.c (timers_spf), (no_timers_spf): New defun added.
2103 SPF calculation timers related stuff is rearranged.
2104
2105 * ospf_spf.c (ospf_spf_calculate_timer_add): Function removed.
2106 SPF timer is scheduled by SPF calculation delay and holdtime
2107 configuration variable.
2108
2109 * ospf_lsa.c (ospf_external_lsa_nexthop_get): Set AS-external-LSA's
2110 forwarding address when nexthop learned by other protocols is
2111 in the OSPF domain.
2112
2113 * ospf_zebra.c (ospf_redistribute_source_metric_type),
2114 (ospf_redistribute_source_type_metric): Re-arrange DEFUNs and
2115 ALIASes.
2116
2117 2000-05-01 Toshiaki Takada <takada@zebra.org>
2118
2119 * ospf_flood.c (ospf_ls_retransmit_count),
2120 (ospf_ls_retransmit_isempty): New function added.
2121
2122 (ospf_ls_retransmit_add), (ospf_ls_retransmit_delete),
2123 (ospf_ls_retransmit_clear), (ospf_ls_retransmit_lookup),
2124 (ospf_ls_retransmit_delete_all), (ospf_ls_retransmit_delete_nbr_all),
2125 (ospf_ls_retransmit_add_nbr_all): Replace these functions to use
2126 new_lsdb.
2127
2128 2000-04-29 Toshiaki Takada <takada@zebra.org>
2129
2130 * ospfd.c (no_network_area): Add check Area-ID whether specified
2131 Area-ID with prefix matches config.
2132
2133 2000-04-27 Toshiaki Takada <takada@zebra.org>
2134
2135 * ospf_lsa.c (ospf_maxage_lsa_remover): Fix problem of
2136 remaining withdrawn routes on zebra.
2137
2138 2000-04-25 Michael Rozhavsky <mike@nbase.co.il>
2139
2140 * ospf_nsm.c (nsm_kill_nbr), (nsm_ll_down), (nsm_change_status),
2141 (ospf_nsm_event): Fix network-LSA re-origination problem.
2142
2143 2000-04-24 Toshiaki Takada <takada@zebra.org>
2144
2145 * ospf_nsm.c (ospf_db_desc_timer): Fix bug of segmentation fault
2146 with DD retransmission.
2147
2148 * ospf_nsm.c (nsm_kill_nbr): Fix bug of re-origination when
2149 a neighbor disappears.
2150
2151 2000-04-23 Michael Rozhavsky <mike@nbase.co.il>
2152
2153 * ospf_abr.c (ospf_abr_announce_network_to_area): Fix bug of
2154 summary-LSAs reorigination. Correctly copy OSPF_LSA_APPROVED
2155 flag to new LSA. when summary-LSA is reoriginatd.
2156
2157 * ospf_flood.c (ospf_flood_through_area): Fix bug of flooding
2158 procedure. Change the condition of interface selection.
2159
2160 2000-04-21 Toshiaki Takada <takada@zebra.org>
2161
2162 * ospf_lsa.c (ospf_refresher_register_lsa): Fix bug of refresh never
2163 occurs.
2164
2165 * ospfd.c (show_ip_ospf_neighbor_id): New defun added.
2166 `show ip ospf neighbor' related commands are re-arranged.
2167
2168 2000-04-20 Toshiaki Takada <takada@zebra.org>
2169
2170 * ospf_dump.c (debug_ospf_zebra): New defun added.
2171 Suppress zebra related debug information.
2172
2173 2000-04-19 Toshiaki Takada <takada@zebra.org>
2174
2175 * ospf_zebra.c (ospf_distribute_list_update_timer),
2176 (ospf_distribute_list_update), (ospf_filter_update):
2177 New function added. Re-organize `distribute-list' router ospf
2178 command.
2179
2180 2000-04-13 Michael Rozhavsky <mike@nbase.co.il>
2181
2182 * ospf_packet.c (ospf_make_ls_upd): Add check for MAX_AGE.
2183
2184 2000-04-14 Michael Rozhavsky <mike@nbase.co.il>
2185
2186 * ospf_packet.c (ospf_make_ls_upd): Increment LS age by configured
2187 interface transmit_delay.
2188
2189 2000-04-14 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2190
2191 * ospf_interface.c (ip_ospf_cost), (no_ip_ospf_cost):
2192 Add to schedule router_lsa origination when the interface cost changes.
2193
2194 2000-04-12 Toshiaki Takada <takada@zebra.org>
2195
2196 * ospf_lsa.c (ospf_refresher_register_lsa),
2197 (ospf_refresher_unregister_lsa): Fix bug of core dumped.
2198
2199 * ospfd.c (no_router_ospf): Fix bug of core dumped.
2200
2201 2000-03-29 Toshiaki Takada <takada@zebra.org>
2202
2203 * ospf_nsm.c (nsm_oneway_received): Fix bug of MS flag unset.
2204
2205 2000-03-29 Michael Rozhavsky <mike@nbase.co.il>
2206
2207 * ospf_lsa.c (ospf_network_lsa):
2208 * ospf_nsm.c (ospf_nsm_event): Fix bug of Network-LSA originated
2209 in stub network.
2210
2211 2000-03-28 Toshiaki Takada <takada@zebra.org>
2212
2213 * ospf_nsm.c (nsm_bad_ls_req), (nsm_seq_number_mismatch),
2214 (nsm_oneway_received): Fix bug of NSM state flapping between
2215 ExStart and Exchange.
2216
2217 2000-03-28 Toshiaki Takada <takada@zebra.org>
2218
2219 * ospf_packet.h (strcut ospf_header): Fix the size of ospf_header,
2220 change u_int8_t to u_char.
2221
2222 2000-03-27 Toshiaki Takada <takada@zebra.org>
2223
2224 * ospf_lsa.c (ospf_lsa_checksum): Take care of BIGENDIAN architecture.
2225
2226 2000-03-27 Toshiaki Takada <takada@zebra.org>
2227
2228 * ospfd.c (ospf_interface_run): Make sure Address family matches.
2229
2230 2000-03-26 Love <lha@s3.kth.se>
2231
2232 * ospf_packet.c (ospf_write): Chack result of sendto().
2233
2234 2000-03-26 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2235
2236 * ospf_nsm.c (nsm_oneway_received): Fix bug of 1-WayReceived in NSM.
2237
2238 2000-03-23 Libor Pechacek <farco@clnet.cz>
2239
2240 * ospf_lsa.c (ospf_network_lsa)
2241 * ospf_lsdb.c (new_lsdb_insert): Fix bug of accessing to
2242 unallocated memory.
2243
2244 2000-03-23 Toshiaki Takada <takada@zebra.org>
2245
2246 * ospfd.c (ospf_config_write): Fix bug of duplicate line for
2247 `area A.B.C.D authentication'.
2248
2249 2000-03-22 Toshiaki Takada <takada@zebra.org>
2250
2251 * ospf_debug.c (debug_ospf_lsa), (no_debug_ospf_lsa): Defun added.
2252 Suppress all zlog related to LSAs with this config option.
2253
2254 2000-03-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2255
2256 * ospf_nsm.c (ospf_nsm_event): Add check for NSM_InactivityTimer.
2257
2258 2000-03-21 Toshiaki Takada <takada@zebra.org>
2259
2260 * ospf_packet.c (ospf_ls_upd_timer), (ospf_ls_req):
2261 Fix bug of memory leak about linklist.
2262
2263 * ospf_flood.c (ospf_flood_through_area): Likewise.
2264
2265 2000-03-18 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2266
2267 * ospf_flood.c (ospf_ls_retransmit_lookup): Add checksum comparison
2268 to identify LSA uniquely. This fix routes lost.
2269
2270 2000-03-18 Toshiaki Takada <takada@zebra.org>
2271
2272 * ospf_ase.c (ospf_find_asbr_route): Add sanity check with router
2273 routing table.
2274
2275 2000-03-17 Alex Zinin <zinin@amt.ru>
2276
2277 * ospf_spf.[ch]: Bug fix.
2278 The 2nd stage of Dijkstra could consider one vertex
2279 more than once if there is more than one link
2280 between the routers, thus adding extra CPU overhead
2281 and extra next-hops.
2282 Fixed.
2283
2284 2000-03-15 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2285
2286 * ospf_nsm.c (nsm_inactivity_timer): Changed to call nsm_kill_nbr().
2287
2288 2000-03-14 Toshiaki Takada <takada@zebra.org>
2289
2290 * ospf_route.c (ospf_route_copy_nexthops): Fix bug of memory leak of
2291 ospf_path. Actually ignore merging ospf_route with completely same
2292 paths.
2293
2294 2000-03-12 Toshiaki Takada <takada@zebra.org>
2295
2296 * ospf_lsa.c (show_as_external_lsa_detail): fix bug of
2297 external route tag byte order.
2298
2299 2000-03-11 Toshiaki Takada <takada@zebra.org>
2300
2301 * ospf_lsdb.c (ospf_lsdb_insert): New function added.
2302
2303 2000-03-09 Toshiaki Takada <takada@zebra.org>
2304
2305 * ospf_lsa.c (ospf_external_lsa_install),
2306 (ospf_lsa_lookup), (show_ip_ospf_database_all),
2307 (show_ip_ospf_database_self_originate): Use struct new_lsdb for
2308 LSDB of AS-external-LSAs instead of ospf_lsdb.
2309
2310 * ospf_lsa.c (ospf_lsa_unique_id): New function added.
2311 Use for assigning Unique Link State ID instead of
2312 ospf_get_free_id_for_prefix().
2313
2314 2000-03-09 Toshiaki Takada <takada@zebra.org>
2315
2316 * ospf_ase.c (ospf_ase_calculate_timer): Fix bug of segmentation
2317 fault reported by George Bonser <george@siteROCK.com>.
2318
2319 2000-03-07 Libor Pechacek <farco@clnet.cz>
2320
2321 * ospfd.c (ospf_interface_down): Fix bug of segmentation fault.
2322
2323 2000-03-06 Toshiaki Takada <takada@zebra.org>
2324
2325 * ospf_route.c (ospf_route_cmp): Change meaning of return values.
2326
2327 2000-03-02 Alex Zinin <zinin@amt.ru>
2328 * ospfd.h, ospf_ia.h
2329 New Shortcut ABR code. Now area's flag can be configured
2330 with Default, Enable, and Disable values.
2331 More info will be in the new ver of I-D soon (see IETF web).
2332
2333 2000-02-25 Toshiaki Takada <takada@zebra.org>
2334
2335 * ospf_lsa.c (ospf_lsa_header_set), (ospf_external_lsa_body_set),
2336 (osfp_external_lsa_originate), (ospf_external_lsa_queue),
2337 (ospf_external_lsa_originate_from_queue): New function added.
2338 (ospf_external_lsa): Function removed.
2339
2340 * ospf_zebra.c (ospf_zebra_read_ipv4): Originate AS-external-LSA
2341 when listen a route from Zebra, instead creating external route.
2342
2343 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
2344 (ospf_asbr_route_add_queue_lsa),
2345 (ospf_asbr_route_install_lsa), (ospf_asbr_route_add):
2346 Functions removed.
2347
2348 * ospf_ase.c (process_ase_lsa): Function will not be used.
2349 (ospf_ase_calculate), (ospf_ase_calculate_route_add),
2350 (ospf_ase_calculate_new_route), (ospf_ase_caluculate_asbr_route):
2351 process_ase_lsa () is separated to these functions.
2352
2353 OSPF AS-external-LSA origination is whole re-organized.
2354
2355 2000-02-18 Toshiaki Takada <takada@zebra.org>
2356
2357 * ospf_packet.c (ospf_ls_upd): Fix bug of OSPF LSA memory leak.
2358
2359 * ospf_asbr.c (ospf_asbr_route_add_flood_lsa),
2360 (ospf_asbr_route_add_queue_lsa): Fix bug of OSPF external route
2361 memory leak.
2362
2363 2000-02-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2364
2365 * ospf_asbr.c (ospf_asbr_route_install_lsa): Re-calculate LSA
2366 checksum after change Advertised Router field.
2367
2368 2000-02-09 Toshiaki Takada <takada@zebra.org>
2369
2370 * ospf_asbr.c (ospf_external_route_lookup): Add new function.
2371
2372 2000-02-08 Toshiaki Takada <takada@zebra.org>
2373
2374 * ospfd.c (ospf_router_id_get), (ospf_router_id_update),
2375 (ospf_router_id_update_timer): Router ID decision algorithm is changed.
2376 Router ID is chosen from all of eligible interface addresses even if
2377 it is not enable to OSPF.
2378
2379 2000-02-08 Toshiaki Takada <takada@zebra.org>
2380
2381 * ospf_asbr.c (ospf_asbr_route_add): Function divided to
2382 ospf_asbr_route_add_flood_lsa, ospf_asbr_route_add_queue_lsa and
2383 ospf_asbr_route_install_lsa. If Router-ID is not set, then LSA is
2384 waited to install to LSDB.
2385 `0.0.0.0 adv_router' AS-external-LSA origination bug was fixed.
2386
2387 2000-02-01 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2388
2389 * ospf_flood.c (ospf_ls_retransmit_lookup): Compare LS seqnum
2390 in the ACK before deleting.
2391
2392 * ospf_packet.c (ospf_hello): Reset the flags after a shutdown
2393 and no shutdown of the interface.
2394
2395 2000-01-31 Toshiaki Takada <takada@zebra.org>
2396
2397 * ospf_packet.c (ospf_ls_req): Send multiple Link State Update
2398 packets respond to a Link State Request packet.
2399
2400 * ospfd.c (show_ip_ospf_neighbor_detail_sub): Show thread state.
2401
2402 * ospf_interface.c (ospf_vl_new): Crash when backbone area
2403 is not configured and set virtual-link to no-backbone area,
2404 bug fixed.
2405
2406 2000-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2407
2408 * ospf_neighbor.h (struct ospf_neighbor): Add pointer to last send
2409 LS Request LSA.
2410
2411 * ospf_packet.c (ospf_ls_upd): Comment out LS request list
2412 treatment. That should be done in OSPF flooding procedure.
2413
2414 * ospf_flood.c (ospf_flood_through_area): Enclose
2415 ospf_check_nbr_loding inside if-else close.
2416
2417 2000-01-31 Toshiaki Takada <takada@zebra.org>
2418
2419 * ospf_packet.c (ospf_make_ls_upd): Fix bug of #LSAs counting.
2420
2421 2000-01-29 Toshiaki Takada <takada@zebra.org>
2422
2423 * ospf_packet.c (ospf_make_md5_digest): Fix bug of md5 authentication.
2424
2425 2000-01-28 Toshiaki Takada <takada@zebra.org>
2426
2427 * ospfd.c (show_ip_ospf): Show Number of ASE-LSAs.
2428
2429 2000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2430
2431 * ospf_packet.c (ospf_make_db_desc): Don't use rm_list for
2432 removing LSA from nbr->db_summary.
2433
2434 2000-01-27 Sira Panduranga Rao <pandu@euler.ece.iisc.ernet.in>
2435
2436 * ospf_packet.c (ospf_ls_upd_send): Set AllSPFRouters to
2437 destination when the link is point-to-point.
2438 (ospf_ls_ack_send_delayed): Likewise.
2439
2440 2000-01-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2441
2442 * ospf_flood.c (ospf_ls_request_delete_all): Fix bug of next
2443 pointer lookup after the node is freed.
2444
2445 2000-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2446
2447 * ospf_asbr.c (ospf_asbr_route_add): Instead of scanning all AS
2448 external route, use ospf_top->external_self.
2449
2450 2000-01-27 Toshiaki Takada <takada@zebra.org>
2451
2452 * ospf_lsa.c (ospf_forward_address_get): New function added.
2453
2454 * ospf_asbr.c (ospf_asbr_check_lsas): Originate AS-external-LSA
2455 only when it should be replaced.
2456
2457 2000-01-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2458
2459 * ospf_flood.c (ospf_ls_retransmit_clear): Delete list node.
2460
2461 * ospf_lsa.c (ospf_lsa_free): Reduce logging message using
2462 ospf_zlog value.
2463
2464 * ospf_ism.c (ism_change_status): Fix bug of DR -> non DR status
2465 change. Self originated LSA is freed but not deleted from lsdb.
2466
2467 2000-01-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2468
2469 * ospf_ism.c (ism_interface_down): Don't use router_id for
2470 detecting self neighbor structure. Instead of that compare
2471 pointer itself.
2472
2473 * ospf_neighbor.c (ospf_nbr_free): Cancel all timer when neighbor
2474 is deleted.
2475 (ospf_nbr_free): Free last send packet.
2476
2477 * ospf_neighbor.h (struct ospf_neighbor): Remove host strucutre.
2478 Instead of that src is introduced.
2479
2480 * ospf_nsm.h: Enclose macro defenition with do {} while (0).
2481
2482 2000-01-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2483
2484 * ospfd.c: Change part of passive interface implementation. For
2485 passive interface just disabling sending/receiving Hello on the
2486 interface.
2487
2488 2000-01-16 Kai Bankett <kai.bankett@vew-telnet.net>
2489
2490 * ospf_interface.h (OSPF_IF_PASSIVE): Add passive flag.
2491 * ospf_interface.c (ospf_if_lookup_by_name): Add new function.
2492 * ospf_lsa.c (ospf_router_lsa): Skip passive interface.
2493 * ospfd.c (passive_interface): New command passive-interface is
2494 added.
2495 (ospf_config_write): Print passive interface.
2496
2497 2000-01-15 Toshiaki Takada <takada@zebra.org>
2498
2499 * ospf_interface.h (crypt_key): New struct added to store
2500 multiple cryptographic autheitication keys.
2501 (ospf_interface): struct changed.
2502
2503 * ospf_interface.c: ospf_crypt_key_new, ospf_crypt_key_add,
2504 ospf_crypt_key_lookup, ospf_crypt_key_delete: new functions added.
2505
2506 * ospf_packet.c (ip_ospf_message_digest_key): Changed to store
2507 multiple cryptographic authentication keys.
2508
2509 2000-01-14 Toshiaki Takada <takada@zebra.org>
2510
2511 * ospf_interface.c: DEFUN (if_ospf_*) commands changed name to
2512 ip_ospf_* ().
2513 Old notation `ospf *' still remains backward compatibility.
2514
2515 1999-12-29 Alex Zinin <zinin@amt.ru>
2516 * ospf_lsa.c: ospf_lsa_more_recent() bug fix
2517 * ospf_nsm.c, ospf_packet.c: remove nbr data struct when
2518 int goes down, also check DD flags correctly (bug fix)
2519
2520 1999-12-28 Alex Zinin <zinin@amt.ru>
2521 * "redistribute <source> metric-type (1|2) metric <XXX>" added
2522
2523 1999-12-23 Alex Zinin <zinin@amt.ru>
2524 * added RFC1583Compatibility flag
2525 * added dynamic interface up/down functionality
2526
2527 1999-11-19 Toshiaki Takada <takada@zebra.org>
2528
2529 * ospf_neighbor.h (struct ospf_neighbor): Add member state_change
2530 for NSM state change statistics.
2531
2532 1999-11-19 Toshiaki Takada <takada@zebra.org>
2533
2534 * ospfd.c (show_ip_ospf_neighbor_detail),
2535 (show_ip_ospf_neighbor_int_detail): DEFUN Added.
2536
2537 1999-11-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2538
2539 * ospf_asbr.c (ospf_asbr_check_lsas): Add check of
2540 lsa->refresh_list.
2541
2542 1999-11-11 Toshiaki Takada <takada@zebra.org>
2543
2544 * ospf_ia.[ch] (OSPF_EXAMINE_SUMMARIES_ALL): Macro added.
2545 This macro is expanded to ospf_examine_summaries ()
2546 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2547 (OSPF_EXAMINE_TRANSIT_SUMMARIES_ALL): Macro added.
2548 This macro is expanded to ospf_examine_transit_summaries ()
2549 for SUMMARY_LSA and SUMMARY_LSA_ASBR.
2550
2551 1999-11-11 Toshiaki Takada <takada@zebra.org>
2552
2553 * ospf_lsa.[ch] (ospf_find_self_summary_lsa_by_prefix): Changed to
2554 macro OSPF_SUMMARY_LSA_SELF_FIND_BY_PREFIX.
2555 (ospf_find_self_summary_asbr_lsa_by_prefix): Changed to
2556 macro OSPF_SUMMARY_ASBR_LSA_SELF_FIND_BY_PREFIX.
2557 (ospf_find_self_external_lsa_by_prefix): Changed to
2558 macro OSPF_EXTERNAL_LSA_SELF_FIND_BY_PREFIX.
2559
2560 1999-11-11 Toshiaki Takada <takada@zebra.org>
2561
2562 * ospfd.c (ospf_abr_type): ospf_abr_type_cisco, ospf_abr_type_ibm,
2563 ospf_abr_type_shortcut and ospf_abr_type_standard DEFUNs are
2564 combined.
2565 * ospfd.c (no_ospf_abr_type): no_ospf_abr_type_cisco,
2566 no_ospf_abr_type_ibm and no_ospf_abr_type_shortcut DEFUNS are
2567 combined.
2568
2569 1999-11-10 Toshiaki Takada <takada@zebra.org>
2570
2571 * ospf_route.c (ospf_lookup_int_by_prefix): Move function to
2572 ospf_interface.c and change name to ospf_if_lookup_by_prefix ().
2573
2574 1999-11-01 Alex Zinin <zinin@amt.ru>
2575 * ospf_packet.c
2576 some correction to LSU processing
2577
2578 * ospf_lsa.c ospfd.h
2579 randomize initial LSA refreshment interval
2580 and limit the size of LSA-group to 10
2581 to let randomization work more effectively.
2582
2583 1999-10-31 Alex Zinin <zinin@amt.ru>
2584 * ospf_interface.c
2585 cancel t_network_lsa_self
2586 when freeing int structure
2587
2588 * ospf_abr.c ospf_asbr.c ospf_flood.c ospf_lsa.c
2589 ospf_lsa.h ospf_lsdb.h ospfd.c ospfd.h
2590
2591 Summary and ASE LSA refreshment functions
2592 added---LSA refreshment is paced to 70 LSAs
2593 per sec to avoid link overflow. Refreshment events
2594 are further randomized within a 10 sec interval
2595 to avoid syncing.
2596
2597 Also the sigfault of memcmp() in ospf_lsa_is_different()
2598 is fixed.
2599
2600 1999-10-30 Alex Zinin <zinin@amt.ru>
2601 * ospf_nsm.c
2602 Fix the bug where MAX_AGE LSAs
2603 are included into the DB summary.
2604
2605 * ospf_interface.c
2606 allocate 2*MTU input buffer instead of just MTU
2607 for the cases when the other router mistakenly
2608 sends larger packets thus causing fragmentation, etc.
2609
2610 * ospf_nsm.c
2611 in nsm_reset_nbr() lists should be freed
2612 not when they are empty.
2613
2614 1999-10-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2615
2616 * ospf_zebra.c (ospf_acl_hook): Move OSPF_IS_ASBR and OSPF_IS_ABR
2617 check inside of if (ospf_top).
2618
2619 1999-10-29 Alex Zinin <zinin@amt.ru>
2620 * ospf_lsa.c ospf_lsdb.c :
2621 add assertion in lsa and lsa->data alloc functions,
2622 as well as in lsdb_add for new->data
2623
2624 * ospf_lsdb.c: free hash table correctly
2625
2626 1999-10-28 John Capo <jc@irbs.com>
2627
2628 * ospf_packet.h (OSPF_PACKET_MAX): Correct MAX packet length
2629 calculation
2630
2631 1999-10-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2632
2633 * OSPF-TRAP-MIB.txt: New file added. Edited version of RFC1850.
2634
2635 * OSPF-MIB.txt: New file added. Edited version of RFC1850.
2636
2637 1999-10-27 Alex Zinin <zinin@amt.ru>
2638 * ospfd, ospf_zebra, ospf_abr
2639 "area import-list" command is added.
2640 This command allows to filter the inter-area routes
2641 injected into an area. Access list hook function
2642 extended to invalidate area exp/imp lists.
2643
2644 1999-10-25 Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
2645
2646 * ospfd.c (ospf_interface_run): Enable to detect P2P network
2647 on an OSPF interface.
2648
2649 1999-10-19 Jordan Mendelson <jordy@wserv.com>
2650
2651 * ospf_lsdb.c (ospf_lsdb_add): Fix bug of crash
2652 in ospf_ls_retransmit_lookup ().
2653
2654 1999-10-19 Vladimir B. Grebenschikov <vova@express.ru>
2655
2656 * ospf_route.c: Workaround about installation of OSPF routes into
2657 the zebra daemon. Add checking of existance routes. Free
2658 ospf_top->old_table if it exists.
2659
2660 1999-10-15 Jordan Mendelson <jordy@wserv.com>
2661
2662 * Add support for MD5 authentication.
2663
2664 1999-10-12 Alex Zinin <zinin@amt.ru>
2665 * ospfd.c, ospfd.h, ospf_abr.c:
2666 a new command "area export-list" was added, it allows
2667 the admin. to control which intra-area routes are
2668 announced to other areas by the ABR
2669
2670 1999-10-12 Alex Zinin <zinin@amt.ru>
2671 * ospf_asbr.c (ospf_asbr_check_lsas): Fix bug of coredump
2672 when "no redistribute" is used after a distribute list
2673 denying some networks was used
2674
2675 1999-10-05 Toshiaki Takada <takada@zebra.org>
2676
2677 * ospf_route.c (ospf_path_dup): New function added.
2678
2679 1999-10-05 Toshiaki Takada <takada@zebra.org>
2680
2681 * ospf_interface.[ch]: Some of VL related funciton name changed.
2682
2683 1999-09-27 Alex Zinin <zinin@amt.ru>
2684
2685 * ospf_zebra.c: Distribute-list functionality added
2686
2687 1999-09-27 Toshiaki Takada <takada@zebra.org>
2688
2689 * ospfd.c (show_ip_ospf): Fix bug of segmentation fault when no ospf
2690 instance exists.
2691
2692 1999-09-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2693
2694 * ospfd.c (ospf_interface_down): Fix bug of misusing nextnode()
2695 instead of node->next. Reported by Hiroki Ishibashi
2696 <ishibasi@dcd.abk.nec.co.jp>.
2697
2698 * ospf_route.c (show_ip_ospf_route): Add check for ospf is enabled
2699 or not.
2700
2701 1999-09-23 Alex Zinin <zinin@amt.ru>
2702
2703 * stub area support added
2704
2705 1999-09-23 Alex Zinin <zinin@amt.ru>
2706
2707 * fwd_addr in ASE-LSAs is now set correctly
2708 * ASE routing changed to check the fwd_addr
2709 and skip the route if the addr points to one
2710 of our interfaces to avoid loops.
2711
2712 1999-09-22 Alex Zinin <zinin@amt.ru>
2713
2714 * ospf_interface:
2715 ospf_vls_in_area() added, it returns
2716 the number of VLs configured through the area
2717
2718 * ospf_interface.c ospf_lsa.c ospf_lsdb.c ospfd.c
2719 honor correct mem alloc
2720
2721 1999-09-22 Alex Zinin <zinin@amt.ru>
2722
2723 * memory.[ch]:
2724 Some OSPF mem types added,
2725 plus more info in "show mem"
2726
2727 1999-09-21 Alex Zinin <zinin@amt.ru>
2728
2729 * ospfd.c:
2730 "area range substitute" added.
2731 It can be used on NAT-enabled (IP-masquarade)
2732 routers to announce private networks
2733 from an area as public ones into the outside
2734 world (not in the RFC, btw :)
2735
2736 1999-09-21 Alex Zinin <zinin@amt.ru>
2737
2738 * ospfd.c:
2739 "area range suppress" added.
2740 This command allows to instruct the router
2741 to be silent about specific ranges, i.e.,
2742 it is a method of route filtering on area
2743 borders
2744
2745 1999-09-21 Alex Zinin <zinin@amt.ru>
2746
2747 * ospfd.c VLs removed when "no network area" executed
2748
2749 1999-09-20 Alex Zinin <zinin@amt.ru>
2750
2751 * ospf_ase.c bug fix for not-zero fwd_addr
2752 and directly connected routes.
2753
2754 1999-09-20 Yon Uriarte <yon@plannet.de>
2755
2756 * ospf_packet.c (ospf_make_ls_req): Introduce delta value for
2757 checking the length of OSPF packet exceeds MTU or not.
2758
2759 * ospf_lsa.c (ospf_lsa_different): Apply ntohs for checking
2760 l1->data->length.
2761
2762 1999-09-18 Alex Zinin <zinin@amt.ru>
2763
2764 * ospf_lsa.c bug fix for ospf_network_lsa() to
2765 include itself into the RID list
2766
2767 1999-09-10 Alex Zinin <zinin@amt.ru>
2768
2769 * Alternative ABR behaviors IBM/Cisco/Shortcut
2770 implemented
2771
2772 1999-09-10 Alex Zinin <zinin@amt.ru>
2773
2774 * router and network-LSA origination
2775 changed to honor MinLSInterval
2776
2777 1999-09-08 Alex Zinin <zinin@amt.ru>
2778
2779 * modified ABR behavior to honor VLs and transit
2780 areas
2781
2782 1999-09-07 Alex Zinin <zinin@amt.ru>
2783
2784 * completed VL functionality
2785
2786 1999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2787
2788 * ospf_asbr.c: New file.
2789 ospf_asbr.h: New file.
2790
2791 * ospf_zebra.c (ospf_redistribute_connected): Add redistribute
2792 related stuff.
2793
2794 1999-09-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2795
2796 * ospfd.h (OSPF_FLAG_VIRTUAL_LINK): Change OSPF_FLAG_VEND to
2797 OSPF_FLAG_VIRTUAL_LINK for comprehensiveness.
2798
2799 1999-09-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2800
2801 * ospf_spf.c (ospf_spf_register): Change name from
2802 ospf_spf_route_add() to ospf_spf_register().
2803 Include "ospfd/ospf_abr.h" for ospf_abr_task() prototype.
2804
2805 1999-09-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2806
2807 * ospf_lsa.c (ospf_external_lsa_install): Change to update
2808 lsa->data rather than install new one, when same id lsa is already
2809 installed.
2810
2811 1999-09-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2812
2813 * ospf_lsa.c (ospf_router_lsa_install): Return lsa value.
2814 (ospf_network_lsa_install): Likewise.
2815 (ospf_summary_lsa_install): Likewise.
2816 (ospf_summary_asbr_lsa_install): Likewise.
2817 (ospf_external_lsa_install): Likewise.
2818
2819 * ospf_spf.c (ospf_spf_calculate): Comment out debug function
2820 ospf_rtrs_print().
2821
2822 1999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2823
2824 * ospf_spf.c (ospf_rtrs_free): Add ospf_spf_calculate() for
2825 freeing rtrs.
2826
2827 1999-08-31 Toshiaki Takada <takada@zebra.org>
2828
2829 * ospf_lsa.c (show_ip_ospf_database_summary),
2830 (show_ip_ospf_database_summary_asbr),
2831 (show_ip_ospf_database_external): New function added.
2832 `show ip ospf database summary',
2833 `show ip ospf database asbr-summary'
2834 `show ip ospf database external' command can be used.
2835
2836 * ospf_lsa.c (ospf_lsa_count_table): New function added.
2837 (show_ip_ospf_database_all): show nothing if a type of LSA
2838 does not exist.
2839
2840 1999-08-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2841
2842 * ospf_lsa.c (ospf_maxage_lsa_remover): Preserve next pointer when
2843 the node is deleted.
2844
2845 1999-08-31 Toshiaki Takada <takada@zebra.org>
2846
2847 * ospf_flood.c (ospf_ls_retransmit_lookup): change to return
2848 struct ospf_lsa *.
2849 (ospf_ls_request_new), (ospf_ls_request_free),
2850 (ospf_ls_request_add), (ospf_ls_request_delete),
2851 (ospf_ls_request_delete_all), (ospf_ls_request_lookup):
2852 New function added.
2853
2854 * ospf_packet.c (ospf_ls_upd_send_lsa): New function added.
2855
2856 * ospf_lsa.h (LS_AGE): Slightly change macro definition.
2857
2858 * ospf_lsa.c (ospf_lsa_more_recent), (ospf_lsa_diffrent):
2859 Use LS_AGE macro.
2860
2861 1999-08-30 Alex Zinin <zinin@amt.ru>
2862
2863 * ospfd.c
2864 fix a bug with area range config write
2865 added "show ip ospf" command, it will be enhanced later on
2866
2867 1999-08-30 Alex Zinin <zinin@amt.ru>
2868
2869 * ospf_lsa.c
2870 updated ospf_router_lsa() to honor flags (B-bit)
2871
2872 1999-08-30 Alex Zinin <zinin@amt.ru>
2873
2874 * ospf_abr.c
2875 wrote major functions implementing ABR activity
2876
2877 1999-08-30 Alex Zinin <zinin@amt.ru>
2878
2879 * ospf_ia.c ospf_route.c ospf_route.h
2880 fixed the bug with ospf_route.origin field.
2881 Now it holds pointer to lsa_header
2882
2883 1999-08-30 Alex Zinin <zinin@amt.ru>
2884
2885 * ospf_flood.c ospf_flood.h:
2886 transformed ospf_flood_if_select into ospf_flood_through_area()
2887 added new ospf_flood_if_select() and ospf_flood_through_as()
2888
2889 1999-08-30 Toshiaki Takada <takada@zebra.org>
2890
2891 * ospf_flood.[ch]: New file added.
2892
2893 * ospf_packet.c (ospf_lsa_flooding),
2894 (ospf_lsa_flooding_select_if): functions move to ospf_flood.c
2895
2896 * ospf_neighbor.c (ospf_put_lsa_on_retransm_list),
2897 (ospf_remove_lsa_from_retransm_list),
2898 (ospf_nbr_remove_all_lsas_from_retransm_list),
2899 (ospf_lsa_remove_from_ls_retransmit):
2900 (ospf_lsa_retransmit): functions move to
2901 ospf_flood.c, and change function's name:
2902
2903 ospf_put_lsa_on_retransm_list ()
2904 -> ospf_ls_retransmit_add ()
2905 ospf_remove_lsa_from_retransm_list ()
2906 -> ospf_ls_retransmit_delete ()
2907 ospf_nbr_remove_all_lsas_from_retransm_list ()
2908 -> ospf_ls_retransmit_clear ()
2909 ospf_lsa_remove_from_ls_retransmit ()
2910 -> ospf_ls_retransmit_delete_nbr_all ()
2911 ospf_lsa_retransmit ()
2912 -> ospf_ls_retransmit_add_nbr_all ()
2913
2914 * ospf_lsa.c (ospf_lsa_lookup_from_list): function move to
2915 ospf_flood.c, and change name to ospf_ls_retransmit_lookup ().
2916
2917 1999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2918
2919 * ospf_neighbor.c (ospf_nbr_lookup_by_addr): Use
2920 route_node_lookup() instead of route_node_get().
2921
2922 * ospf_packet.c (ospf_ls_upd): Temporary comment out (6) check.
2923
2924 1999-08-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2925
2926 * ospf_route.c (ospf_lookup_int_by_prefix): Add check of
2927 oi->address.
2928
2929 1999-08-29 Alex Zinin <zinin@amt.ru>
2930 * ospf_lsa.c
2931 MaxAge LSA deletion functions added.
2932
2933 1999-08-29 Alex Zinin <zinin@amt.ru>
2934 * ospf_neighbor.c
2935 ospf_nbr_lookup_by_addr(): added route_unlock_node()
2936 when function returns NULL if (rn->info == NULL)
2937
2938 1999-08-29 Alex Zinin <zinin@amt.ru>
2939 * ospfd.c
2940 added a hack for area range deletion
2941
2942 1999-08-29 Alex Zinin <zinin@amt.ru>
2943 * ospf_lsa.h
2944 included lsdb field into struct ospf_lsa, to find
2945 LSDB easier when removing MaxAge LSAs.
2946
2947 1999-08-29 Alex Zinin <zinin@amt.ru>
2948 * ospf_lsa.c ospf_neighbor.c ospf_nsm.c
2949 ospf_packet.c changed to honor new retransmit list
2950 management functions
2951
2952 1999-08-29 Alex Zinin <zinin@amt.ru>
2953 * ospf_neighbor.c , .h added new retransmit list functions.
2954
2955 1999-08-29 Alex Zinin <zinin@amt.ru>
2956 * Makefile.in
2957 added ospf_ase, ospf_abr, ospf_ia
2958
2959 1999-08-29 Alex Zinin <zinin@amt.ru>
2960 * ospf_spf.c:
2961 - changed ospf_next_hop_calculation() to include interface
2962 and nexthop addr for directly connected routers---more informative
2963 and solves problem with route installation into the kernel
2964 - changed ospf_nexthop_out_if_addr() to support routers, not only
2965 transit networks
2966 - added ospf_process_stubs();
2967
2968 1999-08-29 Alex Zinin <zinin@amt.ru>
2969 * ospf_lsa.c:
2970 - changed ospf_router_lsa() to provide correct links
2971 for p-t-p interfaces;
2972 - changed ospf_summary_lsa_install() to support table
2973 of self-originated summary-LSAs;
2974 - added ospf_summary_asbr_lsa_install() and ospf_external_lsa_install()
2975 - changed ospf_lsa_install() accordingly
2976 - changed show_ip_ospf_database_router_links() to support p-t-p
2977
2978 1999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2979
2980 * ospf_packet.c (ospf_make_db_desc): Only master can clear more
2981 flag.
2982
2983 1999-08-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2984
2985 * ospf_packet.c (ospf_read): Add check of IP src address.
2986
2987 1999-08-28 Alex Zinin <zinin@amt.ru>
2988 * ospf_neighbor.h
2989 added ospf_nbr_lookup_by_routerid()
2990
2991 1999-08-28 Alex Zinin <zinin@amt.ru>
2992 * ospfd.h
2993 added ABR/ASBR flag definitions and fields;
2994 added iflist field to area structure;
2995 summary_lsa_self and summary_lsa_asbr_self are changed
2996 to be route tables;
2997 added ranges field---configured area ranges;
2998 A separate Routers RT added;
2999 area range config commands and config write added
3000
3001
3002 1999-08-28 Alex Zinin <zinin@amt.ru>
3003 * ospf_route.c :
3004 ospf_route_free()--added code to free the list of paths;
3005 The following functions added:
3006 ospf_intra_add_router();
3007 ospf_intra_add_transit();
3008 ospf_intra_add_stub();
3009 the last function uses new ospf_int_lookup_by_prefix();
3010 show_ip_ospf_route_cmd()--changed to support new RT structure;
3011 added ospf_cmp_routes()--general route comparision function;
3012 added ospf_route_copy_nexthops() and ospf_route_copy_nexthops_from_vertex()
3013 they are used in ASE and IA routing;
3014 added ospf_subst_route() and ospf_add_route();
3015
3016 1999-08-28 Alex Zinin <zinin@amt.ru>
3017 * ospf_route.h :
3018 changed struct ospf_path to include output interface,
3019 changed struct ospf_route to support IA and ASE routing.
3020 added prototypes of the function used in IA and ASE modules.
3021
3022 1999-08-28 Alex Zinin <zinin@amt.ru>
3023 * ospf_lsa.h ospf_lsa.c :
3024 added ospf_my_lsa(), an interface independent version of
3025 ospf_lsa_is_self_originated(), it will be used in ASE and IA-routing.
3026
3027 1999-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3028
3029 * ospf_interface.c (interface_config_write): Add check for
3030 oi->nbr_self.
3031
3032 1999-08-25 Toshiaki Takada <takada@zebra.org>
3033
3034 * ospf_lsa.c (ospf_lsa_dup): New function added.
3035
3036 * ospf_packet.c (ospf_write), (ospf_read): Print send/recv
3037 interface in debug message.
3038
3039 1999-08-25 Toshiaki Takada <takada@zebra.org>
3040
3041 * ospf_packet.c (ospf_ls_ack_send): The name is changed from
3042 `ospf_ls_ack_send'.
3043 (ospf_ls_ack_send_delayed) (ospf_ls_ack_timer): New function added.
3044 Delayed Link State Acknowledgment is scheduled by timer.
3045
3046 1999-08-25 Alex Zinin <zinin@amt.ru>
3047
3048 * ospf_lsa.c (ospf_router_lsa): Incorrectly included link to
3049 a stub network instead of link to a transit network into
3050 originated router-LSA, bug fixed.
3051
3052 1999-08-24 Toshiaki Takada <takada@zebra.org>
3053
3054 * ospfd.c (ospf_update_router_id): New function added.
3055
3056 * ospf_network.c (ospf_write): Create new socket per transmission.
3057 And select outgoing interface whether dst is unicast or multicast.
3058
3059 * ospf_packet.c: LSA flooding will work.
3060
3061 1999-08-24 VOP <vop@unity.net>
3062
3063 * ospf_route.c: Include "sockunion.h"
3064
3065 1999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
3066
3067 * ospf_network.c (ospf_serv_sock_init): Enclose
3068 IPTOS_PREC_INTERNETCONTROL setting with #ifdef for OS which does
3069 not have the definition.
3070
3071 1999-08-23 Toshiaki Takada <takada@zebra.org>
3072
3073 * ospf_packet.c: Fix bug of DD processing.
3074
3075 1999-08-18 Toshiaki Takada <takada@zebra.org>
3076
3077 * ospf_lsa.c (show_ip_ospf_database): Show actual `LS age'.
3078
3079 1999-08-17 Toshiaki Takada <takada@zebra.org>
3080
3081 * ospf_lsa.h (OSPF_MAX_LSA): The value of OSPF_MAX_LSA is
3082 corrected. The bug of `mes_lookup' is fixed.
3083 This had been reported by Poul-Henning Kamp <phk@freebsd.org>.
3084
3085 * ospf_lsa.c (ospf_router_lsa_install): The name is changed from
3086 `ospf_add_router_lsa'.
3087 (ospf_network_lsa_install): The name is changed from
3088 `ospf_add_network_lsa'.
3089
3090 * ospf_interface.h (ospf_interface): Add member `nbr_self'.
3091
3092 * ospf_interface.c (ospf_if_is_enable): New function added.
3093
3094 1999-08-16 Toshiaki Takada <takada@zebra.org>
3095
3096 * ospf_lsa.h (struct lsa_header): The name is changed from
3097 `struct ospf_lsa'.
3098 (struct ospf_lsa): New struct added to control each LSA's aging
3099 and timers.
3100
3101 * ospf_lsa.c (ospf_lsa_data_free): The name is change from
3102 `ospf_lsa_free'.
3103 (ospf_lsa_data_new), (ospf_lsa_new), (ospf_lsa_free),
3104 (ospf_lsa_different), (ospf_lsa_install): New function added.
3105
3106 * ospf_packet.c (ospf_ls_upd_list_lsa): New function added.
3107
3108 1999-08-12 Toshiaki Takada <takada@zebra.org>
3109
3110 * ospf_nsm.c (nsm_reset_nbr): New function added.
3111 KillNbr and LLDown neighbor event call this function.
3112
3113 1999-08-10 Toshiaki Takada <takada@zebra.org>
3114
3115 * ospf_packet.c (ospf_ls_retransmit)
3116 (ospf_ls_upd_timer): New function added.
3117 Set retransmission timer for Link State Update.
3118
3119 1999-07-29 Toshiaki Takada <takada@zebra.org>
3120
3121 * ospf_ism.c (ospf_dr_election): Fix bug of DR election.
3122
3123 1999-07-28 Toshiaki Takada <takada@zebra.org>
3124
3125 * ospf_network.c (ospf_serv_sock_init): Set IP precedence field
3126 with IPTOS_PREC_INTERNET_CONTROL.
3127
3128 * ospf_nsm.c (nsm_change_status): Schedule NeighborChange event
3129 if NSM status change.
3130
3131 * ospf_packet.c (ospf_make_hello): Never include a neighbor in
3132 Hello packet, when the neighbor goes down.
3133
3134 1999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
3135
3136 * Makefile.am (noinst_HEADERS): Add ospf_route.h.
3137
3138 * ospf_route.c (show_ip_ospf_route): Add `show ip ospf route'
3139 command.
3140
3141 1999-07-25 Toshiaki Takada <takada@zebra.org>
3142
3143 * ospf_lsa.c (ospf_router_lsa): Fix bug of LS sequence number
3144 assignement.
3145
3146 1999-07-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3147
3148 * ospf_route.c (ospf_route_table_free): New function added.
3149
3150 * ospf_spf.c (ospf_spf_next): Free vertex w when cw's and w's
3151 distance is same.
3152
3153 * ospfd.h (struct ospf): Add old_table.
3154
3155 * ospf_main.c (sighup): Call of log_rotate () removed.
3156
3157 * ospf_lsa.c (ospf_lsa_is_self_originated): Fix bug of checking
3158 area->lsa as self LSA. This should be area->lsa_self.
3159
3160 1999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
3161
3162 * ospf_zebra.c (ospf_zebra_add): ospf_zebra_add
3163 (),ospf_zebra_delete () added.
3164
3165 * ospf_spf.c (ospf_spf_calculate): Call ospf_intra_route_add ().
3166
3167 1999-07-24 Toshiaki Takada <takada@zebra.org>
3168
3169 * ospf_lsa.c: Change LS sequence number treatment.
3170 (ospf_lsa_is_self_originated): New function added.
3171 (show_ip_ospf_database_self_originated): New DEFUN added.
3172
3173 1999-07-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3174
3175 * ospf_interface.c (ospf_if_lookup_by_addr): Add loopback check.
3176
3177 1999-07-22 Toshiaki Takada <takada@zebra.org>
3178
3179 * ospf_spf.c (ospf_nexthop_new), (ospf_nexthop_free),
3180 (ospf_nexthop_dup): function added.
3181 (ospf_nexthop_calculation): function changed.
3182
3183 * ospf_interface.c (ospf_if_lookup_by_addr): function added.
3184
3185 1999-07-21 Toshiaki Takada <takada@zebra.org>
3186
3187 * ospf_spf.c (ospf_spf_closest_vertex): function removed.
3188
3189 1999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
3190
3191 * ospf_spf.c (ospf_spf_next): Apply ntohs for fetching metric.
3192
3193 1999-07-21 Toshiaki Takada <takada@zebra.org>
3194
3195 * ospf_neighbor.c (ospf_nbr_lookup_by_router_id): fundtion removed.
3196
3197 * ospf_lsa.c (show_ip_ospf_database_router): describe each
3198 connected link.
3199
3200 1999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
3201
3202 * ospf_spf.c (ospf_spf_next): V is router LSA or network LSA so
3203 change behavior according to LSA type.
3204 (ospf_lsa_has_link): Link check function is added.
3205
3206 1999-07-20 Kunihiro Ishiguro <kunihiro@zebra.org>
3207
3208 * ospf_spf.c (ospf_spf_calculate_schedule): Add new function for
3209 SPF calcultion schedule addtition.
3210 (ospf_spf_calculate_timer_add): Rough 30 sec interval SPF calc
3211 timer is added.
3212 (ospf_spf_next_router): Delete ospf_spf_next_network ().
3213
3214 * ospf_lsa.c (show_ip_ospf_database_all): Network-LSA display
3215 header typo correction. Display of router LSA's #link added.
3216
3217 1999-07-19 Toshiaki Takada <takada@zebra.org>
3218
3219 * ospf_packet.c (ospf_check_network_mask): Added new function for
3220 receiving Raw IP packet on an appropriate interface.
3221
3222 1999-07-16 Toshiaki Takada <takada@zebra.org>
3223
3224 * ospfd.c (ospf_router_id): new DEFUN added.
3225
3226 1999-07-15 Toshiaki Takada <takada@zebra.org>
3227
3228 * ospf_spf.c (ospf_spf_init), (ospf_spf_free),
3229 (ospf_spf_has_vertex), (ospf_vertex_lookup),
3230 (ospf_spf_next_router), (ospf_spf_next_network),
3231 (ospf_spf_closest_vertex), (ospf_spf_calculate):
3232 function added.
3233
3234 1999-07-13 Toshiaki Takada <takada@zebra.org>
3235
3236 * ospf_ism.c: fix bug of DR Election.
3237
3238 * ospf_nsm.c: fix bug of adjacency forming.
3239
3240 1999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
3241
3242 * ospfd.c (ospf_init): Change to use install_default.
3243
3244 1999-07-01 Rick Payne <rickp@rossfell.co.uk>
3245
3246 * ospf_zebra.c (zebra_init): Install standard commands to
3247 ZEBRA_NODE.
3248
3249 1999-06-30 Toshiaki Takada <takada@zebra.org>
3250
3251 * ospf_dump.c: Whole debug command is improved.
3252 (ISM|NSM) (events|status|timers) debug option added.
3253 (show_debugging_ospf): new DEFUN added.
3254
3255 1999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3256
3257 * ospf_lsa.c (ospf_lsa_lookup_from_list): Change !IPV4_ADDR_CMP to
3258 IPV4_ADDR_SAME.
3259
3260 1999-06-29 Toshiaki Takada <takada@zebra.org>
3261
3262 * ospf_dump.c (ospf_summary_lsa_dump): Add summary-LSA dump routine.
3263 (ospf_as_external_lsa_dump): Add AS-external-LSA dump routine.
3264
3265 * ospf_nsm.c (nsm_twoway_received): fix condtion of adjacnet.
3266
3267 * ospf_ism.c (ospf_dr_election): fix DR Election.
3268
3269 * ospf_dump.c (ospf_nbr_state_message): fix `show ip ospf neighbor'
3270 command's state.
3271
3272 1999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3273
3274 * ospf_dump.c (ospf_router_lsa_dump): Add router-LSA dump routine.
3275
3276 1999-06-28 Toshiaki Takada <takada@zebra.org>
3277
3278 * ospf_lsa.c (show_ip_ospf_database_network): fix bug of
3279 `show ip ospf database network' command output.
3280
3281 * ospf_nsm.c (nsm_inactivity_timer): Clear list of Link State
3282 Retransmission, Database Summary and Link State Request.
3283
3284 * ospf_packet.c (ospf_ls_req_timer): New function added.
3285 Set Link State Request retransmission timer.
3286
3287 1999-06-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3288
3289 * ospf_main.c (main): Change default output from ZLOG_SYSLOG to
3290 ZLOG_STDOUT.
3291
3292 * ospfd.c (ospf_init): Register show_ip_ospf_interface_cmd and
3293 show_ip_ospf_neighbor_cmd to VIEW_NODE.
3294
3295 * ospf_lsa.c (ospf_lsa_init): Register show_ip_ospf_database_cmd
3296 and show_ip_ospf_database_type_cmd to VIEW_NODE.
3297
3298 1999-06-25 Toshiaki Takada <takada@zebra.org>
3299
3300 * ospf_packet.c: fix bug of DD making.
3301 fix bug of LS-Update reading.
3302
3303 1999-06-23 Toshiaki Takada <takada@zebra.org>
3304
3305 * ospf_packet.c: All type of packets are changed to use
3306 fifo queue structure.
3307 (ospf_fill_header) function added.
3308
3309 1999-06-22 Toshiaki Takada <takada@zebra.org>
3310
3311 * ospf_packet.c (ospf_packet_new): New function added to handle
3312 sending ospf packet by fifo queue structure.
3313 (ospf_packet_free), (ospf_fifo_new), (ospf_fifo_push),
3314 (ospf_fifo_pop), (ospf_fifo_head), (ospf_fifo_flush),
3315 (ospf_fifo_free): Likewise.
3316
3317 1999-06-21 Toshiaki Takada <takada@zebra.org>
3318
3319 * ospf_nsm.c (ospf_db_desc_timer): function added.
3320 (nsm_timer_set) function added.
3321 * ospf_dump.c (ospf_option_dump): function added.
3322 * ospf_packet.c (ospf_ls_req) (ospf_make_ls_req): function added.
3323
3324 1999-06-20 Toshiaki Takada <takada@zebra.org>
3325
3326 * ospf_lsa.c (ospf_lsa_more_recent): function added.
3327 * ospf_neighbor.h (struct ospf_neighbor): Change member ms_flag
3328 to dd_flags.
3329
3330 1999-06-19 Toshiaki Takada <takada@zebra.org>
3331
3332 * ospf_lsa.c: DEFUN (show_ip_ospf_database) Added.
3333 * ospf_interface.c (if_ospf_cost), (if_ospf_dead_interval),
3334 (if_ospf_hello_interval), (if_ospf_priority),
3335 (if_ospf_retransmit_interval), (if_ospf_transmit_delay)
3336 argument changed from NUMBER to <range>.
3337 DEFUN (if_ospf_network_broadcast),
3338 DEFUN (if_ospf_network_non_broadcast),
3339 DEFUN (if_ospf_network_point_to_multipoint),
3340 DEFUN (if_ospf_network_point_to_point) functions are combined to
3341 DEFUN (if_ospf_network).
3342
3343 1999-06-18 Toshiaki Takada <takada@zebra.org>
3344
3345 * ospf_lsa.c: ospf_add_router_lsa (), ospf_add_network_lsa (),
3346 ospf_lsa_lookup (), ospf_lsa_count () Added.
3347
3348 1999-06-15 Toshiaki Takada <takada@zebra.org>
3349
3350 * DEFUN (ospf_debug_ism), DEFUN (ospf_debug_nsm),
3351 DEFUN (no_ospf_debug_ism), DEFUN (no_ospf_debug_nsm) Added.
3352 `debug ospf ism' command shows debug message.
3353 `debuf ospf nsm' command shows debug message.
3354
3355 1999-06-14 Toshiaki Takada <takada@zebra.org>
3356
3357 * ospf_lsa.c: ospf_network_lsa () Added.
3358 ospf_lsa_checksum () Added.
3359 * DEFUN (ospf_debug_packet), DEFUN (no_ospf_debug_packet) Added.
3360 `debug ospf packet' command shows debug message.
3361
3362 1999-06-13 Toshiaki Takada <takada@zebra.org>
3363
3364 * ospf_packet.h: Remove struct ospf_ls_req {}, ospf_ls_upd {},
3365 ospf_ls_ack {}.
3366
3367 1999-06-11 Toshiaki Takada <takada@zebra.org>
3368
3369 * ospf_dump.c: fix IP packet length treatment.
3370
3371 1999-06-10 Toshiaki Takada <takada@zebra.org>
3372
3373 * ospf_ism.h: Add OSPF_ISM_EVENT_EXECUTE() Macro Added.
3374 * ospf_nsm.h: Add OSPF_NSM_EVENT_EXECUTE() Macro Added.
3375
3376 * ospf_packet.c: ospf_db_desc (), ospf_db_desc_send () Added.
3377 ospf_make_hello (), ospf_make_db_desc () Added.
3378 ospf_db_desc_proc () Added.n
3379
3380 * Database Description packet can be processed.
3381
3382 1999-06-08 Toshiaki Takada <takada@zebra.org>
3383
3384 * ospf_lsa.c: New file.
3385
3386 1999-06-07 Toshiaki Takada <takada@zebra.org>
3387
3388 * ospf_neighbor.c: ospf_fully_adjacent_count () Added.
3389
3390 1999-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
3391
3392 * ospf_spf.[ch]: New file.
3393
3394 1999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3395
3396 * ospf_zebra.c: Changed to use lib/zclient.c routines.
3397
3398 * ospf_zebra.h (zebra_start): Remove struct zebra.
3399
3400 1999-05-29 Kunihiro Ishiguro <kunihiro@zebra.org>
3401
3402 * ospfd.c (ospf_config_write): Add cast (unsigned long int) to
3403 ntohl for sprintf warning.
3404
3405 1999-05-19 Toshiaki Takada <takada@zebra.org>
3406
3407 * ospf_ism.c (ospf_dr_election): Join AllDRouters Multicast group
3408 if interface state changes to DR or BDR.
3409
3410 1999-05-14 Stephen R. van den Berg <srb@cuci.nl>
3411
3412 * ospf_main.c (signal_init): SIGTERM call sigint.
3413 (sigint): Logging more better message.
3414
3415 1999-05-12 Toshiaki Takada <takada@zebra.org>
3416
3417 * ospfd.c: Fix bug of `no router ospf' statement, it will work.
3418
3419 1999-05-11 Toshiaki Takada <takada@zebra.org>
3420
3421 * ospf_neighbor.c: ospf_nbr_free () Added.
3422
3423 1999-05-10 Toshiaki Takada <takada@zebra.org>
3424
3425 * ospfd.h: struct ospf_area { }, struct ospf_network { } Changed.
3426 * Fix bug of `no network' statement, it will work.
3427
3428 1999-05-07 Toshiaki Takada <takada@zebra.org>
3429
3430 * ospf_interface.c, ospf_zebra.c: Fix bug of last interface is not
3431 updated by ospf_if_update ().
3432
3433 1999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
3434
3435 * Makefile.am (noinst_HEADERS): Add ospf_lsa.h for distribution.
3436
3437 1999-04-25 Toshiaki Takada <takada@zebra.org>
3438
3439 * ospf_interface.c: DEFUN (no_if_ospf_cost),
3440 DEFUN (no_if_ospf_dead_interval),
3441 DEFUN (no_if_ospf_hello_interval),
3442 DEFUN (no_if_ospf_priority),
3443 DEFUN (no_if_ospf_retransmit_interval),
3444 DEFUN (no_if_ospf_transmit_delay) Added.
3445
3446 interface_config_write () suppress showing interface
3447 default values.
3448
3449 1999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
3450
3451 * ospf_dump.c (ospf_timer_dump): If thread is NULL return "inactive".
3452
3453 * ospfd.c (ospf_if_update): Fix bug of using ospf_area { } instead
3454 of ospf_network { }. So `router ospf' statement in ospfd.conf
3455 works again.
3456 (ospf_if_update): Call ospf_get_router_id for updating router ID.
3457
3458 1999-04-25 Toshiaki Takada <takada@zebra.org>
3459
3460 * ospf_interface.c: DEFUN (if_ospf_network) deleted.
3461 DEFUN (if_ospf_network_broadcast),
3462 DEFUN (if_ospf_network_non_broadcast),
3463 DEFUN (if_ospf_network_point_to_multipoint),
3464 DEFUN (if_ospf_network_point_to_point),
3465 DEFUN (no_if_ospf_network) Added.
3466
3467 1999-04-23 Toshiaki Takada <takada@zebra.org>
3468
3469 * ospfd.h: struct area { } changed to struct ospf_network { }.
3470 Add struct ospf_area { }.
3471 * ospfd.c: Add ospf_area_lookup_by_area_id (), ospf_network_new (),
3472 and ospf_network_free ().
3473 DEFUN (area_authentication), DEFUN (no_area_authentication) Added.
3474
3475 1999-04-22 Toshiaki Takada <takada@zebra.org>
3476
3477 * ospf_lsa.h: New file.
3478 * ospf_packet.h: LSA related struct definition are moved to
3479 ospf_lsa.h.
3480 * ospf_packet.c: ospf_verify_header () Added.
3481
3482 1999-04-21 Toshiaki Takada <takada@zebra.org>
3483
3484 * ospf_ism.c: ospf_elect_dr () and related function is changed.
3485 DR Election bug fixed.
3486 * ospf_dump.c: ospf_nbr_state_message (), ospf_timer_dump () Added.
3487 * ospfd.c: DEFUN (show_ip_ospf_neighbor) Added.
3488
3489 1999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
3490
3491 * ospf_main.c (main): access_list_init () is added for vty
3492 connection filtering.
3493
3494 1999-04-16 Toshiaki Takada <takada@zebra.org>
3495
3496 * ospfd.c: DEFUN (show_ip_ospf_interface) Added.
3497 * ospf_neighbor.c: ospf_nbr_count () Added.
3498
3499 1999-04-15 Toshiaki Takada <takada@zebra.org>
3500
3501 * ospfd.h: struct ospf { } Changed.
3502 * ospfd.c: ospf_lookup_by_process_id () Deleted.
3503 * ospf_ism.c: ospf_wait_timer () Added. WaitTimer will work.
3504
3505 1999-04-14 Toshiaki Takada <takada@zebra.org>
3506
3507 * ospf_ism.c: ospf_elect_dr () Added.
3508 * ospf_network.c: ospf_if_ipmulticast () Added.
3509
3510 1999-04-11 Toshiaki Takada <takada@zebra.org>
3511
3512 * ospf_interface.c: interface_config_write (),
3513 DEFUN (if_ip_ospf_cost),
3514 DEFUN (if_ip_ospf_dead_interval),
3515 DEFUN (if_ip_ospf_hello_interval),
3516 DEFUN (if_ip_ospf_priority),
3517 DEFUN (if_ip_ospf_retransmit_interval) and
3518 DEFUN (if_ip_ospf_transmit_delay) Added.
3519
3520 1999-04-08 Toshiaki Takada <takada@zebra.org>
3521
3522 * ospf_dump.c: ospf_packet_db_desc_dump () Added.
3523 * ospf_neighbor.c: ospf_nbr_bidirectional () Added.
3524 * ospf_nsm.c: nsm_twoway_received () Added.
3525
3526 1999-04-02 Toshiaki Takada <takada@zebra.org>
3527
3528 * ospf_neighbor.c: New file.
3529 * ospf_neighbor.h: New file.
3530 * ospf_nsm.c: New file.
3531 * ospf_nsm.h: New file.
3532 * ospf_packet.c: Add ospf_make_header (), ospf_hello () and
3533 ospf_hello_send (). Now OSPFd can receive Hello and send Hello.
3534
3535 1999-03-27 Kunihiro Ishiguro <kunihiro@zebra.org>
3536
3537 * ospf_packet.c: Add ospf_recv_packet (). Now OSPF Hello can receive.
3538
3539 1999-03-19 Toshiaki Takada <takada@zebra.org>
3540
3541 * ospf_packet.c: New file.
3542 * ospf_packet.h: New file.
3543 * ospf_network.c: New file.
3544 * ospf_network.h: New file.
3545 * ospfd.h: move OSPF message structure has moved to ospf_packet.h.
3546
3547 1999-03-17 Kunihiro Ishiguro <kunihiro@zebra.org>
3548
3549 * ospf_zebra.c (ospf_zebra_get_interface): Fix for IPv6 interface
3550 address.
3551
3552 * Makefile.am (install-sysconfDATA): Overwrite install-sysconfDATA
3553 for install ospfd.conf.sample as owner read only file.
3554
3555 * ospf_main.c (usage): Change to use ZEBRA_BUG_ADDRESS.
3556
3557 1999-03-15 Toshiaki Takada <takada@zebra.org>
3558
3559 * ospf_ism.c: New file.
3560 * ospf_ism.h: New file.
3561 * ospf_dump.c: New file.
3562 * ospf_dump.h: New file.
3563
3564 * ospfd.h: Add (struct ospf), (struct config_network),
3565 (struct message) structure.
3566
3567 * ospf_interface.c: Add ospf_if_match_network ().
3568 * ospf_interface.h (struct ospf_interface): Change struct members.
3569
3570 * ospfd.c: ospf_lookup_by_process_id (), ospf_network_new (),
3571 DEFUN (network_area): Added.
3572
3573 * ospfd.conf.sample: Change sample configuration.
3574
3575 1999-03-05 Toshiaki Takada <takada@zebra.org>
3576
3577 * ospf_interface.c: New file.
3578 * ospf_interface.h: New file.
3579 * ospf_zebra.h: New file.
3580 * ospf_zebra.c: Add interface function for zebra daemon.
3581 * ospfd.c: New file.
3582
3583 1999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
3584
3585 * Move IPv6 codes and files to ospf6d directory.
3586
3587 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
3588
3589 * syslog support added
3590
3591 1998-12-22 Toshiaki Takada <takada@zebra.org>
3592
3593 * ospfd.h: New file.
3594 * ospf_lsa.h: New file.
3595
3596 1998-12-15 Kunihiro Ishiguro <kunihiro@zebra.org>
3597
3598 * Makefile.am: New file.
3599 * ospf_main.c: New file.
3600