GithubHelp home page GithubHelp logo

christakakis / trace_pcap_analysis Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 308 KB

Analysis and Visualization of network traffic from data centres based on trace.pcap file.

Python 100.00%
dpkt networks packets pcap pcap-analysis pcap-analyzer pcap-parser protocols tcp udp wireshark

trace_pcap_analysis's Introduction

Network Traffic Analysis in Data Centres

Analysis and Visualization of network traffic from data centres based on trace.pcap file.

In this repo we analyze network traffic in data centers based on trace in PCAP format and extract traffic characteristics in the form of distributions. Then we plot the results-distributions (e.g. CDF) of all extracted motion characteristics. For the implementation we use DPTK library.

Briefly, the repo contains:

(1) Extraction of flow characteristics in the form of distributions. The following features are extracted at the flow level:

  • Flow size (bytes)
  • Flow duration (sec)

(2) Header-based choices. The packets are grouped into flows based on the following header fields:

  • Sender's IP address
  • Receiver's IP address
  • Sender's port number
  • Receiver's port number
  • Protocol (TCP or UDP)

(3) Extraction of packet size distribution. We plot the packet size distribution which is extracted from all flows available in the .pcap file.

(4) Categorization of the traffic. We categorize the traffic into (a) TCP, (b) UDP, (c) ICMP and (d) ARP in order to find the percentage of each packet with respect to the total traffic.

This repository was initially created to store my personal python code but also be available to others trying to build or understand something similar. The code contained in this repo is made specifically for a "Computer Networks for Big Data" course of my MSc program.

trace_pcap_analysis's People

Contributors

christakakis avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.