{"id":16085899,"url":"https://github.com/qiusimons/luci-app-daed","last_synced_at":"2026-04-25T08:01:11.153Z","repository":{"id":180320907,"uuid":"658288680","full_name":"QiuSimons/luci-app-daed","owner":"QiuSimons","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-22T06:11:58.000Z","size":535,"stargazers_count":272,"open_issues_count":3,"forks_count":61,"subscribers_count":2,"default_branch":"kix","last_synced_at":"2026-04-22T07:21:03.040Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QiuSimons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-25T10:16:53.000Z","updated_at":"2026-04-22T06:12:02.000Z","dependencies_parsed_at":"2026-02-26T11:02:07.473Z","dependency_job_id":"7781411a-0cfc-42a0-9fc8-342ab181d1ec","html_url":"https://github.com/QiuSimons/luci-app-daed","commit_stats":null,"previous_names":["qiusimons/luci-app-daed"],"tags_count":166,"template":false,"template_full_name":null,"purl":"pkg:github/QiuSimons/luci-app-daed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QiuSimons%2Fluci-app-daed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QiuSimons%2Fluci-app-daed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QiuSimons%2Fluci-app-daed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QiuSimons%2Fluci-app-daed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QiuSimons","download_url":"https://codeload.github.com/QiuSimons/luci-app-daed/tar.gz/refs/heads/kix","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QiuSimons%2Fluci-app-daed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32254714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T04:23:17.126Z","status":"ssl_error","status_checked_at":"2026-04-25T04:21:53.360Z","response_time":59,"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":[],"created_at":"2024-10-09T13:09:45.950Z","updated_at":"2026-04-25T08:01:11.086Z","avatar_url":"https://github.com/QiuSimons.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eluci-app-daed\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"100\" src=\"https://github.com/daeuniverse/dae/blob/main/logo.png?raw=true\" /\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e一个基于 eBPF 的高性能透明代理解决方案。\u003c/b\u003e\n\u003c/p\u003e\n\n---\n\n## 快速入门\n\n### 1. 环境准备 (编译主机)\n\n在编译之前，请确保您的编译主机已安装必要的开发工具。参考 [apt.llvm.org](https://apt.llvm.org/) 安装最新版本的 Clang 和 LLVM。\n\n```bash\napt-get update\napt-get install -y clang llvm npm\nnpm install -g pnpm\n```\n\n### 2. 获取源码\n\n进入您的 OpenWrt 目录，克隆本仓库到 `package` 目录：\n\n```bash\ngit clone https://github.com/QiuSimons/luci-app-daed package/dae\n```\n\n### 3. 内核配置要求 (DAE 运行前提)\n\nDAE 依赖 eBPF 和 BTF。请在 `.config` 中添加以下内核配置以启用相关支持：\n\n```makefile\nCONFIG_DEVEL=y\nCONFIG_KERNEL_DEBUG_INFO=y\nCONFIG_KERNEL_DEBUG_INFO_REDUCED=n\nCONFIG_KERNEL_DEBUG_INFO_BTF=y\nCONFIG_KERNEL_CGROUPS=y\nCONFIG_KERNEL_CGROUP_BPF=y\nCONFIG_KERNEL_BPF_EVENTS=y\nCONFIG_BPF_TOOLCHAIN_HOST=y\nCONFIG_KERNEL_XDP_SOCKETS=y\nCONFIG_PACKAGE_kmod-xdp-sockets-diag=y\n```\n\n### 4. 编译与安装\n\n```bash\nmake menuconfig # 路径: LUCI -\u003e Applications -\u003e luci-app-daed\nmake package/dae/luci-app-daed/compile V=s\n```\n\n---\n\n## 核心概念：BTF 与 CO-RE\n\n### BTF 来源选择\n\n在 `make menuconfig` 中，您可以根据内核支持情况选择 BTF 来源：\n\n- **Use kernel BTF (integrated)**: **[推荐]** 要求内核开启 `CONFIG_KERNEL_DEBUG_INFO_BTF=y`。\n- **Use vmlinux-btf package**: 如果内核不支持原生 BTF，可选择此项以使用外部 [vmlinux-btf](https://github.com/QiuSimons/vmlinux-btf) 软件包。\n\n### vmlinux-btf 依赖说明\n\n由于预编译安装包无法自动探测内核是否支持 BTF，为了确保稳定性，程序默认依赖 `vmlinux-btf`。\n\n- **方案 A：手动补全依赖 (推荐)**\n  如果软件源缺失该包，请前往 [opkg.cooluc.com](https://opkg.cooluc.com/) 下载。\n  - **建议**: 优先选择与内核版本号 (`x.y.z`) 完全一致的包；至少保证主次版本号 (`x.y`) 一致。\n- **方案 B：忽略依赖 (高级用户)**\n  如果您确认内核已原生支持 BTF (`CONFIG_KERNEL_DEBUG_INFO_BTF=y`)，可在安装时使用 `--force-depends` 参数忽略依赖检查。\n\n---\n\n## 预览\n\n\u003cp align=\"center\"\u003e\n\u003cimg width=\"800\" src=\"https://github.com/QiuSimons/luci-app-daed/blob/master/PIC/1.jpg?raw=true\" /\u003e\n\u003cimg width=\"800\" src=\"https://github.com/QiuSimons/luci-app-daed/blob/master/PIC/2.jpg?raw=true\" /\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiusimons%2Fluci-app-daed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqiusimons%2Fluci-app-daed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiusimons%2Fluci-app-daed/lists"}