{"id":28729768,"url":"https://github.com/didi/yarc","last_synced_at":"2025-10-30T15:20:31.104Z","repository":{"id":214573566,"uuid":"736121247","full_name":"didi/yarc","owner":"didi","description":"基于 eBPF 的流量录制工具","archived":false,"fork":false,"pushed_at":"2023-12-29T06:31:52.000Z","size":1013,"stargazers_count":25,"open_issues_count":0,"forks_count":4,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-08-04T05:36:28.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","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/didi.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}},"created_at":"2023-12-27T03:35:50.000Z","updated_at":"2024-04-30T06:58:01.000Z","dependencies_parsed_at":"2023-12-29T05:20:56.829Z","dependency_job_id":"cf53ab0c-e95f-4f1b-a4ad-a8a5825d0909","html_url":"https://github.com/didi/yarc","commit_stats":null,"previous_names":["didi/yarc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/didi/yarc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didi%2Fyarc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didi%2Fyarc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didi%2Fyarc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didi%2Fyarc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/didi","download_url":"https://codeload.github.com/didi/yarc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didi%2Fyarc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260016055,"owners_count":22946321,"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","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":[],"created_at":"2025-06-15T17:10:59.960Z","updated_at":"2025-10-30T15:20:26.073Z","avatar_url":"https://github.com/didi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"English | [中文](./README_zh.md)\n\n\u003cimg src=\"logo.png\" width = \"150\" alt=\"yarc logo\"/\u003e\n\n# Yet Another Recorder(yarc)\nYarc is a traffic recording tool based on ebpf. It records real online traffic and uses the [traffic playback tool](https://github.com/didi/sharingan) for testing.\nYarc attaches the program used to hook the socket system function to the kernel system function through bpf, and transfers the recorded data to the user space with the help of BPF_MAP to achieve recording.\n[More detail](https://mp.weixin.qq.com/s/6vD0cckviqLQidFb6Yo71Q)\n\n\u003cimg src=\"docs/imgs/introduction.png\" width=\"600px\"\u003e\n\n## Requirements\n\n* Linux (4.18.0-193.el8.x86_64)\n* Go 1.18+\n* Clang/LLVM 10+\n\n## License\n`yarc` is released under the Apache License. See the `LICENSE` file for more details.\n\n## Getting Started\nUse Makefile to build the project\n```bash\nmake\n```\nStart traffic recording and pass in the process ID that needs to record traffic.\n```bash\n./yarc -p $PID\n```\nRequest the target process to be recorded, and the recorded traffic will be stored in ./log/record.log\n```bash\nls ./log/record.log\n```\n\n## Getting Help\nContact me to add a wechat group.\n\n\u003cimg src=\"wechat.png\" width=\"200px\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdidi%2Fyarc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdidi%2Fyarc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdidi%2Fyarc/lists"}