##
## Copyright (c) 1998-2000, Statistics Research, Bell Labs, Lucent Technologies.
##   All rights reserved.
## 
## The programs are parts of the S-Net Project: a distributed data
## analysis computing environment for Internet traffic data.
##

##
## 6/29/00 [dxsun@bell-labs.com]
##

All the programs are in ./bin
All the test files are in ./test

Steps:

1. run tcpdump (as root)

cd test
tcpdump -w test.dump 

2. run the following sequence of scripts to get packets organized by flows

setenv PATH ../bin:$PATH
cat test.dump | tcpdump2asc.sh > test.tcpasc
cat test.tcpasc | tcpasc2pac.pl > test.tcppac
cat test.tcppac | tcppac_sort.sh > test.tcppacS

cat test.tcppacS | tcppacS2flow.pl -flowidFilePrefix test > test.flow
cat test.tcppacS | tcppacS2RTT.pl test.tcppacS > test.RTT

3. the fields in the various files are defined in the corresponding
   header files in the same directory:

   tcppac.header
   flow.header
   RTT.header

4. In Splus
   flow.obj _ read.table("test.flow")
   names(flow.obj) _ scan("flow.header")
   RTT.obj _ read.table("test.RTT")
   names(RTT.obj) _ scan("RTT.header")
   tcppacS.obj _ read.table("test.tcppacS")
   names(tcppacS.obj) _ scan("tcppac.header")

