Coder Social home page Coder Social logo

pcapanalyzer's Introduction

PcapAnalyzer

...

安装运行

下载源码,源码不包含具体IDE的配置文件,可以用Intellij IDEA或Eclipse导入然后构建。

该项目依赖于 JnetPcap 项目,JNetPcap 是基于开源的 libpcap 库(C语言编写)的Java封装。

在 Windows 上运行:

  • 安装 Winpcap
  • 运行时指定 JNetPcap 动态链接库搜索路径

在 Linux/Mac 上运行:

  • 安装 libpcap
  • 运行时指定 libpcap 和 JNetPcap 共享库的搜索目录

下面是运行命令:

java -cp .;<path to jnetpcap.jar> -Djava.library.path=<path to share library> com/whinc/Main

存在的问题

  • 相同两个主机之间多次会话会被认为是一个网络流,解决办法:三次握手开始作为一个网络流的开始,四次握手时作为一个网络流的结束。发现三次握手时应新建立一个网络流。结束的网络流不能再添加数据包进来。

pcapanalyzer's People

Contributors

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