From: Samuel Jero Date: Fri, 28 Jun 2013 17:54:48 +0000 (-0400) Subject: Update headers in all files with GPL message X-Git-Url: http://sjero.net/git/?p=ltp2tcp;a=commitdiff_plain;h=5a8bbcc78de4f63b7e22c9ea10e12748edca9d96 Update headers in all files with GPL message --- diff --git a/.cproject b/.cproject index 8b7e15f..4a33b84 100644 --- a/.cproject +++ b/.cproject @@ -15,101 +15,29 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - + + + + + + - - + + + + + + + + + @@ -120,4 +48,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.project b/.project index 7e63dec..3572e09 100644 --- a/.project +++ b/.project @@ -1,6 +1,6 @@ - ltp-tcp convert + ltptrace diff --git a/dccp_encap.c b/dccp_encap.c index 1e0ec9f..0dcd17a 100644 --- a/dccp_encap.c +++ b/dccp_encap.c @@ -1,10 +1,31 @@ /****************************************************************************** -Author: Samuel Jero +Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace. + encapsulation functions -Date: 12/2010 +Copyright (C) 2013 Samuel Jero -Description: encapsulation functions +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: 06/2013 + +Notes: + 1)Only handles one LTP "connection". There isn't a good way to separate + different LTP "connections" from new sessions of the same "connection". + Use Tcpdump filters to separate connections. Libpcap filtering could also + be added in ltp2tcp. + 2)Uses some special types from Linux (u_char, u_int32_t) ******************************************************************************/ #include "ltp2tcp.h" #include diff --git a/encap.c b/encap.c index 51d2367..2f08235 100644 --- a/encap.c +++ b/encap.c @@ -1,10 +1,31 @@ /****************************************************************************** -Author: Samuel Jero +Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace. +Utility Functions for Encapsulation -Date: 12/2010 +Copyright (C) 2013 Samuel Jero -Description: Utility Functions for Encapsulation +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: 06/2013 + +Notes: + 1)Only handles one LTP "connection". There isn't a good way to separate + different LTP "connections" from new sessions of the same "connection". + Use Tcpdump filters to separate connections. Libpcap filtering could also + be added in ltp2tcp. + 2)Uses some special types from Linux (u_char, u_int32_t) ******************************************************************************/ #include "ltp2tcp.h" diff --git a/encap.h b/encap.h index 5be34df..ab06eba 100644 --- a/encap.h +++ b/encap.h @@ -1,15 +1,32 @@ /****************************************************************************** +Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace. +Declarations of encapsulation functions for ltp2tcp -File: encap.h +Copyright (C) 2013 Samuel Jero -Author: 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. -Date: 12/2010 +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: Declarations of encapsulation functions for ltp2tcp +You should have received a copy of the GNU General Public License +along with this program. If not, see . -******************************************************************************/ +Author: Samuel Jero +Date: 06/2013 +Notes: + 1)Only handles one LTP "connection". There isn't a good way to separate + different LTP "connections" from new sessions of the same "connection". + Use Tcpdump filters to separate connections. Libpcap filtering could also + be added in ltp2tcp. + 2)Uses some special types from Linux (u_char, u_int32_t) +******************************************************************************/ #ifndef ENCAP_H_ #define ENCAP_H_ #include diff --git a/ltp.c b/ltp.c index 551fb3d..d685657 100644 --- a/ltp.c +++ b/ltp.c @@ -1,10 +1,31 @@ /****************************************************************************** -Author: Samuel Jero +Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace. +LTP Header manipulation functions -Date: 12/2010 +Copyright (C) 2013 Samuel Jero -Description: LTP Header manipulation functions +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: 06/2013 + +Notes: + 1)Only handles one LTP "connection". There isn't a good way to separate + different LTP "connections" from new sessions of the same "connection". + Use Tcpdump filters to separate connections. Libpcap filtering could also + be added in ltp2tcp. + 2)Uses some special types from Linux (u_char, u_int32_t) ******************************************************************************/ #include "ltp.h" diff --git a/ltp.h b/ltp.h index dec5be9..6233e38 100644 --- a/ltp.h +++ b/ltp.h @@ -1,13 +1,31 @@ /****************************************************************************** +Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace. +LTP Header information -File: ltp.h +Copyright (C) 2013 Samuel Jero -Author: 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. -Date: 12/2010 +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: LTP Header information +You should have received a copy of the GNU General Public License +along with this program. If not, see . +Author: Samuel Jero +Date: 06/2013 + +Notes: + 1)Only handles one LTP "connection". There isn't a good way to separate + different LTP "connections" from new sessions of the same "connection". + Use Tcpdump filters to separate connections. Libpcap filtering could also + be added in ltp2tcp. + 2)Uses some special types from Linux (u_char, u_int32_t) ******************************************************************************/ #ifndef LTP_H_ diff --git a/ltp2tcp.c b/ltp2tcp.c index 59a3f8d..e0a63f0 100644 --- a/ltp2tcp.c +++ b/ltp2tcp.c @@ -1,10 +1,23 @@ /****************************************************************************** -Author: Samuel Jero +Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace. -Date: 01/2011 +Copyright (C) 2013 Samuel Jero -Description: Program to convert a LTP flow to a TCP flow for LTP 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: 06/2013 Notes: 1)Only handles one LTP "connection". There isn't a good way to separate diff --git a/ltp2tcp.h b/ltp2tcp.h index f3d7cb7..5df92b6 100644 --- a/ltp2tcp.h +++ b/ltp2tcp.h @@ -1,17 +1,30 @@ /****************************************************************************** +Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace. -file: ltp2tcp.h +Copyright (C) 2013 Samuel Jero -Author: 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. -Date: 12/2010 +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 LTP 2 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: 06/2013 -Special Types Used: - 1)u_char - 2)u_int32_t +Notes: + 1)Only handles one LTP "connection". There isn't a good way to separate + different LTP "connections" from new sessions of the same "connection". + Use Tcpdump filters to separate connections. Libpcap filtering could also + be added in ltp2tcp. + 2)Uses some special types from Linux (u_char, u_int32_t) ******************************************************************************/ #ifndef _LTP2TCP_H_ #define _LTP2TCP_H_ diff --git a/sll_encap.c b/sll_encap.c index c90d1ed..104ec4d 100644 --- a/sll_encap.c +++ b/sll_encap.c @@ -1,10 +1,31 @@ /****************************************************************************** -Author: Samuel Jero +Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace. + encapsulation functions -Date: 5/2011 +Copyright (C) 2013 Samuel Jero -Description: encapsulation functions +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: 06/2013 + +Notes: + 1)Only handles one LTP "connection". There isn't a good way to separate + different LTP "connections" from new sessions of the same "connection". + Use Tcpdump filters to separate connections. Libpcap filtering could also + be added in ltp2tcp. + 2)Uses some special types from Linux (u_char, u_int32_t) ******************************************************************************/ #include "ltp2tcp.h" #include diff --git a/udp_encap.c b/udp_encap.c index b14ede8..8331504 100644 --- a/udp_encap.c +++ b/udp_encap.c @@ -1,10 +1,31 @@ /****************************************************************************** -Author: Samuel Jero +Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace. + encapsulation functions -Date: 12/2010 +Copyright (C) 2013 Samuel Jero -Description: encapsulation functions +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: 06/2013 + +Notes: + 1)Only handles one LTP "connection". There isn't a good way to separate + different LTP "connections" from new sessions of the same "connection". + Use Tcpdump filters to separate connections. Libpcap filtering could also + be added in ltp2tcp. + 2)Uses some special types from Linux (u_char, u_int32_t) ******************************************************************************/ #include "ltp2tcp.h" #include