{"id":15681780,"url":"https://github.com/cedric05/tcp-relay-rust","last_synced_at":"2025-08-23T13:09:27.993Z","repository":{"id":110365076,"uuid":"481178259","full_name":"cedric05/tcp-relay-rust","owner":"cedric05","description":"Simple tcp proxy using tokio and rust","archived":false,"fork":false,"pushed_at":"2025-04-08T02:07:17.000Z","size":41,"stargazers_count":10,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T09:35:31.505Z","etag":null,"topics":["proxy","socat","tcp","tcp-proxy","tcp-proxy-server"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/tcp-relay-rust","language":"Rust","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/cedric05.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":"2022-04-13T10:53:48.000Z","updated_at":"2024-08-10T12:31:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"c2fb590d-7730-406a-aa49-134966bda471","html_url":"https://github.com/cedric05/tcp-relay-rust","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cedric05/tcp-relay-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedric05%2Ftcp-relay-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedric05%2Ftcp-relay-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedric05%2Ftcp-relay-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedric05%2Ftcp-relay-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cedric05","download_url":"https://codeload.github.com/cedric05/tcp-relay-rust/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedric05%2Ftcp-relay-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271748836,"owners_count":24814063,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["proxy","socat","tcp","tcp-proxy","tcp-proxy-server"],"created_at":"2024-10-03T16:59:49.403Z","updated_at":"2025-08-23T13:09:27.966Z","avatar_url":"https://github.com/cedric05.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple tcp relay using rust and tokio\n\n## Build\n\n`cargo build --release`\n\n## Run\n\nTo create local tcp relay to `google.com:443` from `localhost:3333`. \n\n`./target/release/tcp-relay-rust google.com:443 localhost:3333`\n\nTo try:\n\n    curl https://localhost:3333/ -k\n\n### Tcp Example\n\n- start redis server using: `docker run --rm -p 6379:6379 redis`\n- start relay service: `./target/release/tcp-relay-rust localhost:6379 localhost:3333`\n- start client by connecting to `redis-cli -p 3333`\n\n### Unix Example\n\n- start relay service: `./target/release/tcp-relay-rust /var/run/docker.sock localhost:3333` (danger, its not safe to share docker.sock)\n- invoke sample request by `curl localhost:3333`\n\n### Std Example\n\n- start relay service: `./target/release/tcp-relay-rust /var/run/docker.sock ` (danger, its not safe to share docker.sock)\n- type below text. (docker.sock will respond with text)\n\"\"\"\nGET /containers/json HTTP/1.1\nHost: localhost:3333\n\"\"\"","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedric05%2Ftcp-relay-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedric05%2Ftcp-relay-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedric05%2Ftcp-relay-rust/lists"}