Iran 's president , Mahmoud Ahmadinejad , went out of his way to announce that any Israeli attack on Syria would be considered an attack on the entire Muslim world , which is another sign of at least a confluence of interests , if not outright cooperation among the three .