ipfsnodeid

This commit is contained in:
qo-op 2020-12-16 00:02:00 +01:00
parent d1c2392c42
commit 709052d8f2
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ do
nowdate=$(date)
timestamp=$(date -u +%s%N | cut -b1-13)
echo "$nowdate - $id - $ip"
echo "$nowdate - $ipfsnodeid - $ip"
foundIp=$(cat ~/.zen/A_allow_ip.txt | grep "$ip")
foundIpfs=$(cat ~/.zen/A_allow_ipfsid.txt | grep "$ipfsnodeid")
isLAN=$(echo $ip | cut -f3 -d '/' | grep -E "(^127\.)|(^192\.168\.)|(^fd42\:)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/")