pcap-map

5
pcap-map: visualize Wireshark trace Junxiao Shi, 2015-04-11 http://yoursunny.com/p/pcap-map /

Upload: shi-junxiao

Post on 27-Jul-2015

47 views

Category:

Software


1 download

TRANSCRIPT

Page 1: pcap-map

pcap-map: visualize Wireshark

traceJunxiao Shi, 2015-04-11

http://yoursunny.com/p/pcap-map/

Page 2: pcap-map

Introduction

• pcap-map is a web application that visualizes a network traffic trace on a map.• You may use pcap-map to:• see where are the websites you have visited, using a

trace from a laptop;• see where are the clients of your website, using a trace

from a server.

Page 3: pcap-map

How to Use

1. collect network traffic trace with tcpdump or Wireshark• save as libpcap 2.4 format (.pcap, not .pcapng)

2. load the trace into pcap-map web application3. select the type of visualization you want to see

Page 4: pcap-map

Available Visualizations

• Host plot: where are the hosts• TCP: HTTP servers, HTTPS servers, other UDP• UDP: DNS servers, other UDP

• Heat map: how many packets came from a region• TCP and UDP

Page 5: pcap-map

Technical Overview

• The trace is parsed entirely in browser.• HTML5 Web Workers, FileReaderSync• hand-written parsers for pcap, Ethernet header, IPv4

header, TCP header, UDP header

• IP addresses found in the trace are sent to the server to lookup geoip database.• MaxMind GeoLite2 database

• Geographical locations of IP addresses are plotted on a world map.• Google Maps API• Google Maps visualization library