From 54d4cdb2d58227cd78f52ad042c3812514c926be Mon Sep 17 00:00:00 2001 From: bol-van Date: Wed, 3 Sep 2025 17:19:35 +0300 Subject: [PATCH] 50-dht4all fix space/tabs --- init.d/custom.d.examples.linux/50-dht4all | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/init.d/custom.d.examples.linux/50-dht4all b/init.d/custom.d.examples.linux/50-dht4all index 034d808f..da9575b7 100644 --- a/init.d/custom.d.examples.linux/50-dht4all +++ b/init.d/custom.d.examples.linux/50-dht4all @@ -11,20 +11,20 @@ zapret_custom_daemons() { # $1 - 1 - add, 0 - stop - local opt="--qnum=$QNUM_DHT4ALL $NFQWS_OPT_DESYNC_DHT" + local opt="--qnum=$QNUM_DHT4ALL $NFQWS_OPT_DESYNC_DHT" do_nfqws $1 $DNUM_DHT4ALL "$opt" } zapret_custom_firewall() { # $1 - 1 - run, 0 - stop - local f uf4 uf6 - local first_packet_only="$ipt_connbytes 1:1" + local f uf4 uf6 + local first_packet_only="$ipt_connbytes 1:1" - f='-p udp -m length --length 109:407 -m u32 --u32' + f='-p udp -m length --length 109:407 -m u32 --u32' uf4='0>>22&0x3C@8>>16=0x6431' uf6='48>>16=0x6431' - fw_nfqws_post $1 "$f $uf4 $first_packet_only" "$f $uf6 $first_packet_only" $QNUM_DHT4ALL + fw_nfqws_post $1 "$f $uf4 $first_packet_only" "$f $uf6 $first_packet_only" $QNUM_DHT4ALL } zapret_custom_firewall_nft() {