Israel has attacked militant sites in Gaza after coming under the heaviest barrage of mortar and rocket fire from the Palestinian enclave in years.

The flare-up follows weeks of deadly violence and protests on the Gaza-Israel border.