{"id":19075231,"url":"https://github.com/martindai/net-capture","last_synced_at":"2026-06-18T12:31:07.684Z","repository":{"id":196788695,"uuid":"696655501","full_name":"MartinDai/net-capture","owner":"MartinDai","description":"一个网络抓包程序，基于libpcap和gopacket","archived":false,"fork":false,"pushed_at":"2023-10-31T12:02:19.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-22T04:42:23.726Z","etag":null,"topics":["gopacket","libpcap"],"latest_commit_sha":null,"homepage":"","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/MartinDai.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":"2023-09-26T07:23:05.000Z","updated_at":"2023-09-27T06:22:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b508165-0c3b-4308-ad78-c5f05af708e6","html_url":"https://github.com/MartinDai/net-capture","commit_stats":null,"previous_names":["martindai/net-capture"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MartinDai/net-capture","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinDai%2Fnet-capture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinDai%2Fnet-capture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinDai%2Fnet-capture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinDai%2Fnet-capture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MartinDai","download_url":"https://codeload.github.com/MartinDai/net-capture/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinDai%2Fnet-capture/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34491226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"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":["gopacket","libpcap"],"created_at":"2024-11-09T01:53:56.563Z","updated_at":"2026-06-18T12:31:07.646Z","avatar_url":"https://github.com/MartinDai.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# net-capture\n\n参考[goreplay](https://github.com/buger/goreplay)，基于gopacket+libpcap实现的网络抓包项目，可以通过配置目标IP和端口，抓取TCP和UDP协议的内容\n\n## 本地启动\n\n运行`cmd`目录下的main.go，添加如下启动参数\n\n```text\n--config-file=./pkg/script/config.yml\n```\n\n## 构建Linux编译环境容器\n\n```shell\nmake build-container\n```\n\n## 构建全平台执行文件\n\n```shell\nmake build-all\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartindai%2Fnet-capture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartindai%2Fnet-capture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartindai%2Fnet-capture/lists"}