Pakistan has been criticized for being selective in the militant groups it chooses to attack, ignoring those who wage war on neighbor India, against whom it has fought three wars and maintains a decades old dispute over the Himalayan state of Kashmir. Pakistan has also been accused of providing sanctuaries to Afghanistan's Taliban, a charge it denies. Pakistan, meanwhile, has accused Kabul of harboring anti-Pakistan insurgents, who slip across the porous border separating the two countries to carry out attacks like Friday's against Haideri.