aboutsummaryrefslogtreecommitdiffstats
path: root/tools/msnchat
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2007-12-17 09:42:33 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2007-12-17 09:42:33 +0000
commite36ade488a505b40e9a0c1be2a3122f78c5d36c4 (patch)
tree674ecc215afa9c36aad3226ff52875c1007e6bf3 /tools/msnchat
parent3d7d0393b2fb0e16c9f002ae9e96c799dd8d85d6 (diff)
Documentation fix. Fix a strangely-worded sentence in README.xml-output
and add some important comments to msnchat. svn path=/trunk/; revision=23897
Diffstat (limited to 'tools/msnchat')
-rwxr-xr-xtools/msnchat3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/msnchat b/tools/msnchat
index 722aee0430..b3d177a9e7 100755
--- a/tools/msnchat
+++ b/tools/msnchat
@@ -227,6 +227,9 @@ class CaptureFile:
"""Collect the packets passed back from WiresharkXML.
Sort them by TCP/IP conversation, as there could be multiple
clients per machine."""
+ # Just in case we're looking at tunnelling protocols where
+ # more than one IP or TCP header exists, look at the last one,
+ # which would be the one inside the tunnel.
src_ip = packet.get_items("ip.src")[-1].get_show()
dst_ip = packet.get_items("ip.dst")[-1].get_show()
src_tcp = packet.get_items("tcp.srcport")[-1].get_show()