{"id":37157944,"url":"https://github.com/codeexpress/tcpmirror","last_synced_at":"2026-01-14T18:51:14.718Z","repository":{"id":49391693,"uuid":"261897280","full_name":"codeexpress/tcpmirror","owner":"codeexpress","description":"Mirror TCP traffic on one port to multiple ports/destinations","archived":false,"fork":false,"pushed_at":"2020-05-07T00:08:27.000Z","size":4,"stargazers_count":21,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-19T01:59:48.458Z","etag":null,"topics":["ab-testing","golang","mirror-tcp-traffic","port-mirroring","qa","streams","tcp-proxy"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeexpress.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}},"created_at":"2020-05-06T22:58:52.000Z","updated_at":"2024-05-01T15:19:43.000Z","dependencies_parsed_at":"2022-08-25T16:50:18.641Z","dependency_job_id":null,"html_url":"https://github.com/codeexpress/tcpmirror","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeexpress/tcpmirror","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeexpress%2Ftcpmirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeexpress%2Ftcpmirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeexpress%2Ftcpmirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeexpress%2Ftcpmirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeexpress","download_url":"https://codeload.github.com/codeexpress/tcpmirror/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeexpress%2Ftcpmirror/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28430934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ab-testing","golang","mirror-tcp-traffic","port-mirroring","qa","streams","tcp-proxy"],"created_at":"2026-01-14T18:51:14.093Z","updated_at":"2026-01-14T18:51:14.713Z","avatar_url":"https://github.com/codeexpress.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TCP Mirror\n\n`tcpmirror` duplicates TCP traffic received on a port to more than one destination ports.\nOne of the destination is the primary server (port) which responds\nto the incoming TCP traffic. Other streams are duplicate streams and\nany response from the respective servers is discarded.\n\n## Why\n\nThis is helpful in the following scenarios:\n\n- To test a Dev/QA/secondary server with the same requests, traffic\nand load that the primary production server handles.\n\n- To do performance testing of candidate servers against the existing\nproduction server.\n\n- To re-write the server in another language and make sure that the\nnew server responds the same as existing server for same requests.\n\n## Install\n\n### Download from the releases pages\n\nDownload pre-built binary from the release page.\n\n### Use `go get`\n\nIf you have `golang` tools installed, you can download and build the source code\nlocally as follows:\n```\n$ go get github.com/codeexpress/tcpmirror\n```\nThe `tcpmirror` binary is now available in your `$GOPATH/bin` directory\n\n### Compile from source\n\n```\n$ git clone https://github.com/codeexpress/tcpmirror.git\n$ cd tcpmirror; go run tcpmirror.go\n```\n\n## Sample use case\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeexpress%2Ftcpmirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeexpress%2Ftcpmirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeexpress%2Ftcpmirror/lists"}