A packet I/O architecture for shell script-based packet processing

Yohei Kuga, Takeshi Matsuya, Hiroaki Hazeyama, Kenjiro Cho, Rodney D Van Meter, Osamu Nakamura

Research output: Contribution to journalArticle

1 Citation (Scopus)

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.)

Original languageEnglish
Pages (from-to)1-11
Number of pages11
JournalChina Communications
Volume11
Issue number2
DOIs
Publication statusPublished - 2014

Fingerprint

UNIX
Field programmable gate arrays (FPGA)
Processing
Pipe
Wire
Hardware

Keywords

  • device driver
  • Ethernet
  • network adapter
  • network I/O
  • Shell script
  • Software-Defined Networking

ASJC Scopus subject areas

  • Electrical and Electronic Engineering
  • Computer Networks and Communications

Cite this

A packet I/O architecture for shell script-based packet processing. / Kuga, Yohei; Matsuya, Takeshi; Hazeyama, Hiroaki; Cho, Kenjiro; Van Meter, Rodney D; Nakamura, Osamu.

In: China Communications, Vol. 11, No. 2, 2014, p. 1-11.

Research output: Contribution to journalArticle

Kuga, Yohei ; Matsuya, Takeshi ; Hazeyama, Hiroaki ; Cho, Kenjiro ; Van Meter, Rodney D ; Nakamura, Osamu. / A packet I/O architecture for shell script-based packet processing. In: China Communications. 2014 ; Vol. 11, No. 2. pp. 1-11.
@article{d2e4faf7876848de8690c764a277f3ea,
title = "A packet I/O architecture for shell script-based packet processing",
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 = "device driver, Ethernet, network adapter, network I/O, Shell script, Software-Defined Networking",
author = "Yohei Kuga and Takeshi Matsuya and Hiroaki Hazeyama and Kenjiro Cho and {Van Meter}, {Rodney D} and Osamu Nakamura",
year = "2014",
doi = "10.1109/CC.2014.6821733",
language = "English",
volume = "11",
pages = "1--11",
journal = "China Communications",
issn = "1673-5447",
publisher = "China Institute of Communication",
number = "2",

}

TY - JOUR

T1 - A packet I/O architecture for shell script-based packet processing

AU - Kuga, Yohei

AU - Matsuya, Takeshi

AU - Hazeyama, Hiroaki

AU - Cho, Kenjiro

AU - Van Meter, Rodney D

AU - Nakamura, Osamu

PY - 2014

Y1 - 2014

N2 - 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.)

AB - 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.)

KW - device driver

KW - Ethernet

KW - network adapter

KW - network I/O

KW - Shell script

KW - Software-Defined Networking

UR - http://www.scopus.com/inward/record.url?scp=84902086177&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=84902086177&partnerID=8YFLogxK

U2 - 10.1109/CC.2014.6821733

DO - 10.1109/CC.2014.6821733

M3 - Article

AN - SCOPUS:84902086177

VL - 11

SP - 1

EP - 11

JO - China Communications

JF - China Communications

SN - 1673-5447

IS - 2

ER -