Welcome to the documentation for Ipktgen¶
Overview¶
Ipktgen is a realistic packet generator. It uses ML algorithms and statistical distributions to create a model for network traffic seen in an input pcap file. The model generated, can then taken to a different network and be used to generate traffic that is very similar to what was seen in the original capture file.
Getting Started¶
Installing Ipktgen¶
Requirements¶
Before downloading and using ipktgen, ensure that you have the following python libraries installed on the device on which you intend to run ipktgen: dpkt, numpy, pandas, scipy, scikit-learn and matplotlib.
all these can be installed fom pip using the command:
# pip install dpkt numpy pandas scipy scikit-learn matplotlib
Downloading Ipktgen¶
Ipktgen sources can be downloaded from bitbucket using:
# hg clone https://bitbucket.org/oadele3/ipktgen/
Once downloaded, Ipktgen can be used as demonstrated in Quickstart Tutorial