blob: c245d09621772358ec2af6b713bfe000b375a9ae [file] [log] [blame]
hassof1082d12005-09-19 04:23:34 +000012005-09-19 Hasso Tepper <hasso at quagga.net>
2
3 * isis_lsp.h: Added backpointer to the area from LSP. For now it's used
4 only in generated topology LSPs.
5 * isisd.[ch]: Cleanup CLI commands related to topology generation and
6 added command to specify base fo dynamic hostname for topology LSPs.
7 * isis_lsp.c: Rewrite almost all code related to generation topology
8 LSPs (top_lsp_refresh(), generate_topology_lsps() and
9 build_topology_lsp_data() functions). Topology is connected to own
10 LSP now (lsp_build_nonpseudo). Commented out lsppdu_realloc
11 functions, it's not used any more hopefully.
12
hasso4eda93a2005-09-18 17:51:02 +0000132005-09-18 Hasso Tepper <hasso at quagga.net>
14
15 * isis_lsp.c (lsp_update): Fix previous commit - manipulate the right
16 database and only if LSP is really in the database (sanity check).
17
hassoa96d8d12005-09-16 14:44:23 +0000182005-09-16 Hasso Tepper <hasso at quagga.net>
19
20 * isis_lsp.c (lsp_update): Remove LSP from database before updating
21 its data and put it back after. Database entry MUST contain at least
22 correct pointers to the sysid to get correct compare results.
23 * isis_lsp.[ch], isis_pdu.c: Pass level to the lsp_update() function.
24
hassoc89c05d2005-09-04 21:36:36 +0000252005-09-05 Hasso Tepper <hasso at quagga.net>
26
27 * *.c: Try to be less verbose by default (without any debug options
28 on).
29 * isis_lsp.c (lsp_build_nonpseudo): Use stream_reset() instead of
30 touching endp directly.
31 * isis_lsp.c (lsp_build_pseudo): Ditto.
32
hassoc0fb2a52005-09-03 16:29:40 +0000332005-09-03 Hasso Tepper <hasso at quagga.net>
34
35 * isis_lsp.c: Yet another regression introduced by stream cleanup.
36 Similar fix to the one commited to lsp_build_nonpseudo() some days
37 ago.
38
hassoaac372f2005-09-01 17:52:33 +0000392005-09-01 Hasso Tepper <hasso at quagga.net>
40
hassobe7d65d2005-09-02 01:38:16 +000041 * isis_lsp.c: Less TLV leaking.
42
432005-09-01 Hasso Tepper <hasso at quagga.net>
44
hasso29e50b22005-09-01 18:18:47 +000045 * random.c, spgrid.[ch]: Fix warnings with hope that I didn't broke
46 anything. These floats to longs and vice versa casts are starnge
47 indeed.
48 * isis_pdu.c: As we don't use %z for size_t for now because we support
49 older compilers, cast them to unsigned long.
50
512005-09-01 Hasso Tepper <hasso at quagga.net>
52
hassoaac372f2005-09-01 17:52:33 +000053 * isis_adjacency.c, isis_lsp.c, isisd.c: Replace XMALLOC && memset
54 with XCALLOC.
55 * isis_lsp.c (lsp_build_pseudo): Fix adding ES neighbour.
56 * isis_tlv.c: More compact free_tlvs() function.
57 * isis_lsp.c (lsp_build_nonpseudo) : Try to fix one more regression
hasso29e50b22005-09-01 18:18:47 +000058 introduced by stream cleanup. Seek endp to the right place before
hassoaac372f2005-09-01 17:52:33 +000059 starting to fill stream with TLVs.
60
hasso56b24f42005-08-16 20:58:12 +0000612005-08-16 Hasso Tepper <hasso at quagga.net>
62
63 * isis_misc.[ch]: Fix some warnings, making some strings const.
64
hasso6204c7f2005-08-10 15:08:21 +0000652005-08-10 Hasso Tepper <hasso at quagga.net>
66
67 * topology/spgrid.c: MAXLONG is deprecated, use LONG_MAX instead.
68 values.h, where MAXLONG is defined, is deprecated as well.
69
hassoe7fe02f2005-05-26 11:30:38 +0000702005-05-26 Yossi Boaron <Yossi.Boaron@veraznetworks.com>
71
72 * isis_dr.c: Fix copy&paste error in isis_dr_resign().
73
paul92c9f222005-05-25 12:21:13 +0000742005-05-25 Paul Jakma <paul@dishone.st>
75
76 * isisd.c: (show_isis_generated_topology) change to _RO version
77 of list macro. remove the extra listnode variable. one of the
78 macros had had incorrect number of arguments.
79
paul15935e92005-05-03 09:27:23 +0000802005-05-03 Paul Jakma <paul@dishone.st>
81
82 * (general) More cleaning up of stream abuse, isisd should be
83 back to previous functionality. Replace various XMALLOC+memset's
84 with XCALLOC
85 * isis_tlv.c: (tlv_add_padding) use stream_put to clear the stream
86 rather than forward endp, as isisd reuses streams.
87 * isis_pdu.c: (process_lsp) cleanup direct reference to stream endp
88 (send_lsp) manual copy of a stream cleaned up to use stream_copy.
89 * isis_network.c: (isis_recv_pdu_bcast) replace direct memcpy with
90 stream_write
91 (isis_recv_pdu_p2p) replace recvfrom directly into stream with
92 stream_recvfrom. Remove dangerous and now unneeded manual update
93 of endp.
94 (isis_recv_pdu_bcast / non-GNU_LINUX) Replace direct memcpy with
95 stream_write.
96 (isis_recv_pdu_p2p) replace read direct into stream with
97 stream_read_try, and hence remove the manual update of endp.
98 * isis_lsp.c: (lsp_update_data) manual stream dup replaced with
99 stream_dup.
100 (lsppdu_realloc) mempcy into stream data replaced with stream_put.
101 (lsp_build_nonpseudo) remove mysterious stream_forward_endp's -
102 which were originally stream_set_putp - shouldn't be needed
103 now that all the manual fiddling of private stream data has been
104 corrected.
105 (build_topology_lsp_data) remove unneeded twiddling of endp,
106 appears to be due to lsppdu_realloc(), but it appears to sort of
107 do the right thing wrt streams.
108
paulf482ed42005-04-15 22:12:51 +00001092005-04-15 Paul Jakma <paul@dishone.st>
110
111 * topology/Makefile.am: random.c is a source of libtopology, so list
112 it.
113
hasso5d6e2692005-04-12 14:48:19 +00001142005-04-12 Hasso Tepper <hasso at quagga.net>
115
116 * isis_adjacency.c: Fix typo introduced with listloop cleanup.
117
ajs634f9ea2005-04-11 15:51:40 +00001182005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
119
120 * isis_zebra.h (isis_zebra_finish): Remove declaration of unused
121 function.
122 * isis_zebra.c (isis_zebra_route_add_ipv4): Call zclient_send_message
123 to send the message to zebra instead of calling writen directly, since
124 zclient_send_message understands non-blocking I/O and will manage
125 the buffer queue appropriately.
126 (isis_zebra_finish): Remove unused function, particularly since
127 the zclient_free function has been removed.
128
paula8f03df2005-04-10 15:58:10 +00001292005-04-10 Paul Jakma <paul@dishone.st>
130
131 * Makefile.am: topology should not be a conditional SUBDIR,
132 otherwise make dist breaks.
133 * topology/Makefile.am: remove EXTRA_DIST of files which dont
134 exist in that directory, broke make dist.
135 * isisd.c: (show_isis_generated_topology_cmd) convert LIST_LOOP
136 * isis_lsp.c: (generate_topology_lsps) ditto
137 (build_topology_lsp_data) ditto
138
ajsbd88bf42005-04-02 23:09:52 +00001392005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
140
141 * isis_zebra.c: (isis_zebra_if_del) Must use if_lookup_by_name_len.
142
hassof695b012005-04-02 19:03:39 +00001432005-04-02 Hasso Tepper <hasso at quagga.net>
144
145 * Makefile.am: Variables to handle conditonal compiling of topology
146 generator code.
147 * isis_lsp.c: lsppdu_realloc() is used by topology generator.
148 * isisd.c: Rename show_isis_topology_cmd to not conflict the one in
149 the isis_spf.c.
150 * isisd.h: Remove TOPOLOGY_GENERATE define, it will be defined in
151 toplevel config.h if topology generator is enabled.
152 * topology/Makefile.am: Handle the libtoolized Quagga libraries.
153
ajsd2fc8892005-04-02 18:38:43 +00001542005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
155
156 * isis_zebra.c: (isis_zebra_if_del) Call if_delete_retain instead
157 of if_delete, since it is generally not safe to remove interface
158 structures. After deleting, set ifp->ifindex to IFINDEX_INTERNAL.
159 (zebra_interface_if_lookup) Tighten up code.
160
hassoc3d26c72005-03-07 08:54:41 +00001612005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
162
163 * isis_spf.c: host.name might be NULL.
164
ajscdb6ee92005-02-23 15:48:32 +00001652005-02-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
166
167 * isis_main.c: (reload) Call vty_reset instead of vty_finish (both
168 functions were exactly the same).
169
hasso92365882005-01-18 13:53:33 +00001702005-01-18 Hasso Tepper <hasso at quagga.net>
171
172 * *.c: Changed many functions to static. Some commented out
173 functions and some tiny related fixes. No functional changes.
174
hasso1cbc5622005-01-01 10:29:51 +00001752005-01-01 Hasso Tepper <hasso at quagga.net>
176
177 * isis_common.h, isisd.c, isis_pdu.c: Implement authentication in
178 SNPs correctly - ie. make it conditional like it is in IOS.
179
hasso46606872004-12-29 19:34:22 +00001802004-12-29 Hasso Tepper <hasso at quagga.net>
181
182 * isis_circuit.c, isis_csm.c, isis_zebra.c: Don't crash during
183 interface up/down events. I'm not sure whether logic is correct
hassob30c5e62004-12-29 20:06:41 +0000184 though. Needs rethink anyway, seems. Replace if_is_up() with
185 if_is_operative() and add some more.
hasso46606872004-12-29 19:34:22 +0000186
hasso529d65b2004-12-24 00:14:50 +00001872004-12-24 Hasso Tepper <hasso at quagga.net>
188
189 * *.c: zlog_* cleanup. Mostly changed level of debug messages to
190 LOG_DEBUG.
191
ajs274a4a42004-12-07 15:39:31 +00001922004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
193
194 * isis_main.c: (main) The 2nd argument to openzlog has been removed.
195
ajs887c44a2004-12-03 16:36:46 +00001962004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
197
198 * isis_main.c: (sigint,sigterm) Use zlog_notice for termination message.
199 (terminate) This function should be static, not global.
200 (main) Use zlog_notice for startup announcement, and remove
201 ifdef ZEBRA_VERSION.
202
hassoc0652302004-11-25 19:33:48 +00002032004-11-25 Hasso Tepper <hasso at quagga.net>
204
205 * isis_main.c: Make group to run as configurable.
206
ajscee3df12004-11-24 17:14:49 +00002072004-11-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
208
209 * dict.c: Include "zassert.h" instead of <assert.h>.
210
hassoc729c652004-10-13 08:36:47 +00002112004-10-13 Hasso Tepper <hasso at quagga.net>
212
213 * isis_main.c: Initialize access list. Although we haven't route
214 filtering yet, it's needed to limit access to vty.
215
hassof90a5f62004-10-11 13:11:56 +00002162004-10-11 Hasso Tepper <hasso at quagga.net>
217
218 * isis_routemap.c, isisd.c: Make more strings const.
219 * isisd.h: Make min_bcast_mtu unsigned.
220
hasso1cd80842004-10-07 20:07:40 +00002212004-10-07 Hasso Tepper <hasso at quagga.net>
222
223 * *.[c|h]: Fix warnings: make strings const, signed -> unsigned,
224 remove or comment out unused variables etc.
225 * isis_lsp.c: Clean lsp_print_detail() a bit, add TE TLV's and
226 removed old code.
227 * isis_circuit.c: Remove old ip/ipv6 address commands code.
228
hasso18a6dce2004-10-03 18:18:34 +00002292004-10-03 Hasso Tepper <hasso at quagga.net>
230
231 * isis_zebra.c: Read router id related messages from zebra daemon.
232 * isis_lsp.c: Use router id in IP address TLV in LSP's. It's how Junos
233 routers behave as well.
234 * isis_tlv.h: Export add_tlv() function.
235
hassoe082ac12004-09-27 18:13:57 +00002362004-09-27 Hasso Tepper <hasso at quagga.net>
237
238 * isis_pdu.c: Fix accessing NULL found by valgrind.
239
hassoc83dcd32004-09-26 15:42:44 +00002402004-09-26 Hasso Tepper <hasso at quagga.net>
241
hasso0dae85e2004-09-26 19:53:47 +0000242 * isis_circuit.c: Fix previous commit. Don't schedule LSP regeneration
243 and don't crash if circuit->area == NULL.
244
2452004-09-26 Hasso Tepper <hasso at quagga.net>
246
hassof7c43dc2004-09-26 16:24:14 +0000247 * *.[c|h]: Fix a lot of compiler warnings.
248 * isis_events.c: Remove isis_event_int_reach_change() function, as it
249 doesn't make sense for now. Call lsp_regenerate_schedule() directly
250 where needed.
251
2522004-09-26 Hasso Tepper <hasso at quagga.net>
253
hassoc83dcd32004-09-26 15:42:44 +0000254 * isis_lsp.h: Cast-as-lvalue extension is deprecated and is not
255 accpted any more in gcc-4.0.
256
hasso73d1aea2004-09-24 10:45:28 +00002572004-09-24 Hasso Tepper <hasso at quagga.net>
258
259 * isisd.c: thread_master *master is already defined in isis_main.c.
260 * isis_misc.[c|h], isis_lsp.[c|h]: Move static variables out of
261 header files.
262
hasso52dc7ee2004-09-23 19:18:23 +00002632004-09-23 Hasso Tepper <hasso at quagga.net>
264
265 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
266
hassod9c427b2004-09-21 14:23:01 +00002672004-09-21 LIU Xin <lx at ns.6test.edu.cn>
268
269 * isis_dr.c: Update dis_record of adjacencies when isisd becomes DIS.
270
hasso67851572004-09-21 14:17:04 +00002712004-09-21 Hasso Tepper <hasso at quagga.net>
272
273 * isis_lsp.c: Put IPv4 prefixes into reachability TLVs, not
274 addresses. Make IPv6 work with other prefix lengths than % 8 == 0.
275
hassoa211d652004-09-20 14:55:29 +00002762004-09-20 LIU Xin <lx at ns.6test.edu.cn>
277
278 * isis_dr.c, isis_events.c: Remove hello multiplier usage while
279 scheduling DIS election.
280 * isis_pdu.c: Don't call isis_event_dis_status_change() whenever
281 l[1|2]_desig_is is different from hdr.lan_id.
282
hasso12a5cae2004-09-19 19:39:26 +00002832004-09-19 Hasso Tepper <hasso at quagga.net>
284
285 * isis_spf.h: Renamed t_spf_periodic to t_spf as it's not used to
286 store pointer to periodic SPF thread only.
287 * isis_spf.c: Cleaned up SPF threads schedule code. IPv4 and IPv6
288 threads are independant now. Used macros wherever possible.
289 * isis_lsp.c: Fixed bug in scheduling LSP regeneration.
290
hassobf731012004-09-17 07:59:57 +00002912004-09-17 LIU Xin <lx at ns.6test.edu.cn>
292
293 * isis_circuit.c: According to RFC1142 the first DIS election will be
294 started 2 * HelloTimer seconds after the initialization.
295
hasso53c997c2004-09-15 16:21:59 +00002962004-09-15 Laurent Rabret <laurent.rabret at francetelecom.com>
297
298 * isis_pdu.c: Fix error in same subnet comparison. The previous
299 algorithm only worked when netmask % 8 == 0.
300 * isisd.c: Show domain and area passwords in configuration.
301 * iso_checksum.c: Fixed error in the checksum calculation. The previous
302 algorithm could produce a bad checksum if the 2 complement's vs 1
303 complement's adaptation was required.
304 * isis_pdu.c: Authentication in LSPs does not mean authentication in
305 SNPs.
306 * isis_tlv.c: Fix errors in password checking.
307
hassof891f442004-09-14 13:54:30 +00003082004-09-14 Hasso Tepper <hasso at quagga.net>
309
310 * isis_circuit.c: Mostly cosmetical changes in isis_circuit_add_addr()
311 and add calls to isis_event_int_reach_change(). Implement
312 isis_circuit_del_addr(). Cancel t_run_dr threads is circuit goes
313 down.
314 * isis_events.c: Implement isis_event_int_reach_change(). I'm not sure
315 yet how this stuff should work, but it allows be to start debug
316 threads which act very weird at the moment.
317 * isis_tlv.c: Much less verbose by default.
318 * isis_zebra.c: Added extreme debugging output. Call connected_free()
319 after isis_circuit_del_addr, not before.
320 * isisd.conf.sample: Update it a little bit. 10000 seconds hello time
321 was certainly too much IMHO.
322
hasso64a7afd2004-09-14 11:05:13 +00003232004-09-14 LIU Xin <lx at ns.6test.edu.cn>
324
325 * isis_pdu.c: Update l1_desig_is only if neighbor really is DIS.
326
hasso13c48f72004-09-10 21:19:13 +00003272004-09-10 LIU Xin <lx at ns.6test.edu.cn>
328
329 * isis_pdu.c: Goto out only if no adjacency exist.
330 * isis_circuit.c: Don't crash while executing "isis circuit-type"
331 command if circuit exists, but circuit->area is still NULL.
332 * isis_lsp.c: Set pointers to thread to NULL before initiating new
333 thread in lsp_l1_refresh_pseudo(), lsp_l2_refresh_pseudo() and
334 lsp_tick() functions.
335
hasso00995cf2004-05-19 13:43:50 +00003362004-05-19 Laurent Rabret <laurent.rabret at francetelecom.com>
337
338 * isis_constants.h: change the ISIS Hello interval from 1 to 10 (cisco's
339 default value).
340 * isis_main.c: suppress a bad "#if 0 #endif" block for isis to be
341 activated on startup.
342 * isis_tlv.[c|h]: LSP recognition of the ISIS Graceful Restart LSP (not
343 implemented yet).
344
hasso37da8c02004-05-19 11:38:40 +00003452004-05-19 Rivo Nurges <rix at estpak.ee>
346
347 * *.c: Removing many useless net/ethernet.h includes and some tiny
348 fixes to make it compile on NetBSD and OpenBSD.
349
paul0a589352004-05-08 11:48:26 +00003502004-05-08 Paul Jakma <paul@dishone.st>
351
352 * isis_zebra.c: Sync with zclient changes.
353
hassod70f99e2004-02-11 20:26:31 +00003542004-02-11 Hasso Tepper <hasso@estpak.ee>
355 * many *.c files: Replace thread_add_xxx() and thread_cancel() with
356 THREAD_XXX_ON and THREAD_XXX_OFF macros.
357
hasso54301ce2004-01-27 10:07:34 +00003582004-01-27 Hasso Tepper <hasso@estpak.ee>
359 * isis_circuit.c: Commented out "(no) ip address" commands so it doesn't
360 confuse vtysh.
361
hassoefc1e722003-12-31 20:33:23 +00003622003-12-31 Hasso Tepper <hasso@estpak.ee>
363 * isis_dr.c: Fix some threads related bugs.
364
hasso2097cd82003-12-23 11:51:08 +00003652003-12-23 Hasso Tepper <hasso@estpak.ee>
366 Some fixes done by me and Cougar <cougar@random.ee>.
367 * isis_adjacency.c: Two bugfixes by Cougar:
368 After down state neigbour was deleted but not removed from neighbours list.
369 Don't show random expire time during neighbour initialisation.
370 * isis_circuit.c: Don't show interface addresses in config by Cougar.
371 * isis_constants.h, isis_misc.c: Show other well-known NLPID names as well
372 by Cougar.
373 * isisd.c: Two tiny CLI fixes by me.
374 * isis_lsp.c: Bugfix in lsp_print_detail() by Cougar.
375 Show IPv4 external and IPv6 TLV's in "show isis database detail" by me.
376 * isis_misc.c: Net address format fix by Cougar.
377 * isis_spf.c: Dead loop fix in isis_spf_preload_tent() by Cougar
378 * isis_zebra.c: Ignore distance when adding route to zebra for now by me.
379 * isis_tlv.c: Parse external IPv4 TLV's correctly by me.
380
jardineb5d44e2003-12-23 08:09:43 +0000381Version 0.0.7 to 0.0.8
382======================
383
384o A bug in handling of other ISs fragments fixed
385o hello interval now specified in *seconds*
386o replaced the adj->ipv[46]_addr tables with linked lists
387
388Version 0.0.6 to 0.0.7 (Oct 29 2002)
389======================
390
391o changed to zebra-0.93b
392o fixed a seg in SPF
393o handling/generation of LSP fragments
394o domain/area/circuit password
395
396Version 0.0.5 to 0.0.6 (Jul 4 2002)
397======================
398
399o lots of changes to SPF
400 - runs the SPF for IPv4 and IPv6 separately
401 - a number of bugs fixed
402 - simplified the implementation
403 - "7.2.7 Removal of excess paths" implemented
404o ported to freebsd (tested in 4.5-STABLE and 4.6-STABLE)
405o moved to zebra-0.93-pre2
406o "show isis topology" command added
407o "show (ip|ipv6) route isis commands added to zebra
408o a number of fixes and additions (e.g. checksum calculation and DIS state
409change event) by BeomSeok Gwak added
410
411Version 0.0.4 to 0.0.5 (Apr 26 2002)
412======================
413
414o changed to zebra-0.93-pre1
415o number of memory leaks + small bugs fixed
416o a bug related to processing of neigbors when installing routes fixed
417
418Version 0.0.3 to 0.0.4 (Feb 27 2002)
419======================
420
421o initial version of SPT algorithm
422o installing routes though zebrad
423o isis debug commands
424o work on IS-IS events (e.g. circuit state change)
425
426Version 0.0.2 to 0.0.3 (Jan 17 2002)
427======================
428
429o LSP handling improved
430o generation of pseudonode LSPs
431o DR election enhanced
432o support for p2p interfaces
433o support for topology simulation
434o more detailed output for show commands
435
436Version 0.0.1 to 0.0.2 (Dec 13 2001)
437======================
438
439o circuit state machine (isis_csm.[ch]) added
440o lot of work on LSP generation
441o ISO checksum
442o uses DGRAM sockets instead of RAW
443o gets IP(v6) addresses from zebra
444o debug can be controlled with "debug isis" command
445o read support for TE tlvs
446o work started on p2p interfaces
447o work started on isis events
448
449