Khamenei warns against attack on Iran