Network/Transport Protocol Comparison Tool (UDP vs TCP, Custom vs TCP, IPv4 vs IPv6)
-------------- src/copycat: binary executable
- copycat.cfg: configuration file
- dest.txt: destination file each line should describe one destination with as followed IPv4: <unique-source-port> <public-address> <private-address> IPv6: <unique-source-port> <public-address4> <private-address4> <public-address6> <private-address6>
Outer transport is UDP plus an optional layer 4.5 header (e.g.: SPUD, QUIC, PLUS) specified by raw bytes on client, size on server, both on peers.
Outer transport is custom and specified by raw bytes, protocol number and size. Protocol number is used for socket filtering, except for TCP/UDP that use source ports.
- libglib-devel/libglib-dev (>= 1.2.10) or libglib-2.0-devel/libglib-2.0-dev
- libpcap
- 安装依赖环境
- sudo yum install libgnomeui-devel
- sudo yum install bison
- sudo yum install flex
- wget http://www.tcpdump.org/release/libpcap-1.3.0.tar.gz; tar -zxvf libpcap-1.3.0.tar.gz
- cd libpcap-1.3.0; ./configure; make && sudo make install
- 编译安装
- git clone https://github.com/mami-project/copycat.git
- yum install autoconf automake libtool
- yum install perl
- yum install perl-Thread-Queue
- aclocal; autoconf; automake --add-missing;
- ./configure; make && sudo make install
@ekorian