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