omriher / CapTipper

Malicious HTTP traffic explorer
GNU General Public License v3.0
711 stars 159 forks source link

Not support RAW IP Packet Format #12

Open carfieldca opened 9 years ago

carfieldca commented 9 years ago

--- CapTipper-master/pcapparser/constant.py 2015-08-06 16:42:26.000000000 -0700 +++ CapTipper-fix/pcapparser/constant.py 2015-08-13 15:28:32.170656700 -0700 @@ -14,6 +14,7 @@ class LinkLayerType(object): """LinkType""" ETHERNET = 1 LINUX_SLL = 113

--- CapTipper-master/pcapparser/packet_parser.py 2015-08-06 16:42:26.000000000 -0700 +++ CapTipper-fix/pcapparser/packet_parser.py 2015-08-13 15:31:03.883334100 -0700 @@ -78,6 +78,10 @@ def dl_parse_ethernet(link_packet): pass return n_protocol, link_packet[eth_header_len:]

+def dl_parse_rawip(link_packet):