pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/xorp Update to 1.0:
details: https://anonhg.NetBSD.org/pkgsrc/rev/ce731fb0193f
branches: trunk
changeset: 478278:ce731fb0193f
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Jul 20 21:55:31 2004 +0000
description:
Update to 1.0:
Release 1.0 (2004/07/08)
=========================
ALL:
- All the routing processes can now be started and configured via the
RTRMGR/XORPSH.
LIBXORP:
- Addition of support for safe callbacks (e.g., if an object is
destroyed, all callbacks that refer to that object are invalidated).
LIBXIPC:
- Addition of support for event notification if the status of a target
changes.
LIBFEACLIENT:
- Few bug fixes.
XRL:
- No significant changes.
RTRMGR:
- Addition of new command-line option "-v" to print verbose information.
- Removal of command-line option "-d" that prints default information,
because the same information is printed with the "-h" flag.
- Addition of support for explicit configuration of the XRL target name of
a module.
- Addition of support for %help command in the rtrmgr template files.
- Addition of support for new methods per module: "startup_method"
and "shutdown_method".
- Numerous other improvements and bug fixes.
XORPSH:
- Addition of new command-line option "-v" to print verbose information.
- Removal of command-line option "-d" that prints default information,
because the same information is printed with the "-h" flag.
- Addition of support for help string in the xorpsh operational
commands template files.
- Addition of support for positional arguments in the xorpsh operational
commands template files.
- Addition of support to interrupt an operational command.
Now if a command is interrupted from the command line by typing Ctrl-C,
then the executed binary command itself (and its forked children, if any)
is killed.
- Numerous other improvements and bug fixes.
FEA/MFEA:
- Addition of support for propagating the Forwarding Information Base
from the underlying system to clients interested in that information.
- Addition of support for opening TCP or UDP sockets via the FEA.
- Modification to the MFEA to use "libfeaclient" to obtain the interface
information from the FEA.
- Numerious bug fixes.
RIB:
- Addition of support for redistributing routes between two internal
tables.
- Addition of support for obtaining routes directly from some of the
internal tables.
- Modification to the RIB to use "libfeaclient" to obtain the interface
information from the FEA.
- Modification to the RIB to use the new RedistTable to propagate
the final routes to the FEA and anyone else interested (e.g., PIM-SM).
- Few bug fixes.
RIP:
- Packet forwarding and reception via FEA written for RIPv2 and RIPng.
RIPv2 should be usable.
BGP:
- IPv6 has now been tested with peerings to the 6Bone; unicast and
multicast SAFIs.
- Route origination is now possible from BGP.
- The memory leaks from the previous release have been found and fixed.
STATIC_ROUTES:
- This is a new module for configuring static routes to the
unicast or multicast RIB.
MLD/IGMP:
- During startup, a primary address is selected per configured interface,
and this primary address should be the link-local unicast address
of that interface.
- New CLI commands: "show igmp interface address" and
"show mld interface address"
- Resend some of the XRLs (e.g., those who do not carry soft-state
such as protocol control messages) if there is an error.
- Few bug fixes.
PIM-SM:
- Updated to support the lastest PIM-SM specification
(draft-ietf-pim-sm-v2-new-09.{ps,txt}).
- Addition of support for "alternative subnet" configuration such that
non-local senders appear as senders connected to the same subnet.
It is needed as a work-around solution when there are uni-directional
interfaces for sending and receiving traffic (e.g., satellite links).
- During startup, a primary address and a domain-wide address are
selected per configured interface.
The primary address should be the link-local unicast address
of that interface, and the domain-wide address should be a domain-wide
reachable unicast address.
- Resend some of the XRLs (e.g., those who do not carry soft-state
such as protocol control messages) if there is an error.
- Several bug fixes.
FIB2MRIB:
- This is a new module for propagating the unicast forwarding information
obtained from the underlying system via the FEA to the multicast RIB.
CLI:
- Addition of support to propagate command interruption (e.g., Ctrl-C)
from the CLI to the object that handles the command processing
by calling a pre-defined callback.
- During startup, if the input is a terminal (e.g., xorpsh), then
read the terminal size instead of using the default values.
- A bug fix related to the CLI paging output: now it can handle properly
lines that are longer than the width of the CLI output terminal.
- Several other bug fixes.
SNMP:
- No significant changes.
Release 0.5 (2003/11/06)
========================
ALL:
- New library libfeaclient to simplify interface configuration
replication and event reception.
LIBXORP:
- Addition of ServiceBase class (service.hh) for asynchronous
process components that might provide a service. The
ServiceBase contains status information, (e.g. starting,
running, shutting down, shutdown) and methods for triggering
status changes (e.g.start, shutdown). It also provides an
interface for observers to be notified of state changes.
- Addition of ctype(3) wrappers that work properly even if the
value of the int argument is not representable as an unsigned
char and doesn't have the value of EOF.
LIBXIPC:
- Minor refactoring and code clean-up.
- Fixes to XrlAtom binary marshalling methods and test code for
checking this functionality in future.
LIBFEACLIENT:
- Added to project. Provides interface configuration tree
mirroring and update event notification. Intended to unify how
this data is replicated between processes.
XRL:
- kdoc generation nits.
RTRMGR:
- Fix the process name of a started proces to be the same
as the binary name.
- Minor code cleanup.
XORPSH:
- No significant changes.
FEA/MFEA:
- Added Linux Netlink support for writing network interface information,
and routing entries to the kernel, and for observing the change of
that information in the kernel.
- Completed support for Linux /proc parsing to return network interface
information.
- Added support for NetBSD and OpenBSD to the unicast FEA.
- Added compilation-time check whether the underlying system
supports IPv6 multicast and IPv6 multicast routing, and isolate
the compilation of all MFEA code that is specific to IPv6 multicast
and IPv6 multicast routing.
- Added support for run-time check whether the underlying system
supports IPv4 or IPv6 multicast routing.
- Various bug fixes and cleanup
RIB:
- No significant changes.
BGP:
- Supports multiprotocol IPv6.
- The code for multicast SAFI is enabled but is untested.
- MED processing is now deterministic.
- A memory leak exists.
MLD/IGMP:
- No significant changes.
PIM-SM:
- A bug fix related to the removal of timed-out multicast forwarding
entries.
CLI:
- Change slightly the command-line editing, so now Ctrl-W deletes
the word before the cursor. Before, Ctrl-W would delete the
whole line.
- Apply a fix to libtecla in network mode such that
keyboard-generated signals are not propagated to the process
we have connected to.
SNMP:
- No significant changes.
RIP:
- Code added to talk to FEA and RIB. To become functional it
still requires the ability to send packets and receive UDP
packets through the FEA (work in progress).
Release 0.4 (2003/08/28)
========================
ALL:
- Rename all process names from "foo" to "xorp_foo":
bgp -> xorp_bgp
fea -> xorp_fea
fea_dummy -> xorp_fea_dummy
finder -> xorp_finder
ospfd -> xorp_ospf
rib -> xorp_rib
rtrmgr -> xorp_rtrmgr
- Added support for "gmake install" that installs the required
XORP pieces under /usr/local/xorp.
Currently, the installed subdirectories and files follow
the organization in the XORP source code tree.
Only the following binaries are installed in subdirectory "bin":
call_xrl, xorp_rtrmgr, xorpsh.
- Removed old directory "mfea", because it is not needed anymore
(all the MFEA code has been merged with the FEA).
- The code does not compile anymore on MacOS X 10.2.x (or earlier),
due to compiler issues. After Apple starts distributing a better
compiler (probably with MacOS X 10.3.x?), then attempt will be
made to keep the code compiling again on MacOS X.
LIBXORP:
- Added pre-order iterators for Trie and RefTrie.
LIBXIPC:
- Addition of virtual methods in XrlRouter to provide processes with
an opportunity to detect finder connection, registration, and
disconnection events.
XRL:
- Minor changes to clnt-gen that changes the names of some typedefs.
RTRMGR:
- Now all relative paths to templates, xrl files, configuration
files, etc are computed relative to the root of the XORP tree.
The root is computed in the following order:
1. The shell environment XORP_ROOT (if exists).
2. The parent directory the rtrmgr is run from
(only if it contains the etc/templates and the xrl/targets
directories).
3. The XORP_ROOT value as defined in config.h (currently this is
the installation directory, and it defaults to /usr/local/xorp).
XORPSH:
- Now all relative paths to executable commands are computed
relative to the root of the XORP tree. The root is computed
similar to the rtrmgr root (see above), except that in step (2)
we consider the parent directory the xorpsh is run instead.
FEA/MFEA:
- Bug fix: if the multicast protocol to start/stop is PIM, then start/stop
PIM multicast routing in the kernel.
- Bug fix (Linux-specific): if IGMP/MLD is enabled, then the multicast
router will properly receive all IGMP/MLD messages.
- Added support to enable/disable unicast forwarding in the kernel
via the FEA.
Currently, the support is only for FreeBSD, but is not used yet.
Hence, the user must explicitly enable unicast forwarding
before starting XORP.
E.g., in case of FreeBSD run `sysctl net.inet.ip.forwarding=1`
as root. In case of Linux run
`echo 1 > /proc/sys/net/ipv4/ip_forward` as root.
- Fix a compilation problem for NetBSD
(courtesy Hitoshi Asaeda <Hitoshi.Asaeda%sophia.inria.fr@localhost>
and Jun-ichiro itojun Hagino <itojun%iijlab.net@localhost>).
- Initial support for Linux /proc parsing to return network interface
information (work in progress).
- Bug fixes in setting the broadcast or p2p flags and addresses
in the FEA internal interface tree (IfTree).
- Bug fix in computing the minimum size of a message received
on a routing socket.
- Change the MFEA configuration scripts so now the IPv4/IPv6 setup
is controlled by a single variable IP_VERSION that should be
either IPV4 or IPV6. Note that those configuration scripts
are temporary solution until the MFEA is integrated with
the rtrmgr.
RIB:
- No significant changes.
BGP:
- Update packets with unknown path attributes are now correctly handled.
MLD/IGMP:
- Change the "RX" log messages to include the vif name a message was
received on.
- Initial support for returning the process status via get_status XRL.
- Change the MLD/IGMP configuration scripts so now the IPv4/IPv6 setup
is controlled by a single variable IP_VERSION that should be
either IPV4 or IPV6. Note that those configuration scripts
are temporary solution until the MLD/IGMP is integrated with
the rtrmgr.
PIM-SM:
- Change the "RX" log messages to include the vif name a message was
received on.
- Change the PIM configuration scripts so now the IPv4/IPv6 setup
is controlled by a single variable IP_VERSION that should be
either IPV4 or IPV6. Note that those configuration scripts
are temporary solution until the PIM is integrated with
the rtrmgr.
- Implement Join/Prune items fragmentation across Join/Prune messages
when generating Join/Prune messages.
- Fix some of the XRL names related to static RP configuration
in the configuration shell scripts.
- Fix the generation of Assert messages when data packets are received
on the wrong interface; in addition, the Assert messages triggered
by data packets are rate-limited to one Assert message/s (on
average, per (S,G) or (*,G) routing entry).
- Implement an optimization when generating Assert messages
triggered by the data packets received on the wrong interface:
suppress the second Assert message that is a duplicate.
- Implement bandwidth-prorated SPT switch triggering:
The SPT switch can be triggered at the last-hop router if the
bandwidth from a given source is above a configured threshold.
In addition, the same mechanism is implemented in the RP as well
(not in the spec, where the SPT switch in the RP is always triggered
by the first packet).
- Keep various PIM-related statistics (e.g., number of sent
or received PIM control messages per interface, etc), and add
the appropriate XRL interface to get or reset those statistics.
- Modify slightly the "show pim join" CLI output. E.g., print
"Could assert WC:" for all entries, print "Could assert SG:"
for (S,G,rpt) as well, etc.
- Bug fix: when receiving IPv6 PIM packets, use the IPv6-specific
pseudo-header to compute the checksum.
CLI:
- On exit, restore the original terminal flags in case of stdio-based
CLI access. This should fix a bug when running xorpsh from sh/bash
and pressing Ctrl-D leaves sh/bash in non-echo mode.
- Reverse the key binding of 'j' and 'k' in page mode. Now the
binding is same as in "vi/more/less":
'j' scroll down one line, while 'k' scroll up one line.
SNMP:
- Full implementation of BGP4-MIB module (RFC 1657) including traps.
RIP:
- Implementation functionally operational save communication with the RIB
for injecting routes, the FEA to send and receive packets, FEA
interface monitoring code, and an XRL interface for configuration.
diffstat:
net/xorp/Makefile | 27 ++++---
net/xorp/PLIST | 139 ++++++++++++++++++++++++++++++++++-----------
net/xorp/distinfo | 7 +-
net/xorp/patches/patch-aa | 19 ------
4 files changed, 121 insertions(+), 71 deletions(-)
diffs (216 lines):
diff -r 6e0243c3788b -r ce731fb0193f net/xorp/Makefile
--- a/net/xorp/Makefile Tue Jul 20 21:47:20 2004 +0000
+++ b/net/xorp/Makefile Tue Jul 20 21:55:31 2004 +0000
@@ -1,19 +1,22 @@
-# $NetBSD: Makefile,v 1.7 2004/02/14 15:29:15 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2004/07/20 21:55:31 wiz Exp $
#
-DISTNAME= xorp-0.3
-CATEGORIES= net
-MASTER_SITES= http://www.xorp.org/release-0.3/
+DISTNAME= xorp-1.0
+CATEGORIES= net
+MASTER_SITES= http://www.xorp.org/releases/1.0/
+
+MAINTAINER= tech-pkg%NetBSD.org@localhost
+HOMEPAGE= http://www.xorp.org/
+COMMENT= The eXtensible Open Router Platform
-MAINTAINER= tech-pkg%NetBSD.org@localhost
-HOMEPAGE= http://www.xorp.org/
-COMMENT= Open router software platform
+USE_BUILDLINK3= yes
+GNU_CONFIGURE= yes
+USE_GNU_TOOLS+= make
-# cli/libtecla/configure.in bombs if ncurses is installed
-CONFLICTS+= ncurses-[0-9]*
+# The xorp people insist on their own PREFIX.
+# See http://www.xorp.org/bugzilla/show_bug.cgi?id=91
+GNU_CONFIGURE_PREFIX= ${LOCALBASE}/xorp
-GNU_CONFIGURE= YES
-USE_GNU_TOOLS+= make
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+TEST_TARGET= check
.include "../../mk/bsd.pkg.mk"
diff -r 6e0243c3788b -r ce731fb0193f net/xorp/PLIST
--- a/net/xorp/PLIST Tue Jul 20 21:47:20 2004 +0000
+++ b/net/xorp/PLIST Tue Jul 20 21:55:31 2004 +0000
@@ -1,36 +1,103 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/15 12:15:01 itojun Exp $
-bin/bgp
-bin/call_xrl
-bin/coord
-bin/demo_fea_ifmgr_client
-bin/enhance
-bin/fea
-bin/fea_dummy
-bin/finder
-bin/main_routemap
-bin/packet_test
-bin/plumbing_test
-bin/print_peers
-bin/print_routes
-bin/rib
-bin/rtrmgr
-bin/runit
-bin/show_interfaces
-bin/test_cli
-bin/test_comm
-bin/test_mfea
-bin/test_mld6igmp
-bin/test_mrib
-bin/test_mrt
-bin/test_peer
-bin/test_pim
-bin/test_policy
-bin/test_register
-bin/test_register_xrls
-bin/test_rib_client
-bin/test_rib_direct
-bin/test_rib_xrls
-bin/update_test
-bin/xorpsh
-bin/xorpsh_print_peers
-bin/xorpsh_print_routes
+@comment $NetBSD: PLIST,v 1.2 2004/07/20 21:55:31 wiz Exp $
+xorp/bgp/tools/xorpsh_print_peers
+xorp/bgp/tools/xorpsh_print_routes
+xorp/bgp/xorp_bgp
+xorp/bin/call_xrl
+xorp/bin/xorp_rtrmgr
+xorp/bin/xorpsh
+xorp/cli/tools/send_cli_processor_xrl
+xorp/etc/templates/bgp.cmds
+xorp/etc/templates/bgp.tp
+xorp/etc/templates/fea.cmds
+xorp/etc/templates/fea.tp
+xorp/etc/templates/fib2mrib.tp
+xorp/etc/templates/host.cmds
+xorp/etc/templates/igmp.cmds
+xorp/etc/templates/igmp.tp
+xorp/etc/templates/interfaces.tp
+xorp/etc/templates/mfea.cmds
+xorp/etc/templates/mfea4.tp
+xorp/etc/templates/mfea6.cmds
+xorp/etc/templates/mfea6.tp
+xorp/etc/templates/mld.cmds
+xorp/etc/templates/mld.tp
+xorp/etc/templates/ospf.tp
+xorp/etc/templates/pim.cmds
+xorp/etc/templates/pim6.cmds
+xorp/etc/templates/pimsm4.tp
+xorp/etc/templates/pimsm6.tp
+xorp/etc/templates/rib.cmds
+xorp/etc/templates/rib.tp
+xorp/etc/templates/rip.cmds
+xorp/etc/templates/rip.tp
+xorp/etc/templates/ripng.tp
+xorp/etc/templates/snmp.tp
+xorp/etc/templates/static_routes.tp
+xorp/etc/templates/xorpsh.cmds
+xorp/fea/tools/show_interfaces
+xorp/fea/xorp_fea
+xorp/fea/xorp_fea_dummy
+xorp/fib2mrib/xorp_fib2mrib
+xorp/libxipc/xorp_finder
+xorp/mld6igmp/xorp_igmp
+xorp/mld6igmp/xorp_mld
+xorp/pim/xorp_pimsm4
+xorp/pim/xorp_pimsm6
+xorp/rib/tools/show_routes
+xorp/rib/xorp_rib
+xorp/rip/tools/show_peer_stats
+xorp/rip/tools/show_stats
+xorp/rip/xorp_rip
+xorp/rip/xorp_ripng
+xorp/static_routes/xorp_static_routes
+xorp/xrl/targets/bgp.xrls
+xorp/xrl/targets/bgp4_mib.xrls
+xorp/xrl/targets/cli.xrls
+xorp/xrl/targets/coord.xrls
+xorp/xrl/targets/demo_fea_ifmgr_client.xrls
+xorp/xrl/targets/fea.xrls
+xorp/xrl/targets/fea_ifmgr_mirror.xrls
+xorp/xrl/targets/fib2mrib.xrls
+xorp/xrl/targets/finder.xrls
+xorp/xrl/targets/finder_client.xrls
+xorp/xrl/targets/mfea.xrls
+xorp/xrl/targets/mld6igmp.xrls
+xorp/xrl/targets/ospf.xrls
+xorp/xrl/targets/pim.xrls
+xorp/xrl/targets/rib.xrls
+xorp/xrl/targets/ribclient.xrls
+xorp/xrl/targets/rip.xrls
+xorp/xrl/targets/ripng.xrls
+xorp/xrl/targets/rtrmgr.xrls
+xorp/xrl/targets/show_routes.xrls
+xorp/xrl/targets/socket_server.xrls
+xorp/xrl/targets/static_routes.xrls
+xorp/xrl/targets/test.xrls
+xorp/xrl/targets/test_fea_ifmgr_mirror.xrls
+xorp/xrl/targets/test_finder_events.xrls
+xorp/xrl/targets/test_peer.xrls
+xorp/xrl/targets/test_socket4.xrls
+xorp/xrl/targets/test_socket6.xrls
+xorp/xrl/targets/xorp_if_mib.xrls
+xorp/xrl/targets/xorpsh.xrls
+@dirrm xorp/xrl/targets
+@dirrm xorp/xrl
+@dirrm xorp/static_routes
+@dirrm xorp/rip/tools
+@dirrm xorp/rip
+@dirrm xorp/rib/tools
+@dirrm xorp/rib
+@dirrm xorp/pim
+@dirrm xorp/mld6igmp
+@dirrm xorp/libxipc
+@dirrm xorp/fib2mrib
+@dirrm xorp/fea/tools
+@dirrm xorp/fea
+@dirrm xorp/etc/templates
+@dirrm xorp/etc
+@dirrm xorp/cli/tools
+@dirrm xorp/cli
+@dirrm xorp/bgp/tools
+@dirrm xorp/bgp
+@dirrm xorp/bin
+@dirrm xorp
diff -r 6e0243c3788b -r ce731fb0193f net/xorp/distinfo
--- a/net/xorp/distinfo Tue Jul 20 21:47:20 2004 +0000
+++ b/net/xorp/distinfo Tue Jul 20 21:55:31 2004 +0000
@@ -1,5 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/07/15 12:15:01 itojun Exp $
+$NetBSD: distinfo,v 1.2 2004/07/20 21:55:31 wiz Exp $
-SHA1 (xorp-0.3.tar.gz) = ac0099a27b5dc2d70f8b3f4f39a2c3cfc10bb7c9
-Size (xorp-0.3.tar.gz) = 5879824 bytes
-SHA1 (patch-aa) = 901247880b5fd45dc8ce8d2a39b9421dd9937abb
+SHA1 (xorp-1.0.tar.gz) = f5dc6ff9adbf1da2b982ef54c84d23c47142e876
+Size (xorp-1.0.tar.gz) = 7240796 bytes
diff -r 6e0243c3788b -r ce731fb0193f net/xorp/patches/patch-aa
--- a/net/xorp/patches/patch-aa Tue Jul 20 21:47:20 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/07/15 12:15:01 itojun Exp $
-
---- fea/fticonfig_table_parse_rtm.cc- 2003-07-15 20:55:57.000000000 +0900
-+++ fea/fticonfig_table_parse_rtm.cc 2003-07-15 20:56:22.000000000 +0900
-@@ -67,8 +67,14 @@
- continue;
- if (! (rtm->rtm_flags & RTF_UP))
- continue;
-+#ifdef RTF_WASCLONED
- if (rtm->rtm_flags & RTF_WASCLONED)
- continue; // XXX: ignore cloned entries
-+#endif
-+#ifdef RTF_CLONED
-+ if (rtm->rtm_flags & RTF_CLONED)
-+ continue; // XXX: ignore cloned entries
-+#endif
- #ifdef RTF_MULTICAST
- if (rtm->rtm_flags & RTF_MULTICAST)
- continue; // XXX: ignore multicast entries
Home |
Main Index |
Thread Index |
Old Index