summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2004-09-13 Jose Luis Rubio <jrubio@dit.upm.es>bgp_rserver_afterpaul2004-09-1312-174/+2656
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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-13 Paul Jakma <paul@dishone.st>bgp_rserver_beforepaul2004-09-133-2/+8
| | | | | | | * 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.
* autoreconf doesnt like top_srcdir var. update-autotools needs to -I m4 toopaul2004-09-132-2/+2
| | | | to ensure it's pulled in. (snapshot host depends on that script).
* 2004-09-12 Paul Jakma <paul@dishone.st>paul2004-09-122-30/+221
| | | | | | | | | | | | | | | | | | | | | * 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-11 Paul Jakma <paul@dishone.st>paul2004-09-122-1/+10
| | | | * ospfd.texi: OSPF MD5 auth requires stable time.
* Cosmetical fixes in vty help.hasso2004-09-112-3/+6
|
* Fixes from LIU Xin.hasso2004-09-104-2/+22
|
* Indentation only. No any functional changes.hasso2004-09-1040-9024/+10011
|
* Add IS-IS info into array.hasso2004-09-101-2/+2
|
* Fix aclocal m4/ include for out-of-tree builds - all src relative pathspaul2004-09-051-1/+1
| | | | need to be prefixed with $(top_srcdir)
* Merge svn revision 981 from Zebra cvs.hasso2004-09-039-664/+429
|
* Merge svn revisions 978-979 from Zebra CVS.hasso2004-09-023-6/+15
|
* Merge svn revision 975 from Zebra repository.hasso2004-09-0118-441/+640
|
* Indentation consensus.hasso2004-09-011-4/+19
|
* Ignore generated files.hasso2004-09-011-0/+2
|
* Ignore *.sh.hasso2004-09-011-0/+1
|
* 2004-08-31 Greg Troxel <gdt@poblano.ir.bbn.com>gdt2004-08-315-4/+18
| | | | | | | * 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-31 Greg Troxel <gdt@poblano.ir.bbn.com>gdt2004-08-3111-27/+66
| | | | | * Rename scripts to *.sh.in, and use autoconf-style substitution for prefix and localstatedir.
* Assorted changes from work at BBN. Most are minor, and several are ingdt2004-08-319-66/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* remove zebra/irdp.c because it is no longer in the source tree.gdt2004-08-311-1/+1
|
* Commit my hack (yes, I still call it hack) - command line switch for zebrahasso2004-08-315-17/+104
| | | | daemon to change netlink receive buffer size.
* Fix for Bugzilla #108.hasso2004-08-312-6/+15
|
* Please, tell me truth about what debugging status you are displaying.hasso2004-08-313-3/+3
|
* Remove dead file.hasso2004-08-311-569/+0
|
* cvsignore for pkgsrcpaul2004-08-311-0/+2
|
* Port ospf6d to sigevent and rename signal handling functions in vtysh not tohasso2004-08-284-53/+41
| | | | conflict the ones in lib/sigevent.c. Fixes compiling with --disable-shared.
* Add start/stop scripts for the rc.d framework used bygdt2004-08-2710-4/+287
| | | | pkgsrc (NetBSD and others). Contributed by Miles Nordin.
* Brown paperbag, please. Don't segfault if VTYSH_PAGER isn't defined.hasso2004-08-271-2/+7
|
* Make "terminal length <0-512>" command work in vtysh.hasso2004-08-274-4/+71
|
* 2004-08-27 David Wiggins <dwiggins@bbn.com>gdt2004-08-272-4/+11
| | | | | | * ospf_spf.c (ospf_nexthop_calculation): Initialize address family in on-stack struct prefix_ipv4. Fixes point-to-multipoint SPF calculation.
* Added NSSA related items.hasso2004-08-271-0/+3
|
* More vtysh fixes. Specifying configuration from command line works now.hasso2004-08-267-38/+53
|
* Merge changelog entry from zebra cvs for my vtysh fix.hasso2004-08-261-0/+4
|
* Merge svn revision 954 from Zebra cvs.hasso2004-08-261-3/+4
|
* Make ospf6d configuration appear in vtysh as well. Report sent to Yasuhirohasso2004-08-263-1/+4
| | | | Ohara.
* add () on SOPT_SIZE_CMSG_PKTINFO_IPV4() use, to match def.gdt2004-08-261-1/+1
| | | | Thanks to Hasso for code review.
* 2004-08-26 Miles Nordin <carton@Ivy.NET>gdt2004-08-262-6/+12
| | | | | | * ipforward_sysctl.c (mib_ipv6): Use size_t for len, per sysctl(3), rather than int. (Needed on NetBSD/alpha to display forwarding status correctly.)
* fix typo in previous commitgdt2004-08-261-1/+1
|
* 2004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>gdt2004-08-262-1/+14
| | | | | | | | * ospf_packet.c (ospf_recv_packet): adjust size declaration of buffer used to get interface index so that it compiles on other than Linux and includes the required alignment space. Probably this was only working on sparc/sparc64 because most of sockaddr_dl was not being written.
* 2004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>gdt2004-08-262-7/+37
| | | | | * sockopt.h: Define method-independent macro for callers of get_ifindex to use for cmsg length.
* Vtysh cleanup part 2. No any functional changes yet except VTYSH_INTERFACE.hasso2004-08-266-299/+314
|
* It hurts my eye every time configure finishes job :).hasso2004-08-261-4/+4
|
* One warning less while building vtysh_cmd.c. This seems to be dead file.hasso2004-08-261-2/+1
| | | | Maybe remove it at all?
* 2004-08-19 Paul Jakma <paul@dishone.st>paul2004-08-252-1/+14
| | | | * zebra.h: add MAX and MIN defines (eg for ospf6d)
* Cleaning up whitespace mess mostly caused by my patches. Biggerhasso2004-08-253-79/+79
| | | | reorganization of this spagetti will follow soon.
* SVN revisions 935-940 merge from Zebra CVS.hasso2004-08-2515-26/+122
|
* 2004-08-23 Paul Jakma <paul@dishone.st>paul2004-08-233-10/+12
| | | | | * zebra/zserv.c: (zebra_init) remove implicit ip forward enabling * NEWS: warn about forwarding change
* Ignore documentation build files (indexes, etc..)paul2004-08-231-0/+13
|
* Merge svn revisions 924 and 925 from Zebra CVS. Also remove uselesshasso2004-08-1915-200/+208
| | | | | ospf6_lsdb prototype declaration from ospf6_lsa.h. Report sent to Yasuhiro Ohara as well.
* 2004-08-19 Paul Jakma <paul@dishone.st>paul2004-08-193-3/+9
| | | | | | * irdp_main.c: update to match sockopt renames. * irdp_packet.c: include sockopt.h and update to match sockopt renames.