tinap
tinap – stands for “This Is Not A Proxy”
It’s also a beautiful place in Bangladesh with the biggest waterfall of that country.
The Urban Dictionary also says it’s “young people who go to rave parties who are dressed in bright and extreme styles of clothing”.
Features:
protocol-agnostic port forwarder
Network traffic shaping inspired from tsproxy
Installation
Tinap is a pure Python script, you can install it with:
$ pip install tinap
If you are under windows you need to install pywin32 as well:
$ pip install pywin32
How to use
Tinap has a few general options, followed by a mode (forward or socks):
$ tinap --help
usage: tinap [-h] [-v] [--host HOST] [--upstream-host UPSTREAM_HOST]
[--port PORT] [--upstream-port UPSTREAM_PORT]
[--port-mapping PORT_MAPPING] [-r RTT] [-i INKBPS] [-o OUTKBPS]
Tinap port forwarder
optional arguments:
-h, --help show this help message and exit
-v, --verbose Verbose mode
--host HOST host
--upstream-host UPSTREAM_HOST
upstream host
--port PORT port
--upstream-port UPSTREAM_PORT
upstream port
--port-mapping PORT_MAPPING
Comma-separated list of port forwarding rules each
rule is composed of <source_host>:<source_port>/<targe
t_host>:<target_port> Example (forwards port 80 and
443 to 8080 and 8282): 127.0.0.1:80/127.0.0.1:8080,127
.0.0.1:443/127.0.0.1:8282
-r RTT, --rtt RTT Round Trip Time Latency (in ms).
-i INKBPS, --inkbps INKBPS
Download Bandwidth (in 1000 bits/s - Kbps).
-o OUTKBPS, --outkbps OUTKBPS
Upload Bandwidth (in 1000 bits/s - Kbps).
Configuration examples
XXX show 2 full setups: - firefox <> tinap <> wpr - firefox <> tinap <> mitmproxy
Metadata
Release files for tinap 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tinap-0.2.tar.gz | 11.9 kB | Details |
Release files / tinap-0.2.tar.gz
| Download URL | tinap-0.2.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce2c63f0324f1ec134801d02ab9a4ee22519da17b99424918bc194c4e5fb2f92
|
|
BLAKE2b-256 checksum How to use checksums |
94147588fbf4ecdeacd41d6ad978d78d6ba6492023bce09e4cc88cf19830a857
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.6.1
|