Giter Club home page Giter Club logo

tcp_traffic_gen's Introduction

1 COMPILATION

To compile on 32-bit machine, say

make trafficGen32

To compile on 64-bit machine, say

make trafficGen64

2 CREATING INTERFACE FOR MONITORING

To create a wireless monitoring device that will be used to collect radiotap headers, say

sudo iw dev wlan0 interface add mon0 type monitor
sudo ifconfig mon0 up

where wlan0 is the name of your wireless interface. You can find it out by saying

iwconfig

You need to create the monitoring device only once. After that it should work until rebooting.

3 RUNNING TRAFFIC GENERATOR

To run the traffic generator, say

sudo ./trafficGen32 --role=receiver --active --passive-ip=54.76.150.9 --passive-port=54341 --dev-name=wlan0 --dev-name-mon=mon0 --trace-duration=1800 --log-dir=/path/to/output/directory --tcp-info-log-interval=1000

Replace /path/to/output/directory by the path to the output directory.
Replace wlan0 by the name of your wireless interface.
Use trafficGen32 or trafficGen64 depending on your machine's architecture.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.