Hundreds of thousands of Palestinians thronged the rally in downtown Gaza to mark the founding of the militant group, as leaders predicted a year of "open confrontation" with the hardline Israeli government expected to take office in the coming days.