From de19cc3cd4df6d232d0eb9ffbcdd681dc0d8d6b1 Mon Sep 17 00:00:00 2001 From: bol-van Date: Mon, 11 Aug 2025 20:44:27 +0300 Subject: [PATCH] replace spaces with tab --- init.d/custom.d.examples.linux/50-stun4all | 4 ++-- init.d/custom.d.examples.linux/50-wg4all | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/init.d/custom.d.examples.linux/50-stun4all b/init.d/custom.d.examples.linux/50-stun4all index 0062e58..f28c740 100644 --- a/init.d/custom.d.examples.linux/50-stun4all +++ b/init.d/custom.d.examples.linux/50-stun4all @@ -19,12 +19,12 @@ zapret_custom_firewall() # $1 - 1 - run, 0 - stop local f='-p udp -m length --length 28: -m u32 --u32' - fw_nfqws_post $1 "$f 0>>22&0x3C@8&0xC0000003=0&&0>>22&0x3C@12=0x2112A442" "$f 48&0xC0000003=0 && 52=0x2112A442" $QNUM_STUN4ALL + fw_nfqws_post $1 "$f 0>>22&0x3C@8&0xC0000003=0&&0>>22&0x3C@12=0x2112A442" "$f 48&0xC0000003=0 && 52=0x2112A442" $QNUM_STUN4ALL } zapret_custom_firewall_nft() { # stop logic is not required local f="udp length >= 28 @ih,0,2 0 @ih,30,2 0 @ih,32,32 0x2112A442" - nft_fw_nfqws_post "$f" "$f" $QNUM_STUN4ALL + nft_fw_nfqws_post "$f" "$f" $QNUM_STUN4ALL } diff --git a/init.d/custom.d.examples.linux/50-wg4all b/init.d/custom.d.examples.linux/50-wg4all index c70ea29..c99ff1c 100644 --- a/init.d/custom.d.examples.linux/50-wg4all +++ b/init.d/custom.d.examples.linux/50-wg4all @@ -19,12 +19,12 @@ zapret_custom_firewall() # $1 - 1 - run, 0 - stop local f='-p udp -m u32 --u32' - fw_nfqws_post $1 "$f 0>>22&0x3C@4>>16=0x9c&&0>>22&0x3C@8=0x01000000" "$f 44>>16=0x9c&&48=0x01000000" $QNUM_WG4ALL + fw_nfqws_post $1 "$f 0>>22&0x3C@4>>16=0x9c&&0>>22&0x3C@8=0x01000000" "$f 44>>16=0x9c&&48=0x01000000" $QNUM_WG4ALL } zapret_custom_firewall_nft() { # stop logic is not required local f="udp length 156 @ih,0,32 0x01000000" - nft_fw_nfqws_post "$f" "$f" $QNUM_WG4ALL + nft_fw_nfqws_post "$f" "$f" $QNUM_WG4ALL }