diff --git a/zen/ipfs_SWARM_refresh.sh b/zen/ipfs_SWARM_refresh.sh index 865a670..62e5e00 100755 --- a/zen/ipfs_SWARM_refresh.sh +++ b/zen/ipfs_SWARM_refresh.sh @@ -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