The TOFFEE Project

PiPG - Raspberry Pi Network Packet Generator

Welcome to PiPG

PiPG is a powerful and yet simple Raspberry Pi Network Packet Generator. With PiPG you can now fabricate custom network packets and send via any Network Interface. Supports all kinds of standard Network Ports (Linux Kernel driver generated) such as Physical Network Interface ports, and an array of virtual ports such as loopback, tun/tap, bridge, etc. PiPG is a part of The TOFFEE Project research.

Download PiPG (complete MicroSD Image):

indispensable tool for:

  • Network Debugging, Testing and Performance analysis
  • Network Administrators
  • Students
  • Network R&D
  • Protocol Analysis and Study
  • Network Software Development
  • Compliance Testing
  • Ethical Hackers

you can generate the following test traffic:

  • L2-Bridging/Slow protocols: STP, LACP, OAM, LLDP, EAP, etc
  • Routing protocols: RIPv1, RIPv2, IGMPv1, IGMPv2, OSPF, IS-IS, EIGRP, HSRP, VRRP, etc
  • Proprietary protocols: CISCO, etc
  • Generic: IPv4 TCP/UDP, etc
  • Malformed random packets

Installation and Setup:

The download PiPG tar-ball is a complete ready-to-use disk image of Raspberry Pi OS in which PiPG is pre-installed. You can download the binary (the install image above), un-tar it and install on a microSD card which is around larger than or equal to 16GB capacity. Since I built this PiPG image on a 8GB microSD card. You can follow the standard official Raspberry Pi guide for general Raspberry Pi OS image install steps: Installing operating system images

Buy in Amazon:

PiPG UI: You can access the PiPG UI via browser as shown below.
The default username is: root and the password is: welcome
The default Raspberry Pi OS login username and password is: pi and the password is: raspberry
URL: http://localhost

For installation, setup and overall usage, kindly watch my Youtube video below:

Dedicated Raspberry Pi Network Console Port:

You can optionally have a dedicated Network Console port for your Raspberry Pi PiPG device. So that you can remotely access the PiPG web UI and configure the same, while sending the generated packets via other dedicated test/alternate ports. To learn more about the same, kindly watch my detailed Youtube video below:

Here are some of the screenshots of the PiPG-v1.0.26:






Even though a license be is not paid for use of such Freeware, it does not mean that there are not 
conditions for using such Freeware. As a condition for granting you a license to use Freeware programs 
that are available through this site, you agree to all of the following terms and conditions. You are deemed 
to have read, understood and accepted all such terms and conditions upon executing a download of any 
Freeware program.

If you fall to abide by any of the terms and conditions set forth herein, your license to use such Freeware 
shell be immediately and automatically revoked. without any notice or other action by the Copyright 


  1.  You are granted a non-exclusive license to use the Downloaded Software subject to your 
      compliance with all of the terns and conditions of this Freeware License.

  2.  You may only use be software on a single computer that you own, lease or control. You may 
      make one backup copy of the software for your own use to replace the primary copy in the 
      event of hard-drive failure or other unavailability of the primary copy. The backup copy shall 
      retain all copyright notices.

  3.  You are only granted a license for the machine-readable, object code portion of the software. 
      You will not modify, enhance, reverse engineer or otherwise alter the software from its 
      current state.

  4   You may not distribute, copy, publish, assign, sell, bargain, convey, transfer, pledge, lease or
      grant any further rights to use the software.

  5.  You will not have any proprietary rights in and to the software. You acknowledge and agree
      that the Licensor retains all copyrights and other proprietary rights in and to the software.

  6.  Your license to use the software shall be revocable by the Licensor upon written notice
      you. This license shall automatically terminate upon your violation of the terms hereof or upon 
      your use of the software beyond the scope of the license provided herein.

  7.  Use within the scope of this license is free of charge and no royalty or licensing fees shall be
      payable by you. Use beyond the scope of this license shall constitute copyright infringement.

Copyright (C) (2020) Kiran Kankipati. All Rights Reserved.
Email:	[email protected]

💎 TOFFEE-MOCHA new bootable ISO: Download
💎 TOFFEE Data-Center Big picture and Overview: Download PDF

Recommended Topics:

iPerf Network Optimization - WAN Optimization Demo ↗
Saturday' 13-Mar-2021

My sample Wireshark packet capture files for research ↗
Saturday' 13-Mar-2021
I have a huge repository (or collection) of sample Wireshark packet capture files for reference. I use them extensively for research and development of TOFFEE as well to understand various protocol PDUs and protocol standards. I personally collected various test captures via Wireshark during my test and experimental research setup during the course of TOFFEE development. Say if you are a student and learning Networking and or say VoIP data and VoIP packets, you can analyse my VoIP sample Wireshark captures. Or in other case assume you are doing some quick research (or development) and want to refer few handful of VoIP packets then you can download and analyse my sample packet capture files.

TOFFEE DataCenter WAN Optimization - Google Hangouts demo and VOIP Optimization ↗
Saturday' 13-Mar-2021
TOFFEE DataCenter WAN Optimization - Google Hangouts demo and VOIP Optimization

A study on Deep Space Networks (DSN) ↗
Saturday' 13-Mar-2021
When you are dealing Deep Space Networks (DSN) one among the most challenging parts is the Interplanetary distances and communicating data across such vast distances. This is where we are not dealing with common Internet type traffic such as HTTP/FTP/VoIP/etc but it is completely different when it comes to DSN so far. So optimizing data in DSN becomes mandatory. For example if you think one of the Mars Rovers, they have used LZO lossless compression.

TOFFEE Benchmarks :: TOFFEE-1.1.28 ↗
Saturday' 13-Mar-2021
Here is the TOFFEE WAN Optimization benchmarks of the TOFFEE version: TOFFEE-1.1.28. This is the current TOFFEE development version till date (2-Jul-2016). This is a HPC TOFFEE variant meant for high-end custom build servers and high-end desktops (i.e High Performance Computing a.k.a HPC). TOFFEE built this way often needs customized kernel compilation and build such as processor specific and hardware specific tune-ups since it is highly CPU intensive (if not offloaded via Hardware Accelerator Cards).

TOFFEE (and TOFFEE-DataCenter) optimized Wireless Mesh-Networks - B.A.T.M.A.N [ (Open Mesh)] ↗
Saturday' 13-Mar-2021
TOFFEE/TOFFEE-DataCenter can be used to optimize Ad-Hoc Mobile Wireless Mesh-Networks. To learn more about the same here are some references: B.A.T.M.A.N. - Mobile ad hoc network (MANET) - Wireless ad hoc network (WANET) - (Open Mesh) Wiki -

Watch on Youtube - [452//1] 158 VLOG - TOFFEE WAN Optimization Software Development live update - 6-Nov-2016 ↗

TOFFEE (and TOFFEE-DataCenter) optimized Satellite (inflight/marine/defense) ISP Networks ↗
Saturday' 13-Mar-2021
TOFFEE Optimized Satellite ISP Network: TOFFEE/TOFFEE-DataCenter can be used to optimize Satellite Networks (Satellite based Internet Networks, VoIP, Data, private leased-links) as shown. Ground station transponders can be connected via array of TOFFEE Devices and in the remote CPE can have dedicated or inbuilt TOFFEE with which you can establish a WAN Optimized Satellite Network Tunnel as shown.

DIY TOFFEE WAN Optimization Device with Intel Celeron Mini PC ↗
Saturday' 13-Mar-2021
Here is a step-by-step DIY to build your own Intel based Mini PC WAN Optimization Device with TOFFEE. I chose this below Intel Celeron Mini PC since it is fan-less aluminium case and as well it has 2 dedicated inbuilt Gigabit Ethernet ports. You can use one for LAN Network and one for WAN Network.

TOFFEE-Mocha Documentation :: TOFFEE-Mocha-1.0.32-1-x86_64 and TOFFEE-Mocha-1.0.32-1-i386 ↗
Saturday' 13-Mar-2021

TOFFEE-Mocha - WAN Emulator :: TOFFEE-MOCHA-2.0.3-0-10-nov-2018-x86-64.iso ↗
Saturday' 13-Mar-2021
Download TOFFEE-MOCHA-2.0.3-0-10-nov-2018-x86-64.iso via Google Drive share: Live bootable x86-64 Debian Stretch 9.5 with light-weight LXDE UI ISO (includes source-code): TOFFEE-MOCHA-2.0.3-0-10-nov-2018-x86-64.iso You can find the source tar-ball in the /root folder. To know more about the project kindly refer TOFFEE- Mocha: News and Updates - Documentation. To know more about current specific release, objectives, features, release notes/updates, quick demo and future road-map, you can watch my video below.

Featured Educational Video:
Watch on Youtube - [4059//1] 0x1c9 NAS OS | Expert's take on FreeNAS vs UNRAID | My two cents | Best Tips ↗

Grid Hosting vs CDN Hosting ↗
Saturday' 13-Mar-2021

TOFFEE-Mocha WAN Emulation software development - Update: 15-July-2016 ↗
Saturday' 13-Mar-2021
Today I completed doing all the changes which are meant for the new upcoming TOFFEE-Mocha release. I have increased the resolution and the range of all factor variables. Instead 1 to 10 range now they have a range of 1 to 30. Unlike before the value 1 means it is lot more intense (or in some cases less intense) and the uppermost value 30 means lot less intense (or in some cases lot intense).

First TOFFEE-Butterscotch Code Release ↗
Saturday' 13-Mar-2021
TOFFEE-Butterscotch is a variant of TOFFEE can be used to save and optimize your Home/SOHO Internet/WAN bandwidth. Unlike TOFFEE (and TOFFEE-DataCenter) TOFFEE-Butterscotch is a non peer-to-peer (and asymmetric) network optimization solution. This makes TOFFEE-Butterscotch an ideal tool for all Home and SOHO users.

How to check a website using CDN ? ↗
Saturday' 13-Mar-2021

TOFFEE-Mocha Documentation :: TOFFEE-Mocha - Jitter feature ↗
Saturday' 13-Mar-2021

Research :: Optimization of network data (WAN Optimization) at various levels:
Network File level network data WAN Optimization

Learn Linux Systems Software and Kernel Programming:
Linux, Kernel, Networking and Systems-Software online classes

Hardware Compression and Decompression Accelerator Cards:
TOFFEE Architecture with Compression and Decompression Accelerator Card [CDN]

TOFFEE-DataCenter on a Dell Server - Intel Xeon E5645 CPU:
TOFFEE-DataCenter screenshots on a Dual CPU - Intel(R) Xeon(R) CPU E5645 @ 2.40GHz - Dell Server