init.d: remove --ipset prohibition

This commit is contained in:
bol-van 2025-05-03 13:03:33 +03:00
parent abe91a4bfa
commit 7efa83e61e
2 changed files with 9 additions and 8 deletions

View File

@ -405,14 +405,14 @@ std_ports()
has_bad_ws_options() has_bad_ws_options()
{ {
# $1 - nfqws/tpws opts # $1 - nfqws/tpws opts
# ПРИМЕЧАНИЕ ДЛЯ РАСПРОСТРАНИТЕЛЕЙ КОПИПАСТЫ
# ЭТОТ КОД СДЕЛАН СПЕЦИАЛЬНО ДЛЯ ВАС, ЧТОБЫ ВЫ НЕ ПОСТИЛИ В СЕТЬ ПЛОХИЕ РЕЦЕПТЫ # kernel or user mode ipset usage should be wise
# ЕСЛИ ВАМ ХОЧЕТСЯ ЕГО УДАЛИТЬ И НАПИСАТЬ ИНСТРУКЦИЮ КАК ЕГО УДАЛЯТЬ, ВЫ ДЕЛАЕТЕ ХРЕНОВУЮ УСЛУГУ. НАПИШИТЕ ЛУЧШЕ custom script. # if all traffic is already intercepted it would be OK to use ip-based specialized profiles
# custom script - ЭТО ФАЙЛИК, КОТОРЫЙ ДОСТАТОЧНО СКОПИРОВАТЬ В НУЖНУЮ ДИРЕКТОРИЮ, ЧТОБЫ ОН СДЕЛАЛ ТОЖЕ САМОЕ, НО ЭФФЕКТИВНО. # but if all traffic is intercepted only to filter a group of ip its BAD. kernel ipset should be used.
# ФИЛЬТРАЦИЯ ПО IPSET В ЯДРЕ НЕСРАВНИМО ЭФФЕКТИВНЕЕ, ЧЕМ ПЕРЕКИДЫВАТЬ ВСЕ ПАКЕТЫ В nfqws И ТАМ ФИЛЬТРОВАТЬ # I cannot insert brain to copy-pasters, I know they will misuse. But it's their problem.
# --ipset СУЩЕСТВУЕТ ТОЛЬКО ДЛЯ ВИНДЫ И LINUX СИСТЕМ БЕЗ ipset (НАПРИМЕР, Android). # zapret is not made for newbies
# И ТОЛЬКО ПО ЭТОЙ ПРИЧИНЕ ОНО НЕ ВЫКИНУТО ПОЛНОСТЬЮ ИЗ LINUX ВЕРСИИ #contains "$1" "--ipset"
contains "$1" "--ipset" return 1
} }
check_bad_ws_options() check_bad_ws_options()
{ {

View File

@ -489,3 +489,4 @@ nfqws: --dpi-desync-fake-tls=! means default tls fake
nfqws: --dup* nfqws: --dup*
nfqws: --orig* nfqws: --orig*
nfqws: autottl cache nfqws: autottl cache
init.d: remove --ipset parameter prohibition