Giter Site home page Giter Site logo

cleanerx / vtl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elfadel/vtl

0.0 1.0 0.0 83.28 MB

Virtual Transport Layer (VTL)

Home Page: https://vtl-project.net

License: GNU General Public License v3.0

Makefile 2.90% C 93.44% C++ 1.19% Shell 1.94% Perl 0.06% HTML 0.46%

vtl's Introduction

Virtual Transport Layer (VTL)

Virtual Transport Layer, a protocol deployment management system aiming (1) to dynamically deploy protocol mechanisms/components, in order (2) to ensure optimal data moving between end-points.

I am spending time bettering the implementation. Until now the focus has been on the correctness rather than performance. I will keep correctness, but I will improve performance, especially in light of practical experience with applications. Suggestions are welcome.

Install dependencies

On Ubuntu 20.04 do

sudo apt install libelf-dev pcap-dev libndpi-dev  gcc-multilib

Build

mkdir bin
make

Test and run Hooker:

> Hooker contains two programs:

  • The daemon in /hooker folder, that is created with a make call. It is user prog part of Hooker.
  • The kernel prog part that contains mainly two eBPF progs: sock_ops, to monitor specific or a set of TCP applications, and sk_msg, to redirect the monitored applications' data.

> First: build and launch (deploy) kernel prog part:

$ make
$ cd bin
$ sudo ./vtl_ui
Follow the instructions and make choices.

> Second: start user daemon

$ cd hooker
$ make 
$ sudo ./hk-daemon <IPPROTO> <HOST_MODE>

IPPROTO: this argument is an integer and is used to indicate which protocol should be used to replace TCP. Indeed, VTL allows the user to manually fix the substitution protocol by specifying one of the supported IP protocol (list below) or let this task to VTL by specified 253 (default) as the argument value.

List of substitution protocol supported by VTL and their corresponding IP number:

Protocol IP number [IANA]
UDP 17
UDPLite 136
DCCP 33
SCTP 132
QUIC 142 (conventional in VTL)
VTL 253 (conventional in VTL)

HOST_MODE: a string to indicate if the hooker daemon will hook either a TCP client or a TCP server.

> Finally, just run your TCP applications.

vtl's People

Contributors

elfadel avatar

Watchers

James Cloos 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.