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