Syrian government forces and their allies are now defending their territory against a fierce counteroffensive by rebel factions.