{"id":15043751,"url":"https://github.com/kokseen1/toori-server","last_synced_at":"2025-04-14T23:12:30.334Z","repository":{"id":171584541,"uuid":"590276327","full_name":"kokseen1/toori-server","owner":"kokseen1","description":"Server for a minimal layer 3 tunnel over http(s).","archived":false,"fork":false,"pushed_at":"2024-01-12T05:21:12.000Z","size":45,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T23:12:15.152Z","etag":null,"topics":["cplusplus","cpp","http","http-proxy","https","ip","lan","libtins","long-polling","nat","polling","proxy","pybind11","python","sanic","scapy","socket-io","tunnel","vpn","websocket"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kokseen1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-18T03:00:14.000Z","updated_at":"2023-09-13T02:28:38.000Z","dependencies_parsed_at":"2024-09-25T01:50:44.026Z","dependency_job_id":"ccab9944-2009-4a5c-b5f8-442a29275aa6","html_url":"https://github.com/kokseen1/toori-server","commit_stats":null,"previous_names":["kokseen1/toori-server","kokseen1/iro"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kokseen1%2Ftoori-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kokseen1%2Ftoori-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kokseen1%2Ftoori-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kokseen1%2Ftoori-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kokseen1","download_url":"https://codeload.github.com/kokseen1/toori-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975329,"owners_count":21192210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cplusplus","cpp","http","http-proxy","https","ip","lan","libtins","long-polling","nat","polling","proxy","pybind11","python","sanic","scapy","socket-io","tunnel","vpn","websocket"],"created_at":"2024-09-24T20:49:32.965Z","updated_at":"2025-04-14T23:12:30.312Z","avatar_url":"https://github.com/kokseen1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Iro \n\n[![GHCR](https://github.com/kokseen1/toori-server/actions/workflows/ghcr.yml/badge.svg)](https://github.com/kokseen1/toori-server/actions/workflows/ghcr.yml)\n[![PyPI Release](https://github.com/kokseen1/toori-server/actions/workflows/release.yml/badge.svg)](https://github.com/kokseen1/toori-server/actions/workflows/release.yml)\n[![PyPI Version](https://img.shields.io/pypi/v/toori-server.svg)](https://pypi.python.org/pypi/toori-server/)\n\nServer for a minimal layer 3 tunnel over http(s).\n\n## Deploying with Docker\n\nInstead of installing toori-server on the host, it can be deployed as a Docker container with much convenience.\n\nPull from GHCR:\n\n```shell\nsudo docker pull ghcr.io/kokseen1/toori-server:latest\n```\n\nRun the container:\n\n```shell\nsudo docker run -d --cap-add=NET_ADMIN -p 80:80 ghcr.io/kokseen1/toori-server\n```\n\n#### HTTPS\n\nTo deploy with HTTPS, run the container with a bind mount and pass the port and certs directory as arguments:\n\n```shell\nsudo docker run -d -v /etc/letsencrypt:/etc/letsencrypt --cap-add=NET_ADMIN -p 443:443 ghcr.io/kokseen1/toori-server 443 /etc/letsencrypt/live/toori.server/\n```\n\n## Installation\n\n```shell\npip3 install toori-server --no-binary :all:\n```\n\n## Prerequisites\n\n- [Libtins](http://libtins.github.io/download/) (optional, will fallback to Scapy (slow) if not installed)\n\n### RST Packets\n\nBecause the Linux kernel sends a `RST` to connections it did not establish, use the following command to ensure that outgoing packets are sent successfully:\n\n```shell\nsudo iptables -A OUTPUT -p tcp --tcp-flags RST RST -s \u003clocal address\u003e -j DROP\n```\n\n[See here](https://stackoverflow.com/questions/9058052/unwanted-rst-tcp-packet-with-scapy) for more information.\n\n## Usage\n\nRun with root permissions:\n\n```shell\niro \u003cport\u003e\n```\n\nExample with HTTPS:\n\n```shell\niro 443 -c \"/etc/letsencrypt/live/toori.server/\"\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkokseen1%2Ftoori-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkokseen1%2Ftoori-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkokseen1%2Ftoori-server/lists"}