GithubHelp home page GithubHelp logo

pkpraveen895 / pcap-analyser Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 6.0 7.14 MB

Analyzed a Wireshark/TCPdump trace to characterize the TCP flows in the trace and also figured out the HTTP Versions, congestion window sizes and packet losses

Python 100.00%
tcpdump wireshark pcap-analyzer pcap-parser networks congestion-control http tcp wireshark-dissector packets

pcap-analyser's Introduction

pcap-analyser

A)Wireshark Programming: Extract all the information from network bytes received based on TCP header and data part. Compute throughput, loss rate and average RTT for the pcap captured.

B)Congestion control: Estimation of initial congestion window size and look at it's variation. Extract retransmissions and segregate them in two parts: Due to triple duplicate acks and timeout.

C)HTTP Analysis: Reassemble each unique HTTP Request/Response and identify which HTTP protocol is being used for each PCAP collected file. Perform comparitive analysis on the basis of load speed and bytes sent out to network.

Analyzed a Wireshark/TCPdump trace to characterize the TCP flows in the trace and also figured out the HTTP Versions, congestion window sizes and packet losses

Part A

Run the program - python analysis_pcap_tcp_A.py

Part B

Run the program - python analysis_pcap_tcp_B.py

Part C

Command to run tcpdump:

sudo tcpdump -i en0 -n port 1080 -w http_1080.pcap

sudo tcpdump -i en0 -n port 1081 -w tcp_1081.pcap

sudo tcpdump -i en0 -n port 1082 -w tcp_1082.pcap

Run the program - python analysis_pcap_http.py

pcap-analyser's People

Contributors

pkpraveen895 avatar

Stargazers

 avatar  avatar  avatar  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.