/tcp-tun

A TCP implementation over a tun device

Primary LanguageCGNU General Public License v2.0GPL-2.0

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