MATE (http://wiki.ethereal.com/Mate) can help for this.
bellow you'll find a mate config to measure syn-syn/ack.
with:
tethereal -o 'mate.config_filename: tcp_setup.mate' -r your_file.pcap
-zproto,colinfo,'mate.tcp_ses.Duration' mate.tcp.synack
you'll get an extra column containing the elapsed time between syn and syn/acks.
Excell (or something similar) can do the rest.
Luis.
# tcp_setup.mate
# First you need to create a tcp pdu extracting the data you need
Action="" Name=tcp; Proto=tcp; Transport=ip; addr=ip.addr;
port=tcp.port; tcp_syn=tcp.flags.syn; tcp_ack=tcp.flags.ack;
# we won't deal with tcp pdus that have no syn
Action="" For="" tcp_syn=1;
# then we'll "mark" the pdus
Action="" Name=syn_synack; tcp_syn=1; tcp_ack=1; .synack;
# if syn/ack matches MATE will stop so the syn/ack won't be marked as syn
Action="" Name=syn_synack; tcp_syn=1; .syn;
# we apply the transform
Action="" For="" Name=syn_synack;
# then we need to group syn and syn/acks
Action="" Name=tcp_ses; On=tcp_pdu; addr; addr; port; port;
# then we'll start a group at syn and stop at syn/ack
Action="" For="" syn;
Action="" For="" synack;
_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Powered by MHonArc 2.6.10