13 Commits

Author SHA1 Message Date
Flowseal
02f6e89f81 Version bump 2026-06-15 07:45:11 +03:00
Flowseal
b62f558c7b release workflow changes 2026-06-15 07:44:24 +03:00
Flowseal
100a0c9a41 fixes #15004 2026-06-15 07:36:51 +03:00
Flowseal
0b923f9b5c Version bump 2026-06-14 20:45:17 +03:00
Flowseal
2af70b9f8b title set moved 2026-06-14 20:42:54 +03:00
Funsy
22a04fc6e8 add window title (#14979) 2026-06-14 20:42:38 +03:00
Flowseal
394d12ce33 Warning in user's list 2026-06-14 19:08:52 +03:00
Flowseal
d1638825c6 fixes #14972 - ipset status detection 2026-06-14 18:21:40 +03:00
fluffydaddy
132df16b20 list-exclude, list-general update (#14555) 2026-06-14 18:19:14 +03:00
Fr̫̎e̗̔e͉̗͗̕ď̖ỏ̘͉̎m̫̓
d7e154a351 ExcludeOneDrive (#14947) 2026-06-13 20:07:04 +03:00
lxstwxrden
f26572fa90 Обновить IPSet до последней версии (#14896)
* Update ipset-all.txt.backup

* Update ipset-service.txt
2026-06-12 10:15:10 +03:00
Kail-225
03866b1b2f Update list (#14753) 2026-06-08 23:16:13 +03:00
Murchik
7e9b42a00b Align test analytics output (#14115) 2026-05-30 16:50:29 +03:00
10 changed files with 8024 additions and 5684 deletions

3
.gitattributes vendored
View File

@@ -1,2 +1,3 @@
*.bat text eol=crlf *.bat text eol=crlf
*.ps1 text eol=crlf *.ps1 text eol=crlf
*.txt text eol=crlf

View File

@@ -11,3 +11,4 @@ trusted_users:
- prettyleaf - prettyleaf
- amozebus - amozebus
- fridorin - fridorin
- kinlay0

View File

@@ -26,18 +26,45 @@ jobs:
fi fi
- name: Install tools - name: Install tools
run: sudo apt-get install -y rar p7zip-full run: |
sudo apt-get update
sudo apt-get install -y zip tar rar
- name: Prepare release bundle
run: |
NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}"
mkdir "$NAME"
cp -r bin "$NAME/"
cp -r lists "$NAME/"
cp -r utils "$NAME/"
cp *.bat "$NAME/"
cp README.md "$NAME/"
cp LICENSE.txt "$NAME/"
(
cd "$NAME"
find . -type f -exec sha256sum {} \;
) > "$NAME/SHA256SUMS.txt"
- name: Create archives - name: Create archives
run: | run: |
NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}" NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}"
7z a "${NAME}.zip" bin/ lists/ utils/ *.bat
rar a "${NAME}.rar" bin/ lists/ utils/ *.bat zip -qr "${NAME}.zip" "$NAME"
rar a -idq "${NAME}.rar" "$NAME"
tar --owner=0 --group=0 -czf "${NAME}.tar.gz" "$NAME"
- name: Print SHA256 checksums - name: Print SHA256 checksums
run: | run: |
NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}" NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}"
sha256sum "${NAME}.zip" "${NAME}.rar"
sha256sum \
"${NAME}.zip" \
"${NAME}.rar" \
"${NAME}.tar.gz"
- name: Create GitHub Release - name: Create GitHub Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
@@ -47,3 +74,4 @@ jobs:
files: | files: |
zapret-discord-youtube-${{ github.event.inputs.tag }}.zip zapret-discord-youtube-${{ github.event.inputs.tag }}.zip
zapret-discord-youtube-${{ github.event.inputs.tag }}.rar zapret-discord-youtube-${{ github.event.inputs.tag }}.rar
zapret-discord-youtube-${{ github.event.inputs.tag }}.tar.gz

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1 @@
1.9.9a 1.9.9c

File diff suppressed because it is too large Load Diff

View File

@@ -5,25 +5,45 @@ twitch.tv
mail.ru mail.ru
citilink.ru citilink.ru
yandex.com yandex.com
yandex.net
yandex.org
yandex.md
yandex.ru
yandexadexchange.net
yandexcloud.net
yandexcom.net
yandexmetrica.com
yandexwebcache.net
yandexwebcache.org
yastat.net
yastatic-net.ru
yastatic.net
ya.ru
adfox.ru
admetrica.ru
naydex.net
rostaxi.org
turbopages.org
webvisor.com
webvisor.org
nvidia.com nvidia.com
donationalerts.com donationalerts.com
vk.com vk.com
yandex.kz yandex.kz
mts.ru mts.ru
multimc.org multimc.org
ya.ru
dns-shop.ru dns-shop.ru
habr.com habr.com
3dnews.ru 3dnews.ru
microsoft.com microsoft.com
microsoftonline.com microsoftonline.com
live.com live.com
sharepoint.com
minecraft.net minecraft.net
xboxlive.com xboxlive.com
akamaitechnologies.com akamaitechnologies.com
msi.com msi.com
2ip.ru 2ip.ru
yandex.ru
boosty.to boosty.to
tanki.su tanki.su
lesta.ru lesta.ru
@@ -45,7 +65,6 @@ gov.ru
nalog.ru nalog.ru
spb.ru spb.ru
mos.ru mos.ru
yandex.net
vk.ru vk.ru
vk.me vk.me
vkvideo.ru vkvideo.ru
@@ -88,6 +107,7 @@ sberbank.ru
cdn-tinkoff.ru cdn-tinkoff.ru
tbank-online.com tbank-online.com
tbank.ru tbank.ru
t-bank-app.ru
tochka-tech.com tochka-tech.com
tochka.com tochka.com
vtb.ru vtb.ru

View File

@@ -10,9 +10,11 @@ youtube-ui.l.google.com
youtube.com youtube.com
youtubeembeddedplayer.googleapis.com youtubeembeddedplayer.googleapis.com
youtubekids.com youtubekids.com
youtube.googleapis.com
youtubei.googleapis.com youtubei.googleapis.com
youtu.be youtu.be
yt-video-upload.l.google.com yt-video-upload.l.google.com
ytimg.com ytimg.com
ytimg.l.google.com ytimg.l.google.com
play.google.com play.google.com
google.ru

View File

@@ -1,5 +1,5 @@
@echo off @echo off
set "LOCAL_VERSION=1.9.9a" set "LOCAL_VERSION=1.9.9c"
:: External commands :: External commands
if "%~1"=="status_zapret" ( if "%~1"=="status_zapret" (
@@ -53,8 +53,11 @@ if "%1"=="admin" (
:: MENU ================================ :: MENU ================================
setlocal EnableDelayedExpansion setlocal EnableDelayedExpansion
title ZAPRET SERVICE MANAGER v!LOCAL_VERSION!
:menu :menu
cls cls
call :ipset_switch_status call :ipset_switch_status
call :game_switch_status call :game_switch_status
call :check_updates_switch_status call :check_updates_switch_status
@@ -115,7 +118,8 @@ if not exist "%LISTS_PATH%ipset-exclude-user.txt" (
echo 203.0.113.113/32>"%LISTS_PATH%ipset-exclude-user.txt" echo 203.0.113.113/32>"%LISTS_PATH%ipset-exclude-user.txt"
) )
if not exist "%LISTS_PATH%list-general-user.txt" ( if not exist "%LISTS_PATH%list-general-user.txt" (
echo domain.example.abc>"%LISTS_PATH%list-general-user.txt" echo # Never leave this file empty>"%LISTS_PATH%list-general-user.txt"
echo domain.example.abc>>"%LISTS_PATH%list-general-user.txt"
) )
if not exist "%LISTS_PATH%list-exclude-user.txt" ( if not exist "%LISTS_PATH%list-exclude-user.txt" (
echo domain.example.abc>"%LISTS_PATH%list-exclude-user.txt" echo domain.example.abc>"%LISTS_PATH%list-exclude-user.txt"
@@ -819,7 +823,7 @@ for /f %%i in ('type "%listFile%" 2^>nul ^| find /c /v ""') do set "lineCount=%%
if !lineCount!==0 ( if !lineCount!==0 (
set "IPsetStatus=any" set "IPsetStatus=any"
) else ( ) else (
findstr /R "^203\.0\.113\.113/32$" "%listFile%" >nul findstr /C:"203.0.113.113/32" "%listFile%" >nul
if !errorlevel!==0 ( if !errorlevel!==0 (
set "IPsetStatus=none" set "IPsetStatus=none"
) else ( ) else (

View File

@@ -838,13 +838,18 @@ try {
Write-Host "" Write-Host ""
Write-Host "=== ANALYTICS ===" -ForegroundColor Cyan Write-Host "=== ANALYTICS ===" -ForegroundColor Cyan
$maxConfigLen = ($analytics.Keys | ForEach-Object { $_.Length } | Measure-Object -Maximum).Maximum
foreach ($config in $analytics.Keys) { foreach ($config in $analytics.Keys) {
$a = $analytics[$config] $a = $analytics[$config]
$configPadded = $config.PadRight($maxConfigLen)
if ($a.ContainsKey('PingOK')) { if ($a.ContainsKey('PingOK')) {
Write-Host "$config : HTTP OK: $($a.OK), ERR: $($a.ERROR), UNSUP: $($a.UNSUP), Ping OK: $($a.PingOK), Fail: $($a.PingFail)" -ForegroundColor Yellow $line = "{0} : HTTP OK: {1,3}, ERR: {2,3}, UNSUP: {3,3}, Ping OK: {4,3}, Fail: {5,3}" -f `
$configPadded, $a.OK, $a.ERROR, $a.UNSUP, $a.PingOK, $a.PingFail
} else { } else {
Write-Host "$config : OK: $($a.OK), FAIL: $($a.FAIL), UNSUP: $($a.UNSUPPORTED), BLOCKED: $($a.LIKELY_BLOCKED)" -ForegroundColor Yellow $line = "{0} : OK: {1,3}, FAIL: {2,3}, UNSUP: {3,3}, BLOCKED: {4,3}" -f `
$configPadded, $a.OK, $a.FAIL, $a.UNSUPPORTED, $a.LIKELY_BLOCKED
} }
Write-Host $line -ForegroundColor Yellow
} }
# Determine best strategy # Determine best strategy
@@ -916,13 +921,18 @@ try {
# Add analytics # Add analytics
Add-Content $resultFile "=== ANALYTICS ===" Add-Content $resultFile "=== ANALYTICS ==="
$maxConfigLen = ($analytics.Keys | ForEach-Object { $_.Length } | Measure-Object -Maximum).Maximum
foreach ($config in $analytics.Keys) { foreach ($config in $analytics.Keys) {
$a = $analytics[$config] $a = $analytics[$config]
$configPadded = $config.PadRight($maxConfigLen)
if ($a.ContainsKey('PingOK')) { if ($a.ContainsKey('PingOK')) {
Add-Content $resultFile "$config : HTTP OK: $($a.OK), ERR: $($a.ERROR), UNSUP: $($a.UNSUP), Ping OK: $($a.PingOK), Fail: $($a.PingFail)" $line = "{0} : HTTP OK: {1,3}, ERR: {2,3}, UNSUP: {3,3}, Ping OK: {4,3}, Fail: {5,3}" -f `
$configPadded, $a.OK, $a.ERROR, $a.UNSUP, $a.PingOK, $a.PingFail
} else { } else {
Add-Content $resultFile "$config : OK: $($a.OK), FAIL: $($a.FAIL), UNSUP: $($a.UNSUPPORTED), BLOCKED: $($a.LIKELY_BLOCKED)" $line = "{0} : OK: {1,3}, FAIL: {2,3}, UNSUP: {3,3}, BLOCKED: {4,3}" -f `
$configPadded, $a.OK, $a.FAIL, $a.UNSUPPORTED, $a.LIKELY_BLOCKED
} }
Add-Content $resultFile $line
} }
Add-Content $resultFile "Best strategy: $bestConfig" Add-Content $resultFile "Best strategy: $bestConfig"