Dear Grenville, dear Sebastian,
I’m cc’ing David because I know he also worked on SPP and
he and I were chatting about this issue in Skype - but
according to
http://caia.swin.edu.au/tools/spp/
you two are the “program members”, so I guess you’re the
people to ask…
I’ve recently begun to use ns-3 (which, btw, I don’t
recommend much - it’s really painful! long story for why
I’m doing this), which can produce pcap files (one of its
good things). I’m attaching two pcap files from a simple
TCP test, taken close to the sender and close to the
receiver, as recommended for SPP - and I’d like to use SPP
to get the RTT from this. The benefit, for me, would be to
have a uniform way of obtaining RTTs and then creating
plots for real-life tests as well as simulations.
The problem is, these files seem to be fine for several
tools (such as wireshark or tcpdump), but not for SPP:
running:
spp -a 10.1.1.1 -A 10.2.1.1 -f new1.pcap -F new2.pcap -cp
produces no output at all.
I tried e.g. -v10, to use a large number for the verbosity
level (I also couldn’t find the numbers specified
anywhere). This gave me a long list of lines saying “INFO:
Searched through 0 instances”.
It seems that SPP has a problem in reading these files and
just can’t parse the packets.
I tried several conversion tools, but none of them helped
me - e.g. tcprewrite (from the tcpreplay suite) says that
it can’t handle the files, if I understood correctly
that’s because they contain PPP which tcprewrite doesn’t
support.
LibTrace’s “traceconvert” can only produce erf or pcap
output on my Mac; for erf, it fails for some reason. When
creating pcap, it gives me new, different pcap files (that
look the same to me in Wireshark though), yet spp still
doesn’t work on them.
If you have a simple idea on how to convert these files,
I’d be very thankful as well - but for convenience of ns-3
users out there, it might be a good idea to fix this. And,
who knows, maybe this is a deeper problem: maybe the pcap
format IS fine, and it’s just that spp doesn’t like PPP,
for example? This might be a tiny little thing for you
folks to fix… or not, who knows. Anyway, I thought it
won’t hurt to send this email :)
Thanks, cheers,
Michael