Add secubox-app-tor (backend) and luci-app-tor-shield (frontend) packages for Tor anonymization on OpenWrt. Backend features: - UCI configuration with presets (anonymous, selective, censored) - procd init script with iptables transparent proxy - torctl CLI tool for status, enable/disable, circuits, leak-test - DNS over Tor and kill switch support - Hidden services and bridge management Frontend features: - Modern purple/onion themed dashboard - One-click master toggle with visual status - Real-time circuit visualization (Guard -> Middle -> Exit) - Hidden services (.onion) management with copy/QR - Bridge configuration (obfs4, snowflake, meek-azure) - Leak detection tests - Advanced settings for ports and exit node restrictions Note: LuCI package renamed to luci-app-tor-shield to avoid conflict with existing luci-app-tor package in OpenWrt LuCI feeds. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
37 lines
867 B
Makefile
37 lines
867 B
Makefile
# SPDX-License-Identifier: MIT
|
|
#
|
|
# Copyright (C) 2025 CyberMind.fr
|
|
#
|
|
# LuCI Tor Shield - Tor Anonymization Dashboard
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=luci-app-tor-shield
|
|
PKG_VERSION:=1.0.0
|
|
PKG_RELEASE:=1
|
|
PKG_ARCH:=all
|
|
|
|
PKG_LICENSE:=MIT
|
|
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
|
|
|
|
LUCI_TITLE:=LuCI Tor Shield
|
|
LUCI_DESCRIPTION:=Modern dashboard for Tor anonymization on OpenWrt
|
|
LUCI_DEPENDS:=+luci-base +luci-lib-jsonc +rpcd +rpcd-mod-luci +secubox-app-tor
|
|
|
|
LUCI_PKGARCH:=all
|
|
|
|
|
|
# File permissions (CRITICAL: RPCD scripts MUST be executable 755)
|
|
# Format: path:owner:group:mode
|
|
# - RPCD scripts: 755 (executable by root, required for ubus calls)
|
|
PKG_FILE_MODES:=/usr/libexec/rpcd/luci.tor-shield:root:root:755
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
define Package/$(PKG_NAME)/conffiles
|
|
/etc/config/tor-shield
|
|
endef
|
|
|
|
# call BuildPackage - OpenWrt buildroot
|