Skip to content
Fabricio Rodríguez edited this page Apr 23, 2018 · 6 revisions

Welcome to the BB-Gen wiki!

BB-Gen is simple CLI based packet crafter written in Python over Scapy library to generate packet flows formatted as PCAP files by taking user-defined parameters as inputs based on the headers defined in a P414 program. It can natively crafts packets for different standard and custom protocols. It aims to create PCAP files to be used with a wide set of Traffic Generators (e.g., pktgen-dpdk, NFPA, TCPDUMP, etc.) helping network developers to validate the network and execute performance tests over the targets.

Installation

step 1: $ sudo apt-get install git
step 2: $ git clone https://github.com/intrig-unicamp/BB-Gen.git
step 3: $ cd BB-Gen
step 4: $ git submodule update --init --recursive
step 5: $ cd p4-hlir
step 6: $ sudo python setup.py install
step 7: $ cd ..
step 8: $ sudo ./dependencies.py
step 9: $ python main.py

BB-Gen supported protocols:

  • Ethernet
  • IPv4 / IPv6
  • UDP
  • TCP
  • GRE
  • VXLAN

Shortcuts

Get source

https://github.com/intrig-unicamp/BB-Gen.git
[email protected]:intrig-unicamp/BB-Gen.git

Team

Fabricio E Rodriguez Cesen ([email protected])
P Gyanesh Kumar Patra ([email protected])
Christian Rodolfo Esteve Rothenberg ([email protected])

We are members of INTRIG (Information & Networking Technologies Research & Innovation Group) at University of Campinas - Unicamp, SP, Brazil.

Acknowledgments

This work was supported by the Innovation Center, Ericsson Telecomunicações S.A., Brazil under grant agreement UNI.61.