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.1.6.tar.gz
(92.3 kB
view hashes)
Built Distribution
Toori-0.1.6-cp37-cp37m-win_amd64.whl
(149.5 kB
view hashes)
Close
Hashes for Toori-0.1.6-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b60550ddee8b549bb71746b9929b13a4dad0455e9fda7d903224ffaed28fd1b3 |
|
MD5 | 9119fa4a9ff087415e751b9962c8964f |
|
BLAKE2b-256 | 027c86aba1391d871a2ca2cc2958a59d1dd3d70cf6e47426f8682ee8d825e491 |