Pakistan 's army has conducted a series of counter-terrorism operations in North and South Waziristan in the past three years , aimed at trapping Arab , Afghan and Central Asian militants with links to the Taliban and al-Qaida .