From 317f3a697b7d0daa724640751f2bb78fa9f33049 Mon Sep 17 00:00:00 2001 From: bms8197 Date: Sat, 2 Apr 2022 20:02:32 +0300 Subject: [PATCH] saving uncommitted changes in /etc prior to dnf run --- csf/csf.allow | 5 +++++ rc.d/init.d/bestcrypt | 31 ++++++++++++++++--------------- wireguard/wg0.conf | 1 + 3 files changed, 22 insertions(+), 15 deletions(-) diff --git a/csf/csf.allow b/csf/csf.allow index c70c544..08741a0 100644 --- a/csf/csf.allow +++ b/csf/csf.allow @@ -154,3 +154,8 @@ tcp:in:d=5666:s=194.63.143.34 # file.rocks 82.78.61.49 # Manually allowed: 82.78.61.49 (RO/Romania/Dolj/Craiova/82-78-61-49.rdsnet.ro) - Sat Dec 26 18:01:23 2020 79.117.136.0 # Manually allowed: 79.117.136.0 (RO/Romania/Dolj/Craiova/79-117-136-0.rdsnet.ro) - Mon Feb 8 09:31:24 2021 192.168.1.5 # Manually allowed: 192.168.1.5 (-) - Fri Feb 26 09:29:17 2021 +85.121.136.12 # Manually allowed: 85.121.136.12 (RO/Romania/-/-/unassigned.colocation.gazuireweb.ro) - Fri Apr 1 13:23:52 2022 +85.121.136.13 # Manually allowed: 85.121.136.13 (RO/Romania/-/-/unassigned.colocation.gazuireweb.ro) - Fri Apr 1 13:23:54 2022 +85.121.136.14 # Manually allowed: 85.121.136.14 (RO/Romania/-/-/unassigned.colocation.gazuireweb.ro) - Fri Apr 1 13:23:55 2022 +85.121.136.15 # Manually allowed: 85.121.136.15 (RO/Romania/-/-/unassigned.colocation.gazuireweb.ro) - Fri Apr 1 13:23:56 2022 +85.121.136.16 # Manually allowed: 85.121.136.16 (RO/Romania/-/-/unassigned.colocation.gazuireweb.ro) - Fri Apr 1 13:23:58 2022 diff --git a/rc.d/init.d/bestcrypt b/rc.d/init.d/bestcrypt index 2d7efbf..2f99f57 100755 --- a/rc.d/init.d/bestcrypt +++ b/rc.d/init.d/bestcrypt @@ -23,22 +23,23 @@ case "$1" in echo "Starting BestCrypt..." rm -rf /dev/bcrypt?* 2>/dev/null - depmod -a + cd /usr/src/bestcrypt-3.3.0/build/ && for module in $(ls -lsa *.ko | awk '{print $10}' | cut -d "." -f1); do modprobe $module; done + #depmod -a - modprobe bestcrypt - modprobe bc_blowfish - modprobe bc_des - modprobe bc_gost - modprobe bc_camellia - modprobe bc_twofish - modprobe bc_bf448 - modprobe bc_bf128 - modprobe bc_3des - modprobe bc_idea - modprobe bc_rijn - modprobe bc_cast - modprobe bc_serpent - modprobe bc_rc6 +# modprobe bestcrypt +# modprobe bc_blowfish +# modprobe bc_des +# modprobe bc_gost +# modprobe bc_camellia +# modprobe bc_twofish +# modprobe bc_bf448 +# modprobe bc_bf128 +# modprobe bc_3des +# modprobe bc_idea +# modprobe bc_rijn +# modprobe bc_cast +# modprobe bc_serpent +# modprobe bc_rc6 #modprobe bc_noop diff --git a/wireguard/wg0.conf b/wireguard/wg0.conf index ea873df..69a3596 100644 --- a/wireguard/wg0.conf +++ b/wireguard/wg0.conf @@ -6,4 +6,5 @@ PrivateKey = qE9nJv/T8IVErGj6XBPvwLPCIVtvAFw5Jyq5SXpeCE8= PublicKey = Cs83HdMe4ve/UrYNTv9iXJZjJXyI8uAfxlTU4MMWTR8= AllowedIPs = 10.208.0.0/30, 10.209.0.0/30, 10.208.1.0/24, 10.208.254.0/24, 10.208.99.0/24, 172.16.100.0/24, 10.208.150.0/24, 10.208.151.0/24 Endpoint = 86.104.210.218:1194 +#Endpoint = 85.121.136.12:1194 PersistentKeepalive = 60