Giter Site home page Giter Site logo

lingnuo / copycat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mami-project/copycat

0.0 0.0 0.0 498 KB

Network/Transport Protocol Comparison Tool (UDP vs TCP, Custom vs TCP, IPv4 vs IPv6)

License: BSD 3-Clause "New" or "Revised" License

Shell 18.38% C 54.18% Makefile 23.83% M4 0.78% C++ 2.83%

copycat's Introduction

copycat

Network/Transport Protocol Comparison Tool (UDP vs TCP, Custom vs TCP, IPv4 vs IPv6)

copycat

-------------

Important Files

  • 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>

Encapsulation modes

copycat encapsulations

UDP

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.

Non-UDP

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.

Libs

  • libglib-devel/libglib-dev (>= 1.2.10) or libglib-2.0-devel/libglib-2.0-dev
  • libpcap

安装过程(centos)

  • 安装依赖环境
  • 编译安装
    • 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

隧道协议(centos)


Contact

@ekorian

copycat's People

Contributors

ekorian avatar lingnuo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.