Title :
A packet I/O architecture for shell script-based packet processing
Author :
Kuga, Yasuo ; Matsuya, Takeshi ; Hazeyama, Hiroaki ; Cho, Kun ; Van Meter, Rodney ; Nakamura, Osamu
Author_Institution :
Grad. Sch. of Media & Governance, Keio Univ., Fujisawa, Japan
Abstract :
We propose a new scripting model for rapid and easier development of packet processing using shell scripts. In this paper we present EtherPIPE, a character network I/O device, that allows the programmer to access network traffic data as a file through UNIX commands. By setting a UNIX pipe "|" from or to EtherPIPE\´s output or input with UNIX commands, packets can be easily processed, executing functions such as packet filtering, packet capturing, generating arbitrary packets, and rewriting header information. In order to prove the utilities of our model, we have developed FPGA-based EtherPIPE adapter using a commodity FPGA card and a character device driver featuring new offloading functions. With our prototype implementation, packet scripting works at 1Gbps wire-speed, receiving packets with precise hardware timestamps. This paper argues for use cases of the EtherPIPE, and discusses enhanced formats of character devices for easier network scripting.).
Keywords :
Unix; application program interfaces; authoring languages; device drivers; field programmable gate arrays; peripheral interfaces; EtherPIPE; FPGA card; UNIX commands; arbitrary packets; character device driver; header information; network scripting; network traffic data; packet I/O architecture; packet capturing; packet filtering; packet scripting works; shell script based packet processing; Filtering; Protocols; Read only memory; Repeaters; Ethernet; Shell script; Software-Defined Networking; device driver; network I/O; network adapter;
Journal_Title :
Communications, China
DOI :
10.1109/CC.2014.6821733