Skip to content
Snippets Groups Projects
README.md 2.19 KiB
Newer Older
Michael Tüxen's avatar
Michael Tüxen committed
# packetdrill
Michael Tüxen's avatar
Michael Tüxen committed
[![Coverity Scan Build Status](https://scan.coverity.com/projects/13944/badge.svg)](https://scan.coverity.com/projects/packetdrill-nplab)

Michael Tüxen's avatar
Michael Tüxen committed
A fork of [packetdrill](https://code.google.com/p/packetdrill/) which adds support for
* UDPLite as specified in [RFC 3828](https://tools.ietf.org/html/rfc3828)
Michael Tüxen's avatar
Michael Tüxen committed
* SCTP as specified in [RFC 4960](https://tools.ietf.org/html/rfc4960),  [RFC 4820](https://tools.ietf.org/html/rfc4820), [RFC 6458](https://tools.ietf.org/html/rfc6458), and [RFC 7053](https://tools.ietf.org/html/rfc7053)
Michael Tüxen's avatar
Michael Tüxen committed

Michael Tüxen's avatar
Michael Tüxen committed
and generic bugfixes, espcially several fixes required to get packetdrill working on FreeBSD.
Michael Tüxen's avatar
Michael Tüxen committed
MacOS (El Capitan and higher) is also supported.
Michael Tüxen's avatar
Michael Tüxen committed

Michael Tüxen's avatar
Michael Tüxen committed
## Information
Michael Tüxen's avatar
Michael Tüxen committed
There are some papers ([;login: October 2013](https://www.usenix.org/system/files/login/articles/10_cardwell-online.pdf), [USENIX ATC '13](https://www.usenix.org/system/files/conference/atc13/atc13-cardwell.pdf)) and a presentation ([ICCRG IETF87](https://www.ietf.org/proceedings/87/slides/slides-87-iccrg-1.pdf)) describing packetdrill.
Michael Tüxen's avatar
Michael Tüxen committed

Michael Tüxen's avatar
Michael Tüxen committed
## Installation
Michael Tüxen's avatar
Michael Tüxen committed
### MacOS (El Capitan and higer)
Download the sources, compile them and install the binary:
```
git clone https://github.com/nplab/packetdrill.git
cd packetdrill/gtests/net/packetdrill/
./configure
make
sudo cp packetdrill /usr/bin
```
Michael Tüxen's avatar
Michael Tüxen committed
### Linux (Ubuntu)
For installing the required packages run:
```
Michael Tüxen's avatar
Michael Tüxen committed
sudo apt-get install make git libsctp-dev bison flex python
Michael Tüxen's avatar
Michael Tüxen committed
```
Michael Tüxen's avatar
Michael Tüxen committed
Then download the sources, compile them and install the binary:
Michael Tüxen's avatar
Michael Tüxen committed
```
git clone https://github.com/nplab/packetdrill.git
cd packetdrill/gtests/net/packetdrill/
./configure
Michael Tüxen's avatar
Michael Tüxen committed
make
Michael Tüxen's avatar
Michael Tüxen committed
sudo cp packetdrill /usr/bin
Michael Tüxen's avatar
Michael Tüxen committed
```
### FreeBSD
For installing the required packages run:
```
Michael Tüxen's avatar
Michael Tüxen committed
sudo pkg install git bison python
Michael Tüxen's avatar
Michael Tüxen committed
```
Michael Tüxen's avatar
Michael Tüxen committed
Then download the sources, compile them and install the binary:
Michael Tüxen's avatar
Michael Tüxen committed
```
git clone https://github.com/nplab/packetdrill.git
cd packetdrill/gtests/net/packetdrill/
./configure
Michael Tüxen's avatar
Michael Tüxen committed
make
Michael Tüxen's avatar
Michael Tüxen committed
sudo cp packetdrill /usr/local/bin
Michael Tüxen's avatar
Michael Tüxen committed
```
Michael Tüxen's avatar
Michael Tüxen committed
To be able to run packetdrill in combination with `sudo` run
```
sudo sysctl -w vm.old_mlock=1
```
or add
```
vm.old_mlock=1
```
to `/etc/sysctl.conf` and reboot.
Michael Tüxen's avatar
Michael Tüxen committed
##  Continous Integration
Michael Tüxen's avatar
Michael Tüxen committed
The status of continous integration testing is available from [Buildbot](http://buildbot.nplab.de:38010/#/console).