{"id":13774288,"url":"https://github.com/qiaofei32/tcp-multiplexer","last_synced_at":"2025-05-11T06:32:45.614Z","repository":{"id":215839680,"uuid":"81063096","full_name":"qiaofei32/tcp-multiplexer","owner":"qiaofei32","description":"A TCP service multiplexer in Python","archived":false,"fork":false,"pushed_at":"2017-08-28T07:11:53.000Z","size":6,"stargazers_count":33,"open_issues_count":1,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-03T17:10:58.349Z","etag":null,"topics":["protocol","python","shadowsocks","shadowsocksr","socket"],"latest_commit_sha":null,"homepage":null,"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/qiaofei32.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}},"created_at":"2017-02-06T08:07:19.000Z","updated_at":"2024-03-17T06:20:32.000Z","dependencies_parsed_at":"2024-01-15T03:41:11.619Z","dependency_job_id":null,"html_url":"https://github.com/qiaofei32/tcp-multiplexer","commit_stats":null,"previous_names":["qiaofei32/tcp-multiplexer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiaofei32%2Ftcp-multiplexer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiaofei32%2Ftcp-multiplexer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiaofei32%2Ftcp-multiplexer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiaofei32%2Ftcp-multiplexer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qiaofei32","download_url":"https://codeload.github.com/qiaofei32/tcp-multiplexer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225022080,"owners_count":17408553,"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":["protocol","python","shadowsocks","shadowsocksr","socket"],"created_at":"2024-08-03T17:01:25.398Z","updated_at":"2024-11-17T09:30:42.923Z","avatar_url":"https://github.com/qiaofei32.png","language":"Python","funding_links":[],"categories":["\u003ca id=\"dd2b52e59921ad730fceac252d99dd77\"\u003e\u003c/a\u003eMultiplexer"],"sub_categories":[],"readme":"# tcp-multiplexer\nA TCP service multiplexer in Python\n\n## 用途\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;在远程服务器只开放特定端口，但是需要支持不同应用访问的时候，如某服务器/防火墙只允许9000端口进行通信，但是此时我想要使用ssh服务，同时使用其http服务，或者其他服务。此时，可以使用该程序进行端口多路复用。\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;`tcp-multiplexer-demo.py`中的`PROTOCOL_RULES`可以根据需要进行配置，监听在本地的端口如：9000，接收到客户端的请求之后，会根据正则表达式去匹配相应的规则进行应用选择。\n\n## 开发背景\n想通过80端口，同时使用HTTP服务以及SSR服务\n\n## 参考\n- [https://github.com/darvid/emissary](https://github.com/darvid/emissary \"A TCP service multiplexer\")\n- Python TCP Proxy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiaofei32%2Ftcp-multiplexer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqiaofei32%2Ftcp-multiplexer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiaofei32%2Ftcp-multiplexer/lists"}