Skip to content
프로젝트

소개

Android sing-box GUI client.

기타 프로젝트

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+2
in 7 days
+10
in 15 days
+17
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

English | 简体中文

AsteriskBOX

Android sing-box GUI client.

Telegram Channel

Asterisk4Magisk

Run Modes

VPN Service

  • Works without root permission.
  • Uses Android VpnService.

TPROXY(ROOT)

  • Runs the local sing-box executable directly with libsu.
  • Uses iptables and policy routing for transparent proxy traffic.

TUN(ROOT)

  • Runs the local sing-box executable directly with libsu.
  • Uses auto_route and auto_redirect in the sing-box TUN inbound to manage routing.

eBPF(ROOT)

  • Runs the local sing-box executable directly with libsu.
  • Uses the sing-box eBPF inbound to capture traffic.
  • Availability depends on eBPF support in the device kernel.

TUN2SOCKS(ROOT)

  • Runs the local sing-box executable directly with libsu.
  • Uses hev-socks5-tunnel to create a TUN device and send traffic to the sing-box SOCKS5 inbound.

BPF2SOCKS(ROOT)

  • Runs the local sing-box executable directly with libsu.
  • Uses bpf2socks to capture traffic and send it to the sing-box SOCKS5 inbound.
  • Availability depends on eBPF support in the device kernel.

asteriskd

  • Watches local IPv4/IPv6 addresses and tethering interfaces, then refreshes the relevant iptables rules or BPF maps.
  • Cleans up networking rules owned by the active ROOT mode when the service stops.

Enhancement Module

AsteriskEnhance is an optional module that routes system DNS according to the application list and isolates resolver caches. It requires ROOT and Zygisk Next and supports TPROXY, TUN2SOCKS, and BPF2SOCKS. Enable Application list enhancement in settings and follow the installation prompts; reboot after installation or updates.

Resource Files

  • Resource files are stored in the app-private files/sing-box directory.
  • Custom resources can be added or replaced locally and updated from configured URLs.

Broadcast Control

Enable Broadcast Control in settings, then send an explicit broadcast to the receiver below. Actions use the org.asterisk.zcc.abox.action. prefix.

Operation Action suffix
Start proxy PROXY_START
Stop proxy PROXY_STOP
Toggle proxy PROXY_TOGGLE
Update all URL subscriptions SUBSCRIPTION_UPDATE
Cancel broadcast subscription update SUBSCRIPTION_UPDATE_CANCEL
Update all resources RESOURCE_UPDATE
Cancel resource updates RESOURCE_UPDATE_CANCEL
adb shell am broadcast -n org.asterisk.zcc.abox/features.automation.BroadcastControlReceiver -a org.asterisk.zcc.abox.action.SUBSCRIPTION_UPDATE

Subscription updates skip local entries; cancellation preserves completed results and scheduled update settings. Resources use the current Resource Management configuration; resource cancellation also clears its shared queue. Repeated update commands of the same kind are merged while running.

Updates run in the background without starting the proxy. Broadcast delivery does not mean the update has finished; check the BroadcastControl app logs for results.

Development

Initialize submodules before building:

git submodule update --init --recursive

Build with Android Studio or the Gradle wrapper:

.\gradlew.bat assembleDebug

On macOS or Linux:

./gradlew assembleDebug

The build downloads the pinned AndroidLibBoxLite AAR, builds the native submodules, and produces ABI split APKs plus a universal APK.

Debug builds carry the application id org.asterisk.zcc.abox.debug and a DEV-badged launcher icon (app/src/debug/res), so a debug build installs alongside a release build.

The Android NDK version is pinned by ProjectConfig.NDK_VERSION in buildSrc/src/main/kotlin/BuildConfig.kt. Install that version through SDK Manager.

License

GPL-3.0

Credits

관련 프로젝트 살펴보기

불러오는 중…