Citizens of the most violent-wracked provinces have been warned the government is "at war" with the gangs.