The scale of the attacks suggests that there was foreign assistance, Sri Lankan authorities say.