{"id":37164748,"url":"https://github.com/jarpson/gotcpreply","last_synced_at":"2026-01-14T19:33:41.896Z","repository":{"id":224002655,"uuid":"762030167","full_name":"jarpson/gotcpreply","owner":"jarpson","description":"Copy Tcp Traffic and reply to other service","archived":false,"fork":false,"pushed_at":"2024-03-04T12:50:00.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-16T01:37:16.723Z","etag":null,"topics":["go","redis","redis-test","reply","tcpcopy"],"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/jarpson.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":"2024-02-23T00:12:28.000Z","updated_at":"2024-03-04T12:52:02.000Z","dependencies_parsed_at":"2024-06-21T07:15:00.107Z","dependency_job_id":"2beb66f4-5493-44fe-8b6e-9f3f8be1ce56","html_url":"https://github.com/jarpson/gotcpreply","commit_stats":null,"previous_names":["jarpson/gotcpreply"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jarpson/gotcpreply","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarpson%2Fgotcpreply","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarpson%2Fgotcpreply/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarpson%2Fgotcpreply/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarpson%2Fgotcpreply/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jarpson","download_url":"https://codeload.github.com/jarpson/gotcpreply/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarpson%2Fgotcpreply/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28432628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["go","redis","redis-test","reply","tcpcopy"],"created_at":"2026-01-14T19:33:41.249Z","updated_at":"2026-01-14T19:33:41.877Z","avatar_url":"https://github.com/jarpson.png","language":"Go","readme":"# gotcpreply\nCopy Tcp Traffic and reply to other service\n\n## Function\n\n1. Cap Input stream and reply to target address.\n2. Create a forwarding connection for each input stream. \n3. If there is a problem with the connection, try to reestablish the connection and write the bit to the header of a request before forwarding.\n\n## Usage\n\nexample:\n\n`./gotcpreply -level debug -device lo -filter \"tcp dst port 6379\" -target 127.0.0.1:6380`\n\n```\nUsage of ./gotcpreply:\n  -device string\n        net device (default \"lo0\")\n  -filter string\n        cap filter (default \"tcp dst port 6379\")\n  -header string\n        filter header regexp (default \"^\\\\*\\\\d+\\\\r\\\\n\\\\$\")\n  -level string\n        log level, use: debug info warn error (default \"info\")\n  -sendmsg string\n        sed the message to each target conn (default \"*3\\r\\n$6\\r\\nclient\\r\\n$5\\r\\nreply\\r\\n$3\\r\\noff\\r\\n\")\n  -target string\n        transfer target address\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarpson%2Fgotcpreply","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjarpson%2Fgotcpreply","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarpson%2Fgotcpreply/lists"}