{"id":19643153,"url":"https://github.com/goethite/snimultihop","last_synced_at":"2026-07-08T16:31:13.183Z","repository":{"id":97149052,"uuid":"175965393","full_name":"goethite/snimultihop","owner":"goethite","description":"Multi-hop SNI routing for unbroken end-2-end TLS encrypted API calls","archived":false,"fork":false,"pushed_at":"2019-04-07T18:21:16.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T23:26:56.422Z","etag":null,"topics":["encryption","golang","routing","sni","tls"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goethite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-03-16T11:48:39.000Z","updated_at":"2019-04-07T18:21:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"0d53b758-b5c3-4dc2-a425-eaf0e54e7470","html_url":"https://github.com/goethite/snimultihop","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/goethite/snimultihop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goethite%2Fsnimultihop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goethite%2Fsnimultihop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goethite%2Fsnimultihop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goethite%2Fsnimultihop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goethite","download_url":"https://codeload.github.com/goethite/snimultihop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goethite%2Fsnimultihop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006352,"owners_count":26084084,"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-10-11T02:00:06.511Z","response_time":55,"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":["encryption","golang","routing","sni","tls"],"created_at":"2024-11-11T14:19:06.865Z","updated_at":"2025-10-11T05:15:01.243Z","avatar_url":"https://github.com/goethite.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# snimultihop - SNI Multi-Hop Router\n\n| ![](https://img.shields.io/github/release/goethite/snimultihop.svg) | ![](https://img.shields.io/github/license/goethite/snimultihop.svg) |\n|-|-|\n\nBased on original work\n[tlsrouter by Google](https://github.com/google/tcpproxy/tree/master/cmd/tlsrouter).\n\nExperimental Multi-hop SNI routing for unbroken end-2-end TLS encrypted\nAPI calls (e.g. to a Kubernetes SNI enabled Ingress Controller).\n\n![Cross VPC Routing](docs/use_case_cross_vpcs.svg)\n\n## Configuration\n```\n# Examples:\n#\n# Route by region\n#   **.uk ukrelay.example.com:443\n#\n# Route by Ingress Controller\n#   *.mycustomer.uk ingress.customer.com:443\n# at this point the Kubernetes SNI Ingress Controller can route to the\n# requested service internally.\n```\n\n## Developer Notes\n\nFire up two mock SNI routers in Vagrant\n```bash\nvagrant up\n```\n\nBuild snimultihop:\n```bash\nvagrant ssh snimultihop-dev-1\nvagrant\u003e cd go/src/github.com/gbevan/snimultihop\nvagrant\u003e go build .\n```\n\nStart SNI router 1\nstill in vagrant snimultihop-dev-1 from above:\n```bash\nvagrant\u003e ./snimultihop -conf test-1.conf -listen :8443\n```\nand in another terminal\n```bash\nvagrant ssh snimultihop-dev-2\nvagrant\u003e ./snimultihop -conf test-2.conf -listen :8443\n```\n\nThe test2.conf points to my kubernetes SNI ingress for testing.\n\nCurl example:\n```bash\ncurl -sSk \\\n  --resolve snivault.default.pod:8443:127.0.0.1 \\\n  https://snivault.default.pod:8443/v1/sys/health \\\n  | jq\n```\n```json\n{\n  \"initialized\": true,\n  \"sealed\": false,\n  \"standby\": true,\n  \"performance_standby\": false,\n  \"replication_performance_mode\": \"disabled\",\n  \"replication_dr_mode\": \"disabled\",\n  \"server_time_utc\": 1552751306,\n  \"version\": \"0.11.4\",\n  \"cluster_name\": \"vault-cluster-f5b81a91\",\n  \"cluster_id\": \"aa52cbab-fa12-edb0-16e0-9586c6af415d\"\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoethite%2Fsnimultihop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoethite%2Fsnimultihop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoethite%2Fsnimultihop/lists"}