Fighting between Israeli forces and the Palestinian militant group Hamas raged Sunday, with hundreds killed on both sides after a surprise attack on Israel prompted Prime Minister Benjamin Netanyahu to warn they were "embarking on a long and difficult war".