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