Skip to main content

Simple Python/C++ library for tunneling network traffic over http(s).

Project description

icon Toori

Simple Python/C++ library for tunneling network traffic over http(s).

Prerequisites

pip install pybind11

Installation

pip install toori

Usage

toori

Client module. Requires Administrator privileges.

toori -a <server address> -p 80 -f "tcp && tcp.DstPort == 443" -t polling

Graphical interface

toori -g

iro

Server module.

HTTP

iro -p 80 -f "tcp and src port 443"

HTTPS

First retrieve Let's Encrypt certificates via Certbot.

iro -p 443 -f "tcp and src port 443" -c <ssl cert path> -k <ssl key path>

Running on Linux

Because the Linux kernel sends a RST to connections it did not establish, use the following command for Scapy to work:

sudo iptables -A OUTPUT -p tcp --tcp-flags RST RST -s <local address> -j DROP

See here for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Toori-0.2.1.tar.gz (118.6 kB view hashes)

Uploaded Source

Built Distribution

Toori-0.2.1-cp37-cp37m-win_amd64.whl (177.2 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page