MistletoeXW/JpcapPacketWebApi

IPV4数据分析

Opened this issue · 0 comments

获取IPV4数据分析

API

http://locahost:8080/api/ipv4/list

Method : GET

###Response

{
    "code": "SUCCESS",
    "message": null,
    "data": [
           {
              version: 4,           //IP版本
              rsvTos: 1,           //服务类型
              priority: 1,           //优先级
              length: 20,         //长度
              ident: 1,             //标识
              moreFrag: false,    //More Frag?
              dontFrag: true,     //Don't Frag?
              offset: 1,             //片偏移
              hopLimit: 1,        //生存时间
              protocol: 1,        //协议
              srcIp: "xxxxx",   //源IP
              dstIp: "xxxxx"   //目的IP
        },
        {
              version: 4,           //IP版本
              rsvTos: 1,           //服务类型
              priority: 1,           //优先级
              length: 20,         //长度
              ident: 1,             //标识
              moreFrag: false,    //More Frag?
              dontFrag: true,     //Don't Frag?
              offset: 1,             //片偏移
              hopLimit: 1,        //生存时间
              protocol: 1,        //协议
              srcIp: "xxxxx",   //源IP
              dstIp: "xxxxx"   //目的IP
        },
         ……
     ]
}