⛅ Sync 2026-09-28 17:06:29

This commit is contained in:
github-actions[bot] committed 2026-09-28 17:06:29 +08:00
1 parent 55ddf05bcd
commit d15c668c06
138 files changed
+975 -606

No files matched your search

+6 -5
View File
@@ -3,16 +3,16 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=honk
PKG_VERSION:=0.0.1_beta81
PKG_RELEASE:=1
PKG_VERSION:=0.0.1_beta82
PKG_RELEASE:=2
# Raw upstream release tag. It keeps the dots in qualifiers (e.g. v0.0.1.beta.49)
# because that is what the GitHub release asset name uses.
HONK_RELEASE_TAG:=v0.0.1.beta.81
HONK_RELEASE_TAG:=v0.0.1.beta.82
# SHA256 of each release tarball, kept in sync by scripts/update_honk_version.sh.
HONK_HASH_X86_64:=88e5c3b29200c6ad729cc89636e14a452d974108cd08852c9c1e44074d23e10e
HONK_HASH_AARCH64:=b160a3c8674556222b2b29ce6c975bc346f7ce3cddeb049474c6ca9e0a8191a6
HONK_HASH_X86_64:=075db4ebb3dd1b51fb59c8e4c3de5853bd837f5f5ca5fd0ef7698b574f8f9a88
HONK_HASH_AARCH64:=6b66319bda2110d075e8f2788d728fdf75ca36dffdb3884a192803a34a529c59
PKG_LICENSE:=AGPL-3.0-only
PKG_LICENSE_FILE:=LICENSE
@@ -89,6 +89,7 @@ define Package/honk/install
$(INSTALL_CONF) $(CURDIR)/files/config.d/node.dae $(1)/etc/honk/config.d/node.dae
$(INSTALL_CONF) $(CURDIR)/files/config.d/route.dae $(1)/etc/honk/config.d/route.dae
$(INSTALL_CONF) $(CURDIR)/files/config.d/dns.dae $(1)/etc/honk/config.d/dns.dae
$(INSTALL_CONF) $(CURDIR)/files/config.d/api.dae $(1)/etc/honk/config.d/api.dae
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) $(CURDIR)/files/honk.config $(1)/etc/config/honk
+14
View File
@@ -0,0 +1,14 @@
# api.dae
# Configure API access for HONK dashboards and controllers.
experimental {
native_api {
enabled: true
listen: '0.0.0.0:9527'
secret: 'honk114514'
ui: '/etc/honk/dashboard'
config_write: true
geosite_download_url: 'https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/release/geosite.dat'
geoip_download_url: 'https://raw.githubusercontent.com/QiuSimons/geoip-moedove/refs/heads/main/geoip.dat'
}
}
+1 -1
View File
@@ -5,7 +5,7 @@ dns {
#ipversion_prefer: 4
upstream {
local: 'udp://127.0.0.1:53' -> direct
remote: 'tcp+udp://dns.google:53'
remote: 'tcp+udp://one.one.one.one:53'
}
routing {
request {
+4 -14
View File
@@ -22,21 +22,11 @@ global {
udp_check_dns: 'dns.google.com:53', '8.8.8.8', '2001:4860:4860::8888'
}
# using for enable experimental features
# native-api, clash-api, cache-file
# API access (native_api / clash_api) is configured separately in config.d/api.dae
# to allow web dashboard configuration without locking the config as read-only.
#
# Optional cache-file configuration:
#experimental {
# native_api {
# enabled: true
# listen: '0.0.0.0:9527'
# secret: 'honk'
# ui: '/etc/honk/dashboard'
# }
# clash_api {
# external_controller: '0.0.0.0:9090'
# external_ui: '/etc/honk/zashboard'
# secret: ''
# default_mode: 'Rule'
# }
# cache_file {
# enabled: true
# path: '/etc/honk/cache.db'
+3 -2
View File
@@ -17,8 +17,9 @@ HONK_NETNS_PATH="/run/netns/$HONK_NETNS_NAME"
RESOLV_HONK="/tmp/resolv.conf.honk"
set_chmod_640() {
mkdir -p /etc/honk/config.d
chmod -R 640 /etc/honk/ 2>/dev/null || true
mkdir -p /etc/honk/config.d /etc/honk/state
chmod -R u=rwX,go= /etc/honk 2>/dev/null || true
chmod 700 /etc/honk /etc/honk/config.d /etc/honk/state 2>/dev/null || true
}
cleanup_netns() {