+11/29/2011
+ Release 1.5:
+ Improvements:
+ 1)Multiple connection support and removal of source port != destination port restriction
+ 2)Add warning about malformed ACK vectors
+ 3)Speed up processing of connections with huge losses when running with debug enabled
+ Bug Fixes:
+ 1)Length checks to ensure entire DCCP header is captured
+ 2)Correct command line option processing to allow stdin as packet source. This enables processing of compressed
+ captures using, for example, zcat.
+
+
05/25/2011:
Release 1.4:
Improvements:
###############################################################################
#Author: Samuel Jero
#
-# Date: 4/2011
+# Date: 11/2011
#
# Makefile for program dccp2tcp
###############################################################################
-g shifts the ack line in tcptrace (green) to the highest received acknowledgment. Normally this line is the standard TCP ack number, which, for DCCP, translates to the highest contiguous acknowledgement in the ack vector.
-s converts the DCCP ack vector to TCP SACKS. Specify -s twice to only see those Ack vectors with a loss interval in them. This is convenient way to see loss events.
-For typical usage, you probably just want -s.
+For typical usage, you probably want -s -s.
Once you run dccp2tcp, you will then want to run tcptrace on the tcp_file to generate graphs. The command should be something like this:
tcptrace -lGt tcp_file
This program does have several important limitations:
- 1)Supports only a single DCCP connection per capture.
- 2)Source Port can't equal Destination Port. If the two are equal, this program will get very confused.
- 3)DCCP MUST use 48 bit sequence numbers.
- 4)Checksums are not computed (they are zeroed).
- 5)Only converts those packet types used by the Linux implementation at this date
- 6)DCCP Ack packets show up as TCP packets containing one byte
- 7)Very little error checking of DCCP
-
+ 1)CCID2 ONLY
+ 2)DCCP MUST use 48 bit sequence numbers.
+ 3)Checksums are not computed (they are zeroed).
+ 4)DCCP DATA packets are not implemented (Linux doesn't use them)
+ 5)DCCP Ack packets show up as TCP packets containing one byte
dccp2tcp is free software: you can redistribute it and/or modify
/******************************************************************************
Author: Samuel Jero
-Date: 7/2011
+Date: 11/2011
Description: Functions for differentiating different DCCP connections.
/******************************************************************************
Author: Samuel Jero
-Date: 7/2011
+Date: 11/2011
Description: Program to convert a DCCP flow to a TCP flow for DCCP analysis via
tcptrace.
1)CCID2 ONLY
2)DCCP MUST use 48 bit sequence numbers
3)Checksums are not computed (they are zeroed)
- 4)Only implements those packet types normally used in a session
+ 4)DCCP DATA packets are not implemented (Linux doesn't use them)
5)DCCP Ack packets show up as TCP packets containing one byte
- 6)Very little error checking of packet headers
******************************************************************************/
#include "dccp2tcp.h"
/******************************************************************************
Author: Samuel Jero
-Date: 7/2011
+Date: 11/2011
Description: Header file for program to convert a DCCP flow to a TCP flow for DCCP
analysis via tcptrace.
1)CCID2 ONLY
2)DCCP MUST use 48 bit sequence numbers
3)Checksums are not computed (they are zeroed)
- 4)Only implements those packet types normally used in a session
+ 4)DCCP DATA packets are not implemented (Linux doesn't use them)
5)DCCP Ack packets show up as TCP packets containing one byte
- 6)Very little error checking of packet headers
******************************************************************************/
#ifndef _DCCP2TCP_H
#define _DCCP2TCP_H
/******************************************************************************
Author: Samuel Jero
-Date: 7/2011
+Date: 11/2011
Description: Encapsulation Functions for DCCP conversion to TCP
/******************************************************************************
Author: Samuel Jero
-Date: 7/2011
+Date: 11/2011
Description: Header file for Encapsulation Functions for DCCP to TCP conversion