Giter Site home page Giter Site logo

httpflow's Introduction

httpflow

Installation

##  Based on SourceCode
> curl -sL http://www.zlib.net/zlib-1.2.11.tar.gz -O
> curl -sL http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz -O
> tar zxvf libpcap-1.8.1.tar.gza
> tar zxvf zlib-1.2.11.tar.gz
> cd libpcap-1.8.1 && ./configure && make && make install && cd ..
> cd zlib-1.2.11 && ./configure && make && make install && cd ..

# Or 

## On CentOS
yum install libpcap-devel zlib-devel

## On Ubuntu
apt-get install libpcap-dev zlib1g-dev

## On Darwin
### do nothing
  • build httpflow
> git clone https://github.com/six-ddc/httpflow
> cd httpflow &&  make && make install

or directly download Release binary file.

Usage

> httpflow -h

libpcap version 1.3.0
httpflow 0.0.1

Usage: http_dump [-i interface] [-f filter] [-s snapshot-length] [-w output-path]
  • Capture default interface
> httpflow
  • Capture all interfaces
> httpflow -i any
  • Use the expression to filter the capture results
# If no expression is given, all packets on the net will be dumped.
# For the expression syntax, see pcap-filter(7).
> httpflow -f 'tcp port 80 and host baidu.com'

httpflow's People

Contributors

six-ddc avatar

Watchers

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