KABUL, Afghanistan — Gunmen carried out a pre-dawn rocket attack on Kabul International Airport today, temporarily shutting down the facility and setting off a gunbattle with security forces in which four attackers were killed, officials said.

The militants occupied two buildings which were under construction some yards north of the facility, and were using them as a base to direct rockets