From 382d8dd58f778152705efadcb350bc10c41ff5b0 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 30 Nov 2024 23:07:04 +0300 Subject: [PATCH] Dpi: Add ipv6 support. --- config/Dpi.nix | 6 ++++++ host/x86_64-linux/home/default.nix | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/config/Dpi.nix b/config/Dpi.nix index 6eb3ffd4..8f3f53d9 100644 --- a/config/Dpi.nix +++ b/config/Dpi.nix @@ -15,6 +15,12 @@ in { inherit (cfg.bypass) params; enable = true; package = pkgsMaster.zapret; + httpMode = "full"; + httpSupport = true; + udpSupport = true; + udpPorts = [ + "50000:50099" + ]; whitelist = [ "youtube.com" "googlevideo.com" diff --git a/host/x86_64-linux/home/default.nix b/host/x86_64-linux/home/default.nix index 879877c2..b174c1ca 100644 --- a/host/x86_64-linux/home/default.nix +++ b/host/x86_64-linux/home/default.nix @@ -17,8 +17,14 @@ enable = true; params = [ "--dpi-desync=fake,disorder2" + "--dpi-desync-ttl=1" "--dpi-desync-autottl=2" + + "--dpi-desync-ttl6=1" + "--dpi-desync-autottl6=2" + + "--dpi-desync-any-protocol" ]; }; amd = {