





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Abstract
Active networks must balance the exibility of a programm- able network infrastructure against the safety and security requirements inherent in sharing that infrastructure. Fur- thermore, this balance must b e achieved while maintaining the usability of the network. The SwitchWare active net- work architecture is a novel approach to achieving this bal- ance using three layers: active packets, which contain mobile programs that replace traditional packets; active extensions, which provide services on the network elements, and which can b e dynamically loaded, and; a secure active router in- frastructure, which forms a high integrity base up on which the security of the other layers dep ends. In addition to integrity-checking and cryptography-based authentication, security in our architecture dep ends heavily on veri cation techniques from programming languages, such as strong typ e checking.
1 Intro duction
The IP Internet provides a virtual infrastructure' that cre- ates the illusion of network-wide addresses and packet for- mats while in fact providing these interfaces using a variety of real networks. IP interop erability works b ecause IP was designed to require minimal subnetwork capabilities, hence its ability to run (alb eit slowly!) ontwo tin cans and a string'. Given the success of IP, the lesson that virtual in- frastructures can work seems very clear. It is also clear that there are a wide variety of p ossible virtual infrastructures, and some of these may o er interesting technical advantages. In particular, the choice of the interop erability layer (for IP, the packet format and its addressing scheme) could result in an interop erability layer with a higher level of abstraction, such as a programmable interop erability layer. Active net- works are an approach to providing a programmable network infrastructure based on such a programmable interop erabil- ity layer. Prop osals exist [17 ] for accessing programmability on a p er-user or p er-packet basis. These ideas o er con- siderable p ower to programmers wishing to create advanced services or test new approaches to providing existing ser- vices. Consider, for example, the problem of negative acknowl- edgments (NACKs) in a multicast proto col. Figure 1 illus- trates a tree of no des with the source A at the ro ot. If no des F and G indicate that they did not receive a message, the simple b ehavior might b e for each to send a NACK to A,
This pap er will app ear in IEEE Network Sp ecial Issue on Active and Controllable Networks.
D E F G
A
C
NACK_F
B
Figure 1: NACK Implosion in a Multicast Tree
resulting in one or more resends of the missing packet. This p oses a scalability risk, as the source could b e overwhelmed by NACK's, leading to the condition known as NACK im- plosion. With a programmable network infrastructure, an active NACK packet could op erate by rst checking if a NACK for the same message had preceded it at a no de; if so, it would add its sender to a list for retransmission. If it is the rst NACK at a no de, it would leave a marker indicating which message it was NACKing and pro ceed towards the ro ot. In this way, an `as-needed' retransmission of the message would o ccur. Of course, such a proto col could b e deployed in the cur- rent network, but a key question is: how quickly? Because the current IP internet is not particularly exible, it would require changing software on every no de in the network| a daunting task. By contast, however, an active network is designed with such upgrades in mind. Thus, adding a new proto col is as simple as writing a new router extension or a new active packet program. This sp eedup in network evolution is one of the primary motivations b ehind adding programmability to the network infrastructure. Indep endent of whether their programmability is o ered on a p er-packet, p er-user, or other basis, active network el- ements (such as active bridges, switches and routers) must provide facilities for loading and executing programs. Shared network elements will require protection and security, and even single-use network elements derive safety b ene ts from a well-thought-out mo del for resource sharing and protec- tion. We b elieve that the most imp ortant knowledge derived from exploratory active network e orts will b e an under- standing of the tradeo s b etween exibility, security, p erfor- mance, and usability. The SwitchWare architecture provides a vehicle with which we can evaluate these tradeo s.
2 The SwitchWare Architecture
SwitchWare uses a layered architecture to provide a range of di erent exibility, safety and security, p erformance, and usability tradeo s. These layers allow us to employ a variety of di erent approaches to meeting the challenge of provid- ing security in a programmable network, while still gaining the exibility of programmability and leaving the network usable. These approaches include providing some function- ality that is inherently safe and secure, in large part b ecause it is not p owerful enough to cause harm, using cryptography- based security to establish and maintain trust relationships, and using veri cation technologies such as typ e-checking and program veri cation to prove that other functionality is safe and secure. As shown in Figure 2, we employ three main layers: active packets, active extensions, and a secure active router infrastructure. We discuss each of these in turn in this section, and more fully elab orate each of them in turn in Sections 4-6.
Network
Active
Packets
Active Router Infrastructure
Active Extensions
Figure 2: Packet Language and Services
Active packets replace the traditional network packet with a mobile program, consisting of b oth co de and data. The co de part of an active packet provides the control func- tion of a traditional packet header, but do es so much more exibly, since it can interact with the environment of the router in a more complex and customizable way than the simple table lo okup provided by headers. Similarly, the data in the active packet program replaces the payload of a tra- ditional packet, but provides a customizable structure that can b e used by the program. Because even the most p erfor- mance critical asp ect of the network, basic data transp ort, is done by executing programs, it is crucial that executing these programs b e as lightweight as p ossible. As discussed in detail in Section 4, we have designed PLAN (Programming Language for Active Networks) to serve as a programming language for active packets. PLAN is very simple and provides a minimum of functionality. Its execution mo del includes a mechanism for remotely evaluat- ing PLAN programs on other routers; these mechanisms are the means by which PLAN programs transp ort themselves through the network. PLAN programs are strongly typ ed to provide safety, and can b e statically typ e-checked b efore b eing injected into the network to eliminate the p ossibility of typ e errors o ccurring on remote routers, thus improving usability. In some instances, authentication and other costly checks are unnecessary. PLAN has b een designed to avoid the need for such checks in most cases by restricting their actions|for example, a PLAN program cannot by itself ma- nipulate no de-resident state. To comp ensate for these limi- tations, PLAN programs can call no de-resident service rou-
tines, which can authenticate or use other more heavyweight mechanisms to provide security on an as-needed basis. Fur- thermore, PLAN provides a numb er of di erent mechanisms for limiting the resources used by an active packet. We have also exp erimented with a variant of the ML programming language called Caml [7 ] as our active packet language. Because Caml do es not have the resource limi- tations describ ed in PLAN, there is a need to provide au- thentication checks and to provide measures to ensure that security attacks will not succeed. However, in those cases where these checks are necessary anyway, using a single lan- guage for b oth active packets and active extensions provides greater integration. Our initial implementation of SANE uses this facility. No de-resident extensions form the middle layer of our architecture. They can b e dynamically-loaded active exten- sions, or they can b e part of the base functionality of the router. They are not mobile: to communicate with other routers they use active packets. Because they are only in- voked when needed, there is no inherent need for extensions to b e lightweight. They can b e written in general purp ose- programming languages, although typ e-safety still plays an imp ortant role in this layer. They can use a variety of secu- rity mechanisms, including cryptography-based authentica- tion and program veri cation. Their greater exibility pro- vides an imp ortant trade-o with active packets since com- plex proto cols and systems are implemented in SwitchWare as a mixture of PLAN and router extensions. As discussed in detail in Section 5, our most ambitious exploration of this layer to date is the Active Bridge [3 ], us- ing active extensions called switchlets. In this exp eriment, we showed that a simple switchlet-based bu ered rep eater could b e extended (over the network) with a learning bridge switchlet and then several di erent spanning tree switch- lets. A dynamically loaded control switchlet allowed us to p erform a controlled transition from one spanning-tree pro- to col to another, with error detection and fall-back. This is a key demonstration, since it shows how active networking can greatly facilitate rapid changes to network proto cols. The Active Bridge is programmed using Caml, which o ered a numb er of advantages for this application. First, like Java, Caml byteco des are dynamically loadable and ma- chine indep endent (thus p ermitting active extensions), and the Caml implementation is more ecient than any current Java system. More imp ortantly, Caml gives us limited, but adequate, control over the namespace seen by the dynami- cally loadable mo dules. When combined with Caml's strong typing, this allows us considerable control over the function- ality we allow active extensions to access, a feature we will refer to as namespace security in the rest of this pap er. A secure active router infrastructure forms the lowest layer of our architecture. While the top two layers emphasize supp ort for several forms of dynamic exibility, the lowest layer is primarily static. The goal of this layer is to provide a secure foundation up on which the other two layers build. The imp ortance of this is clear, since no matter how much care we put into security of those layers, if they are loaded into an insecure environment they cannot p ossibly b e secure. As discussed in detail in Section 6, we emb o dy our se- cure active router infrastructure as the Secure Active Net- work Environment (SANE). System integrity means that the system is not altered from some known (and presumably correct) state. SANE uses the approach of guaranteeing in- tegrity of the lower layers of the system. While integrity is a weaker prop erty than correctness, the imp ortance of integrity checking cannot b e overstated, as any pro ofs of
3.3 Veri cation
One ma jor advantage to using veri cation for active network security arises from the fact that the basic technology has b een considerably develop ed in other contexts. In partic- ular, one may draw on exp erience from op erating systems, where there are well-develop ed techniques for using memory protection to verify at a very low level that certain mem- ory accesses are safe, and on programming languages, where there is considerable progress on the use of typ e systems pro- vide safety guarantees. The second of these is esp ecially well illustrated in the design philosophy of Java [10 ], which runs on a virtual machine [14 ] employing a dynamic `veri er' to enforce host security p olicies for the execution of the com- piled byteco de of web applets. This technology is supp orted by advances in run-time systems (esp ecially garbage collec- tion) and the sp eci cation of programming languages (pro- viding precise machine-indep endent semantic descriptions). However, there are two primary challenges to the application of these technologies to active networks:
Let us consider each of these problems in turn. Typ es, as they app ear in widely-used programming lan- guages, and memory protection, as it exists in mo dern op er- ating systems, are somewhat limited assurance mechanisms. While it may b e imp ortant that a program do es not add one' totrue' or write in a particular part of memory, the sp eci cation of the problem that the program was meant to solve undoubtedly says much more than the fact that the program should not do this kind of addition or write in that part of memory. In general, programs need to satisfy a range of invariants that cannot b e expressed simply. There is a need to develop techniques that can move us b eyond where we are now, particularly in the areas of safety and quality of service. An example of the kind of ideas that will b e needed can b e found in the Proof Carrying Code (PCC) work of Necula and Lee [16 , 15]. PCC is based on the observation that it is often easier to check an answer than to pro duce it. For a mobile program, the programmer knows the key reasons it is correct (or at least safe), but not necessarily the host that receives the program. Hence it is reasonable to shift the burden of pro of to the supplier of the program. The mobile program is paired with a pro of of its safety and delivered to a host. It is easy for a computer to check a formal pro of, even when the pro of may have b een very dicult to create, so the host checks the pro of and runs the program. This allows program veri cation to deal with safety assurances in place of typ es or memory protection. The second problem relates to the integration of veri ca- tion techniques and authorization techniques. We require a deep er understanding of how assurances should b e balanced b etween trust of others through cryptographic checks versus trust that is established by typ e checking or similar means. For instance, PCC can verify that a safety prop erty is not violated, but it generally cannot verify that a piece of data has b een correctly rep orted. For this, one probably needs some kind of cryptographic signature from a trusted source. Work along these lines will involve the development of var- ious forms of `p olicy languages' in which a complex set of checks involving signatures and typ e veri cations is carried
out. An obvious example is one where the interface made available to a mobile program is dep endent on an identity or role asso ciated with a signature on the program; typ e cor- rectness with resp ect to the signature will b e checked after it is known that the requester has a right to the op erations in the program. Another line of inquiry involves languages for access control, such as the PolicyMaker system [6], which provides a sp ecial-purp ose language for expressing p olicies in terms of signatures of principals and delegation of trust.
3.4 When to Check Typ es
Because typ es are a well understo o d and extremely e ective form of mechanical veri cation, they play an imp ortant role in SwitchWare's safety and security mo del. In particular, any co de that is downloaded into SwitchWare routers should b e strongly typ ed, since this provides some basic guarantees that the router's integrity will not b e compromised by the co de. A question thus arises ab out when and where typ e- checking should b e done. For ordinary `immobile' co de, the user often trusts (p erhaps unwisely) the provider of the co de, and so static compile-time typ e checking can b e used b efore the program is shipp ed to the user. However, mobile and downloadable co de like that used by active networks cannot in general b e known to b e trustworthy. Thus if routers are to enjoy the b ene t of strong typing, they must typ echeck programs themselves. Whether to do this checking dynam- ically or statically is di erent for active packets and active extensions, so we defer that discussion until later. One other typ e-checking question arises. Because the co de for b oth active packets and active extensions will b e executed remotely from the programmer, making debugging challenging, it is imp ortant to make as much e ort as p ossi- ble to eliminate errors b efore the co de leaves the program- mer's control. In particular, even if routers dynamically typ echeck the co de, statically checking it b efore it enters the network will give the programmer a guarantee that the routers' checks will not fail. Hence, for b oth active packets and active extensions, we exp ect the programming languages we use to b e strongly typ ed and statical ly checkable. This tension b etween giving static guarantees to the programmer while still requiring the routers to verify them is a general feature of our approach. This re ects our desire to improve usability by helping the programmer nd errors, but improv- ing safety and security by not trusting that the programmer was successful.
4 Active Packets
Perhaps the most radical vision of active networks is the one in which active packets (called `capsules' in [17 ]) entirely replace traditional packets. Although we do not claim that this radical vision will b ecome the dominant use of active networks, we b elieve it is worth exploring the idea, so that we can discover its limits. It certainly o ers the ultimate in customizability and exibility. In SwitchWare, active packets carry programs consisting of b oth co de and data and replace b oth the header and pay- load of conventional packets. Basic data transp ort can b e implemented with co de that takes the destination address part of its data, lo oks up the next hop in a routing table, and then forwards the entire packet to the next hop. At the destination, the co de delivers the payload part of the data. Of course, for pragmatic reasons, our implementations ac- tually do use some traditional headers and payloads. For
example, to tunnel through the IP Internet b etween active routers, we encapsulate an active packet in a standard UDP packet, and transp ort over an Ethernet naturally requires the use of standard headers and trailers.
We had a variety of design goals for an active packet pro- gramming language. The most imp ortant was that the lan- guage b e lightweight enough that it could serve as a packet header replacement, and suciently well de ned that we could leverage existing results in typ e-theory, programming language semantics, and formal metho ds to help us solve dicult safety and security problems. We required sp e- cial remote execution facilities to capture the idea that pro- grams transp ort themselves around the network by execut- ing themselves. We required b ounded resource usage, to help control denial of service attacks. For lightweight exe- cution, we needed to provide limited enough functionality that we did not require authentication, yet we also needed to p erform authorized actions when required. Because we did not b elieve any existing language met or could b e easily mo di ed to meet our design goals, we have designed and implemented a new programming language, PLAN (Programming Language for Active Networks). The discussion here o ers only a taste of PLAN|for more de- tails see the PLAN overview pap er [12 ], and our web site (http://www.cis.upenn.edu/~swit chwar e/PL AN.), which in- cludes a downloadable implementation of PLAN in Java and Caml, a language manual and user's guide, and a page where users can enter PLAN programs and execute them on our infrastructure.
fun ping (src:host, dst:host) : unit = if (not(thisHostIs(dst))) then OnRemote (|ping|(src, dst), dst, getRB(), defaultRoute) else OnRemote (|ack|(), src, getRB(), defaultRoute)
fun ack() : unit = print("Success")
Figure 3: ping in PLAN
Before discussing how PLAN meets its design goals, let us consider a simple example, the PLAN implementation of ping, as shown in Figure 3. A PLAN program consists of co de, plus an entry p oint into that co de (this provides a bit more exibility than having a distinguished rst function, such as main'), plus any data that make up the arguments to that initial function. For example, when ping is rst injected into the network, the program consists of the co de ab ove, an indication that theping' function should b e executed, and arguments of its source and destination. When the program is evaluated, it tests to see if it has arrived at the destination. If it has not, it forwards itself on to the destination using the OnRemote primitive. If it has arrived, it remotely evaluates the ack function directly on the source, bypassing evaluation on intermediate routers, and using defaultRoute to guide its path. One nal p oint ab out ping remains: the getRB() calls. Each PLAN packet has a resource b ound, much like IP's Time-To-Live (TTL) eld, which serves to b ound the total numb er of hops a packet and any packets it creates can take.
Each hop a packet takes decrements its resource b ound, and any time a PLAN program creates new packets using OnRemote, it must sp ecify how much of its remaining b ound will b e donated to the child packets. The getRB() call re- turns the total remaining b ound, and thus, in the case of ping, each remote evaluation carries with it all of the re- maining b ound. Now consider how PLAN meets its design goals. PLAN is closely mo deled on the simply typ ed lamb da calculus with extensions to supp ort remote evaluation. This gives it very well understo o d semantic and typ e-theoretic foundations [11 ], making it amenable to formal metho ds. PLAN only sup- p orts very simple data and control structures and thus it is easy to compile or interpret. In addition, PLAN programs can not leave b ehind or change state on a router and are limited in other ways that allow it to b e executed without authentication. PLAN is strongly typ ed so that typ e errors cannot threaten the integrity of the router. It is statically typ e checkable for programmer convenience. However, since we exp ect PLAN programs to often only execute a small part of their co de on any given router, our current implementa- tion do es dynamic typ e-checking at the routers. Finally, the resource b ound, along with limits on CPU and memory us- age on the routers, helps combat denial of service attacks.
4.2 PLANet
Recently, we have used the PLAN system to build an ac- tive internetwork, which we call PLANet. Based on the current Internet, PLANet currently provides a numb er of helpful application functions, such as reliable and unreli- able datagram delivery mechanisms, as well standard net- work proto cols, such as RIP-style routing, address resolution based on ARP, and table-based (/etc/hosts-style) name resolution. In PLANet, all transmitted packets are PLAN programs. Distributed proto cols used to maintain the net- work, such as the routing and address resolution proto cols, are implemented as a combination of PLAN programs and no de-resident services. In particular, proto col state, tim- ing threads, etc. are implemented on each no de as services; these services communicate with their counterparts on other no des via PLAN programs. This has the nice prop erty that a proto col designer do es not need to de ne new packet for- mats: all exchanged packets are PLAN programs, and so the packet formats are simply the standard wire representation of those programs. The PLANet implementation runs in user-space on Linux machines and uses Ethernet as its main underlying link layer, as well as UDP as a pseudo-link layer. The implementation is written in Caml, and uses the mo dule loader from the Active Bridge (which will b e describ ed shortly) to install new services. Despite b eing in user-space and byteco de- interpreted, our PLANet routers achieve ab out 50 Mbps for basic data delivery over 100 Mbps Ethernets. We have also run some exp eriments to determine the p otential use- fulness of active networks in improving p erformance, using b oth router extensibility and packet-level programmability. More details are available in [13 ].
4.3 Caml
Caml provides several of the design goals outlined for PLAN. It lacks the resource b ounding (and hence avoidance of au- thentication) and the sp ecial remote execution facilities. How- ever, there are many applications (such as those that require storage b eyond the execution of the packet or those which
Active Bridge core services and mo dule loader provide the basis for controls such as levels of privilege, priority, resource scheduling, and so on. With the Active Bridge, we have done a set of exp eri- ments to understand b oth the costs of loadable mo dules and the cost of our demultiplexing architecture. To test the rst case, we have a version of the Active Loader which supp orts only the Bridge. In this case, we see a throughput as mea- sured by ttcp of 61 Mbps. Our second exp eriment used the general Active Loader and gave a throughput of 54 Mbps. Of the p er-packet pro cessing time, approximately 70 s is calling recvfrom(), 70 s is pro cessing in the Bridge, and 30-40 s is calling sendto().
5.2 Namespace Security
For SwitchWare, an essential feature of the Active Bridge is its mo del of mo dule loading, which provides a exible form of namespace security. The idea dep ends on the fact that Caml, like many other languages, provides access to functionality through explicitly sp eci ed interfaces. The re- strictions imp osed by strong typing make it imp ossible to access functions, data, typ es, and so on except through the names provided by these interfaces. Analogous ideas arise in ob ject-oriented programming through restrictions based on metho ds, which also app ear as names. However, Caml and other ML variants go one step b eyond standard inter- face protection schemes by supp orting a form of restriction known as mo dule interface thinning. The idea is that a mo dule interface may provide access to functionality that is needed by some parts of the system, but to which some other mo dules, esp ecially dynamically-loaded ones, should not have direct access. For example, the built-in error log- ger in the Active Bridge needs to b e able to write to disk, but dynamically-loaded mo dules should only b e allowed to do so indirectly by using the error logger. The dynamic loader provides this capability by allowing a mo dule to b e thinned', which means that names are removed from its in- terface, b efore a new mo dule is dynamically linked. If the new mo dule tries to access a name that is not present (ei- ther b ecause it was never present, or b ecause it was thinned) then the dynamic loading pro cess fails, and the mo dule is rejected. One interesting area for further work is to combine this language-oriented namespace protection with cryptographic protection. For example, some interfaces could b e provided only to active extensions that could prove cryptographically that they came from the router vendor and were b eing in- stalled by the router owner. A general theory based onwho you are determines what you see' could b e derived from an e ective combination of interface thinning for mo dules and p olicy languages for authorization.
6 Secure Active Routers
As can b e seen from the previous sections, the SwitchWare architecture dep ends, at least in part, on language systems to guarantee the safety and security of the active network, as active packets arrive, act, and depart from a no de. While it is seductive to trust other p ortions of the architecture to p er- form as we exp ect, we b elieve that it is crucial to explore and analyze the requirements for building a secure active router infrastructure as part of the SwitchWare architecture. This infrastructure is the solid base up on which active packets
Active Packet
Active Packet
PLAN
Remote Authentication
Operating System Kernel (Protection & Device Mgmt.) AEGIS Secure Bootstrap of Hardware, Firmware and OS
Service Request
Active Router Module Loader
Remote Recovery
Active Extension
Figure 5: SANE's Relation to SwitchWare
and active extensions build. The goals for our secure active router infrastructure include the following:
To supp ort the language-oriented mo del used at higher layers of the SwitchWare architecture;
To incur minimal costs while the system is an op era- tional state, by migrating costs to an infrequently p er- formed pre-op erational phase; and
To maximize system security under a minimal set of assumptions ab out trusted comp onents.
The language-based schemes o er the b ene t of provable b ehavior, and hence an opp ortunity for building provably secure systems. For the pro ofs to succeed, however, their assumptions ab out the `state of the world' must b e true. The secure active router infrastructure guarantees that these assumptions (e.g. that a certain version of system micro co de is installed) are true. Thus the security of the SwitchWare architecture as a whole is grounded in this layer.
To emb o dy our secure active router infrastructure, we have designed the Secure Active Network Environment (SANE) [1 ]. SANE provides an architecture with: a demonstrably min- imal set of trust assumptions, the ability to securely b o ot- strap the remainder of the system when the trust assump- tions are met [4 ], and authentication and naming services for co de that is loaded. In the context of the SwitchWare architecture, the role of SANE is to ensure that the presump- tions of the other system elements, such as the active packet or extension layers, are true. An illustration of the SANE in the context of the overall SwitchWare network element architecture is shown in Figure 5. The SANE elements are combined into a system using the following design principles:
Dynamic checks, p erformed while the system is op er- ating, should b e as fast as p ossible, as they are done many times;
Static checks, p erformed b efore the system enters the op erating state, can b e more exp ensive, as they are done only once;
System p erformance can b e improved by tradeo s that decrease the cost of the dynamic checks at the exp ense of more costly static checks, or ideally by using static
checks to eliminate the need for any dynamic checking at all (analogous to once at compile time versus many at run-time).
We have done an initial implementation of SANE and made some preliminary measurements to help us understand the inherent costs of our active environment and the over- head imp osed by its security services. We wrote an active version of ping, which achieves a round trip time of 5 ms when unauthenticated. The authenticated version's round trip time is 8 ms. If we factor out the 990 s taken by the kernel and the transmission, ab out 70% of the time in the unauthenticated case is in linking the active ping co de to our environment, with 40% sp ent in up dating the symb ol table sp eci cally. In additions to these costs, the authenti- cated version sp ends 3 ms for the 4 cryptographic keyed-hash calculations (one Message Authentication Co de calculations and veri cation in either direction). For more details on SANE, see [1 ].
7 Related and Future Work
This volume is an excellant overview of related work on ac- tive networks. A comprehensive survey of active network research as of ab out one year ago [17 ] delineates some of the key di erences in approach and research directions of the early e orts. The pap ers on PLAN [12 ], the Active Bridge [3 ], and SANE [1 ] all contain extensive comparisons with related e orts. A great deal of exciting work lies in front of us. While ac- tive networks might b e viewed as revolutionary, evolutionary (or even devolutionary!), we view our work in the Switch- Ware e ort to b e one of evolving our approach under exp eri- mental scrutiny. While the elements of the system are piece- wise implemented, the software interfaces provided by each layer of the system will change as exp eriments demonstrate strengths and weaknesses of various approaches. Since many of our design assumptions ab out function placement dep end on the nature of packet ows, and therefore on the nature of active applications, we are developing applications that can b e used to test and evaluate our infrastructure as well as other prop osals. Among the more interesting applications are exible architectures for multicast, an example of which we describ ed in the intro duction, and network infrastruc- ture supp ort for booster protocols [9 ], a design metho dology that adds proto col functions as-needed, and is thus ideal for deployment on an active network infrastructure. A second ma jor thrust is interop erability with other ac- tive networks research e orts. While several of the earli- est active networks e orts selected functions on the basis of a matrix of required contributions to make the e ort as a whole complete, there has b een considerable blurring of these roles and contributions as the work has evolved. One e ort we have pursued with other memb ers of the ac- tive network community is the design of an `Active Net- work Encapsulation Proto col' (ANEP); this has grown into p erhaps the rst active network RFC [2]. ANEP has b een adopted and used in many of the active networks pro jects, and has allowed packet forwarding across the IP Internet. To achieve greater interop erability, however, we must pro- vide more than a standard packet format; this, after all, is the essence of the Internet idea. What we must provide is a means of forwarding ows and functions among and across a variety of active network no de typ es, so that user appli- cations can b e written that are oblivious to many partic- ulars of the programmable network infrastructure they are
traversing or using. E ective integration for SwitchWare might mean, for instance, that the ANTS transfer mecha- nism [18 ] could provide a go o d distribution mechanism for SwitchWare extensions, or the micro-proto cols of the En- semble Pro ject [8 ] could provide a rich set of SwitchWare services that can b e con gured by PLAN packets.
8 Conclusions
The SwitchWare active network architecture integrates the necessary comp onents of any active network element. The integration takes the form of a layered architecture, with functions partitioned b etween layers based on the exibility and security tradeo s required at each layer. Higher levels of the system provide more restricted functionality, with one consequence b eing that they provoke commensurately less security risk. A second imp ortant consequence of this lay- ering is that the higher levels can op erate with `lightweight' checks on their b ehavior. Since we b elieve that the common case will b e handled by our highest layers, such as PLAN, SwitchWare provides an attractive p oint in the space of se- curity, exibility and p erformance tradeo s. We b elieve that such an integrated architecture repre- sents the key to any veri cation or validation of an ac- tive network element. The language-based approach we de- scrib ed has thematically uni ed each of the constituents of SwitchWare: PLAN, the dynamic mo dule loading infras- tructure, and SANE. Since each of the languages or language systems involved represents an abstraction that can b e used as part of a system veri cation pro cess, we b elieve that the approach o ers the a go o d path to a veri ed network com- p osed of active network elements. Much of the software describ ed here is available over the Web. The SwitchWare homepage is http://www.cis.upenn.edu/~s witch ware. It provides a starting p oint for lo cating the software and further do cumentation, including many of the do cuments we have referenced and links to most related active network pro jects.
Acknowledgments
Hicks, Kakkar, and Mo ore implemented PLAN and PLANet; they, together with Gunter and Nettles, are resp onsible for their design as well. Alexander and Marianne Shaw designed and implemented the Active Bridge. Arbaugh designed and implemented AEGIS, the secure b o otstrap metho d used in SANE. Arbaugh and Keromytis designed AEGIS recovery. Alexander, Arbaugh and Keromytis architected SANE. We thank David Farb er of Penn, and Dave Sincoskie, Bill Mar- cus and Mark Segal of Bellcore for many valuable technical discussions. This work was supp orted by DARPA under Contract #N66001-96-C-852, with additional supp ort from the Intel Corp oration.
References
[1] D. S. Alexander, W. A. Arbaugh, A. D. Keromytis, and J. M. Smith. A Secure Active Network Environment Architecture,