ImanSeyed / tcp-tun

A TCP implementation over a tun device

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

This repository is a learning experience in implementing TCP stack in userspace via a tun interface.

How to Run it

To build and execute the project, run secure_run.sh with bash:

$ bash secure_run.sh

To establish a connection, run nc as below:

$ nc 192.168.20.10 123

Warning

Don't use this project as an inbound yet; otherwise, your Internet connection will get lost. This project is under development and it's not a complete TCP stack implementation, therefore just test it without changing your routing table.

RFCs

About

A TCP implementation over a tun device

License:GNU General Public License v2.0


Languages

Language:C 98.8%Language:CMake 0.8%Language:Shell 0.4%