Al-Shabab warned last month that it would attack any planes landing or taking off from the airport .