CRAWDAD metadata: tools/process/pcap/pcapsync (v. 2008-08-23)

Pcapsync is a tool to time-synchronize tracefiles recorded in libpcap format. Its main application area are logfiles of real-world experiments with wireless multihop networks like MANETs (mobile ad-hoc networks), VANETs (vehicular ad-hoc networks) or mesh networks. The underlying algorithm, however, is more general and can be applied to any network with local broadcast characteristic.
[xml metadata]

Note: This metadata was prepared by the CRAWDAD team and verified by the data set (or tool) authors. We have made every effort to ensure its accuracy, but urge all users to consider the metadata and data carefully and be sure that their use in research is consistent with the nature and limitations of the data. We welcome any corrections. This metadata was prepared based on the following reference(s):


CRAWDAD metadata structure[what is CRAWDAD metadata]


[Tool] tools/process/pcap/pcapsync (v. 2008-08-23)

top

version v. 2008-08-23
(equivalent to v0.1)
changes
the initial version.
bibtex
@MISC{tools-process-pcap-pcapsync-2008-08-23,
  author = {Wolfgang Kiess and Björn Scheuermann and Daniel Marks},
  title = {{CRAWDAD} tool tools/process/pcap/pcapsync (v. 2008-08-23)}, 
  howpublished = {Downloaded from http://crawdad.cs.dartmouth.edu/tools/process/pcap/pcapsync},
  month = aug,  
  year = 2008
}
					
metadata last modified2009-02-12
summary
Pcapsync is a tool to time-synchronize tracefiles recorded in libpcap format. 
Its main application area are logfiles of real-world experiments with wireless 
multihop networks like MANETs (mobile ad-hoc networks), VANETs (vehicular ad-hoc networks) 
or mesh networks. The underlying algorithm, however, is more general and 
can be applied to any network with local broadcast characteristic.
release date2008-08-23
web site http://www.crawdad.org/tools/process/pcap/pcapsync
wiki go to the wiki page for this tool
keyword802.11, MANET, packet trace, tcpdump, vehicular network, wireless mesh network, wireless multihop networks
authorsWolfgang Kiess
Björn Scheuermann
Daniel Marks
support
Before using the tool, we strongly recommend to read

"On the Time Synchronization of Distributed Log Files in Networks
with Local Broadcast Media", available at
http://www.cn.uni-duesseldorf.de/publications/details/Scheuermann2008c.html
This paper explains the details of the algorithm used for the
synchronization, furthermore it contains some estimates of the
achievable accuracy. To quote pcapsync, use this paper.

For information, bug reports, feature requests, ... please refer to
pcapsync@cs.uni-duesseldorf.de
build
To compile pcapsync, the following packages must be installed:
        - openssl for the lcrypto library
        - libpcap for the lpcap library
        - flex
        - bison

Then type 'make'.
parameters
- Input files naming convention

The input files for pcapsync have to be named beginning with the MAC
adress of the recording interface, followed by a dot. An example for
this is "00099D9F1B3C.cap".
usage
Usage: pcapsync [flags] [options] <list_of_input_files>

flags:
-h      Print this help text and terminate.
-s      Output one .synced file for each input file.
-g      Output a global .synced file to the output directory.
-t      Output files for use with tsc.
-l      Logs swaped packets during the synchronization.

options:
-o <outputDirectory>    Defines an output directory.
If no output directory is defined every output file is written to its input file directory.
algorithm
A fundamental problem in real-world computer network experiments is that 
each system uses its own local clock to timestamp events. These clocks 
are not perfectly accurate, and thus deviate from each other. Event 
timestamps assigned by different nodes can therefore not immediately 
be compared, making the analysis of experimental results difficult.
In order to solve this issue we have proposed in a previous publication 
to record the occurring events with the deviating, local clocks and 
synchronize the resulting event log files offline after the experiment. 
The synchronization is based on so-called anchor points, that is, 
on events that have been recorded and timestamped by more than one node 
in parallel. The anchor points allow to set the clocks of the nodes 
into relation. In networks where the medium has a broadcast characteristic 
(like many wireless networks, but also Ethernet using hubs), the (almost) 
parallel reception of a packet transmission by multiple nodes can serve 
as such an anchor point.

This algorithm is implemented in pcapsync, a tool to synchronize event logs 
from experiments in IEEE 802.11 wireless networks. It reads a set of log files 
that have been recorded in libpcap format (used, e. g., by tcpdump and Wireshark), 
identifies potential anchor points in them, applies our offline time 
synchronization algorithm, maps the recorded local timestamps to a common, 
global time scale, and finally writes back a corresponding set of synchronized 
libpcap files. Its output can thus immediately be used for further analysis 
with standard tools.
download urlDownload (24KB gz)
(MD5 Hash: 1410d7735f03b425ddfb27222d6cc7c0) from US UK AU

[Author] Wolfgang Kiess

top

emailkiess@cs.uni-duesseldorf.de
institutionUniversität Düsseldorf
departmentInstitut für Informatik
phone+49 211 81 11637
fax+49 211 81 11638
web site http://www.cn.uni-duesseldorf.de/staff/kiess
related data/toolstools/collect/multihop/EXC (v. 2009-11-13)
tools/process/pcap/pcapsync (v. 2008-08-23)

[Author] Björn Scheuermann

top

emailscheuermann@cs.uni-duesseldorf.de
institutionthe Heinrich Heine University
departmentComputer Networks and Communication Systems
positionJunior Professor
phone+49 (211) 81 - 11692
fax+49 (211) 81 - 11638
web site http://www.cn.uni-duesseldorf.de/staff/scheuermann
related data/toolstools/process/pcap/pcapsync (v. 2008-08-23)

[Author] Daniel Marks

top

institutionthe Heinrich Heine University
departmentComputer Networks and Communication Systems
related data/toolstools/process/pcap/pcapsync (v. 2008-08-23)

[Paper] scheuerman-synchronization

top

category article
authorsBjörn Scheuermann
Wolfgang Kiess
Magnus Roos
Florian Jarre
Martin Mauve
titleOn the Time Synchronization of Distributed Log Files in Networks with Local Broadcast Media
year2008
journalIEEE/ACM Transactions on Networking
publisherIEEE/ACM
keywordsmeasurement
keywordswireless
keywordstools_process_pcap_pcapsync
keywordscrawdad
related data/toolstools/process/pcap/pcapsync