1
0
Fork 0

not a SSB friend trying to connect to IPFS swarm

This commit is contained in:
qo-op 2020-05-26 21:45:44 +02:00
parent 91cdaffbf4
commit 0128b16da0
1 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,8 @@ do
rm -Rf /home/$YOU/.zen/ipfs_swarm/.$id
ipfs swarm disconnect $peer
ipfs bootstrap rm $peer
## TODO: Send sbotc message
sbotc publish '{"type":"post","text":"ALERT '"$ssbID"' is trying to connect to IPFS swarm as '"$peer"'"}'
## TODO: Use fail2ban if same node continue entering our swarm...
continue
fi