In all conflicts, the period preceding a ceasefire agreement is the most dangerous, as each side tries to gain the best military position before the fighting ends. The long, drawn out negotiations aimed at bringing a halt to the war in Gaza are no exception.
Hamas has renewed missile attacks on Israel and Israeli forces have been undertaking operations in Rafah, which Israel has portrayed as the last Hamas stronghold, and in Jabalia in northern Gaza. The ceasefire talks hosted in Cairo have in turn been buffeted by events on the ground.
The way Israel and Hamas judge their progress in the war tells us a lot about the prospects for the talks.