summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-09-19Rework of SPF threads schedule logic. I'm not 100% sure whether it's righthasso
thing to do to have completely separate threads for IPv4 and IPv6 SPF though. But it works and it's now possible to have both IPv4 and IPv6 enabled in interface. One bug fixed in LSP regeneration scheduling as well.
2004-09-172004-09-17 Paul Jakma <paul@dishone.st>paul
* ripngd/ripngd.c: move setsockopt_so_recvbuf to lib. * lib/sockopt.{c,h}: Add setsockopt_so_recvbuf, for ripd and ripngd. * ripd/ripd.c: set receive buffer to a decent size, some systems have low defaults. Problem noted and fix suggested by Stephan Schweizer in [zebra 20967].
2004-09-17Another great little fix from LIU Xin.hasso
2004-09-172004-09-17 Paul Jakma <paul@dishone.st>paul
* vtysh.c: (vtysh_client_execute) trailling NULLs can be arbitrarily split across reads, dont get confused by this and block forever.
2004-09-15There is several new RFCs ...hasso
2004-09-15Second part of fixes from Laurent Rabret.hasso
2004-09-15There is no such option any more.hasso
2004-09-14Isisd is now able to remove addresses from circuit and trigger LSP updateshasso
if it's done. Some random fixes as well and update to sample configuration.
2004-09-14isis_pdu.c: Update l1_desig_is only if neighbor really is DIS.hasso
2004-09-13Disable isisd compiling by default. It compiles only in Linux and FreeBSDhasso
and works only in Linux ;(.
2004-09-13Merge svn revisions 997 and 1000 from Zebra cvs repository.hasso
2004-09-132004-09-11 Paul Jakma <paul@dishone.st>paul
* doc/quagga.texi: Update copyright. Contents should be at beginning of docs... * redhat/quagga.spec.in: wee keep_build define, to keep build dir.
2004-09-132004-09-13 Paul Jakma <paul@dishone.st>paul
* Makefile.am: remove zebra/irdp.c from list - dead. * extract.pl.in: Substitute in the autoconf srcdir/builddir paths for includes to cpp.
2004-09-132004-09-13 Paul Jakma <paul@dishone.st>paul
* configure.ac: capitalise the package name. autoconf lowercases it for PACKAGE_TARNAME. * lib/command.c: Update the copyright string in the default motd.
2004-09-132004-09-13 Jose Luis Rubio <jrubio@dit.upm.es>paul
(at Technical University of Madrid as part of Euro6ix Project) Enhanced Route Server functionality and Route-Maps: * bgpd/bgpd.h: Modified 'struct peer' and 'struct bgp_filter' to support rs-clients. A 'struct bgp_table *rib' has been added to the first (to mantain a separated RIB for each rs-client) and two new route-maps have been added to the last (for import/export policies). Added the following #defines: RMAP_{IN|OUT|IMPORT|EXPORT|MAX}, PEER_RMAP_TYPE_{IMPORT|EXPORT} and BGP_CLEAR_SOFT_RSCLIENT. * bgpd/bgpd.c: Modified the functions that create/delete/etc peers in order to consider the new fields included in 'struct peer' for supporting rs-clients, i.e. the import/export route-maps and the 'struct bgp_table'. * bgpd/bgp_route.{ch}: Modified several functions related with receiving/sending announces in order to support the new Route Server capabilities. Function 'bgp_process' has been reorganized, creating an auxiliar function for best path selection ('bgp_best_selection'). Modified 'bgp_show' and 'bgp_show_route' for displaying information about any RIB (and not only the main bgp RIB). Added commands for displaying information about RS-clients RIBs: 'show bgp rsclient (A.B.C.D|X:X::X:X)', 'show bgp rsclient (A.B.C.D|X:X::X:X) X:X::X:X/M', etc * bgpd/bgp_table.{ch}: The structure 'struct bgp_table' now has two new fields: type (which can take the values BGP_TABLE_{MAIN|RSCLIENT}) and 'void *owner' which points to 'struct bgp' or 'struct peer' which owns the table. When creating a new bgp_table by default 'type=BGP_TABLE_MAIN' is set. * bgpd/bgp_vty.c: The commands 'neighbor ... route-server-client' and 'no neighbor ... route-server-client' now not only set/unset the flag PEER_FLAG_RSERVER_CLIENT, but they create/destroy the 'struct bgp_table' of the peer. Special actions are taken for peer_groups. Command 'neighbor ... route-map WORD (in|out)' now also supports two new kinds of route-map: 'import' and 'export'. Added commands 'clear bgp * rsclient', etc. These commands allow a new kind of soft_reconfig which affects only the RIB of the specified RS-client. Added commands 'show bgp rsclient summary', etc which display a summary of the rs-clients configured for the corresponding address family. * bgpd/bgp_routemap.c: A new match statement is available, 'match peer (A.B.C.D|X:X::X:X)'. This statement can only be used in import/export route-maps, and it matches when the peer who announces (when used in an import route-map) or is going to receive (when used in an export route-map) the route is the same than the one specified in the statement. For peer-groups the statement matches if the specified peer is member of the peer-group. A special version of the command, 'match peer local', matches with routes originated by the Route Server (defined with 'network ...', redistributed routes and default-originate). * lib/routemap.{ch}: Added a new clause 'call NAME' for use in route-maps. It jumps into the specified route-map and when it returns the first route-map ends if the called RM returns DENY_MATCH, or continues in other case.
2004-09-132004-09-13 Paul Jakma <paul@dishone.st>paul
* Makefile.am: extract.pl isnt in srcdir, it's always in the builddir. * extract.pl.in: match on end of filenames, filename could contain various preamble due to out of tree builds.
2004-09-13autoreconf doesnt like top_srcdir var. update-autotools needs to -I m4 toopaul
to ensure it's pulled in. (snapshot host depends on that script).
2004-09-122004-09-12 Paul Jakma <paul@dishone.st>paul
* ospf_packet.c: Fix bugzilla #107 (ospf_packet_max) get rid of the magic 88 constant (ospf_swab_iph_ton) new function. set ip header to network order, taking BSDisms into account. (ospf_swab_iph_toh) the inverse. (ospf_write) Add support for IP fragmentation, will only work on linux though, other kernels make it impossible. get rid of the magic 4 constant. (ospf_make_ls_upd) Bound check to end of stream, not to interface mtu. (ospf_ls_upd_packet_new) New function, allocate upd packet taking oversized LSAs into account. (ospf_ls_upd_queue_send) use ospf_ls_upd_packet_new to allocate, rather than statically allocating mtu sized packet buffer, which actually was wrong - it didnt take ip header into account, which should not be included in packet buffer. (ospf_ls_upd_send_queue_event) minor tweaks and remove TODO comment.
2004-09-122004-09-11 Paul Jakma <paul@dishone.st>paul
* ospfd.texi: OSPF MD5 auth requires stable time.
2004-09-11Cosmetical fixes in vty help.hasso
2004-09-10Fixes from LIU Xin.hasso
2004-09-10Indentation only. No any functional changes.hasso
2004-09-10Add IS-IS info into array.hasso
2004-09-05Fix aclocal m4/ include for out-of-tree builds - all src relative pathspaul
need to be prefixed with $(top_srcdir)
2004-09-03Merge svn revision 981 from Zebra cvs.hasso
2004-09-02Merge svn revisions 978-979 from Zebra CVS.hasso
2004-09-01Merge svn revision 975 from Zebra repository.hasso
2004-09-01Indentation consensus.hasso
2004-09-01Ignore generated files.hasso
2004-09-01Ignore *.sh.hasso
2004-08-312004-08-31 Greg Troxel <gdt@poblano.ir.bbn.com>gdt
* Makefile.am (EXTRA_DIST): New - just has EXTRA_DIST. (Using a directory in EXTRA_DIST in the parent was causing 'make dist' to fail.) (Now m4/Makefile* is first-class and included from top level.)
2004-08-312004-08-31 Greg Troxel <gdt@poblano.ir.bbn.com>gdt
* Rename scripts to *.sh.in, and use autoconf-style substitution for prefix and localstatedir.
2004-08-31Assorted changes from work at BBN. Most are minor, and several are ingdt
support of more significant changes not in this commit. The last item in the ChangeLog below may be needed for p2mp to work correctly. 2004-08-31 David Wiggins <dwiggins@bbn.com> * hash.c (hash_iterate): Save next pointer before calling procedure, so that iteration works even if the called procedure deletes the hash backet. * linklist.h (listtail): new macro, not yet used. 2004-08-31 David Wiggins <dwiggins@bbn.com> * ospf_spf.c (ospf_spf_calculate): Many more comments and debug print statements. New function ospf_vertex_dump used in debugging. 2004-08-31 David Wiggins <dwiggins@bbn.com> * ospf_spf.h (struct vertex): Comments for flags and structure members. 2004-08-31 David Wiggins <dwiggins@bbn.com> * ospf_route.c: When finding an alternate route, log cost as well. 2004-08-31 David Wiggins <dwiggins@bbn.com> * ospf_interface.c (ospf_lookup_if_params): Initialize af in struct prefix allocated on stack. 2004-08-31 David Wiggins <dwiggins@bbn.com> * ospf_packet.c (ospf_ls_ack_send_delayed): In p2mp mode, send acks to AllSPFRouters, rather than All-DR.
2004-08-31remove zebra/irdp.c because it is no longer in the source tree.gdt
2004-08-31Commit my hack (yes, I still call it hack) - command line switch for zebrahasso
daemon to change netlink receive buffer size.
2004-08-31Fix for Bugzilla #108.hasso
2004-08-31Please, tell me truth about what debugging status you are displaying.hasso
2004-08-31Remove dead file.hasso
2004-08-31cvsignore for pkgsrcpaul
2004-08-28Port ospf6d to sigevent and rename signal handling functions in vtysh not tohasso
conflict the ones in lib/sigevent.c. Fixes compiling with --disable-shared.
2004-08-27Add start/stop scripts for the rc.d framework used bygdt
pkgsrc (NetBSD and others). Contributed by Miles Nordin.
2004-08-27Brown paperbag, please. Don't segfault if VTYSH_PAGER isn't defined.hasso
2004-08-27Make "terminal length <0-512>" command work in vtysh.hasso
2004-08-272004-08-27 David Wiggins <dwiggins@bbn.com>gdt
* ospf_spf.c (ospf_nexthop_calculation): Initialize address family in on-stack struct prefix_ipv4. Fixes point-to-multipoint SPF calculation.
2004-08-27Added NSSA related items.hasso
2004-08-26More vtysh fixes. Specifying configuration from command line works now.hasso
2004-08-26Merge changelog entry from zebra cvs for my vtysh fix.hasso
2004-08-26Merge svn revision 954 from Zebra cvs.hasso
2004-08-26Make ospf6d configuration appear in vtysh as well. Report sent to Yasuhirohasso
Ohara.
2004-08-26add () on SOPT_SIZE_CMSG_PKTINFO_IPV4() use, to match def.gdt
Thanks to Hasso for code review.