Sbot should probably learn all of its own IP addresses and then ignore all $theaddress:$myport:$mypubkey triplets (incoming and outgoing). It will not be sufficient to ignore the pubkey or the IP addresses, since people may run several instances of sbot with the same key — either on separate device or on the same devices with another port.
Every now and then
sbot
will attempt to connect to itself — and succeed:Sbot should probably learn all of its own IP addresses and then ignore all
$theaddress:$myport:$mypubkey
triplets (incoming and outgoing). It will not be sufficient to ignore the pubkey or the IP addresses, since people may run several instances of sbot with the same key — either on separate device or on the same devices with another port.