Simple Python/C++ library for tunneling network traffic over http(s).
Project description
Toori
Simple Python/C++ library for tunneling network traffic over http(s).
Installation
pip install toori
toori
Client module. Only available on Windows.
Relies on WinDivert
and Socket.IO
.
Usage
toori -a <server address> -p 80 -f "tcp && tcp.DstPort == 443" -t polling
Note
The toori
client requires Administrator privileges because of WinDivert
.
iro
Server module.
Relies on Scapy
and Socket.IO
via AIOHTTP
.
Usage
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
Release history Release notifications | RSS feed
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.0.8.tar.gz
(80.3 kB
view hashes)
Built Distributions
Toori-0.0.8-py3-none-any.whl
(3.8 kB
view hashes)
Toori-0.0.8-cp38-cp38-win_amd64.whl
(134.6 kB
view hashes)
Close
Hashes for Toori-0.0.8-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e9b222637ece6e8833bee2d5705083a37833342165635993d9bb5a35e348189 |
|
MD5 | 638a196b7ae0c6d0254e42cec1350204 |
|
BLAKE2b-256 | 17186c573de9a03629d756e3fc7604413602a2fa01e568aa95ce54081218881c |