v70.4

bol-van/zapretv70.4Mar 19, 2025by github-actions[bot]

AI Summary

Adds systemd integration, improves security by separating capabilities from UID/GID, and introduces WSL detection.

Key Highlights

  • Systemd support with unit templates.
  • Separation of UID/GID drop from Linux capabilities.
  • WSL 1 detection and warning.

New Features

  • Subdomain exclusion prefix (`^` in hostlists)
  • Systemd build support (`make systemd`)
  • Systemd unit templates for nfqws and tpws
  • UID/GID separation from capabilities
  • WSL 1 detection and warning

Full Release Notes

### zapret v70.4

* nfqws,tpws: префикс "^" перед доменом в хостлистах исключает поддомены из проверки
* nfqws,tpws: сборка через "make systemd" для поддержки явного оповещения systemd о старте юнита (Type=notify)
* systemd: шаблоны юнитов systemd для отдельного запуска nfqws и tpws без скриптов
* nfqws,tpws: отделение кода сброса UID/GID от дропа linux capabilities. Позволяет использовать минимальные ambient caps в systemd юнитах и запуск не от рута.
* tpws: детектирование WSL 1 и предупреждение о проблемах при использовании некоторых параметров
* blockcheck: предупреждение о проблемах md5sig с fakedsplit/fakeddisorder , когда применяется многосегментный TLS (kyber) и указана низкая сплит-позиция