mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2026-08-14 17:51:36 +03:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9503dc0451 | ||
|
|
cce6edca82 | ||
|
|
9c3817d40a | ||
|
|
c3b30cd233 | ||
|
|
c05cddaece | ||
|
|
4e711167a2 | ||
|
|
73cee5db28 | ||
|
|
1a7d98d506 | ||
|
|
ee13846608 | ||
|
|
69ffda8cbf | ||
|
|
28fa5df61d | ||
|
|
0e7c839089 | ||
|
|
d75903b44c | ||
|
|
36f4452342 | ||
|
|
cb6c83d13b | ||
|
|
d3aabff5d8 | ||
|
|
0f2b8dd6eb | ||
|
|
d7eedce22a | ||
|
|
7174c5bcb3 | ||
|
|
02f6e89f81 | ||
|
|
b62f558c7b | ||
|
|
100a0c9a41 | ||
|
|
0b923f9b5c | ||
|
|
2af70b9f8b | ||
|
|
22a04fc6e8 | ||
|
|
394d12ce33 | ||
|
|
d1638825c6 | ||
|
|
132df16b20 | ||
|
|
d7e154a351 | ||
|
|
f26572fa90 | ||
|
|
03866b1b2f | ||
|
|
7e9b42a00b | ||
|
|
ef19845a80 | ||
|
|
047cc04fd6 | ||
|
|
57b91239f7 | ||
|
|
32a6830373 | ||
|
|
9407cd31cc | ||
|
|
d28460499e | ||
|
|
197dafcaa3 | ||
|
|
8195c466c3 | ||
|
|
459c4c2a2e | ||
|
|
7b39f1bbb8 | ||
|
|
68c57eacc8 | ||
|
|
d60e21c1bb | ||
|
|
f474a9f3f0 | ||
|
|
3ca61f3ab6 | ||
|
|
e609f1550b | ||
|
|
ff334e5767 | ||
|
|
8b47f91512 | ||
|
|
4456f6ee1c | ||
|
|
1963ad068d | ||
|
|
68fa02f9a4 | ||
|
|
f6f22e20e1 | ||
|
|
523bf61ac8 | ||
|
|
4af99e3c33 | ||
|
|
4f8d81b742 | ||
|
|
5a792c0a25 | ||
|
|
c368de3f97 | ||
|
|
95e2d53424 | ||
|
|
1bb7c01a24 | ||
|
|
1b2e20f938 | ||
|
|
5db8059985 | ||
|
|
67b0ba3996 | ||
|
|
517f2debf0 | ||
|
|
b50cc0601f | ||
|
|
42054ff2ca | ||
|
|
da7a23c652 | ||
|
|
91ba8f4259 | ||
|
|
22a9ca3bc0 | ||
|
|
0d5ab7b13c | ||
|
|
1d9ad5f605 | ||
|
|
f7913547db | ||
|
|
a23f96cef8 | ||
|
|
05ec945a05 | ||
|
|
9a1ce92593 | ||
|
|
82efae8e1f | ||
|
|
28a60d8295 | ||
|
|
0eea22755f | ||
|
|
48a3c739a3 | ||
|
|
cb9aed0944 | ||
|
|
5d1ba74e59 | ||
|
|
0d2ab87bd0 | ||
|
|
337c550160 | ||
|
|
eb779e4543 | ||
|
|
7121668ca1 | ||
|
|
0cbe689724 | ||
|
|
dc861c36ec | ||
|
|
45ab3c93dd | ||
|
|
5920631440 | ||
|
|
c3dae75a12 | ||
|
|
18e8d447d5 | ||
|
|
7bad3ee9d1 | ||
|
|
a90fead845 | ||
|
|
2aea7ea384 | ||
|
|
bea49d3774 | ||
|
|
8551542b1f | ||
|
|
f2cbf47073 | ||
|
|
3c1b64ab06 | ||
|
|
e78bb10a3a | ||
|
|
7952e58ee8 | ||
|
|
e5a4c95f08 |
+2
-1
@@ -1,2 +1,3 @@
|
|||||||
*.bat text eol=crlf
|
*.bat text eol=crlf
|
||||||
*.ps1 text eol=crlf
|
*.ps1 text eol=crlf
|
||||||
|
*.txt text eol=crlf
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
trusted_users:
|
||||||
|
- Flowseal
|
||||||
|
- ControlRe
|
||||||
|
- ekungurov
|
||||||
|
- V3nilla
|
||||||
|
- serpen7
|
||||||
|
- EgorWeders
|
||||||
|
- FlowersOfMind
|
||||||
|
- Dronatar
|
||||||
|
- JustChickNugget
|
||||||
|
- prettyleaf
|
||||||
|
- amozebus
|
||||||
|
- fridorin
|
||||||
|
- kinlay0
|
||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
- Если открывается `service.bat`, то:
|
- Если открывается `service.bat`, то:
|
||||||
- `service.bat` -> `Remove Services`
|
- `service.bat` -> `Remove Services`
|
||||||
- `service.bat` -> `Run Diagnostics` (если есть ошибки - устраните их) -> в конце Y
|
- `service.bat` -> `Run Diagnostics` (если есть ошибки - устраните их) -> в конце Y
|
||||||
- Убедитесь, что процесс winws.exe не запщуен (выключите его, если запущен)
|
- Убедитесь, что процесс winws.exe не запущен (выключите его, если запущен)
|
||||||
- Удалите папку с запретом
|
- Удалите папку с запретом
|
||||||
- Перезапустите устройство
|
- Перезапустите устройство
|
||||||
- Скачайте последнюю версию [со страницы релизов](https://github.com/Flowseal/zapret-discord-youtube/releases) (`zapret-discord-youtube-...`)
|
- Скачайте последнюю версию [со страницы релизов](https://github.com/Flowseal/zapret-discord-youtube/releases) (`zapret-discord-youtube-...`)
|
||||||
@@ -43,12 +43,17 @@ jobs:
|
|||||||
### Не работает игра / сервис / сайт?
|
### Не работает игра / сервис / сайт?
|
||||||
- Проверьте работоспособность без обхода:
|
- Проверьте работоспособность без обхода:
|
||||||
- **Работает:**
|
- **Работает:**
|
||||||
- Домен можно удалить в `lists/list-general.txt`, если он там присутствует
|
- Домен можно удалить в `lists/list-general-user.txt`, если он там присутствует
|
||||||
Либо же добавить домен в `lists/list-exclude.txt` (*поддомены автоматически учитываются*)
|
Либо же добавить домен в `lists/list-exclude-user.txt` (*поддомены автоматически учитываются*)
|
||||||
- Попробуйте выключить `Game Filter` в `service.bat` (требуется перезапуск обхода или переустановка сервиса) и `IPSet Filter` (чтобы стал **none**)
|
- Попробуйте выключить `Game Filter` в `service.bat` (требуется перезапуск обхода или переустановка сервиса) и `IPSet Filter` (чтобы стал **none**)
|
||||||
|
|
||||||
- **Не работает: пробуйте другие стратегии.** Если не помогло, то:
|
- **Не работает: пробуйте другие стратегии.** Если не помогло, то:
|
||||||
*Если это сайт*, то добавьте домен в `lists/list-general.txt` (поддомены автоматически учитываются).
|
*Если это сайт*, то добавьте домен в `lists/list-general-user.txt` (поддомены автоматически учитываются).
|
||||||
*Если это игра*, то попробуйте включить `Game Filter` и `IPSet Filter` (чтобы стал **load**, если не поможет то **any**) в `service.bat` (требуется перезапуск обхода или переустановка сервиса).
|
*Если это игра*, то попробуйте включить `Game Filter` и `IPSet Filter` (чтобы стал **loaded**, если не поможет то **any**) в `service.bat` (требуется перезапуск обхода или переустановка сервиса).
|
||||||
|
|
||||||
**Пробуйте разные стратегии после внесения изменений в случае, если это не сработало**
|
**Пробуйте разные стратегии после внесения изменений в случае, если это не сработало**
|
||||||
|
|
||||||
|
- Если проблема связана с игрой и решения выше не помогли, то:
|
||||||
|
1. **Закройте** этот issue.
|
||||||
|
2. **Создайте новую (или найдите уже существующую) ветку обсуждений** в разделе [**Discussions**](https://github.com/Flowseal/zapret-discord-youtube/discussions), подробно опишите свою проблему и ждите помощи от других игроков.
|
||||||
|
*Давайте будем честны*: Игр много. Как и вы, никто и никогда не читает уже существующие чужие issues, а вероятность найти решение проблемы в разделе [**Discussions**](https://github.com/Flowseal/zapret-discord-youtube/discussions) — выше.
|
||||||
|
|||||||
@@ -0,0 +1,69 @@
|
|||||||
|
name: Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
tag:
|
||||||
|
description: 'Release tag'
|
||||||
|
required: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Verify version matches version.txt
|
||||||
|
run: |
|
||||||
|
VERSION=$(cat .service/version.txt)
|
||||||
|
if [ "$VERSION" != "${{ github.event.inputs.tag }}" ]; then
|
||||||
|
echo "Error: tag '${{ github.event.inputs.tag }}' does not match .service/version.txt ('$VERSION')"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Install tools
|
||||||
|
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/"
|
||||||
|
|
||||||
|
- name: Create archives
|
||||||
|
run: |
|
||||||
|
NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}"
|
||||||
|
|
||||||
|
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
|
||||||
|
run: |
|
||||||
|
NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}"
|
||||||
|
|
||||||
|
sha256sum \
|
||||||
|
"${NAME}.zip" \
|
||||||
|
"${NAME}.rar" \
|
||||||
|
"${NAME}.tar.gz"
|
||||||
|
|
||||||
|
- name: Create GitHub Release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
tag_name: ${{ github.event.inputs.tag }}
|
||||||
|
name: ${{ github.event.inputs.tag }}
|
||||||
|
files: |
|
||||||
|
zapret-discord-youtube-${{ github.event.inputs.tag }}.zip
|
||||||
|
zapret-discord-youtube-${{ github.event.inputs.tag }}.rar
|
||||||
|
zapret-discord-youtube-${{ github.event.inputs.tag }}.tar.gz
|
||||||
@@ -1 +1,8 @@
|
|||||||
/utils/test results
|
/utils/test results
|
||||||
|
/utils/game_filter.enabled
|
||||||
|
/lists/ipset-exclude-user.txt
|
||||||
|
/lists/list-general-user.txt
|
||||||
|
/lists/list-exclude-user.txt
|
||||||
|
|
||||||
|
.vscode/
|
||||||
|
/build/
|
||||||
+25
-19
@@ -1,39 +1,45 @@
|
|||||||
|
185.199.109.133 objects.githubusercontent.com
|
||||||
|
185.199.109.133 raw.githubusercontent.com
|
||||||
|
185.199.109.133 release-assets.githubusercontent.com
|
||||||
|
185.199.108.133 private-user-images.githubusercontent.com
|
||||||
|
185.199.108.133 gist.githubusercontent.com
|
||||||
|
185.199.108.133 avatars.githubusercontent.com
|
||||||
|
|
||||||
|
149.154.167.220 my.telegram.org
|
||||||
|
149.154.167.220 desktop.telegram.org
|
||||||
|
149.154.167.220 macos.telegram.org
|
||||||
|
149.154.167.220 oauth.telegram.org
|
||||||
|
149.154.167.220 oauth.tg.dev
|
||||||
|
149.154.167.220 cdn.telesco.pe
|
||||||
|
149.154.167.220 cdn1.telesco.pe
|
||||||
|
149.154.167.220 cdn2.telesco.pe
|
||||||
|
149.154.167.220 cdn3.telesco.pe
|
||||||
|
149.154.167.220 cdn4.telesco.pe
|
||||||
|
149.154.167.220 cdn5.telesco.pe
|
||||||
|
149.154.167.220 cdn6.telesco.pe
|
||||||
|
149.154.167.220 core.telegram.org
|
||||||
|
149.154.167.220 zws4.web.telegram.org
|
||||||
|
149.154.167.220 vesta.web.telegram.org
|
||||||
|
149.154.167.220 vesta-1.web.telegram.org
|
||||||
|
149.154.167.220 venus-1.web.telegram.org
|
||||||
149.154.167.220 telegram.me
|
149.154.167.220 telegram.me
|
||||||
149.154.167.220 telegram.dog
|
149.154.167.220 telegram.dog
|
||||||
149.154.167.220 telegram.space
|
149.154.167.220 telegram.space
|
||||||
149.154.167.220 telesco.pe
|
149.154.167.220 telesco.pe
|
||||||
149.154.167.220 tg.dev
|
149.154.167.220 tg.dev
|
||||||
149.154.167.220 kws2.web.telegram.org
|
|
||||||
149.154.167.220 kws2-1.web.telegram.org
|
|
||||||
149.154.167.220 kws1-1.web.telegram.org
|
|
||||||
149.154.167.220 kws1.web.telegram.org
|
|
||||||
149.154.167.220 telegram.org
|
149.154.167.220 telegram.org
|
||||||
149.154.167.220 t.me
|
149.154.167.220 t.me
|
||||||
149.154.167.220 telegram.me
|
|
||||||
149.154.167.220 tg.dev
|
|
||||||
149.154.167.220 telesco.pe
|
|
||||||
149.154.167.220 api.telegram.org
|
149.154.167.220 api.telegram.org
|
||||||
149.154.167.220 pluto.web.telegram.org
|
|
||||||
149.154.167.220 pluto-1.web.telegram.org
|
|
||||||
149.154.167.220 flora.web.telegram.org
|
|
||||||
149.154.167.220 td.telegram.org
|
149.154.167.220 td.telegram.org
|
||||||
149.154.167.220 venus.web.telegram.org
|
149.154.167.220 venus.web.telegram.org
|
||||||
149.154.167.220 web.telegram.org
|
149.154.167.220 web.telegram.org
|
||||||
149.154.167.220 kws1-1.web.telegram.org
|
|
||||||
149.154.167.220 kws1.web.telegram.org
|
|
||||||
149.154.167.220 kws2-1.web.telegram.org
|
149.154.167.220 kws2-1.web.telegram.org
|
||||||
149.154.167.220 kws2.web.telegram.org
|
149.154.167.220 kws2.web.telegram.org
|
||||||
149.154.167.220 kws4-1.web.telegram.org
|
149.154.167.220 kws4-1.web.telegram.org
|
||||||
149.154.167.220 kws4.web.telegram.org
|
149.154.167.220 kws4.web.telegram.org
|
||||||
149.154.167.220 kws5-1.web.telegram.org
|
|
||||||
149.154.167.220 kws5.web.telegram.org
|
|
||||||
149.154.167.220 zws1-1.web.telegram.org
|
|
||||||
149.154.167.220 zws1.web.telegram.org
|
|
||||||
149.154.167.220 zws2-1.web.telegram.org
|
149.154.167.220 zws2-1.web.telegram.org
|
||||||
149.154.167.220 zws2.web.telegram.org
|
149.154.167.220 zws2.web.telegram.org
|
||||||
149.154.167.220 zws4-1.web.telegram.org
|
149.154.167.220 zws4-1.web.telegram.org
|
||||||
149.154.167.220 zws5-1.web.telegram.org
|
|
||||||
149.154.167.220 zws5.web.telegram.org
|
|
||||||
|
|
||||||
104.25.158.178 finland10000.discord.media
|
104.25.158.178 finland10000.discord.media
|
||||||
104.25.158.178 finland10001.discord.media
|
104.25.158.178 finland10001.discord.media
|
||||||
@@ -234,4 +240,4 @@
|
|||||||
104.25.158.178 finland10196.discord.media
|
104.25.158.178 finland10196.discord.media
|
||||||
104.25.158.178 finland10197.discord.media
|
104.25.158.178 finland10197.discord.media
|
||||||
104.25.158.178 finland10198.discord.media
|
104.25.158.178 finland10198.discord.media
|
||||||
104.25.158.178 finland10199.discord.media
|
104.25.158.178 finland10199.discord.media
|
||||||
|
|||||||
+19791
-2590
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
|||||||
1.9.6
|
1.10.0
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
# <img src="https://cdn-icons-png.flaticon.com/128/5968/5968756.png" height=28 /> <a href="https://github.com/Flowseal/">Flowseal</a><a href="https://github.com/Flowseal/zapret-discord-youtube">/zapret-discord-youtube</a> <img src="https://cdn-icons-png.flaticon.com/128/1384/1384060.png" height=28 />
|
# <img src="https://cdn-icons-png.flaticon.com/128/5968/5968756.png" height=28 /> <a href="https://github.com/Flowseal/">Flowseal</a><a href="https://github.com/Flowseal/zapret-discord-youtube">/zapret-discord-youtube</a> <img src="https://cdn-icons-png.flaticon.com/128/1384/1384060.png" height=28 />
|
||||||
|
|
||||||
|
**NEW**: Ускорение Telegram Desktop - https://github.com/Flowseal/tg-ws-proxy
|
||||||
Альтернатива https://github.com/bol-van/zapret-win-bundle
|
Альтернатива https://github.com/bol-van/zapret-win-bundle
|
||||||
Также вы можете материально поддержать оригинального разработчика zapret [тут](https://github.com/bol-van/zapret?tab=readme-ov-file#%D0%BF%D0%BE%D0%B4%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D1%82%D1%8C-%D1%80%D0%B0%D0%B7%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D1%87%D0%B8%D0%BA%D0%B0)
|
Также вы можете материально поддержать оригинального разработчика zapret [тут](https://github.com/bol-van/zapret?tab=readme-ov-file#%D0%BF%D0%BE%D0%B4%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D1%82%D1%8C-%D1%80%D0%B0%D0%B7%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D1%87%D0%B8%D0%BA%D0%B0)
|
||||||
</div>
|
</div>
|
||||||
@@ -28,14 +29,15 @@
|
|||||||
> В случае проблем с антивирусом добавьте папку с запретом в исключения, либо отключите детектирование PUA (потенциально нежелательных приложений). Например, в касперском есть галочка "Обнаруживать легальные приложения, которые злоумышленники часто используют для нанесения вреда". При аккуратной и правильной настройке исключений - рекомендуется настроить исключение, но если вы не до конца понимаете что делаете - рекомендуется отключить детект PUA.
|
> В случае проблем с антивирусом добавьте папку с запретом в исключения, либо отключите детектирование PUA (потенциально нежелательных приложений). Например, в касперском есть галочка "Обнаруживать легальные приложения, которые злоумышленники часто используют для нанесения вреда". При аккуратной и правильной настройке исключений - рекомендуется настроить исключение, но если вы не до конца понимаете что делаете - рекомендуется отключить детект PUA.
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> Все бинарные файлы в папке [`bin`](./bin) взяты из [zapret-win-bundle/zapret-winws](https://github.com/bol-van/zapret-win-bundle/tree/master/zapret-winws). Вы можете это проверить с помощью хэшей/контрольных сумм. Проверяйте, что запускаете, используя сборки из интернета!
|
> Все бинарные файлы в папке [`bin`](./bin) взяты из [zapret-win-bundle/zapret-winws](https://github.com/bol-van/zapret-win-bundle/tree/master/zapret-winws) и [zapret/releases](https://github.com/bol-van/zapret/releases). Вы можете это проверить с помощью хэшей/контрольных сумм. Проверяйте, что запускаете, используя сборки из интернета!
|
||||||
|
|
||||||
## ⚙️Использование
|
## ⚙️Использование
|
||||||
|
|
||||||
1. Включите Secure DNS
|
1. Включите Secure DNS
|
||||||
* В Chrome - "Использовать безопасный DNS", и выбрать поставщика услуг DNS (выбрать вариант, отличный от поставщика по умолчанию)
|
* В Chrome - "Использовать безопасный DNS", и выбрать поставщика услуг DNS (выбрать вариант, отличный от варианта "Поставщик по умолчанию")
|
||||||
* В Firefox - "Включить DNS через HTTPS, используя: Максимальную защиту", затем "Выбрать поставщика" и вписать URL поставщика вручную, например можно использовать `https://dns.google/dns-query` (т.к. поставщик Cloudflare может быть заблокирован)
|
* В Firefox - "Включить DNS через HTTPS, используя: Максимальную защиту", затем "Выбрать поставщика" и вписать URL поставщика вручную, например можно использовать `https://dns.google/dns-query` (т.к. поставщик Cloudflare может быть заблокирован)
|
||||||
* В Windows 11 поддерживается включение Secure DNS прямо в настройках ОС - [инструкция тут](https://www.howtogeek.com/765940/how-to-enable-dns-over-https-on-windows-11/). Рекомендуется, если вы пользуетесь Windows 11
|
* В Windows 11 поддерживается включение Secure DNS прямо в настройках ОС - [инструкция тут](https://remontka.pro/dns-over-https-windows-11/). Рекомендуется, если вы пользуетесь Windows 11
|
||||||
|
* Если у вас роутер Keenetic, включите в настройках роутера опцию "Транзит запросов". Отключение этой опции может привести к проблемам при настройке и использовании Secure DNS на компьютере
|
||||||
|
|
||||||
2. Скачайте архив (zip/rar) со [страницы последнего релиза](https://github.com/Flowseal/zapret-discord-youtube/releases/latest)
|
2. Скачайте архив (zip/rar) со [страницы последнего релиза](https://github.com/Flowseal/zapret-discord-youtube/releases/latest)
|
||||||
|
|
||||||
@@ -65,8 +67,9 @@
|
|||||||
- `loaded` - айпи проверяется на вхождение в список
|
- `loaded` - айпи проверяется на вхождение в список
|
||||||
- `any` - любой айпи попадает под фильтр
|
- `any` - любой айпи попадает под фильтр
|
||||||
- **`Auto-Update Check`** - Вкл/Выкл автоматическую проверку на обновления
|
- **`Auto-Update Check`** - Вкл/Выкл автоматическую проверку на обновления
|
||||||
|
- **`Replace active fakes`** - Заменить указанный используемый фейк на другой из папки `bin`
|
||||||
- **`Update IPSet List`** - обновление списка `ipset-all.txt` актуальным из репозитория
|
- **`Update IPSet List`** - обновление списка `ipset-all.txt` актуальным из репозитория
|
||||||
- **`Update Hosts File`** - обновление файла hosts <ins>**для починки подключения к голосовому чату Discord**</ins>
|
- **`Update Hosts File`** - обновление файла hosts <ins>**для починки веб версии телеграма и подключения к голосовому чату Discord**</ins>
|
||||||
- **`Check for Updates`** - проверка на обновления
|
- **`Check for Updates`** - проверка на обновления
|
||||||
- **`Run Diagnostics`** - диагностика на распространённые причины, по которым zapret может не работать.
|
- **`Run Diagnostics`** - диагностика на распространённые причины, по которым zapret может не работать.
|
||||||
В конце можно очистить кэш <img src="https://cdn-icons-png.flaticon.com/128/5968/5968756.png" height=11 /> `Discord`, что может помочь, если он неожиданно перестал работать
|
В конце можно очистить кэш <img src="https://cdn-icons-png.flaticon.com/128/5968/5968756.png" height=11 /> `Discord`, что может помочь, если он неожиданно перестал работать
|
||||||
@@ -82,10 +85,10 @@
|
|||||||
- После запуска стратегии (отдельным bat файлом, не через service), должен открыться winws.exe (обход), который можно увидеть в панели задач.
|
- После запуска стратегии (отдельным bat файлом, не через service), должен открыться winws.exe (обход), который можно увидеть в панели задач.
|
||||||
Если этого не произошло, то см. [#522](https://github.com/Flowseal/zapret-discord-youtube/issues/522)
|
Если этого не произошло, то см. [#522](https://github.com/Flowseal/zapret-discord-youtube/issues/522)
|
||||||
|
|
||||||
### Бесконечное "подключение" к голосовому чату Discord
|
### Не работает телеграм (веб версия) или бесконечное "подключение" к голосовому чату Discord
|
||||||
Запустите **`service.bat`**, выберите пункт **`Update hosts file`**. После чего, если ваш hosts будет неактуальным, то Вам будет предложено обновить его самостоятельно:
|
Запустите **`service.bat`**, выберите пункт **`Update hosts file`**. После чего, если ваш hosts будет неактуальным, то Вам будет предложено обновить его самостоятельно:
|
||||||
- Скопируйте весь текст из открывшегося блокнота
|
- Скопируйте весь текст из открывшегося блокнота
|
||||||
- Откройте файл `hosts` в появившейся папке с помощью текстового редактора
|
- Откройте файл `hosts` в появившейся папке с помощью текстового редактора, открытого от имени администратора
|
||||||
- Добавьте в конец файла `hosts` то, что скопировали (или замените, если до этого Вы уже добавляли подобное)
|
- Добавьте в конец файла `hosts` то, что скопировали (или замените, если до этого Вы уже добавляли подобное)
|
||||||
- Сохраните и перепроверьте подключение. Если не работает - убедитесь, что файл `hosts` действительно сохранился.
|
- Сохраните и перепроверьте подключение. Если не работает - убедитесь, что файл `hosts` действительно сохранился.
|
||||||
|
|
||||||
@@ -156,22 +159,43 @@ sc delete название_из_первого_шага
|
|||||||
|
|
||||||
### Не работает <img src="https://cdn-icons-png.flaticon.com/128/5968/5968756.png" height=18 /> Discord
|
### Не работает <img src="https://cdn-icons-png.flaticon.com/128/5968/5968756.png" height=18 /> Discord
|
||||||
|
|
||||||
|
- Убедитесь что вы настроили Secure DNS.
|
||||||
- Желательно сначала узнать, на какой стратегии открывается сайт YouTube. Запустите эту стратегию.
|
- Желательно сначала узнать, на какой стратегии открывается сайт YouTube. Запустите эту стратегию.
|
||||||
|
- Запустите `service.bat` -> `Run Diagnostics` и выполните там очистку кэша Discord.
|
||||||
|
- Проверьте приложение Discord. Помогла ли очистка кэша?
|
||||||
- Проверьте Discord в браузере: https://discord.com/app. В браузере работает? Если работает, то можете пользоваться в нём.
|
- Проверьте Discord в браузере: https://discord.com/app. В браузере работает? Если работает, то можете пользоваться в нём.
|
||||||
- Если Discord и в браузере не работает, убедитесь что вы настроили Secure DNS, и после этого ещё раз пробуйте все стратегии. Бывает такое, что на одной стратегии YouTube работает, а Discord нет.
|
- Если Discord и в браузере не работает, то пробуйте ещё раз все стратегии. Бывает такое, что на одной стратегии YouTube работает, а Discord нет.
|
||||||
- См. также [#252](https://github.com/Flowseal/zapret-discord-youtube/discussions/252)
|
- См. также [#252](https://github.com/Flowseal/zapret-discord-youtube/discussions/252)
|
||||||
|
|
||||||
|
### Не работает <img src="https://cdn-icons-png.flaticon.com/128/5968/5968804.png" height=18 /> Telegram
|
||||||
|
|
||||||
|
- Используйте программу [tg-ws-proxy](https://github.com/Flowseal/tg-ws-proxy)
|
||||||
|
- Или используйте бесплатные MTProto прокси из интернета
|
||||||
|
|
||||||
|
### Не работают игры
|
||||||
|
|
||||||
|
Есть много разных игр. Исследовать и чинить каждую из них нет возможности.
|
||||||
|
|
||||||
|
Наиболее универсальный рецепт такой:
|
||||||
|
- через `service.bat` обновите ipset и включите `Game Filter`
|
||||||
|
- если это не поможет, то попробуйте также включить настройку `ipset any`
|
||||||
|
|
||||||
|
Но помните, что при включении `ipset any` появятся проблемы с открытием многих сайтов. Чтобы этого избежать, не используйте `ipset any` на постоянной основе. Вместо этого нужно выяснить все IP адреса, которые используются игрой, и добавить их в `ipset-all.txt`
|
||||||
|
|
||||||
|
Если и это не помогло, создайте ветку обсуждений в разделе [Discussions](https://github.com/Flowseal/zapret-discord-youtube/discussions) (не в issues) и ждите помощи от других игроков.
|
||||||
|
|
||||||
### Не нашли своей проблемы
|
### Не нашли своей проблемы
|
||||||
|
|
||||||
* Создайте её [тут](https://github.com/Flowseal/zapret-discord-youtube/issues)
|
- Создайте её [тут](https://github.com/Flowseal/zapret-discord-youtube/issues)
|
||||||
|
|
||||||
## 🗒️Добавление адресов прочих ресурсов
|
## 🗒️Добавление адресов прочих ресурсов
|
||||||
|
|
||||||
Список адресов для обхода можно расширить, добавляя их в:
|
Список адресов для обхода можно расширить, добавляя их в:
|
||||||
- [`list-general.txt`](./lists/list-general.txt) для доменов (поддомены автоматически учитываются)
|
- **`list-general-user.txt`** для доменов (поддомены автоматически учитываются)
|
||||||
- [`list-exclude.txt`](./lists/list-exclude.txt) для исключения доменов (например, если айпи сети указан в `ipset-all.txt`, но конкретный домен из этой сети не надо фильтровать)
|
- **`list-exclude-user.txt`** для исключения доменов (например, если айпи сети указан в `ipset-all.txt`, но конкретный домен из этой сети не надо фильтровать)
|
||||||
- [`ipset-all.txt`](./lists/ipset-all.txt) для IP и подсетей
|
- **`ipset-all.txt`** для IP и подсетей
|
||||||
- [`ipset-exclude.txt`](./lists/ipset-exclude.txt) для исключения IP и подсетей
|
- **`ipset-exclude-user.txt`** для исключения IP и подсетей
|
||||||
|
- Файлы **`*-user.txt`** автоматически создадутся при первом запуске `zapret` или `service.bat`
|
||||||
|
|
||||||
## ⭐Поддержка проекта
|
## ⭐Поддержка проекта
|
||||||
|
|
||||||
@@ -179,14 +203,6 @@ sc delete название_из_первого_шага
|
|||||||
|
|
||||||
Также вы можете материально поддержать оригинального разработчика zapret [тут](https://github.com/bol-van/zapret?tab=readme-ov-file#%D0%BF%D0%BE%D0%B4%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D1%82%D1%8C-%D1%80%D0%B0%D0%B7%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D1%87%D0%B8%D0%BA%D0%B0)
|
Также вы можете материально поддержать оригинального разработчика zapret [тут](https://github.com/bol-van/zapret?tab=readme-ov-file#%D0%BF%D0%BE%D0%B4%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D1%82%D1%8C-%D1%80%D0%B0%D0%B7%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D1%87%D0%B8%D0%BA%D0%B0)
|
||||||
|
|
||||||
<a href="https://star-history.com/#Flowseal/zapret-discord-youtube&Date">
|
|
||||||
<picture>
|
|
||||||
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Flowseal/zapret-discord-youtube&type=Date&theme=dark" />
|
|
||||||
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Flowseal/zapret-discord-youtube&type=Date" />
|
|
||||||
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Flowseal/zapret-discord-youtube&type=Date" />
|
|
||||||
</picture>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
## ⚖️Лицензирование
|
## ⚖️Лицензирование
|
||||||
|
|
||||||
Проект распространяется на условиях лицензии [MIT](https://github.com/Flowseal/zapret-discord-youtube/blob/main/LICENSE.txt)
|
Проект распространяется на условиях лицензии [MIT](https://github.com/Flowseal/zapret-discord-youtube/blob/main/LICENSE.txt)
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+9
-7
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,fakedsplit --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fakedsplit-pattern=0x00 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,fakedsplit --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fakedsplit-pattern=0x00 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake,fakedsplit --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fakedsplit-pattern=0x00 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake,fakedsplit --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fakedsplit-pattern=0x00 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake,fakedsplit --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fakedsplit-pattern=0x00 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,fakedsplit --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fakedsplit-pattern=0x00 --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake,fakedsplit --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fakedsplit-pattern=0x00 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,fakedsplit --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fakedsplit-pattern=0x00 --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n3
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,fakedsplit --dpi-desync-repeats=6 --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n4 --dpi-desync-fooling=ts --dpi-desync-fakedsplit-pattern=0x00 --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n3
|
||||||
|
|||||||
+9
-7
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=none --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=none --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_4pda_to.bin" --dpi-desync-fake-tls-mod=none --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_4pda_to.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls=^! --dpi-desync-fake-tls-mod=rnd,sni=www.google.com --dpi-desync-fake-tls="%BIN%tls_clienthello_4pda_to.bin" --dpi-desync-fake-tls-mod=none --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_4pda_to.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n3 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_4pda_to.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n2
|
||||||
|
|||||||
+9
-7
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=664 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=664 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=664 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=664 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n4
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n4 --dpi-desync-split-seqovl=664 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n4
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 > nul
|
||||||
|
:: 65001 - UTF-8
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
call service.bat status_zapret
|
||||||
|
call service.bat check_updates
|
||||||
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
|
echo:
|
||||||
|
|
||||||
|
set "BIN=%~dp0bin\"
|
||||||
|
set "LISTS=%~dp0lists\"
|
||||||
|
cd /d %BIN%
|
||||||
|
|
||||||
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%stun.bin" --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=3 --new ^
|
||||||
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=hostfakesplit --dpi-desync-fooling=ts --dpi-desync-hostfakesplit-mod=host=www.google.com --new ^
|
||||||
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=664 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=664 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n4 --dpi-desync-split-seqovl=664 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n4
|
||||||
+9
-7
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=multisplit --dpi-desync-split-seqovl=652 --dpi-desync-split-pos=2 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=multisplit --dpi-desync-split-seqovl=652 --dpi-desync-split-pos=2 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=multisplit --dpi-desync-split-seqovl=652 --dpi-desync-split-pos=2 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=multisplit --dpi-desync-split-seqovl=652 --dpi-desync-split-pos=2 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=multisplit --dpi-desync-split-seqovl=652 --dpi-desync-split-pos=2 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=multisplit --dpi-desync-split-seqovl=652 --dpi-desync-split-pos=2 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=multisplit --dpi-desync-split-seqovl=652 --dpi-desync-split-pos=2 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=multisplit --dpi-desync-split-seqovl=652 --dpi-desync-split-pos=2 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=multisplit --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n3 --dpi-desync-split-seqovl=652 --dpi-desync-split-pos=2 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n2
|
||||||
|
|||||||
+9
-7
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,hostfakesplit --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-hostfakesplit-mod=host=www.google.com,altorder=1 --dpi-desync-fooling=ts --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,hostfakesplit --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-hostfakesplit-mod=host=www.google.com,altorder=1 --dpi-desync-fooling=ts --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake,hostfakesplit --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-hostfakesplit-mod=host=www.google.com,altorder=1 --dpi-desync-fooling=ts --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake,hostfakesplit --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-hostfakesplit-mod=host=www.google.com,altorder=1 --dpi-desync-fooling=ts --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake,hostfakesplit --dpi-desync-fake-tls-mod=rnd,dupsid,sni=ya.ru --dpi-desync-hostfakesplit-mod=host=ya.ru,altorder=1 --dpi-desync-fooling=ts --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,hostfakesplit --dpi-desync-fake-tls-mod=rnd,dupsid,sni=ya.ru --dpi-desync-hostfakesplit-mod=host=ya.ru,altorder=1 --dpi-desync-fooling=ts --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake,hostfakesplit --dpi-desync-fake-tls-mod=rnd,dupsid,sni=ya.ru --dpi-desync-hostfakesplit-mod=host=ya.ru,altorder=1 --dpi-desync-fooling=ts --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,hostfakesplit --dpi-desync-fake-tls-mod=rnd,dupsid,sni=ya.ru --dpi-desync-hostfakesplit-mod=host=ya.ru,altorder=1 --dpi-desync-fooling=ts --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n4
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,hostfakesplit --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n4 --dpi-desync-fake-tls-mod=rnd,dupsid,sni=ya.ru --dpi-desync-hostfakesplit-mod=host=ya.ru,altorder=1 --dpi-desync-fooling=ts --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n4
|
||||||
|
|||||||
+9
-7
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,multisplit --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=1000 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,multisplit --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=1000 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake,multisplit --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=1000 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake,multisplit --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=1000 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake,multisplit --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=1000 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=1000 --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake,multisplit --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=1000 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=1000 --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-repeats=6 --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n3 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=1000 --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n2
|
||||||
|
|||||||
+8
-6
@@ -7,15 +7,17 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-l3=ipv4 --filter-tcp=443,2053,2083,2087,2096,8443,%GameFilter% --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=syndata,multidisorder --new ^
|
--filter-l3=ipv4 --filter-tcp=80,443,2053,2083,2087,2096,8443 --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=syndata,multidisorder --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=syndata,multidisorder --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n4 --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=14 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n3
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=14 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n3
|
||||||
|
|||||||
+9
-7
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=multisplit --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n3 --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n2
|
||||||
|
|||||||
+9
-7
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=multisplit --dpi-desync-split-pos=2,sniext+1 --dpi-desync-split-seqovl=679 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=multisplit --dpi-desync-split-pos=2,sniext+1 --dpi-desync-split-seqovl=679 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=multisplit --dpi-desync-split-pos=2,sniext+1 --dpi-desync-split-seqovl=679 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=multisplit --dpi-desync-split-pos=2,sniext+1 --dpi-desync-split-seqovl=679 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=multisplit --dpi-desync-split-pos=2,sniext+1 --dpi-desync-split-seqovl=679 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=multisplit --dpi-desync-split-pos=2,sniext+1 --dpi-desync-split-seqovl=679 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=syndata --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=syndata --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=syndata --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n4 --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n2
|
||||||
|
|||||||
+9
-7
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake --dpi-desync-fake-tls-mod=none --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake --dpi-desync-fake-tls-mod=none --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake --dpi-desync-fake-tls-mod=none --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake --dpi-desync-fake-tls-mod=none --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-fake-tls-mod=none --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-fake-tls-mod=none --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-fake-tls-mod=none --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-fake-tls-mod=none --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n3 --dpi-desync-fake-tls-mod=none --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n2
|
||||||
|
|||||||
+9
-7
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=hostfakesplit --dpi-desync-repeats=4 --dpi-desync-fooling=ts --dpi-desync-hostfakesplit-mod=host=www.google.com --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=hostfakesplit --dpi-desync-repeats=4 --dpi-desync-fooling=ts --dpi-desync-hostfakesplit-mod=host=www.google.com --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=hostfakesplit --dpi-desync-repeats=4 --dpi-desync-fooling=ts --dpi-desync-hostfakesplit-mod=host=www.google.com --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=hostfakesplit --dpi-desync-repeats=4 --dpi-desync-fooling=ts --dpi-desync-hostfakesplit-mod=host=www.google.com --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=hostfakesplit --dpi-desync-repeats=4 --dpi-desync-fooling=ts,md5sig --dpi-desync-hostfakesplit-mod=host=ozon.ru --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=hostfakesplit --dpi-desync-repeats=4 --dpi-desync-fooling=ts,md5sig --dpi-desync-hostfakesplit-mod=host=ozon.ru --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=hostfakesplit --dpi-desync-repeats=4 --dpi-desync-fooling=ts --dpi-desync-hostfakesplit-mod=host=ozon.ru --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=hostfakesplit --dpi-desync-repeats=4 --dpi-desync-fooling=ts --dpi-desync-hostfakesplit-mod=host=ozon.ru --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=hostfakesplit --dpi-desync-repeats=4 --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n3 --dpi-desync-fooling=ts --dpi-desync-hostfakesplit-mod=host=ozon.ru --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n2
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
@echo off
|
||||||
|
chcp 65001 > nul
|
||||||
|
:: 65001 - UTF-8
|
||||||
|
|
||||||
|
cd /d "%~dp0"
|
||||||
|
call service.bat status_zapret
|
||||||
|
call service.bat check_updates
|
||||||
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
|
echo:
|
||||||
|
|
||||||
|
set "BIN=%~dp0bin\"
|
||||||
|
set "LISTS=%~dp0lists\"
|
||||||
|
cd /d %BIN%
|
||||||
|
|
||||||
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
|
--filter-l7=quic --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun,unknown --dpi-desync=fake --dpi-desync-fake-discord="%BIN%quic_initial_www_google_com.bin" --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=4 --new ^
|
||||||
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=hostfakesplit --dpi-desync-fooling=ts --dpi-desync-hostfakesplit-mod=host=www.google.com --new ^
|
||||||
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=480 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=4 --dpi-desync-split-seqovl-pattern="%BIN%stun2.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --hostlist-exclude-domains=fonts.googleapis.com --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=480 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=4 --dpi-desync-split-seqovl-pattern="%BIN%stun2.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n4 --dpi-desync-split-seqovl=664 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-tls="%BIN%stun2.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=5 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_4pda.to.bin" --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n4
|
||||||
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,fakedsplit --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-repeats=8 --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,fakedsplit --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-repeats=8 --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake,fakedsplit --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-repeats=8 --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake,fakedsplit --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-repeats=8 --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake,fakedsplit --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-repeats=8 --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,fakedsplit --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-repeats=8 --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake,fakedsplit --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-repeats=8 --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,fakedsplit --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-repeats=8 --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,fakedsplit --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n3 --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-repeats=8 --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n2
|
||||||
|
|||||||
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=10000000 --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=10000000 --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=10000000 --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=10000000 --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=10000000 --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=10000000 --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=10000000 --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=10000000 --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n3 --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=10000000 --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n2
|
||||||
|
|||||||
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n3
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multisplit --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n4 --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-fooling=ts --dpi-desync-repeats=8 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n3
|
||||||
|
|||||||
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,multidisorder --dpi-desync-split-pos=1,midsld --dpi-desync-repeats=11 --dpi-desync-fooling=badseq --dpi-desync-fake-tls=0x00000000 --dpi-desync-fake-tls=^! --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake,multidisorder --dpi-desync-split-pos=1,midsld --dpi-desync-repeats=11 --dpi-desync-fooling=badseq --dpi-desync-fake-tls=0x00000000 --dpi-desync-fake-tls=^! --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake,multidisorder --dpi-desync-split-pos=1,midsld --dpi-desync-repeats=11 --dpi-desync-fooling=badseq --dpi-desync-fake-tls=0x00000000 --dpi-desync-fake-tls=^! --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake,multidisorder --dpi-desync-split-pos=1,midsld --dpi-desync-repeats=11 --dpi-desync-fooling=badseq --dpi-desync-fake-tls=0x00000000 --dpi-desync-fake-tls=^! --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake,multidisorder --dpi-desync-split-pos=1,midsld --dpi-desync-repeats=11 --dpi-desync-fooling=badseq --dpi-desync-fake-tls=0x00000000 --dpi-desync-fake-tls=^! --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multidisorder --dpi-desync-split-pos=1,midsld --dpi-desync-repeats=11 --dpi-desync-fooling=badseq --dpi-desync-fake-tls=0x00000000 --dpi-desync-fake-tls=^! --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=11 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake,multidisorder --dpi-desync-split-pos=1,midsld --dpi-desync-repeats=11 --dpi-desync-fooling=badseq --dpi-desync-fake-tls=0x00000000 --dpi-desync-fake-tls=^! --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multidisorder --dpi-desync-split-pos=1,midsld --dpi-desync-repeats=11 --dpi-desync-fooling=badseq --dpi-desync-fake-tls=0x00000000 --dpi-desync-fake-tls=^! --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake,multidisorder --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n4 --dpi-desync-split-pos=1,midsld --dpi-desync-repeats=11 --dpi-desync-fooling=badseq --dpi-desync-fake-tls=0x00000000 --dpi-desync-fake-tls=^! --dpi-desync-fake-tls-mod=rnd,dupsid,sni=www.google.com --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n2
|
||||||
|
|||||||
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n3 --dpi-desync-fooling=badseq --dpi-desync-badseq-increment=2 --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=10 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n2
|
||||||
|
|||||||
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n3
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n5 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_max_ru.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n3
|
||||||
|
|||||||
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n3
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n4 --dpi-desync-fooling=ts --dpi-desync-fake-tls="%BIN%stun.bin" --dpi-desync-fake-tls="%BIN%tls_clienthello_www_google_com.bin" --dpi-desync-fake-http="%BIN%tls_clienthello_max_ru.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n3
|
||||||
|
|||||||
+9
-7
@@ -6,18 +6,20 @@ cd /d "%~dp0"
|
|||||||
call service.bat status_zapret
|
call service.bat status_zapret
|
||||||
call service.bat check_updates
|
call service.bat check_updates
|
||||||
call service.bat load_game_filter
|
call service.bat load_game_filter
|
||||||
|
call service.bat load_user_lists
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
set "BIN=%~dp0bin\"
|
set "BIN=%~dp0bin\"
|
||||||
set "LISTS=%~dp0lists\"
|
set "LISTS=%~dp0lists\"
|
||||||
cd /d %BIN%
|
cd /d %BIN%
|
||||||
|
|
||||||
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilter% --wf-udp=443,19294-19344,50000-50100,%GameFilter% ^
|
start "zapret: %~n0" /min "%BIN%winws.exe" --wf-tcp=80,443,2053,2083,2087,2096,8443,%GameFilterTCP% --wf-udp=443,19294-19344,50000-50100,%GameFilterUDP% ^
|
||||||
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-repeats=6 --new ^
|
--filter-udp=19294-19344,50000-50100 --filter-l7=discord,stun --dpi-desync=fake --dpi-desync-fake-discord="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-fake-stun="%BIN%ACTIVE_DISCORD_UDP.bin" --dpi-desync-repeats=6 --new ^
|
||||||
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=2053,2083,2087,2096,8443 --hostlist-domains=discord.media --dpi-desync=multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
--filter-tcp=443 --hostlist="%LISTS%list-google.txt" --ip-id=zero --dpi-desync=multisplit --dpi-desync-split-seqovl=681 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=multisplit --dpi-desync-split-seqovl=568 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_4pda_to.bin" --new ^
|
--filter-tcp=80,443 --hostlist="%LISTS%list-general.txt" --hostlist="%LISTS%list-general-user.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=multisplit --dpi-desync-split-seqovl=568 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_4pda_to.bin" --new ^
|
||||||
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
--filter-udp=443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=6 --dpi-desync-fake-quic="%BIN%quic_initial_www_google_com.bin" --new ^
|
||||||
--filter-tcp=80,443,%GameFilter% --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=multisplit --dpi-desync-split-seqovl=568 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_4pda_to.bin" --new ^
|
--filter-tcp=80,443,8443 --ipset="%LISTS%ipset-all.txt" --hostlist-exclude="%LISTS%list-exclude.txt" --hostlist-exclude="%LISTS%list-exclude-user.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=multisplit --dpi-desync-split-seqovl=568 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_4pda_to.bin" --new ^
|
||||||
--filter-udp=%GameFilter% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%quic_initial_www_google_com.bin" --dpi-desync-cutoff=n2
|
--filter-tcp=%GameFilterTCP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=multisplit --dpi-desync-any-protocol=1 --dpi-desync-cutoff=n3 --dpi-desync-split-seqovl=568 --dpi-desync-split-pos=1 --dpi-desync-split-seqovl-pattern="%BIN%tls_clienthello_4pda_to.bin" --new ^
|
||||||
|
--filter-udp=%GameFilterUDP% --ipset="%LISTS%ipset-all.txt" --ipset-exclude="%LISTS%ipset-exclude.txt" --ipset-exclude="%LISTS%ipset-exclude-user.txt" --dpi-desync=fake --dpi-desync-repeats=12 --dpi-desync-any-protocol=1 --dpi-desync-fake-unknown-udp="%BIN%ACTIVE_GAME_UDP.bin" --dpi-desync-cutoff=n2
|
||||||
|
|||||||
+19791
-2590
File diff suppressed because it is too large
Load Diff
+89
-8
@@ -1,31 +1,112 @@
|
|||||||
pusher.com
|
pusher.com
|
||||||
live-video.net
|
|
||||||
ttvnw.net
|
|
||||||
twitch.tv
|
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
|
||||||
sberbank.ru
|
|
||||||
ozon.ru
|
|
||||||
wildberries.ru
|
|
||||||
microsoft.com
|
microsoft.com
|
||||||
msi.com
|
microsoftonline.com
|
||||||
|
live.com
|
||||||
|
sharepoint.com
|
||||||
|
minecraft.net
|
||||||
|
xboxlive.com
|
||||||
akamaitechnologies.com
|
akamaitechnologies.com
|
||||||
|
msi.com
|
||||||
2ip.ru
|
2ip.ru
|
||||||
yandex.ru
|
|
||||||
boosty.to
|
boosty.to
|
||||||
tanki.su
|
tanki.su
|
||||||
lesta.ru
|
lesta.ru
|
||||||
korabli.su
|
korabli.su
|
||||||
tanksblitz.ru
|
tanksblitz.ru
|
||||||
reg.ru
|
reg.ru
|
||||||
|
epicgames.dev
|
||||||
|
epicgames.com
|
||||||
|
unrealengine.com
|
||||||
|
riotgames.com
|
||||||
|
riotcdn.net
|
||||||
|
leagueoflegends.com
|
||||||
|
playvalorant.com
|
||||||
|
marketplace.visualstudio.com
|
||||||
|
gallery.vsassets.io
|
||||||
|
gallerycdn.vsassets.io
|
||||||
|
gosuslugi.ru
|
||||||
|
gov.ru
|
||||||
|
nalog.ru
|
||||||
|
spb.ru
|
||||||
|
mos.ru
|
||||||
|
vk.ru
|
||||||
|
vk.me
|
||||||
|
vkvideo.ru
|
||||||
|
ok.ru
|
||||||
|
mycdn.me
|
||||||
|
okcdn.ru
|
||||||
|
odkl.ru
|
||||||
|
wb.ru
|
||||||
|
geobasket.ru
|
||||||
|
paywb.com
|
||||||
|
rwb.ru
|
||||||
|
wb-basket.ru
|
||||||
|
wbbasket.ru
|
||||||
|
wbpay.ru
|
||||||
|
wibes.ru
|
||||||
|
wildberries.ru
|
||||||
|
ozon.by
|
||||||
|
ozon.com
|
||||||
|
ozon.com.by
|
||||||
|
ozon.com.kz
|
||||||
|
ozon.kz
|
||||||
|
ozon.ru
|
||||||
|
ozon.tm
|
||||||
|
ozone.ru
|
||||||
|
ozonru.me
|
||||||
|
ozonusercontent.com
|
||||||
|
alfabank.ru
|
||||||
|
gazprombank.ru
|
||||||
|
gpb.ru
|
||||||
|
dbo-dengi.online
|
||||||
|
mtsdengi.ru
|
||||||
|
psbank.ru
|
||||||
|
bankline.ru
|
||||||
|
rosbank.ru
|
||||||
|
abr.ru
|
||||||
|
rshb.ru
|
||||||
|
sber.ru
|
||||||
|
sberbank.com
|
||||||
|
sberbank.ru
|
||||||
|
cdn-tinkoff.ru
|
||||||
|
tbank-online.com
|
||||||
|
tbank.ru
|
||||||
|
t-bank-app.ru
|
||||||
|
tochka-tech.com
|
||||||
|
tochka.com
|
||||||
|
vtb.ru
|
||||||
|
steamcommunity.com
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ cloudflarestatus.com
|
|||||||
cloudflarestorage.com
|
cloudflarestorage.com
|
||||||
cloudflarestream.com
|
cloudflarestream.com
|
||||||
cloudflaretest.com
|
cloudflaretest.com
|
||||||
|
cloudfront.net
|
||||||
dis.gd
|
dis.gd
|
||||||
discord-attachments-uploads-prd.storage.googleapis.com
|
discord-attachments-uploads-prd.storage.googleapis.com
|
||||||
discord.app
|
discord.app
|
||||||
@@ -45,3 +46,5 @@ betterttv.net
|
|||||||
7tv.app
|
7tv.app
|
||||||
7tv.io
|
7tv.io
|
||||||
localizeapi.com
|
localizeapi.com
|
||||||
|
klipy.com
|
||||||
|
live-video.net
|
||||||
|
|||||||
@@ -10,8 +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
|
||||||
|
google.ru
|
||||||
|
|||||||
+302
-57
@@ -1,5 +1,5 @@
|
|||||||
@echo off
|
@echo off
|
||||||
set "LOCAL_VERSION=1.9.6"
|
set "LOCAL_VERSION=1.10.0"
|
||||||
|
|
||||||
:: External commands
|
:: External commands
|
||||||
if "%~1"=="status_zapret" (
|
if "%~1"=="status_zapret" (
|
||||||
@@ -9,6 +9,8 @@ if "%~1"=="status_zapret" (
|
|||||||
)
|
)
|
||||||
|
|
||||||
if "%~1"=="check_updates" (
|
if "%~1"=="check_updates" (
|
||||||
|
if defined NO_UPDATE_CHECK exit /b
|
||||||
|
|
||||||
if exist "%~dp0utils\check_updates.enabled" (
|
if exist "%~dp0utils\check_updates.enabled" (
|
||||||
if not "%~2"=="soft" (
|
if not "%~2"=="soft" (
|
||||||
start /b service check_updates soft
|
start /b service check_updates soft
|
||||||
@@ -25,11 +27,18 @@ if "%~1"=="load_game_filter" (
|
|||||||
exit /b
|
exit /b
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if "%~1"=="load_user_lists" (
|
||||||
|
call :load_user_lists
|
||||||
|
exit /b
|
||||||
|
)
|
||||||
|
|
||||||
if "%1"=="admin" (
|
if "%1"=="admin" (
|
||||||
call :check_command chcp
|
call :check_command chcp
|
||||||
call :check_command find
|
call :check_command find
|
||||||
call :check_command findstr
|
call :check_command findstr
|
||||||
call :check_command netsh
|
call :check_command netsh
|
||||||
|
|
||||||
|
call :load_user_lists
|
||||||
|
|
||||||
echo Started with admin rights
|
echo Started with admin rights
|
||||||
) else (
|
) else (
|
||||||
@@ -44,16 +53,21 @@ 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
|
||||||
|
call :get_strategy_name
|
||||||
|
|
||||||
set "menu_choice=null"
|
set "menu_choice=null"
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo ZAPRET SERVICE MANAGER v!LOCAL_VERSION!
|
echo ZAPRET SERVICE MANAGER v!LOCAL_VERSION!
|
||||||
|
echo. !CurrentStrategy!
|
||||||
echo ----------------------------------------
|
echo ----------------------------------------
|
||||||
echo.
|
echo.
|
||||||
echo :: SERVICE
|
echo :: SERVICE
|
||||||
@@ -65,21 +79,22 @@ echo :: SETTINGS
|
|||||||
echo 4. Game Filter [!GameFilterStatus!]
|
echo 4. Game Filter [!GameFilterStatus!]
|
||||||
echo 5. IPSet Filter [!IPsetStatus!]
|
echo 5. IPSet Filter [!IPsetStatus!]
|
||||||
echo 6. Auto-Update Check [!CheckUpdatesStatus!]
|
echo 6. Auto-Update Check [!CheckUpdatesStatus!]
|
||||||
|
echo 7. Replace active fakes
|
||||||
echo.
|
echo.
|
||||||
echo :: UPDATES
|
echo :: UPDATES
|
||||||
echo 7. Update IPSet List
|
echo 8. Update IPSet List
|
||||||
echo 8. Update Hosts File
|
echo 9. Update Hosts File
|
||||||
echo 9. Check for Updates
|
echo 10. Check for Updates
|
||||||
echo.
|
echo.
|
||||||
echo :: TOOLS
|
echo :: TOOLS
|
||||||
echo 10. Run Diagnostics
|
echo 11. Run Diagnostics
|
||||||
echo 11. Run Tests
|
echo 12. Run Tests
|
||||||
echo.
|
echo.
|
||||||
echo ----------------------------------------
|
echo ----------------------------------------
|
||||||
echo 0. Exit
|
echo 0. Exit
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
set /p menu_choice= Select option (0-11):
|
set /p menu_choice= Select option (0-12):
|
||||||
|
|
||||||
if "%menu_choice%"=="1" goto service_install
|
if "%menu_choice%"=="1" goto service_install
|
||||||
if "%menu_choice%"=="2" goto service_remove
|
if "%menu_choice%"=="2" goto service_remove
|
||||||
@@ -87,17 +102,37 @@ if "%menu_choice%"=="3" goto service_status
|
|||||||
if "%menu_choice%"=="4" goto game_switch
|
if "%menu_choice%"=="4" goto game_switch
|
||||||
if "%menu_choice%"=="5" goto ipset_switch
|
if "%menu_choice%"=="5" goto ipset_switch
|
||||||
if "%menu_choice%"=="6" goto check_updates_switch
|
if "%menu_choice%"=="6" goto check_updates_switch
|
||||||
if "%menu_choice%"=="7" goto ipset_update
|
if "%menu_choice%"=="7" goto replace_active_fakes
|
||||||
if "%menu_choice%"=="8" goto hosts_update
|
if "%menu_choice%"=="8" goto ipset_update
|
||||||
if "%menu_choice%"=="9" goto service_check_updates
|
if "%menu_choice%"=="9" goto hosts_update
|
||||||
if "%menu_choice%"=="10" goto service_diagnostics
|
if "%menu_choice%"=="10" goto service_check_updates
|
||||||
if "%menu_choice%"=="11" goto run_tests
|
if "%menu_choice%"=="11" goto service_diagnostics
|
||||||
|
if "%menu_choice%"=="12" goto run_tests
|
||||||
if "%menu_choice%"=="0" exit /b
|
if "%menu_choice%"=="0" exit /b
|
||||||
goto menu
|
goto menu
|
||||||
|
|
||||||
|
|
||||||
|
:: LOAD USER LISTS =====================
|
||||||
|
:load_user_lists
|
||||||
|
set "LISTS_PATH=%~dp0lists\"
|
||||||
|
|
||||||
|
if not exist "%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" (
|
||||||
|
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" (
|
||||||
|
echo domain.example.abc>"%LISTS_PATH%list-exclude-user.txt"
|
||||||
|
)
|
||||||
|
|
||||||
|
exit /b
|
||||||
|
|
||||||
|
|
||||||
:: TCP ENABLE ==========================
|
:: TCP ENABLE ==========================
|
||||||
:tcp_enable
|
:tcp_enable
|
||||||
|
chcp 437 > nul
|
||||||
netsh interface tcp show global | findstr /i "timestamps" | findstr /i "enabled" > nul || netsh interface tcp set global timestamps=enabled > nul 2>&1
|
netsh interface tcp show global | findstr /i "timestamps" | findstr /i "enabled" > nul || netsh interface tcp set global timestamps=enabled > nul 2>&1
|
||||||
exit /b
|
exit /b
|
||||||
|
|
||||||
@@ -205,16 +240,22 @@ echo Pick one of the options:
|
|||||||
set "count=0"
|
set "count=0"
|
||||||
for /f "delims=" %%F in ('powershell -NoProfile -Command "Get-ChildItem -LiteralPath '.' -Filter '*.bat' | Where-Object { $_.Name -notlike 'service*' } | Sort-Object { [Regex]::Replace($_.Name, '(\d+)', { $args[0].Value.PadLeft(8, '0') }) } | ForEach-Object { $_.Name }"') do (
|
for /f "delims=" %%F in ('powershell -NoProfile -Command "Get-ChildItem -LiteralPath '.' -Filter '*.bat' | Where-Object { $_.Name -notlike 'service*' } | Sort-Object { [Regex]::Replace($_.Name, '(\d+)', { $args[0].Value.PadLeft(8, '0') }) } | ForEach-Object { $_.Name }"') do (
|
||||||
set /a count+=1
|
set /a count+=1
|
||||||
echo !count!. %%F
|
echo !count!. %%F
|
||||||
set "file!count!=%%F"
|
set "file!count!=%%F"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
echo 0. Exit
|
||||||
|
|
||||||
|
echo.
|
||||||
|
|
||||||
:: Choosing file
|
:: Choosing file
|
||||||
set "choice="
|
set "choice="
|
||||||
set /p "choice=Input file index (number): "
|
set /p "choice=Input option (0-!count!, default: 0): "
|
||||||
if "!choice!"=="" (
|
if "!choice!"=="" (
|
||||||
echo The choice is empty, exiting...
|
set "choice=0"
|
||||||
pause
|
)
|
||||||
|
|
||||||
|
if "!choice!"=="0" (
|
||||||
goto menu
|
goto menu
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -274,6 +315,10 @@ for /f "tokens=*" %%a in ('type "!selectedFile!"') do (
|
|||||||
)
|
)
|
||||||
) else if "!arg:~0,12!" EQU "%%GameFilter%%" (
|
) else if "!arg:~0,12!" EQU "%%GameFilter%%" (
|
||||||
set "arg=%GameFilter%"
|
set "arg=%GameFilter%"
|
||||||
|
) else if "!arg:~0,15!" EQU "%%GameFilterTCP%%" (
|
||||||
|
set "arg=%GameFilterTCP%"
|
||||||
|
) else if "!arg:~0,15!" EQU "%%GameFilterUDP%%" (
|
||||||
|
set "arg=%GameFilterUDP%"
|
||||||
)
|
)
|
||||||
|
|
||||||
if !mergeargs!==1 (
|
if !mergeargs!==1 (
|
||||||
@@ -519,6 +564,17 @@ if !dohfound!==0 (
|
|||||||
)
|
)
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
|
:: Hosts file check
|
||||||
|
set "hostsFile=%SystemRoot%\System32\drivers\etc\hosts"
|
||||||
|
if exist "%hostsFile%" (
|
||||||
|
set "yt_found=0"
|
||||||
|
>nul 2>&1 findstr /I "youtube.com" "%hostsFile%" && set "yt_found=1"
|
||||||
|
>nul 2>&1 findstr /I "youtu.be" "%hostsFile%" && set "yt_found=1"
|
||||||
|
if !yt_found!==1 (
|
||||||
|
call :PrintYellow "[?] Your hosts file contains entries for youtube.com or youtu.be. This may cause problems with YouTube access"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
:: WinDivert conflict
|
:: WinDivert conflict
|
||||||
tasklist /FI "IMAGENAME eq winws.exe" | find /I "winws.exe" > nul
|
tasklist /FI "IMAGENAME eq winws.exe" | find /I "winws.exe" > nul
|
||||||
set "winws_running=!errorlevel!"
|
set "winws_running=!errorlevel!"
|
||||||
@@ -622,37 +678,22 @@ if !found_any_conflict!==1 (
|
|||||||
|
|
||||||
:: Discord cache clearing
|
:: Discord cache clearing
|
||||||
set "CHOICE="
|
set "CHOICE="
|
||||||
set /p "CHOICE=Do you want to clear the Discord cache? (Y/N) (default: Y) "
|
set /p "CHOICE=Do you want to clear the Discord and Discord PTB cache? (Y/N) (default: Y) "
|
||||||
if "!CHOICE!"=="" set "CHOICE=Y"
|
if "!CHOICE!"=="" set "CHOICE=Y"
|
||||||
if "!CHOICE!"=="y" set "CHOICE=Y"
|
if "!CHOICE!"=="y" set "CHOICE=Y"
|
||||||
|
|
||||||
if /i "!CHOICE!"=="Y" (
|
if /i "!CHOICE!"=="Y" (
|
||||||
tasklist /FI "IMAGENAME eq Discord.exe" | findstr /I "Discord.exe" > nul
|
set "discordFound=0"
|
||||||
if !errorlevel!==0 (
|
if exist "%APPDATA%\discord\" (
|
||||||
echo Discord is running, closing...
|
set "discordFound=1"
|
||||||
taskkill /IM Discord.exe /F > nul
|
call :clear_discord_cache "Discord.exe" "Discord" "%APPDATA%\discord"
|
||||||
if !errorlevel! == 0 (
|
|
||||||
call :PrintGreen "Discord was successfully closed"
|
|
||||||
) else (
|
|
||||||
call :PrintRed "Unable to close Discord"
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
if exist "%APPDATA%\discordptb\" (
|
||||||
set "discordCacheDir=%appdata%\discord"
|
set "discordFound=1"
|
||||||
|
call :clear_discord_cache "DiscordPTB.exe" "Discord PTB" "%APPDATA%\discordptb"
|
||||||
for %%d in ("Cache" "Code Cache" "GPUCache") do (
|
|
||||||
set "dirPath=!discordCacheDir!\%%~d"
|
|
||||||
if exist "!dirPath!" (
|
|
||||||
rd /s /q "!dirPath!"
|
|
||||||
if !errorlevel!==0 (
|
|
||||||
call :PrintGreen "Successfully deleted !dirPath!"
|
|
||||||
) else (
|
|
||||||
call :PrintRed "Failed to delete !dirPath!"
|
|
||||||
)
|
|
||||||
) else (
|
|
||||||
call :PrintRed "!dirPath! does not exist"
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
if !discordFound! equ 0 call :PrintRed "Discord and Discord PTB were not found"
|
||||||
|
set "discordFound="
|
||||||
)
|
)
|
||||||
echo:
|
echo:
|
||||||
|
|
||||||
@@ -666,12 +707,34 @@ chcp 437 > nul
|
|||||||
|
|
||||||
set "gameFlagFile=%~dp0utils\game_filter.enabled"
|
set "gameFlagFile=%~dp0utils\game_filter.enabled"
|
||||||
|
|
||||||
if exist "%gameFlagFile%" (
|
if not exist "%gameFlagFile%" (
|
||||||
set "GameFilterStatus=enabled"
|
|
||||||
set "GameFilter=1024-65535"
|
|
||||||
) else (
|
|
||||||
set "GameFilterStatus=disabled"
|
set "GameFilterStatus=disabled"
|
||||||
set "GameFilter=12"
|
set "GameFilter=12"
|
||||||
|
set "GameFilterTCP=12"
|
||||||
|
set "GameFilterUDP=12"
|
||||||
|
exit /b
|
||||||
|
)
|
||||||
|
|
||||||
|
set "GameFilterMode="
|
||||||
|
for /f "usebackq delims=" %%A in ("%gameFlagFile%") do (
|
||||||
|
if not defined GameFilterMode set "GameFilterMode=%%A"
|
||||||
|
)
|
||||||
|
|
||||||
|
if /i "%GameFilterMode%"=="all" (
|
||||||
|
set "GameFilterStatus=enabled (TCP and UDP)"
|
||||||
|
set "GameFilter=1024-65535"
|
||||||
|
set "GameFilterTCP=1024-65535"
|
||||||
|
set "GameFilterUDP=1024-65535"
|
||||||
|
) else if /i "%GameFilterMode%"=="tcp" (
|
||||||
|
set "GameFilterStatus=enabled (TCP)"
|
||||||
|
set "GameFilter=1024-65535"
|
||||||
|
set "GameFilterTCP=1024-65535"
|
||||||
|
set "GameFilterUDP=12"
|
||||||
|
) else (
|
||||||
|
set "GameFilterStatus=enabled (UDP)"
|
||||||
|
set "GameFilter=1024-65535"
|
||||||
|
set "GameFilterTCP=12"
|
||||||
|
set "GameFilterUDP=1024-65535"
|
||||||
)
|
)
|
||||||
exit /b
|
exit /b
|
||||||
|
|
||||||
@@ -680,16 +743,35 @@ exit /b
|
|||||||
chcp 437 > nul
|
chcp 437 > nul
|
||||||
cls
|
cls
|
||||||
|
|
||||||
if not exist "%gameFlagFile%" (
|
echo Select game filter mode:
|
||||||
echo Enabling game filter...
|
echo 0. Disable
|
||||||
echo ENABLED > "%gameFlagFile%"
|
echo 1. TCP and UDP
|
||||||
call :PrintYellow "Restart the zapret to apply the changes"
|
echo 2. TCP only
|
||||||
|
echo 3. UDP only
|
||||||
|
echo.
|
||||||
|
set "GameFilterChoice=0"
|
||||||
|
set /p "GameFilterChoice=Select option (0-3, default: 0): "
|
||||||
|
if "%GameFilterChoice%"=="" set "GameFilterChoice=0"
|
||||||
|
|
||||||
|
if "%GameFilterChoice%"=="0" (
|
||||||
|
if exist "%gameFlagFile%" (
|
||||||
|
del /f /q "%gameFlagFile%"
|
||||||
|
) else (
|
||||||
|
goto menu
|
||||||
|
)
|
||||||
|
) else if "%GameFilterChoice%"=="1" (
|
||||||
|
echo all>"%gameFlagFile%"
|
||||||
|
) else if "%GameFilterChoice%"=="2" (
|
||||||
|
echo tcp>"%gameFlagFile%"
|
||||||
|
) else if "%GameFilterChoice%"=="3" (
|
||||||
|
echo udp>"%gameFlagFile%"
|
||||||
) else (
|
) else (
|
||||||
echo Disabling game filter...
|
echo Invalid choice, exiting...
|
||||||
del /f /q "%gameFlagFile%"
|
pause
|
||||||
call :PrintYellow "Restart the zapret to apply the changes"
|
goto menu
|
||||||
)
|
)
|
||||||
|
|
||||||
|
call :PrintYellow "Restart the zapret to apply the changes"
|
||||||
pause
|
pause
|
||||||
goto menu
|
goto menu
|
||||||
|
|
||||||
@@ -724,6 +806,119 @@ pause
|
|||||||
goto menu
|
goto menu
|
||||||
|
|
||||||
|
|
||||||
|
:: REPLACE ACTIVE FAKES =================
|
||||||
|
:replace_active_fakes
|
||||||
|
chcp 437 > nul
|
||||||
|
cls
|
||||||
|
|
||||||
|
set "BIN_PATH=%~dp0bin\"
|
||||||
|
set "fake_count=0"
|
||||||
|
set "fake_type="
|
||||||
|
set "fake_number="
|
||||||
|
set "discord_hash="
|
||||||
|
set "game_hash="
|
||||||
|
set "current_discord_fake=(not found)"
|
||||||
|
set "current_game_fake=(not found)"
|
||||||
|
|
||||||
|
if not exist "%BIN_PATH%" (
|
||||||
|
echo Error: bin folder not found.
|
||||||
|
pause
|
||||||
|
goto menu
|
||||||
|
)
|
||||||
|
|
||||||
|
pushd "%BIN_PATH%"
|
||||||
|
for /f "tokens=1,2,3 delims=|" %%A in ('powershell -NoProfile -Command "foreach ($item in @(@{Name='ACTIVE_DISCORD_UDP.bin'; Label='ACTIVE_DISCORD'},@{Name='ACTIVE_GAME_UDP.bin'; Label='ACTIVE_GAME'})) { if (Test-Path -LiteralPath $item.Name) { Write-Output ($item.Label + [char]124 + $item.Label + [char]124 + (Get-FileHash -LiteralPath $item.Name -Algorithm SHA256).Hash) } }; $files = @(Get-ChildItem -LiteralPath . -File -Filter '*.bin'); foreach ($file in $files) { if ($file.BaseName -notlike 'ACTIVE_*') { Write-Output ('FAKE' + [char]124 + $file.BaseName + [char]124 + (Get-FileHash -LiteralPath $file.FullName -Algorithm SHA256).Hash) } }"') do (
|
||||||
|
if "%%A"=="ACTIVE_DISCORD" (
|
||||||
|
set "discord_hash=%%C"
|
||||||
|
) else if "%%A"=="ACTIVE_GAME" (
|
||||||
|
set "game_hash=%%C"
|
||||||
|
) else if "%%A"=="FAKE" (
|
||||||
|
set /a fake_count+=1
|
||||||
|
set "fake_file!fake_count!=%BIN_PATH%%%B.bin"
|
||||||
|
set "fake_name!fake_count!=%%B"
|
||||||
|
set "fake_hash!fake_count!=%%C"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
popd
|
||||||
|
|
||||||
|
if !fake_count! EQU 0 (
|
||||||
|
echo No .bin files were found in the bin folder.
|
||||||
|
pause
|
||||||
|
goto menu
|
||||||
|
)
|
||||||
|
|
||||||
|
for /l %%N in (1,1,!fake_count!) do (
|
||||||
|
if defined discord_hash if /i "!fake_hash%%N!"=="!discord_hash!" set "current_discord_fake=!fake_name%%N!"
|
||||||
|
if defined game_hash if /i "!fake_hash%%N!"=="!game_hash!" set "current_game_fake=!fake_name%%N!"
|
||||||
|
)
|
||||||
|
|
||||||
|
:replace_active_fakes_prompt
|
||||||
|
echo.
|
||||||
|
echo Enter the fake type number and the fake file number to replace it with.
|
||||||
|
echo Example: 1 4 (replaces Discord UDP with fake file under number 4)
|
||||||
|
echo 2 1 (replaces GameFilter UDP with fake file under number 1)
|
||||||
|
echo.
|
||||||
|
echo Press ENTER or 0 to return.
|
||||||
|
echo.
|
||||||
|
echo ----------------------------------------
|
||||||
|
echo.
|
||||||
|
echo Fake types:
|
||||||
|
echo 1. Discord UDP (current: !current_discord_fake!)
|
||||||
|
echo 2. GameFilter UDP (current: !current_game_fake!)
|
||||||
|
echo.
|
||||||
|
echo Fake files:
|
||||||
|
for /l %%N in (1,1,!fake_count!) do echo %%N. !fake_name%%N!
|
||||||
|
echo.
|
||||||
|
|
||||||
|
set "replace_choice="
|
||||||
|
set /p "replace_choice=Enter choice: "
|
||||||
|
if not defined replace_choice goto menu
|
||||||
|
if "!replace_choice!"=="0" goto menu
|
||||||
|
|
||||||
|
set "active_file="
|
||||||
|
set "fake_type="
|
||||||
|
set "fake_number="
|
||||||
|
for /f "tokens=1,2" %%A in ("!replace_choice!") do (
|
||||||
|
set "fake_type=%%A"
|
||||||
|
set "fake_number=%%B"
|
||||||
|
)
|
||||||
|
|
||||||
|
if "!fake_type!"=="1" (
|
||||||
|
set "active_file=%BIN_PATH%ACTIVE_DISCORD_UDP.bin"
|
||||||
|
) else if "!fake_type!"=="2" (
|
||||||
|
set "active_file=%BIN_PATH%ACTIVE_GAME_UDP.bin"
|
||||||
|
) else (
|
||||||
|
echo Invalid fake type.
|
||||||
|
pause
|
||||||
|
cls
|
||||||
|
goto replace_active_fakes_prompt
|
||||||
|
)
|
||||||
|
|
||||||
|
set "source_file="
|
||||||
|
for /l %%N in (1,1,!fake_count!) do if "%%N"=="!fake_number!" set "source_file=!fake_file%%N!"
|
||||||
|
if not defined source_file (
|
||||||
|
echo Invalid fake file number.
|
||||||
|
pause
|
||||||
|
cls
|
||||||
|
goto replace_active_fakes_prompt
|
||||||
|
)
|
||||||
|
|
||||||
|
del /f /q "!active_file!" >nul 2>&1
|
||||||
|
copy /y "!source_file!" "!active_file!" >nul
|
||||||
|
if errorlevel 1 (
|
||||||
|
echo Failed to replace the active fake file.
|
||||||
|
) else (
|
||||||
|
echo Active fake file replaced successfully.
|
||||||
|
for /l %%N in (1,1,!fake_count!) do if "%%N"=="!fake_number!" (
|
||||||
|
if "!fake_type!"=="1" set "current_discord_fake=!fake_name%%N!"
|
||||||
|
if "!fake_type!"=="2" set "current_game_fake=!fake_name%%N!"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
pause
|
||||||
|
cls
|
||||||
|
goto replace_active_fakes_prompt
|
||||||
|
|
||||||
|
|
||||||
:: IPSET SWITCH =======================
|
:: IPSET SWITCH =======================
|
||||||
:ipset_switch_status
|
:ipset_switch_status
|
||||||
chcp 437 > nul
|
chcp 437 > nul
|
||||||
@@ -734,7 +929,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 (
|
||||||
@@ -801,7 +996,12 @@ set "url=https://raw.githubusercontent.com/Flowseal/zapret-discord-youtube/refs/
|
|||||||
echo Updating ipset-all...
|
echo Updating ipset-all...
|
||||||
|
|
||||||
if exist "%SystemRoot%\System32\curl.exe" (
|
if exist "%SystemRoot%\System32\curl.exe" (
|
||||||
curl -L -o "%listFile%" "%url%"
|
curl --version | find "libcurl/7"
|
||||||
|
if !errorlevel!==0 (
|
||||||
|
curl --ssl-no-revoke -L -o "%listFile%" "%url%"
|
||||||
|
) else (
|
||||||
|
curl --ssl-revoke-best-effort -L -o "%listFile%" "%url%"
|
||||||
|
)
|
||||||
) else (
|
) else (
|
||||||
powershell -NoProfile -Command ^
|
powershell -NoProfile -Command ^
|
||||||
"$url = '%url%';" ^
|
"$url = '%url%';" ^
|
||||||
@@ -828,18 +1028,20 @@ set "hostsUrl=https://raw.githubusercontent.com/Flowseal/zapret-discord-youtube/
|
|||||||
set "tempFile=%TEMP%\zapret_hosts.txt"
|
set "tempFile=%TEMP%\zapret_hosts.txt"
|
||||||
set "needsUpdate=0"
|
set "needsUpdate=0"
|
||||||
|
|
||||||
|
set "cacheBuster=%RANDOM%%RANDOM%%RANDOM%"
|
||||||
|
set "requestUrl=%hostsUrl%?t=%cacheBuster%"
|
||||||
|
|
||||||
echo Checking hosts file...
|
echo Checking hosts file...
|
||||||
|
|
||||||
if exist "%SystemRoot%\System32\curl.exe" (
|
if exist "%SystemRoot%\System32\curl.exe" (
|
||||||
curl -L -s -o "%tempFile%" "%hostsUrl%"
|
curl -L -s -o "%tempFile%" "%requestUrl%"
|
||||||
) else (
|
) else (
|
||||||
powershell -NoProfile -Command ^
|
powershell -NoProfile -Command ^
|
||||||
"$url = '%hostsUrl%';" ^
|
"$url = '%requestUrl%';" ^
|
||||||
"$out = '%tempFile%';" ^
|
"$out = '%tempFile%';" ^
|
||||||
"$res = Invoke-WebRequest -Uri $url -TimeoutSec 10 -UseBasicParsing;" ^
|
"$res = Invoke-WebRequest -Uri $url -TimeoutSec 10 -UseBasicParsing;" ^
|
||||||
"if ($res.StatusCode -eq 200) { $res.Content | Out-File -FilePath $out -Encoding UTF8 } else { exit 1 }"
|
"if ($res.StatusCode -eq 200) { $res.Content | Out-File -FilePath $out -Encoding UTF8 } else { exit 1 }"
|
||||||
)
|
)
|
||||||
|
|
||||||
if not exist "%tempFile%" (
|
if not exist "%tempFile%" (
|
||||||
call :PrintRed "Failed to download hosts file from repository"
|
call :PrintRed "Failed to download hosts file from repository"
|
||||||
call :PrintYellow "Copy hosts file manually from %hostsUrl%"
|
call :PrintYellow "Copy hosts file manually from %hostsUrl%"
|
||||||
@@ -907,8 +1109,51 @@ pause
|
|||||||
goto menu
|
goto menu
|
||||||
|
|
||||||
|
|
||||||
|
:: Get strategy name
|
||||||
|
:get_strategy_name
|
||||||
|
set "CurrentStrategy="
|
||||||
|
for /f "tokens=2*" %%A in ('reg query "HKLM\System\CurrentControlSet\Services\zapret" /v zapret-discord-youtube 2^>nul') do set "CurrentStrategy=Strategy: %%B"
|
||||||
|
exit /b
|
||||||
|
|
||||||
|
|
||||||
:: Utility functions
|
:: Utility functions
|
||||||
|
|
||||||
|
:clear_discord_cache
|
||||||
|
setlocal EnableDelayedExpansion
|
||||||
|
set "discordProcess=%~1"
|
||||||
|
set "discordName=%~2"
|
||||||
|
set "discordCacheDir=%~3"
|
||||||
|
|
||||||
|
tasklist /FI "IMAGENAME eq !discordProcess!" 2>nul | findstr /I /C:"!discordProcess!" >nul
|
||||||
|
if !errorlevel! equ 0 (
|
||||||
|
echo !discordName! is running, closing...
|
||||||
|
taskkill /IM "!discordProcess!" /F >nul 2>&1
|
||||||
|
if !errorlevel! equ 0 (
|
||||||
|
call :PrintGreen "!discordName! was successfully closed"
|
||||||
|
) else (
|
||||||
|
call :PrintRed "Unable to close !discordName!"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
if exist "!discordCacheDir!\" (
|
||||||
|
for %%d in ("Cache" "Code Cache" "GPUCache") do (
|
||||||
|
set "dirPath=!discordCacheDir!\%%~d"
|
||||||
|
if exist "!dirPath!\" (
|
||||||
|
rd /s /q "!dirPath!" >nul 2>&1
|
||||||
|
if exist "!dirPath!\" (
|
||||||
|
call :PrintRed "Failed to delete !dirPath!"
|
||||||
|
) else (
|
||||||
|
call :PrintGreen "Successfully deleted !dirPath!"
|
||||||
|
)
|
||||||
|
) else (
|
||||||
|
call :PrintRed "!dirPath! does not exist"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
endlocal
|
||||||
|
exit /b
|
||||||
|
|
||||||
:PrintGreen
|
:PrintGreen
|
||||||
powershell -NoProfile -Command "Write-Host \"%~1\" -ForegroundColor Green"
|
powershell -NoProfile -Command "Write-Host \"%~1\" -ForegroundColor Green"
|
||||||
exit /b
|
exit /b
|
||||||
|
|||||||
+141
-78
@@ -77,29 +77,25 @@ function Convert-Target {
|
|||||||
|
|
||||||
# DPI checker defaults (override via MONITOR_* env vars like in monitor.ps1)
|
# DPI checker defaults (override via MONITOR_* env vars like in monitor.ps1)
|
||||||
$dpiTimeoutSeconds = 5
|
$dpiTimeoutSeconds = 5
|
||||||
$dpiRangeBytes = 262144
|
$dpiRangeBytes = 65536
|
||||||
$dpiWarnMinKB = 14
|
|
||||||
$dpiWarnMaxKB = 22
|
|
||||||
$dpiMaxParallel = 8
|
$dpiMaxParallel = 8
|
||||||
$dpiCustomUrl = $env:MONITOR_URL
|
$dpiCustomHost = $env:MONITOR_HOST
|
||||||
if ($env:MONITOR_TIMEOUT) { [int]$dpiTimeoutSeconds = $env:MONITOR_TIMEOUT }
|
if ($env:MONITOR_TIMEOUT) { [int]$dpiTimeoutSeconds = $env:MONITOR_TIMEOUT }
|
||||||
if ($env:MONITOR_RANGE) { [int]$dpiRangeBytes = $env:MONITOR_RANGE }
|
if ($env:MONITOR_RANGE) { [int]$dpiRangeBytes = $env:MONITOR_RANGE }
|
||||||
if ($env:MONITOR_WARN_MINKB) { [int]$dpiWarnMinKB = $env:MONITOR_WARN_MINKB }
|
|
||||||
if ($env:MONITOR_WARN_MAXKB) { [int]$dpiWarnMaxKB = $env:MONITOR_WARN_MAXKB }
|
|
||||||
if ($env:MONITOR_MAX_PARALLEL) { [int]$dpiMaxParallel = $env:MONITOR_MAX_PARALLEL }
|
if ($env:MONITOR_MAX_PARALLEL) { [int]$dpiMaxParallel = $env:MONITOR_MAX_PARALLEL }
|
||||||
|
|
||||||
function Get-DpiSuite {
|
function Get-DpiSuite {
|
||||||
# Suite sourced from https://github.com/hyperion-cs/dpi-checkers (Apache-2.0 license)
|
# Suite sourced from https://github.com/hyperion-cs/dpi-checkers (Apache-2.0 license)
|
||||||
# Original copyright retained from dpi-checkers repository
|
# Original copyright retained from dpi-checkers repository
|
||||||
$url = "https://hyperion-cs.github.io/dpi-checkers/ru/tcp-16-20/suite.json"
|
$url = "https://hyperion-cs.github.io/dpi-checkers/ru/tcp-16-20/suite.v2.json"
|
||||||
|
|
||||||
try {
|
try {
|
||||||
(Invoke-RestMethod -Uri $url -TimeoutSec $dpiTimeoutSeconds) |
|
(Invoke-RestMethod -Uri $url -TimeoutSec $dpiTimeoutSeconds) |
|
||||||
Select-Object `
|
Select-Object `
|
||||||
@{n='Id'; e={$_.id}},
|
@{n='Id'; e={$_.id}},
|
||||||
@{n='Provider'; e={$_.provider}},
|
@{n='Provider'; e={$_.provider}},
|
||||||
@{n='Url'; e={$_.url}},
|
@{n='Country'; e={$_.country}},
|
||||||
@{n='Times'; e={$_.times}}
|
@{n='Host'; e={$_.host}}
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
Write-Host "[WARN] Fetch dpi suite failed." -ForegroundColor Yellow
|
Write-Host "[WARN] Fetch dpi suite failed." -ForegroundColor Yellow
|
||||||
@@ -109,23 +105,17 @@ function Get-DpiSuite {
|
|||||||
|
|
||||||
function Build-DpiTargets {
|
function Build-DpiTargets {
|
||||||
param(
|
param(
|
||||||
[string]$CustomUrl
|
[string]$CustomHost
|
||||||
)
|
)
|
||||||
|
|
||||||
$suite = Get-DpiSuite
|
$suite = Get-DpiSuite
|
||||||
$targets = @()
|
$targets = @()
|
||||||
|
|
||||||
if ($CustomUrl) {
|
if ($CustomHost) {
|
||||||
$targets += @{ Id = "CUSTOM"; Provider = "Custom"; Url = $CustomUrl }
|
$targets += @{ Id = "CUSTOM"; Provider = "Custom"; Country = "💡"; Host = $CustomHost }
|
||||||
} else {
|
} else {
|
||||||
foreach ($entry in $suite) {
|
foreach ($entry in $suite) {
|
||||||
$repeat = $entry.Times
|
$targets += @{ Id = $entry.Id; Country = $entry.Country; Provider = $entry.Provider; Host = $entry.Host }
|
||||||
if (-not $repeat -or $repeat -lt 1) { $repeat = 1 }
|
|
||||||
for ($i = 0; $i -lt $repeat; $i++) {
|
|
||||||
$suffix = ""
|
|
||||||
if ($repeat -gt 1) { $suffix = "@$i" }
|
|
||||||
$targets += @{ Id = "$($entry.Id)$suffix"; Provider = $entry.Provider; Url = $entry.Url }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -137,8 +127,6 @@ function Invoke-DpiSuite {
|
|||||||
[array]$Targets,
|
[array]$Targets,
|
||||||
[int]$TimeoutSeconds,
|
[int]$TimeoutSeconds,
|
||||||
[int]$RangeBytes,
|
[int]$RangeBytes,
|
||||||
[int]$WarnMinKB,
|
|
||||||
[int]$WarnMaxKB,
|
|
||||||
[int]$MaxParallel
|
[int]$MaxParallel
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -151,45 +139,57 @@ function Invoke-DpiSuite {
|
|||||||
$rangeSpec = "0-$($RangeBytes - 1)"
|
$rangeSpec = "0-$($RangeBytes - 1)"
|
||||||
$warnDetected = $false
|
$warnDetected = $false
|
||||||
|
|
||||||
Write-Host "[INFO] Targets: $($Targets.Count) (custom URL overrides suite). Range: $rangeSpec bytes; Timeout: $TimeoutSeconds s; Warn window: $WarnMinKB-$WarnMaxKB KB" -ForegroundColor Cyan
|
Write-Host "[INFO] Targets: $($Targets.Count) (custom URL overrides suite). Range: $rangeSpec bytes; Timeout: $($TimeoutSeconds)s" -ForegroundColor Cyan
|
||||||
Write-Host "[INFO] Starting DPI TCP 16-20 checks (parallel: $MaxParallel)..." -ForegroundColor DarkGray
|
Write-Host "[INFO] Starting DPI TCP 16-20 checks (parallel: $MaxParallel)..." -ForegroundColor DarkGray
|
||||||
|
|
||||||
$runspacePool = [runspacefactory]::CreateRunspacePool(1, $MaxParallel)
|
$runspacePool = [runspacefactory]::CreateRunspacePool(1, $MaxParallel)
|
||||||
$runspacePool.Open()
|
$runspacePool.Open()
|
||||||
|
|
||||||
|
$payload = New-Object byte[] $RangeBytes
|
||||||
|
[System.Security.Cryptography.RandomNumberGenerator]::Create().GetBytes($payload)
|
||||||
|
|
||||||
|
$payloadFile = New-TemporaryFile
|
||||||
|
[IO.File]::WriteAllBytes($payloadFile, $payload)
|
||||||
|
|
||||||
$scriptBlock = {
|
$scriptBlock = {
|
||||||
param($target, $tests, $rangeSpec, $TimeoutSeconds, $WarnMinKB, $WarnMaxKB)
|
param($payloadFile, $target, $tests, $rangeSpec, $TimeoutSeconds)
|
||||||
|
|
||||||
$warned = $false
|
$warned = $false
|
||||||
$lines = @()
|
$lines = @()
|
||||||
|
|
||||||
foreach ($test in $tests) {
|
foreach ($test in $tests) {
|
||||||
$curlArgs = @(
|
$curlArgs = @(
|
||||||
"-L",
|
|
||||||
"--range", $rangeSpec,
|
"--range", $rangeSpec,
|
||||||
"-m", $TimeoutSeconds,
|
"-m", $TimeoutSeconds,
|
||||||
"-w", "%{http_code} %{size_download}",
|
"-w", "%{http_code} %{size_upload} %{size_download} %{time_total}",
|
||||||
"-o", "NUL",
|
"-o", "NUL",
|
||||||
|
"-X", "POST",
|
||||||
|
"--data-binary", "@$payloadFile",
|
||||||
"-s"
|
"-s"
|
||||||
) + $test.Args + $target.Url
|
) + $test.Args + @("https://$($target.Host)")
|
||||||
|
|
||||||
$output = & curl.exe @curlArgs 2>&1
|
$output = $payload | curl.exe @curlArgs 2>&1
|
||||||
$exit = $LASTEXITCODE
|
$exit = $LASTEXITCODE
|
||||||
$text = ($output | Out-String).Trim()
|
$text = ($output | Out-String).Trim()
|
||||||
|
|
||||||
$code = "NA"
|
$code = "NA"
|
||||||
$sizeBytes = 0
|
$upBytes = 0
|
||||||
|
$downBytes = 0
|
||||||
|
$time = -1
|
||||||
|
|
||||||
if ($text -match '^(?<code>\d{3})\s+(?<size>\d+)$') {
|
if ($text -match '^(?<code>\d{3})\s+(?<up>\d+)\s+(?<down>\d+)\s+(?<time>[\d\.]+)$') {
|
||||||
$code = $matches['code']
|
$code = $matches['code']
|
||||||
$sizeBytes = [int64]$matches['size']
|
$upBytes = [int64]$matches['up']
|
||||||
|
$downBytes = [int64]$matches['down']
|
||||||
|
$time = [double]$matches['time']
|
||||||
} elseif (($exit -eq 35) -or ($text -match "not supported|does not support|protocol\s+'.+'\s+not\s+supported|protocol\s+.+\s+not\s+supported|unsupported protocol|TLS.not supported|Unrecognized option|Unknown option|unsupported option|unsupported feature|schannel|SSL")) {
|
} elseif (($exit -eq 35) -or ($text -match "not supported|does not support|protocol\s+'.+'\s+not\s+supported|protocol\s+.+\s+not\s+supported|unsupported protocol|TLS.not supported|Unrecognized option|Unknown option|unsupported option|unsupported feature|schannel|SSL")) {
|
||||||
$code = "UNSUP"
|
$code = "UNSUP"
|
||||||
} elseif ($text) {
|
} elseif ($text) {
|
||||||
$code = "ERR"
|
$code = "ERR"
|
||||||
}
|
}
|
||||||
|
|
||||||
$sizeKB = [math]::Round($sizeBytes / 1024, 1)
|
$upKB = [math]::Round($upBytes / 1024, 1)
|
||||||
|
$downKB = [math]::Round($downBytes / 1024, 1)
|
||||||
$status = "OK"
|
$status = "OK"
|
||||||
$color = "Green"
|
$color = "Green"
|
||||||
|
|
||||||
@@ -201,28 +201,30 @@ function Invoke-DpiSuite {
|
|||||||
$color = "Red"
|
$color = "Red"
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($sizeKB -ge $WarnMinKB) -and ($sizeKB -le $WarnMaxKB) -and ($exit -ne 0)) {
|
if (($upBytes -gt 0) -and ($downBytes -eq 0) -and ($time -ge $TimeoutSeconds) -and ($exit -ne 0)) {
|
||||||
$status = "LIKELY_BLOCKED"
|
$status = "LIKELY_BLOCKED"
|
||||||
$color = "Yellow"
|
$color = "Yellow"
|
||||||
$warned = $true
|
$warned = $true
|
||||||
}
|
}
|
||||||
|
|
||||||
$lines += [PSCustomObject]@{
|
$lines += [PSCustomObject]@{
|
||||||
TargetId = $target.Id
|
TestLabel = $test.Label
|
||||||
Provider = $target.Provider
|
Code = $code
|
||||||
TestLabel = $test.Label
|
UpBytes = $upBytes
|
||||||
Code = $code
|
UpKB = $upKB
|
||||||
SizeBytes = $sizeBytes
|
DownBytes = $downBytes
|
||||||
SizeKB = $sizeKB
|
DownKB = $downKB
|
||||||
Status = $status
|
Time = $time
|
||||||
Color = $color
|
Status = $status
|
||||||
Warned = $warned
|
Color = $color
|
||||||
|
Warned = $warned
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return [PSCustomObject]@{
|
return [PSCustomObject]@{
|
||||||
TargetId = $target.Id
|
TargetId = $target.Id
|
||||||
Provider = $target.Provider
|
Provider = $target.Provider
|
||||||
|
Country = $target.Country
|
||||||
Lines = $lines
|
Lines = $lines
|
||||||
Warned = $warned
|
Warned = $warned
|
||||||
}
|
}
|
||||||
@@ -231,17 +233,17 @@ function Invoke-DpiSuite {
|
|||||||
$runspaces = @()
|
$runspaces = @()
|
||||||
foreach ($target in $Targets) {
|
foreach ($target in $Targets) {
|
||||||
$powershell = [powershell]::Create().AddScript($scriptBlock)
|
$powershell = [powershell]::Create().AddScript($scriptBlock)
|
||||||
|
[void]$powershell.AddArgument($payloadFile)
|
||||||
[void]$powershell.AddArgument($target)
|
[void]$powershell.AddArgument($target)
|
||||||
[void]$powershell.AddArgument($tests)
|
[void]$powershell.AddArgument($tests)
|
||||||
[void]$powershell.AddArgument($rangeSpec)
|
[void]$powershell.AddArgument($rangeSpec)
|
||||||
[void]$powershell.AddArgument($TimeoutSeconds)
|
[void]$powershell.AddArgument($TimeoutSeconds)
|
||||||
[void]$powershell.AddArgument($WarnMinKB)
|
|
||||||
[void]$powershell.AddArgument($WarnMaxKB)
|
|
||||||
$powershell.RunspacePool = $runspacePool
|
$powershell.RunspacePool = $runspacePool
|
||||||
|
|
||||||
$runspaces += [PSCustomObject]@{
|
$runspaces += [PSCustomObject]@{
|
||||||
Powershell = $powershell
|
Powershell = $powershell
|
||||||
Handle = $powershell.BeginInvoke()
|
Handle = $powershell.BeginInvoke()
|
||||||
|
TargetId = $target.Id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -254,7 +256,7 @@ function Invoke-DpiSuite {
|
|||||||
if ($handle -and $handle.AsyncWaitHandle) {
|
if ($handle -and $handle.AsyncWaitHandle) {
|
||||||
$completed = $handle.AsyncWaitHandle.WaitOne($waitMs)
|
$completed = $handle.AsyncWaitHandle.WaitOne($waitMs)
|
||||||
if (-not $completed) {
|
if (-not $completed) {
|
||||||
Write-Host "[WARN] Runspace for target timed out after $waitMs ms; stopping runspace..." -ForegroundColor Yellow
|
Write-Host "[WARN] Runspace for [$($rs.TargetId)] timed out after $waitMs ms; stopping runspace..." -ForegroundColor Yellow
|
||||||
try { $rs.Powershell.Stop() } catch {}
|
try { $rs.Powershell.Stop() } catch {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -263,7 +265,23 @@ function Invoke-DpiSuite {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$results += $rs.Powershell.EndInvoke($rs.Handle)
|
$res = $rs.Powershell.EndInvoke($rs.Handle)
|
||||||
|
$results += $res
|
||||||
|
|
||||||
|
Write-Host "`n=== [$($res.Country)][$($res.Provider)] $($res.TargetId) ===" -ForegroundColor DarkCyan
|
||||||
|
foreach ($line in $res.Lines) {
|
||||||
|
$msg = "[{0}] code={1} buf_up={2} bytes ({3} KB) buf_down={4} bytes ({5} KB) time={6}s status={7}" -f $line.TestLabel, $line.Code, $line.UpBytes, $line.UpKB, $line.DownBytes, $line.DownKB, $line.Time, $line.Status
|
||||||
|
Write-Host $msg -ForegroundColor $line.Color
|
||||||
|
if ($line.Status -eq "LIKELY_BLOCKED") {
|
||||||
|
Write-Host " Pattern matches 16-20KB freeze; censor likely cutting this strategy." -ForegroundColor Yellow
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($res.Warned) {
|
||||||
|
$warnDetected = $true
|
||||||
|
} else {
|
||||||
|
Write-Host " No 16-20KB freeze pattern for this target." -ForegroundColor Green
|
||||||
|
}
|
||||||
} catch {
|
} catch {
|
||||||
Write-Host "[WARN] EndInvoke failed for a runspace; treating as failure." -ForegroundColor Yellow
|
Write-Host "[WARN] EndInvoke failed for a runspace; treating as failure." -ForegroundColor Yellow
|
||||||
$failedLine = [PSCustomObject]@{
|
$failedLine = [PSCustomObject]@{
|
||||||
@@ -282,24 +300,6 @@ function Invoke-DpiSuite {
|
|||||||
$runspacePool.Close()
|
$runspacePool.Close()
|
||||||
$runspacePool.Dispose()
|
$runspacePool.Dispose()
|
||||||
|
|
||||||
foreach ($res in $results) {
|
|
||||||
Write-Host "`n=== $($res.TargetId) [$($res.Provider)] ===" -ForegroundColor DarkCyan
|
|
||||||
|
|
||||||
foreach ($line in $res.Lines) {
|
|
||||||
$msg = "[{0}][{1}] code={2} size={3} bytes ({4} KB) status={5}" -f $line.TargetId, $line.TestLabel, $line.Code, $line.SizeBytes, $line.SizeKB, $line.Status
|
|
||||||
Write-Host $msg -ForegroundColor $line.Color
|
|
||||||
if ($line.Status -eq "LIKELY_BLOCKED") {
|
|
||||||
Write-Host " Pattern matches 16-20KB freeze; censor likely cutting this strategy." -ForegroundColor Yellow
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (-not $res.Warned) {
|
|
||||||
Write-Host " No 16-20KB freeze pattern for this target." -ForegroundColor Green
|
|
||||||
} else {
|
|
||||||
$warnDetected = $true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($warnDetected) {
|
if ($warnDetected) {
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
Write-Host "[WARNING] Detected possible DPI TCP 16-20 blocking on one or more targets. Consider changing strategy/SNI/IP." -ForegroundColor Red
|
Write-Host "[WARNING] Detected possible DPI TCP 16-20 blocking on one or more targets. Consider changing strategy/SNI/IP." -ForegroundColor Red
|
||||||
@@ -368,7 +368,7 @@ if ($hasErrors) {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
$dpiTargets = Build-DpiTargets -CustomUrl $dpiCustomUrl
|
$dpiTargets = Build-DpiTargets -CustomHost $dpiCustomHost
|
||||||
|
|
||||||
# Config
|
# Config
|
||||||
$targetDir = $rootDir
|
$targetDir = $rootDir
|
||||||
@@ -420,21 +420,66 @@ function Read-ConfigSelection {
|
|||||||
Write-Host " [$idx] $($allFiles[$i].Name)" -ForegroundColor Gray
|
Write-Host " [$idx] $($allFiles[$i].Name)" -ForegroundColor Gray
|
||||||
}
|
}
|
||||||
|
|
||||||
$selectionInput = Read-Host "Enter numbers separated by comma (e.g. 1,3,5) or '0' to run all"
|
$selectionInput = Read-Host "Enter numbers (e.g. 1,3,5) , ranges (e.g. 2-7), or mixed (e.g. 1,5-10,12). '0' for all"
|
||||||
$trimmed = $selectionInput.Trim()
|
$trimmed = $selectionInput.Trim()
|
||||||
|
|
||||||
if ($trimmed -eq '0') {
|
if ($trimmed -eq '0') {
|
||||||
return $allFiles
|
return $allFiles
|
||||||
}
|
}
|
||||||
|
|
||||||
$numbers = $selectionInput -split "[\,\s]+" | Where-Object { $_ -match '^\d+$' } | ForEach-Object { [int]$_ }
|
$parts = $selectionInput -split '[,\s]+' | Where-Object { $_ -match '^\d+(-\d+)?$' }
|
||||||
$valid = $numbers | Where-Object { $_ -ge 1 -and $_ -le $allFiles.Count } | Select-Object -Unique
|
if ($parts.Count -eq 0) {
|
||||||
|
|
||||||
if (-not $valid -or $valid.Count -eq 0) {
|
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
Write-Host "No configs selected. Try again." -ForegroundColor Yellow
|
Write-Host "Invalid input format. Use numbers, ranges (1-5), or combinations (1,3-7,10). Try again." -ForegroundColor Yellow
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
$selectedIndices = @()
|
||||||
|
$hasErrors = $false
|
||||||
|
|
||||||
|
foreach ($part in $parts) {
|
||||||
|
if ($part -match '^(\d+)-(\d+)$') {
|
||||||
|
$start = [int]$matches[1]
|
||||||
|
$end = [int]$matches[2]
|
||||||
|
|
||||||
|
if ($start -gt $end) {
|
||||||
|
Write-Host " [WARN] Invalid range '$part' (start > end). Skipping." -ForegroundColor Yellow
|
||||||
|
$hasErrors = $true
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($start -lt 1 -or $end -gt $allFiles.Count) {
|
||||||
|
Write-Host " [WARN] Range '$part' out of bounds (valid: 1-$($allFiles.Count)). Skipping invalid parts." -ForegroundColor Yellow
|
||||||
|
$hasErrors = $true
|
||||||
|
$start = [Math]::Max($start, 1)
|
||||||
|
$end = [Math]::Min($end, $allFiles.Count)
|
||||||
|
}
|
||||||
|
|
||||||
|
for ($i = $start; $i -le $end; $i++) {
|
||||||
|
$selectedIndices += $i
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$num = [int]$part
|
||||||
|
if ($num -ge 1 -and $num -le $allFiles.Count) {
|
||||||
|
$selectedIndices += $num
|
||||||
|
} else {
|
||||||
|
Write-Host " [WARN] Number '$num' out of bounds (valid: 1-$($allFiles.Count)). Skipping." -ForegroundColor Yellow
|
||||||
|
$hasErrors = $true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$valid = $selectedIndices | Sort-Object -Unique | Where-Object { $_ -ge 1 -and $_ -le $allFiles.Count }
|
||||||
|
if ($valid.Count -eq 0) {
|
||||||
|
Write-Host ""
|
||||||
|
Write-Host "No valid configs selected. Try again." -ForegroundColor Yellow
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Checker
|
||||||
|
Write-Host "Selected configs: $($valid -join ', ')" -ForegroundColor Green
|
||||||
|
if ($hasErrors) {
|
||||||
|
Write-Host "Some entries were skipped due to errors (see warnings above)." -ForegroundColor Yellow
|
||||||
|
}
|
||||||
|
|
||||||
return $valid | ForEach-Object { $allFiles[$_ - 1] }
|
return $valid | ForEach-Object { $allFiles[$_ - 1] }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -548,6 +593,7 @@ function Restore-WinwsSnapshot {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$env:NO_UPDATE_CHECK = "1"
|
||||||
$originalWinws = Get-WinwsSnapshot
|
$originalWinws = Get-WinwsSnapshot
|
||||||
|
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
@@ -747,7 +793,7 @@ try {
|
|||||||
$globalResults += @{ Config = $file.Name; Type = 'standard'; Results = $targetResults }
|
$globalResults += @{ Config = $file.Name; Type = 'standard'; Results = $targetResults }
|
||||||
} else {
|
} else {
|
||||||
Write-Host " > Running DPI checkers..." -ForegroundColor DarkGray
|
Write-Host " > Running DPI checkers..." -ForegroundColor DarkGray
|
||||||
$dpiResults = Invoke-DpiSuite -Targets $dpiTargets -TimeoutSeconds $dpiTimeoutSeconds -RangeBytes $dpiRangeBytes -WarnMinKB $dpiWarnMinKB -WarnMaxKB $dpiWarnMaxKB -MaxParallel $dpiMaxParallel
|
$dpiResults = Invoke-DpiSuite -Targets $dpiTargets -TimeoutSeconds $dpiTimeoutSeconds -RangeBytes $dpiRangeBytes -MaxParallel $dpiMaxParallel
|
||||||
$globalResults += @{ Config = $file.Name; Type = 'dpi'; Results = $dpiResults }
|
$globalResults += @{ Config = $file.Name; Type = 'dpi'; Results = $dpiResults }
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -792,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
|
||||||
@@ -848,13 +899,20 @@ try {
|
|||||||
foreach ($targetRes in $results) {
|
foreach ($targetRes in $results) {
|
||||||
$id = $targetRes.TargetId
|
$id = $targetRes.TargetId
|
||||||
$provider = $targetRes.Provider
|
$provider = $targetRes.Provider
|
||||||
Add-Content $resultFile " Target: $id ($provider)"
|
$country = $targetRes.Country
|
||||||
|
if ($country) {
|
||||||
|
Add-Content $resultFile " Target: [$country] $id ($provider)"
|
||||||
|
} else {
|
||||||
|
Add-Content $resultFile " Target: $id ($provider)"
|
||||||
|
}
|
||||||
foreach ($line in $targetRes.Lines) {
|
foreach ($line in $targetRes.Lines) {
|
||||||
$test = $line.TestLabel
|
$test = $line.TestLabel
|
||||||
$code = $line.Code
|
$code = $line.Code
|
||||||
$size = $line.SizeKB
|
$up = $line.UpKB
|
||||||
|
$down = $line.DownKB
|
||||||
|
$time = $line.Time
|
||||||
$status = $line.Status
|
$status = $line.Status
|
||||||
Add-Content $resultFile " ${test}: code=${code} size=${size} KB status=${status}"
|
Add-Content $resultFile " ${test}: code=${code} up=${up} KB down=${down} KB time=${time}s status=${status}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -863,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"
|
||||||
|
|||||||
Reference in New Issue
Block a user