
Active Networks
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
This book constitutes the thoroughly refereed post-proceedings of the IFIP-TC6 6th Annual International Working Conference on Active Networks, IWAN 2004, held in Lawrence, KS, USA in October 2004.
The 14 revised full papers presented together with 1 invited paper were carefully reviewed and selected from 32 submissions. The papers are organized in topical sections on active networking systems, active networking security, active networking applications, mobile active networks, and active networking management.
Written for: Researchers and professionals
Keywords:
IP networks
QoS
active networking
active networks
active routers
active services
ad-hoc networking
adaptation
intelligent networking
mobile communications
mobile computing
network architecture
network management
network processors
network security
network services
networking
overlay networks
programmable networks
secure signaling
service management
ubiquitous computing
wireless networking
More details
Other editions
Additional editions

Content
GateScript: A Scripting Language for Generic Active Gateways (p. 1-2)
Hoa-Binh Nguyen and Andrzej Duda
LSR-IMAG Laboratory
Institut National Polytechnique de Grenoble
BP. 72, 38402 Saint Martin d’Hères, France
Abstract. In this paper, we present GateScript, a scripting language for active applications to be executed on generic active gateways. Unlike other active networking platforms, it o.ers a simple scripting language for expressing custom processing of packets at di.erent protocol layers without the need for interpretation of complex protocol data structures. In this way, the user writes statements in a script-like language while using protocol-speci.c variables and prede.ned function calls acting on the packet’s content. From a textual description, we automatically create a packet parser and reassembler for a given protocol. The parser decomposes PDUs arriving in an active application into protocol variables that can be used in the script language. After processing, outcoming packets are reconstructed from the protocol variables. GateScript also enables active applications to react to the state of the environment: they can receive events from monitors and test variables re.ecting the state of the environment.
We have designed an architecture for a generic active gateway (GAG) that supports GateScript. An active application can dynamically install/ remove a packet .lter that intercepts relevant packets and passes them to the application. We have implemented GAG on Linux: its packet forwarding part is implemented in the kernel and all other components as user space processes.
1 Introduction
In our work, we address the problem of customizing user .ows in active gateways at the border of the network infrastructure. Unlike traditional proxy nodes, active gateways provide transparent processing of data streams without the need of con.guring client hosts. An active gateway may be placed in the access network, for example in the last router connected to a LAN. Many applications may benefit from custom processing physically located close to the client host, especially if it has limited resources. Consider for example small mobile devices that require some adaptation or reaction to changing conditions, and pervasive environments with various devices such as sensors or actuators—an active gateway can provide additional processing in the fixed network infrastructure. In some cases, we may even want to place the gateway functionality on the end system, so that the user can easily control, filter, or adapt flows arriving to the device.
We have designed and developed GateScript, a scripting language for easy programming of active applications that process packets in active gateways. Although there are several platforms for adding programmability to a network node, usually they are programmed in a full-.edged programming language such as Java [8,18], C [5,21], or TCL [1]. Moreover, many platforms require kernel modules or plugins to be developed [13,14], which can be done by experts, but it is too tedious for most of users.With GateScript we want to o.er a simple scripting language for expressing custom processing of packets at different protocol layers without the need for interpretation of complex protocol data structures. In this way, the user just writes a script that uses variables relative to a given protocol and calls prede.ned functions working on the packet’s content.
More specifically, GateScript provides a higher level view than traditional languages and automates the tasks of interpreting/constructing data packets. Coupling protocol variables to values in a received packet is automatically done by a packet parser generated from a formal description of a protocol. The variables available to script programs represent either protocol header fields (e.g. $http.content type for a HTTP Reply or $tcp.window for a TCP segment) or elements of the packet data content (e.g. $html.title for the title HTML markup). When some values of variables are detected in a packet by the protocol parser, they are made available to a script program so it can take some action or modify them. Simple statements allow to test the values contained in a packet and invoke functions able to modify its content or perform other actions such as packet duplication or drop.
With GateScript, we also explore the possibility of coupling the behavior of an active gateway with the state of the environment. Some active applications that we call proactive are able to dynamically react and adapt to varying conditions [17]. They cooperate with monitors, special entities that observe the state of the network, routers, or hosts. GateScript proposes a statement for waiting for an event to execute some operations when a monitor signals an event.
To support GateScript, we have designed and implemented an architecture for a generic active gateway called GAG. An active application can install a packet filter that recognizes some packets according to the information in the packet header and passes them to the application. Then, it is parsed and the GateScript engine interprets the code of a script that processes the packet. Intercepting packets can be activated and disabled dynamically, so that there is no overhead for forwarding packets that do not require active processing.
System requirements
File format: PDF
Copy protection: Watermark-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use the free software Adobe Reader, Adobe Digital Editions, or any other PDF viewer of your choice (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or another reading app for eBooks, e.g., PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Watermark-DRM, a „soft” copy protection. This means that there are no technical restrictions to prevent illegal distribution. However, there is a personalised watermark embedded in the eBook that can be used to identify the purchaser of the eBook in the event of misuse and to provide evidence for legal purposes.
For more information, see our eBook Help page.