summaryrefslogtreecommitdiffstats
path: root/isisd/isis_circuit.c
Commit message (Collapse)AuthorAgeFilesLines
* isisd: implement MD5 circuit authenticationFritz Reichmann2012-02-141-5/+53
| | | | | | * Replace command "isis passwd" with "isis passwd {clear|md5}" * Verify HMAC MD5 on ISIS Hello PDUs * Add HMAC MD5 authentication to md5.h/md5.c from RFC2104
* isisd: fix crash on "no router isis" (BZ#536)Fritz Reichmann2011-09-271-0/+12
| | | | | | | | | | | | | | | | | | The crash is due to threads accessing data that gets destroyed during the removal of the configuration. * isis_circuit.c: Destroy adjacencies to stop adjacency expiry thread. Stop PSNP threads. * isisd.c: Change state of circuit back to INIT and reassign the circuit structure to isis->init_circ_list rather than destroying the circuit data structure. Stop SPF threads. Stop LSP generation threads. * isisd.h: Add pointers to LSP threads into area structure in order to stop them in isisd.c * isis_lsp.c: Store pointer to LSP thread in area structure. * isis_pdu.c: Stop PDU generation for a circuit with a removed area. * isis_pfpacket.c: Stop processing received PDUs for a circuit with a removed area.
* [cleanup] Make command nodes staticStephen Hemminger2009-06-121-1/+1
| | | | | The cmd_nodes used to configure vty, can mostly be static so (basic data hiding 101).
* [isisd] Add support for Solaris DLPIPaul Jakma2007-08-071-0/+8
| | | | | | | | | | 2007-08-07 James Carlson <james.d.carlson@sun.com> * configure.ac: Added support for separate link-layer access mechanisms in isisd. * isis_network.c: split up into isis_bpf.c, isis_dlpi.c, and isis_pfpacket.c, selected by autoconf, and added DLPI support. * (general) Fixed to allow compilation and use on Solaris.
* [autoconf] bugs 162,303,178: Fix 'present but can not be compiled' warningsPaul Jakma2007-05-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 2007-05-09 Paul Jakma <paul.jakma@sun.com> * configure.ac: sys/conf.h depends on sys/param.h, at least on FBSD 6.2. (bug #363) Should check for in_pktinfo for IRDP 2006-05-27 Paul Jakma <paul.jakma@sun.com> * configure.ac: General cleanup of header and type checks, introducing an internal define, QUAGGA_INCLUDES, to build up a list of stuff to include so as to avoid 'present but cant be compiled' warnings. Misc additional checks of things missing according to autoscan. Add LIBM, for bgpd's use of libm, so as to avoid burdening LIBS, and all the binaries, with libm linkage. Remove the bad practice of using m4 changequote(), just quote the []'s in the case statements properly. This should fix bugs 162, 303 and 178. * */*.{c,h}: Update all HAVE_* to the standard autoconf namespaced HAVE_* defines. I.e. HAVE_SA_LEN -> HAVE_STRUCT_SOCKADDR_SA_LEN, * bgpd/Makefile.am: Add LIBM to bgpd's LDADD, for pow().
* [isisd] Fix compiler warnings and allow v4-only compilationPaul Jakma2006-12-081-2/+10
| | | | | | | | | | | 2006-12-08 Hannes Gredler <hannes@gredler.at> * isis_adjacency.c: (isis_new_adj) Allow NULL snpa argument. * isis_pdu.c: (various) Update calls to isis_new_adj() to pass NULL and use default. * (general) Add forward declarations where required. Fix up const char *'s. Allow V4-only compilation.
* [isisd] remove includes of common system headers.paul2005-11-201-3/+0
| | | | | | | | | | | 2005-11-20 Paul Jakma <paul.jakma@sun.com> * (general) remove includes of very common system headers, these are already picked up by zebra.h. Further, including them before zebra.h messes up all our lovely (sarcasm) autoconf'd detecting of platform specific things. Recent addition of stdint.h to configure.ac and zebra.h appears particularly to throw up this problem.
* * *.c: Massive cleanup of lists loops. Stop abusing ALL_LIST_ELEMENTS.hasso2005-09-281-8/+6
| | | | | | Replace XMALLOC + memset with XCALLOC. Fix some indentation issues. The only really significant change is simplified isis_delete_adj function in isis_adjacency.c.
* * isis_circuit.[ch]: Some preliminary support for specifying widehasso2005-09-261-10/+18
| | | | circuit metrics. Needs more thinking though, but should do for now.
* * *.c: Try to be less verbose by default (without any debug optionshasso2005-09-041-3/+7
| | | | | | | on). * isis_lsp.c (lsp_build_nonpseudo): Use stream_reset() instead of touching endp directly. * isis_lsp.c (lsp_build_pseudo): Ditto.
* 2005-04-07 Paul Jakma <paul.jakma@sun.com>quagga_post_listloop_cleanuppaul2005-04-071-32/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * (global): Fix up list loops to match changes in lib/linklist, and some basic auditing of usage. * configure.ac: define QUAGGA_NO_DEPRECATED_INTERFACES * HACKING: Add notes about deprecating interfaces and commands. * lib/linklist.h: Add usage comments. Rename getdata macro to listgetdata. Rename nextnode to listnextnode and fix its odd behaviour to be less dangerous. Make listgetdata macro assert node is not null, NULL list entries should be bug condition. ALL_LIST_ELEMENTS, new macro, forward-referencing macro for use with for loop, Suggested by Jim Carlson of Sun. Add ALL_LIST_ELEMENTS_RO for cases which obviously do not need the "safety" of previous macro. LISTNODE_ADD and DELETE macros renamed to ATTACH, DETACH, to distinguish from the similarly named functions, and reflect their effect better. Add a QUAGGA_NO_DEPRECATED_INTERFACES define guarded section with the old defines which were modified above, for backwards compatibility - guarded to prevent Quagga using it.. * lib/linklist.c: fix up for linklist.h changes. * ospf6d/ospf6_abr.c: (ospf6_abr_examin_brouter) change to a single scan of the area list, rather than scanning all areas first for INTER_ROUTER and then again for INTER_NETWORK. According to 16.2, the scan should be area specific anyway, and further ospf6d does not seem to implement 16.3 anyway.
* Really fix crashes now. Revert isis_circuit_update_params() part of previoushasso2004-12-291-6/+1
| | | | commit. Replace all if_is_up() calls with if_is_operative().
* Don't crash during interface up/down events.hasso2004-12-291-3/+10
|
* zlog_* cleanup. Level of debug messages to LOG_DEBUG.hasso2004-12-241-3/+3
|
* No warnings here any more.hasso2004-10-071-255/+0
|
* Brown paperbag please. Fix previous commit.hasso2004-09-261-5/+8
|
* Compiler warnings fixes.hasso2004-09-261-8/+8
|
* Remove usage of evil list and listnode typedefs.hasso2004-09-231-3/+3
|
* Another great little fix from LIU Xin.hasso2004-09-171-6/+2
|
* Isisd is now able to remove addresses from circuit and trigger LSP updateshasso2004-09-141-26/+104
| | | | if it's done. Some random fixes as well and update to sample configuration.
* Fixes from LIU Xin.hasso2004-09-101-0/+4
|
* Indentation only. No any functional changes.hasso2004-09-101-856/+982
|
* Make it compile in NetBSD and OpenBSD.hasso2004-05-191-0/+4
|
* Threads usage cleanup. Still at least one bug to go.hasso2004-02-111-27/+15
|
* Fixing previous commit.hasso2004-01-271-2/+2
|
* Make "(no) ip address x.x.x.x/x" commands work again in vtysh.hasso2004-01-271-0/+2
|
* Some fixes to isisd done by me and Cougar in the spring of 2003. Seehasso2003-12-231-29/+1
| | | | changelog for details.
* Initial revisionjardin2003-12-231-0/+2200