From afe4574b894da1c172ae694503b323c599bc67dc Mon Sep 17 00:00:00 2001 From: Samuel Jero Date: Sun, 11 Nov 2012 16:03:07 -0500 Subject: [PATCH] Add GNU GPL headers to all files --- LICENSE | 55 +-------------------------------------------------- connections.c | 27 ++++++++++++++++++++++--- dccp2tcp.c | 22 +++++++++++++++++---- dccp2tcp.h | 22 +++++++++++++++++---- encap.c | 27 ++++++++++++++++++++++--- encap.h | 27 ++++++++++++++++++++++--- 6 files changed, 109 insertions(+), 71 deletions(-) diff --git a/LICENSE b/LICENSE index 94a9ed0..e587591 100644 --- a/LICENSE +++ b/LICENSE @@ -618,57 +618,4 @@ an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. + END OF TERMS AND CONDITIONS \ No newline at end of file diff --git a/connections.c b/connections.c index 4bc60f0..7d52313 100644 --- a/connections.c +++ b/connections.c @@ -1,10 +1,31 @@ /****************************************************************************** -Author: Samuel Jero +Utility to convert a DCCP flow to a TCP flow for DCCP analysis via + tcptrace. Functions for differentiating different DCCP connections. -Date: 11/2012 +Copyright (C) 2012 Samuel Jero + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. -Description: Functions for differentiating different DCCP connections. +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +Author: Samuel Jero +Date: 11/2012 +Notes: + 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 ******************************************************************************/ #include "dccp2tcp.h" diff --git a/dccp2tcp.c b/dccp2tcp.c index 3df497e..c7f77e1 100644 --- a/dccp2tcp.c +++ b/dccp2tcp.c @@ -1,10 +1,24 @@ /****************************************************************************** -Author: Samuel Jero +Utility to convert a DCCP flow to a TCP flow for DCCP analysis via + tcptrace. -Date: 11/2012 +Copyright (C) 2012 Samuel Jero -Description: Program to convert a DCCP flow to a TCP flow for DCCP analysis via - tcptrace. +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +Author: Samuel Jero +Date: 11/2012 Notes: 1)CCID2 ONLY diff --git a/dccp2tcp.h b/dccp2tcp.h index 7f106a5..e737a3f 100644 --- a/dccp2tcp.h +++ b/dccp2tcp.h @@ -1,10 +1,24 @@ /****************************************************************************** -Author: Samuel Jero +Utility to convert a DCCP flow to a TCP flow for DCCP analysis via + tcptrace. -Date: 11/2012 +Copyright (C) 2012 Samuel Jero + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. -Description: Header file for program to convert a DCCP flow to a TCP flow for DCCP - analysis via tcptrace. +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +Author: Samuel Jero +Date: 11/2012 Notes: 1)CCID2 ONLY diff --git a/encap.c b/encap.c index 1153e06..f729878 100644 --- a/encap.c +++ b/encap.c @@ -1,10 +1,31 @@ /****************************************************************************** -Author: Samuel Jero +Utility to convert a DCCP flow to a TCP flow for DCCP analysis via + tcptrace. Encapsulation Functions for DCCP conversion to TCP. -Date: 11/2012 +Copyright (C) 2012 Samuel Jero + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. -Description: Encapsulation Functions for DCCP conversion to TCP +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +Author: Samuel Jero +Date: 11/2012 +Notes: + 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 ******************************************************************************/ #include "dccp2tcp.h" #include "encap.h" diff --git a/encap.h b/encap.h index baf092c..018acc8 100644 --- a/encap.h +++ b/encap.h @@ -1,10 +1,31 @@ /****************************************************************************** -Author: Samuel Jero +Utility to convert a DCCP flow to a TCP flow for DCCP analysis via + tcptrace. Header file for Encapsulation Functions for DCCP to TCP conversion. -Date: 11/2012 +Copyright (C) 2012 Samuel Jero + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. -Description: Header file for Encapsulation Functions for DCCP to TCP conversion +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +Author: Samuel Jero +Date: 11/2012 +Notes: + 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 ******************************************************************************/ #ifndef ENCAP_H_ #define ENCAP_H_ -- 2.39.2