Git Product home page Git Product logo

pcap-analysis-flow's Introduction

pcap-analysis-flow

Programs to analyze pcap file and extract flow statistics, identification, HTTP protocol fields in a batch mode.

by chenxm

2013-03

Requirements

Your systems should have the standard tcptrace, tstat, justniffer installed and their binary files called with $PATH variables (ex. /usr/bin).

New version of pcapDPI (binary file has been delivered along with the project)

Usage

pcap-workflow.sh combines the analysis from a pcap trace to precisely formated logs in .csv format. The workflow aggerates following processing:

|tcptrace on pcap| --> |tstat on pcap| --> |merge tcptrace and tstat outputs| -->

|justniffer on pcap| -->

|pcapDPI on pcap| -->

|format the outputs all above|

Utilities

batch-tcpprep.sh: a wrapper of tcpprep (an utility of tcpreplay to generate cache file used by main programs) to generate cache files for multiple pcap files with one line command.

batch-tcpreplay.sh: a wrapper of tcpreplay to replay multiple pcap files with one line command. It must work after the batch tcpprep wrapper.

captcp.py: a borrowed tool from: http://research.protocollabs.com/captcp/

pcap-split-client-server.py: split pcap traces into client and server sides by indicating client/server networks. If only the --client network is explicit, the packets with source IP belonging to the network are classified as client while all the others are classified as the server side. It's the same that only --server network is explicit. If the --client and --server are both explicit, the packets with source IP belonging to the client AND destination IP belonging to the server are classified as client; the packets with reversed direction are classified as server side; and the left is ignored.

pcap-split-fixed-size.sh: a preprocessing tool for hadoop to prepare fixed-size input pcap files. Each split file is with some fixed size, the default being 64MB.

pcap-analysis-flow's People

Contributors

caesar0301 avatar

Stargazers

Andrey Ferriyan avatar Salahi Halil Altıncı avatar

Watchers

James Cloos avatar  avatar Noor ul haq Musadiq 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.