{"id":3618087,"name":"github.com/inetaf/tcpproxy","ecosystem":"go","description":"Package tcpproxy lets users build TCP proxies, optionally making\nrouting decisions based on HTTP/1 Host headers and the SNI hostname\nin TLS connections.\n\nTypical usage:\n\nCalling Run (or Start) on a proxy also starts all the necessary\nlisteners.\n\nFor each accepted connection, the rules for that ipPort are\nmatched, in order. If one matches (currently HTTP Host, SNI, or\nalways), then the connection is handed to the target.\n\nThe two predefined Target implementations are:\n\n1) DialProxy, proxying to another address (use the To func to return a\nDialProxy value),\n\n2) TargetListener, making the matched connection available via a\nnet.Listener.Accept call.\n\nBut Target is an interface, so you can also write your own.\n\nNote that tcpproxy does not do any TLS encryption or decryption. It\nonly (via DialProxy) copies bytes around. The SNI hostname in the TLS\nheader is unencrypted, for better or worse.\n\nThis package makes no API stability promises. If you depend on it,\nvendor it.","homepage":"https://github.com/inetaf/tcpproxy","licenses":"Apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/inetaf/tcpproxy","keywords_array":[],"namespace":"github.com/inetaf","versions_count":2,"first_release_published_at":"2020-01-25T04:48:25.000Z","latest_release_published_at":"2025-02-22T17:18:55.000Z","latest_release_number":"v0.0.0-20250222171855-c4b9df066048","last_synced_at":"2026-04-24T20:02:50.070Z","created_at":"2022-04-11T07:48:13.582Z","updated_at":"2026-04-24T20:02:50.070Z","registry_url":"https://pkg.go.dev/github.com/inetaf/tcpproxy","install_command":"go get github.com/inetaf/tcpproxy","documentation_url":"https://pkg.go.dev/github.com/inetaf/tcpproxy#section-documentation","metadata":{},"repo_metadata":{"id":37722377,"uuid":"76297804","full_name":"inetaf/tcpproxy","owner":"inetaf","description":"Proxy TCP connections based on static rules, HTTP Host headers, and SNI server names (Go package or binary)","archived":false,"fork":false,"pushed_at":"2025-02-22T17:18:55.000Z","size":79,"stargazers_count":1295,"open_issues_count":21,"forks_count":161,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-09-22T23:12:00.752Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/inetaf/tcpproxy","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/inetaf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2016-12-12T21:38:45.000Z","updated_at":"2025-09-19T08:36:56.000Z","dependencies_parsed_at":"2024-01-14T09:59:27.021Z","dependency_job_id":"5e73843a-2ae1-4050-82f0-efa838cc3c30","html_url":"https://github.com/inetaf/tcpproxy","commit_stats":{"total_commits":68,"total_committers":10,"mean_commits":6.8,"dds":0.3088235294117647,"last_synced_commit":"3ce58045626c8bc343a593c90354975e61b1817a"},"previous_names":["google/tcpproxy","bradfitz/tcpproxy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/inetaf/tcpproxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inetaf%2Ftcpproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inetaf%2Ftcpproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inetaf%2Ftcpproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inetaf%2Ftcpproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inetaf","download_url":"https://codeload.github.com/inetaf/tcpproxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inetaf%2Ftcpproxy/sbom","scorecard":{"id":250243,"data":{"date":"2025-08-11","repo":{"name":"github.com/inetaf/tcpproxy","commit":"c4b9df066048ad2ab5c32235362fa94444a24ebe"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":4,"reason":"Found 13/28 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 16 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T08:18:14.315Z","repository_id":37722377,"created_at":"2025-08-17T08:18:14.315Z","updated_at":"2025-08-17T08:18:14.315Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276497768,"owners_count":25652890,"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-09-22T02:00:08.972Z","response_time":79,"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"},"owner_record":{"login":"inetaf","name":"inet.af","uuid":"40120548","kind":"organization","description":"","email":null,"website":"https://inet.af","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/40120548?v=4","repositories_count":6,"last_synced_at":"2023-03-05T00:31:37.825Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/inetaf","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-15T03:10:38.553Z","updated_at":"2023-03-05T00:31:37.835Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inetaf","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inetaf/repositories"},"tags":[]},"repo_metadata_updated_at":"2025-09-23T01:00:05.857Z","dependent_packages_count":9,"downloads":null,"downloads_period":null,"dependent_repos_count":6,"rankings":{"downloads":null,"dependent_repos_count":2.066368453980421,"dependent_packages_count":1.7676236014420377,"stargazers_count":1.9640053700700384,"forks_count":2.25963849773687,"docker_downloads_count":null,"average":2.014408980807342},"purl":"pkg:golang/github.com/inetaf/tcpproxy","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/inetaf/tcpproxy","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/inetaf/tcpproxy","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/inetaf/tcpproxy/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-31T12:47:24.733Z","issues_count":17,"pull_requests_count":29,"avg_time_to_close_issue":1245481.3333333333,"avg_time_to_close_pull_request":7698532.1,"issues_closed_count":6,"pull_requests_closed_count":20,"pull_request_authors_count":17,"issue_authors_count":16,"avg_comments_per_issue":1.4705882352941175,"avg_comments_per_pull_request":1.8275862068965516,"merged_pull_requests_count":16,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":4,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":2018539.3333333333,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":3,"past_year_pull_request_authors_count":3,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.25,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":3,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/inetaf%2Ftcpproxy/issues","maintainers":[{"login":"danderson","count":8,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/danderson"},{"login":"raggi","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/raggi"},{"login":"bradfitz","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/bradfitz"}],"active_maintainers":[{"login":"raggi","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/raggi"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Finetaf%2Ftcpproxy/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Finetaf%2Ftcpproxy/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Finetaf%2Ftcpproxy/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Finetaf%2Ftcpproxy/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Finetaf%2Ftcpproxy/codemeta","maintainers":[]}