Palestinian gunmen kept up attacks against Israeli forces on Sunday in the Gaza Strip's two main cities, weeks after they were overrun by troops and tanks, in a sign Hamas still maintains some control ahead of any potential truce.

Nearly four months into the war triggered by the Palestinian Islamist group's deadly cross-border rampage in Israel, there was persistent fighting in Gaza City in the north of the densely populated enclave, and in Khan Younis to the south.

At the weekly Israeli cabinet meeting, Prime Minister Benjamin Netanyahu said 17 of Hamas' 24 combat battalions had been dismantled. The rest, he said, were mostly in the southern Gaza Strip — including Rafah, on the enclave's Egyptian border.