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