Compare commits

...

11 Commits

Author SHA1 Message Date
0e2596e848 updater: Add flag --force-non-repository for APK 2026-04-22 20:19:44 +03:00
06d67eef36 ipset: Update zapret-ip-exclude.txt from upstream
PR #777
2026-04-11 17:18:45 +03:00
73c811efe4 init.d: fix error when packaging with Image Builder (init script) master
PR #772
2026-04-11 17:12:18 +03:00
8364cf98b8 github: Remove markdown from system information issue field
PR #767
2026-04-11 17:09:45 +03:00
6323b35993 diag: dwc: Fix ip parsing 2026-03-28 10:08:54 +03:00
455488e3ba ipset: Update zapret-hosts-user-exclude.txt 2026-03-20 13:48:36 +03:00
f09c8f7f9e Bump version to v72.20260307
Some checks failed
build / ${{ needs.var.outputs.APK_BRANCH }}: arm_cortex-a8_vfpv3 (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: arm_cortex-a8_vfpv3 (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: arm_cortex-a9 (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: arm_cortex-a9 (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: arm_cortex-a9_neon (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: arm_cortex-a9_neon (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: arm_cortex-a9_vfpv3-d16 (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: arm_fa526 (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: arm_fa526 (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: arm_xscale (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: arm_xscale (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: mips64_octeonplus (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: mips64_octeonplus (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: mips_24kc (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: mips_24kc (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: mips_4kec (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: mips_mips32 (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: mips_mips32 (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: mipsel_24kc (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: mipsel_24kc (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: mipsel_24kc_24kf (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: mipsel_24kc_24kf (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: mipsel_74kc (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: mipsel_74kc (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: mipsel_mips32 (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: mipsel_mips32 (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: riscv64_generic (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: x86_64 (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: x86_64 (push) Has been cancelled
build / release (push) Has been cancelled
2026-03-07 08:28:58 +03:00
cd77b061cd build: Switch to use v25.12.0 SDK (apk) 2026-03-07 08:26:13 +03:00
fb0d960122 Bump version to v72.20260226
Some checks failed
build / ${{ needs.var.outputs.APK_BRANCH }}: arm_cortex-a8_vfpv3 (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: arm_cortex-a8_vfpv3 (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: arm_cortex-a9 (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: arm_cortex-a9 (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: arm_cortex-a9_neon (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: arm_cortex-a9_neon (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: arm_cortex-a9_vfpv3-d16 (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: arm_fa526 (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: arm_fa526 (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: arm_xscale (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: arm_xscale (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: mips64_octeonplus (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: mips64_octeonplus (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: mips_24kc (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: mips_24kc (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: mips_4kec (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: mips_mips32 (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: mips_mips32 (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: mipsel_24kc (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: mipsel_24kc (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: mipsel_24kc_24kf (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: mipsel_24kc_24kf (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: mipsel_74kc (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: mipsel_74kc (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: mipsel_mips32 (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: mipsel_mips32 (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: riscv64_generic (push) Has been cancelled
build / ${{ needs.var.outputs.APK_BRANCH }}: x86_64 (push) Has been cancelled
build / ${{ needs.var.outputs.IPK_BRANCH }}: x86_64 (push) Has been cancelled
build / release (push) Has been cancelled
2026-02-26 11:01:22 +03:00
c7d2fc573e config: Fix strategy v7_by_StressOzz 2026-02-26 10:59:03 +03:00
43feda4a3a build: Set name for main job 2026-02-21 08:02:51 +03:00
13 changed files with 29 additions and 15 deletions

View File

@ -55,7 +55,6 @@ body:
- **OpenWrt version**:
- **Zapret version**:
- **Router model**:
render: markdown
validations:
required: true

View File

@ -55,7 +55,6 @@ body:
- **OpenWrt версия**:
- **Zapret версия**:
- **Роутер модель**:
render: markdown
validations:
required: true

View File

@ -53,7 +53,6 @@ body:
- **OpenWrt version**:
- **Zapret version**:
- **Router model**:
render: markdown
validations:
required: true

View File

@ -53,7 +53,6 @@ body:
- **OpenWrt версия**:
- **Zapret версия**:
- **Роутер модель**:
render: markdown
validations:
required: true

View File

@ -116,12 +116,13 @@ jobs:
- id: set
run: |
echo "IPK_BRANCH=v24.10.5" >> "$GITHUB_OUTPUT"
echo "APK_BRANCH=v25.12.0-rc2" >> "$GITHUB_OUTPUT"
echo "APK_BRANCH=v25.12.0" >> "$GITHUB_OUTPUT"
echo "XXX_BRANCH=SNAPSHOT" >> "$GITHUB_OUTPUT"
build:
needs: [ check, var ]
#if: needs.check.outputs.is_active == 'true'
name: "${{ matrix.branch }}: ${{ matrix.arch }}"
runs-on: ubuntu-24.04
strategy:
fail-fast: false

View File

@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-zapret
PKG_VERSION:=72.20260221
PKG_VERSION:=72.20260307
PKG_RELEASE:=1
PKG_LICENSE:=MIT
PKG_MAINTAINER:=remittor <https://github.com/remittor>

View File

@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=zapret
PKG_VERSION:=72.20260221
PKG_VERSION:=72.20260307
PKG_RELEASE:=1
PKG_MAINTAINER:=bol-van
@ -14,8 +14,8 @@ PKG_LICENSE_FILES:=docs/LICENSE.txt
PKG_SOURCE_URL:=https://github.com/bol-van/zapret.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=53eba046ce1b6b8219bbefca6952dcc1c7bfb436
PKG_SOURCE_DATE:=2026-02-21
PKG_SOURCE_VERSION:=ef637c482c7e64f3063f35dc2b10201e98d18e6d
PKG_SOURCE_DATE:=2026-03-07
#PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
#PKG_SOURCE_URL:=https://github.com/bol-van/zapret/archive/refs/tags/v$(PKG_VERSION).tar.gz?

View File

@ -307,6 +307,7 @@ function set_cfg_nfqws_strat
--dpi-desync-fake-tls=0x0F0F0F0F
--dpi-desync-fake-tls=/opt/zapret/files/fake/tls_clienthello_www_google_com.bin
--dpi-desync-fake-tls-mod=rnd,dupsid,sni=ggpht.com
--dpi-desync-repeats=8
--dpi-desync-split-seqovl=620
--dpi-desync-split-seqovl-pattern=/opt/zapret/files/fake/tls_clienthello_www_google_com.bin
--dpi-desync-fooling=badsum,badseq

View File

@ -209,17 +209,17 @@ while IFS='|' read -r ID TAG COUNTRY PROVIDER TSIZE URL; do
if [ "$opt_dig" != "" ]; then
RESP=$( dig +time=2 +retry=1 $OPT_DIG_DNS +short "$DOMAIN" 2>&1 )
echo "$RESP"
DST_IP=$( echo "$RESP" | grep -E '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$' | head -n1 )
DST_IP=$( echo "$RESP" | grep -Eo '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$' | head -n1 )
else
CURL_TIMEOUTS="--connect-timeout 3 --max-time 4 --speed-time 4 --speed-limit 1"
RESP=$( curl -4 -I --no-progress-meter $CURL_TIMEOUTS -w '%{remote_ip}\n' "$URL" 2>&1 )
echo "$RESP"
DST_IP=$( echo "$RESP" | grep -E '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | tail -1 )
DST_IP=$( echo "$RESP" | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | tail -1 )
if [ -z "$DST_IP" ]; then
echo "----------------------------------"
RESP=$( curl -4 --no-progress-meter $CURL_TIMEOUTS -r 0-0 -w '%{remote_ip}\n' "$URL" 2>&1 )
echo "$RESP"
DST_IP=$( echo "$RESP" | grep -E '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | tail -1 )
DST_IP=$( echo "$RESP" | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | tail -1 )
fi
fi
if [ "$DST_IP" = "" ]; then

View File

@ -1,6 +1,10 @@
#!/bin/sh /etc/rc.common
# Copyright (c) 2024 remittor
# check if script is running during the image creation process (Image Builder).
# $IPKG_INSTROOT is used by opkg, $ROOT is used by apk:
[ -n "$IPKG_INSTROOT" ] || [ -n "$ROOT" ] && exit 0
USE_PROCD=1
# after network
START=21

View File

@ -23,6 +23,13 @@ vk.ru
vk.com
yandex.ru
ya.ru
####################################
max.ru
web.max.ru
st.max.ru
calls.okcdn.ru
i.oneme.ru
ws-api.oneme.ru
#################################### Epicgames
easy.ac
fab.com

View File

@ -1,4 +1,9 @@
127.0.0.0/8
10.0.0.0/8
169.254.0.0/16
172.16.0.0/12
192.168.0.0/16
169.254.0.0/16
100.64.0.0/10
::1
fc00::/7
fe80::/10

View File

@ -551,7 +551,7 @@ if [ "$opt_update" != "" ]; then
if [ "$PKG_MGR" != "apk" ]; then
opkg install --force-reinstall "$ZAP_PKG_BASE_FN"
else
apk add --allow-untrusted --upgrade "$ZAP_PKG_BASE_FN"
apk add --allow-untrusted --upgrade --force-non-repository "$ZAP_PKG_BASE_FN"
fi
if [ $? -ne 0 ]; then
echo "ERROR: Failed to install package $ZAP_PKG_BASE_FN"
@ -560,7 +560,7 @@ if [ "$opt_update" != "" ]; then
if [ "$PKG_MGR" != "apk" ]; then
opkg install --force-reinstall "$ZAP_PKG_LUCI_FN"
else
apk add --allow-untrusted --upgrade "$ZAP_PKG_LUCI_FN"
apk add --allow-untrusted --upgrade --force-non-repository "$ZAP_PKG_LUCI_FN"
fi
if [ $? -ne 0 ]; then
echo "ERROR: Failed to install package $ZAP_PKG_LUCI_FN"